From a5b5003fa1a82f79af95dc4a947754f43d2fae2e Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Thu, 23 Jun 2022 02:20:15 +0000 Subject: [PATCH 1/3] feat: Enable REST transport for most of Java and Go clients PiperOrigin-RevId: 456641589 Source-Link: https://github.com/googleapis/googleapis/commit/8a251f5225b789b2383207ffd978f6aa3d77fcf7 Source-Link: https://github.com/googleapis/googleapis-gen/commit/4ca52a529cf01308d9714950edffbea3560cfbdb Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNGNhNTJhNTI5Y2YwMTMwOGQ5NzE0OTUwZWRmZmJlYTM1NjBjZmJkYiJ9 --- .../airflow/service/v1/EnvironmentsGrpc.java | 846 ------ .../airflow/service/v1/ImageVersionsGrpc.java | 373 --- .../service/v1beta1/EnvironmentsGrpc.java | 1111 -------- .../service/v1beta1/ImageVersionsGrpc.java | 379 --- .../service/v1/EnvironmentsClient.java | 81 +- .../service/v1/EnvironmentsSettings.java | 30 +- .../service/v1/ImageVersionsClient.java | 34 +- .../service/v1/ImageVersionsSettings.java | 30 +- .../airflow/service/v1/gapic_metadata.json | 0 .../airflow/service/v1/package-info.java | 0 .../service/v1/stub/EnvironmentsStub.java | 6 +- .../v1/stub/EnvironmentsStubSettings.java | 59 +- .../stub/GrpcEnvironmentsCallableFactory.java | 0 .../service/v1/stub/GrpcEnvironmentsStub.java | 1 + .../GrpcImageVersionsCallableFactory.java | 0 .../v1/stub/GrpcImageVersionsStub.java | 1 + .../HttpJsonEnvironmentsCallableFactory.java | 105 + .../v1/stub/HttpJsonEnvironmentsStub.java | 494 ++++ .../HttpJsonImageVersionsCallableFactory.java | 105 + .../v1/stub/HttpJsonImageVersionsStub.java | 216 ++ .../service/v1/stub/ImageVersionsStub.java | 0 .../v1/stub/ImageVersionsStubSettings.java | 62 +- .../v1/EnvironmentsClientHttpJsonTest.java | 342 +++ .../service/v1/EnvironmentsClientTest.java | 0 .../v1/ImageVersionsClientHttpJsonTest.java | 127 + .../service/v1/ImageVersionsClientTest.java | 0 .../airflow/service/v1/MockEnvironments.java | 0 .../service/v1/MockEnvironmentsImpl.java | 0 .../airflow/service/v1/MockImageVersions.java | 0 .../service/v1/MockImageVersionsImpl.java | 0 .../airflow/service/v1/EnvironmentsGrpc.java | 647 +++++ .../airflow/service/v1/ImageVersionsGrpc.java | 303 +++ .../service/v1/CheckUpgradeResponse.java | 974 +++---- .../v1/CheckUpgradeResponseOrBuilder.java | 99 +- .../service/v1/CreateEnvironmentRequest.java | 525 ++-- .../v1/CreateEnvironmentRequestOrBuilder.java | 35 +- .../airflow/service/v1/DatabaseConfig.java | 335 +-- .../service/v1/DatabaseConfigOrBuilder.java | 27 +- .../service/v1/DeleteEnvironmentRequest.java | 410 ++- .../v1/DeleteEnvironmentRequestOrBuilder.java | 27 +- .../airflow/service/v1/EncryptionConfig.java | 347 +-- .../service/v1/EncryptionConfigOrBuilder.java | 27 +- .../airflow/service/v1/Environment.java | 1140 +++----- .../airflow/service/v1/EnvironmentConfig.java | 1686 ++++-------- .../v1/EnvironmentConfigOrBuilder.java | 188 +- .../service/v1/EnvironmentOrBuilder.java | 97 +- .../service/v1/EnvironmentsOuterClass.java | 483 ++++ .../service/v1/GetEnvironmentRequest.java | 357 +-- .../v1/GetEnvironmentRequestOrBuilder.java | 27 +- .../service/v1/IPAllocationPolicy.java | 817 +++--- .../v1/IPAllocationPolicyOrBuilder.java | 86 +- .../airflow/service/v1/ImageVersion.java | 640 ++--- .../service/v1/ImageVersionOrBuilder.java | 62 +- .../service/v1/ImageVersionsOuterClass.java | 110 + .../service/v1/ListEnvironmentsRequest.java | 480 ++-- .../v1/ListEnvironmentsRequestOrBuilder.java | 39 +- .../service/v1/ListEnvironmentsResponse.java | 664 ++--- .../v1/ListEnvironmentsResponseOrBuilder.java | 56 +- .../service/v1/ListImageVersionsRequest.java | 560 ++-- .../v1/ListImageVersionsRequestOrBuilder.java | 42 +- .../service/v1/ListImageVersionsResponse.java | 680 ++--- .../ListImageVersionsResponseOrBuilder.java | 56 +- .../airflow/service/v1/NodeConfig.java | 1072 +++----- .../service/v1/NodeConfigOrBuilder.java | 125 +- .../airflow/service/v1/OperationMetadata.java | 985 +++---- .../v1/OperationMetadataOrBuilder.java | 70 +- .../airflow/service/v1/OperationsProto.java | 71 + .../service/v1/PrivateClusterConfig.java | 487 ++-- .../v1/PrivateClusterConfigOrBuilder.java | 45 +- .../service/v1/PrivateEnvironmentConfig.java | 816 +++--- .../v1/PrivateEnvironmentConfigOrBuilder.java | 77 +- .../airflow/service/v1/SoftwareConfig.java | 1137 ++++---- .../service/v1/SoftwareConfigOrBuilder.java | 129 +- .../service/v1/UpdateEnvironmentRequest.java | 621 ++--- .../v1/UpdateEnvironmentRequestOrBuilder.java | 43 +- .../airflow/service/v1/WebServerConfig.java | 343 +-- .../service/v1/WebServerConfigOrBuilder.java | 27 +- .../v1/WebServerNetworkAccessControl.java | 1212 +++------ ...ebServerNetworkAccessControlOrBuilder.java | 53 + .../airflow/service/v1/environments.proto | 0 .../airflow/service/v1/image_versions.proto | 0 .../airflow/service/v1/operations.proto | 0 .../SyncCreateSetCredentialsProvider.java | 41 + .../SyncCreateSetCredentialsProvider1.java | 40 + .../create/SyncCreateSetEndpoint.java | 38 + .../AsyncCreateEnvironment.java | 48 + .../AsyncCreateEnvironmentLRO.java | 48 + .../SyncCreateEnvironment.java | 43 + ...yncCreateEnvironmentStringEnvironment.java | 39 + .../AsyncDeleteEnvironment.java | 44 + .../AsyncDeleteEnvironmentLRO.java | 45 + .../SyncDeleteEnvironment.java | 40 + .../SyncDeleteEnvironmentString.java | 38 + .../getenvironment/AsyncGetEnvironment.java | 44 + .../getenvironment/SyncGetEnvironment.java | 40 + .../SyncGetEnvironmentString.java | 38 + .../AsyncListEnvironments.java | 50 + .../AsyncListEnvironmentsPaged.java | 58 + .../SyncListEnvironments.java | 46 + .../SyncListEnvironmentsString.java | 40 + .../AsyncUpdateEnvironment.java | 50 + .../AsyncUpdateEnvironmentLRO.java | 50 + .../SyncUpdateEnvironment.java | 45 + ...EnvironmentStringEnvironmentFieldmask.java | 42 + .../getenvironment/SyncGetEnvironment.java | 45 + .../SyncCreateSetCredentialsProvider.java | 41 + .../SyncCreateSetCredentialsProvider1.java | 40 + .../create/SyncCreateSetEndpoint.java | 38 + .../AsyncListImageVersions.java | 51 + .../AsyncListImageVersionsPaged.java | 59 + .../SyncListImageVersions.java | 47 + .../SyncListImageVersionsString.java | 40 + .../SyncListImageVersions.java | 45 + .../getenvironment/SyncGetEnvironment.java | 46 + .../SyncListImageVersions.java | 46 + .../service/v1beta1/EnvironmentsClient.java | 79 +- .../service/v1beta1/EnvironmentsSettings.java | 30 +- .../service/v1beta1/ImageVersionsClient.java | 34 +- .../v1beta1/ImageVersionsSettings.java | 30 +- .../service/v1beta1/gapic_metadata.json | 0 .../airflow/service/v1beta1/package-info.java | 0 .../v1beta1/stub/EnvironmentsStub.java | 6 +- .../stub/EnvironmentsStubSettings.java | 59 +- .../stub/GrpcEnvironmentsCallableFactory.java | 0 .../v1beta1/stub/GrpcEnvironmentsStub.java | 1 + .../GrpcImageVersionsCallableFactory.java | 0 .../v1beta1/stub/GrpcImageVersionsStub.java | 1 + .../HttpJsonEnvironmentsCallableFactory.java | 105 + .../stub/HttpJsonEnvironmentsStub.java | 637 +++++ .../HttpJsonImageVersionsCallableFactory.java | 105 + .../stub/HttpJsonImageVersionsStub.java | 216 ++ .../v1beta1/stub/ImageVersionsStub.java | 0 .../stub/ImageVersionsStubSettings.java | 62 +- .../EnvironmentsClientHttpJsonTest.java | 465 ++++ .../v1beta1/EnvironmentsClientTest.java | 0 .../ImageVersionsClientHttpJsonTest.java | 127 + .../v1beta1/ImageVersionsClientTest.java | 0 .../service/v1beta1/MockEnvironments.java | 0 .../service/v1beta1/MockEnvironmentsImpl.java | 0 .../service/v1beta1/MockImageVersions.java | 0 .../v1beta1/MockImageVersionsImpl.java | 0 .../service/v1beta1/EnvironmentsGrpc.java | 823 ++++++ .../service/v1beta1/ImageVersionsGrpc.java | 303 +++ .../service/v1beta1/CheckUpgradeRequest.java | 489 ++-- .../v1beta1/CheckUpgradeRequestOrBuilder.java | 36 +- .../service/v1beta1/CheckUpgradeResponse.java | 1038 +++---- .../CheckUpgradeResponseOrBuilder.java | 99 +- .../v1beta1/CreateEnvironmentRequest.java | 538 ++-- .../CreateEnvironmentRequestOrBuilder.java | 38 +- .../service/v1beta1/DatabaseConfig.java | 347 +-- .../v1beta1/DatabaseConfigOrBuilder.java | 27 +- .../v1beta1/DeleteEnvironmentRequest.java | 417 ++- .../DeleteEnvironmentRequestOrBuilder.java | 27 +- .../service/v1beta1/EncryptionConfig.java | 357 +-- .../v1beta1/EncryptionConfigOrBuilder.java | 27 +- .../airflow/service/v1beta1/Environment.java | 1286 ++++----- .../service/v1beta1/EnvironmentConfig.java | 2315 +++++----------- .../v1beta1/EnvironmentConfigOrBuilder.java | 263 +- .../service/v1beta1/EnvironmentOrBuilder.java | 118 +- .../v1beta1/EnvironmentsOuterClass.java | 621 +++++ .../v1beta1/GetEnvironmentRequest.java | 410 ++- .../GetEnvironmentRequestOrBuilder.java | 27 +- .../service/v1beta1/IPAllocationPolicy.java | 686 ++--- .../v1beta1/IPAllocationPolicyOrBuilder.java | 63 +- .../airflow/service/v1beta1/ImageVersion.java | 655 ++--- .../v1beta1/ImageVersionOrBuilder.java | 62 +- .../v1beta1/ImageVersionsOuterClass.java | 111 + .../v1beta1/ListEnvironmentsRequest.java | 529 ++-- .../ListEnvironmentsRequestOrBuilder.java | 39 +- .../v1beta1/ListEnvironmentsResponse.java | 706 ++--- .../ListEnvironmentsResponseOrBuilder.java | 66 +- .../v1beta1/ListImageVersionsRequest.java | 567 ++-- .../ListImageVersionsRequestOrBuilder.java | 42 +- .../v1beta1/ListImageVersionsResponse.java | 710 ++--- .../ListImageVersionsResponseOrBuilder.java | 73 + .../service/v1beta1/MaintenanceWindow.java | 601 ++-- .../v1beta1/MaintenanceWindowOrBuilder.java | 52 +- .../airflow/service/v1beta1/NodeConfig.java | 1133 +++----- .../service/v1beta1/NodeConfigOrBuilder.java | 128 +- .../service/v1beta1/OperationMetadata.java | 1011 +++---- .../v1beta1/OperationMetadataOrBuilder.java | 78 +- .../service/v1beta1/OperationsProto.java | 71 + .../service/v1beta1/PrivateClusterConfig.java | 547 ++-- .../PrivateClusterConfigOrBuilder.java | 45 +- .../v1beta1/PrivateEnvironmentConfig.java | 1055 +++---- .../PrivateEnvironmentConfigOrBuilder.java | 114 +- .../v1beta1/RestartWebServerRequest.java | 416 ++- .../RestartWebServerRequestOrBuilder.java | 27 +- .../service/v1beta1/SoftwareConfig.java | 1259 ++++----- .../v1beta1/SoftwareConfigOrBuilder.java | 179 +- .../v1beta1/UpdateEnvironmentRequest.java | 670 ++--- .../UpdateEnvironmentRequestOrBuilder.java | 55 +- .../service/v1beta1/WebServerConfig.java | 350 +-- .../v1beta1/WebServerConfigOrBuilder.java | 27 +- .../WebServerNetworkAccessControl.java | 1227 +++------ ...ebServerNetworkAccessControlOrBuilder.java | 53 + .../service/v1beta1/WorkloadsConfig.java | 2418 ++++++----------- .../v1beta1/WorkloadsConfigOrBuilder.java | 90 + .../service/v1beta1/environments.proto | 0 .../service/v1beta1/image_versions.proto | 0 .../airflow/service/v1beta1/operations.proto | 0 .../checkupgrade/AsyncCheckUpgrade.java | 46 + .../checkupgrade/AsyncCheckUpgradeLRO.java | 48 + .../checkupgrade/SyncCheckUpgrade.java | 43 + .../SyncCreateSetCredentialsProvider.java | 41 + .../SyncCreateSetCredentialsProvider1.java | 40 + .../create/SyncCreateSetEndpoint.java | 38 + .../AsyncCreateEnvironment.java | 48 + .../AsyncCreateEnvironmentLRO.java | 48 + .../SyncCreateEnvironment.java | 43 + ...yncCreateEnvironmentStringEnvironment.java | 39 + .../AsyncDeleteEnvironment.java | 44 + .../AsyncDeleteEnvironmentLRO.java | 45 + .../SyncDeleteEnvironment.java | 40 + .../SyncDeleteEnvironmentString.java | 38 + .../getenvironment/AsyncGetEnvironment.java | 44 + .../getenvironment/SyncGetEnvironment.java | 40 + .../SyncGetEnvironmentString.java | 38 + .../AsyncListEnvironments.java | 50 + .../AsyncListEnvironmentsPaged.java | 58 + .../SyncListEnvironments.java | 46 + .../SyncListEnvironmentsString.java | 40 + .../AsyncRestartWebServer.java | 44 + .../AsyncRestartWebServerLRO.java | 45 + .../SyncRestartWebServer.java | 40 + .../AsyncUpdateEnvironment.java | 50 + .../AsyncUpdateEnvironmentLRO.java | 50 + .../SyncUpdateEnvironment.java | 45 + ...EnvironmentStringEnvironmentFieldmask.java | 42 + .../getenvironment/SyncGetEnvironment.java | 45 + .../SyncCreateSetCredentialsProvider.java | 41 + .../SyncCreateSetCredentialsProvider1.java | 40 + .../create/SyncCreateSetEndpoint.java | 38 + .../AsyncListImageVersions.java | 51 + .../AsyncListImageVersionsPaged.java | 59 + .../SyncListImageVersions.java | 47 + .../SyncListImageVersionsString.java | 40 + .../SyncListImageVersions.java | 45 + .../getenvironment/SyncGetEnvironment.java | 46 + .../SyncListImageVersions.java | 46 + .../service/v1/EnvironmentsOuterClass.java | 569 ---- .../service/v1/ImageVersionsOuterClass.java | 132 - .../airflow/service/v1/OperationsProto.java | 86 - ...ebServerNetworkAccessControlOrBuilder.java | 96 - .../v1beta1/EnvironmentsOuterClass.java | 724 ----- .../v1beta1/ImageVersionsOuterClass.java | 133 - .../ListImageVersionsResponseOrBuilder.java | 115 - .../service/v1beta1/OperationsProto.java | 86 - ...ebServerNetworkAccessControlOrBuilder.java | 97 - .../v1beta1/WorkloadsConfigOrBuilder.java | 153 -- 250 files changed, 25569 insertions(+), 31037 deletions(-) delete mode 100644 grpc-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsGrpc.java delete mode 100644 grpc-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsGrpc.java delete mode 100644 grpc-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsGrpc.java delete mode 100644 grpc-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsGrpc.java rename {google-cloud-orchestration-airflow => owl-bot-staging/v1/google-cloud-orchestration-airflow}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsClient.java (90%) rename {google-cloud-orchestration-airflow => owl-bot-staging/v1/google-cloud-orchestration-airflow}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsSettings.java (90%) rename {google-cloud-orchestration-airflow => owl-bot-staging/v1/google-cloud-orchestration-airflow}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsClient.java (92%) rename {google-cloud-orchestration-airflow => owl-bot-staging/v1/google-cloud-orchestration-airflow}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsSettings.java (86%) rename {google-cloud-orchestration-airflow => owl-bot-staging/v1/google-cloud-orchestration-airflow}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/gapic_metadata.json (100%) rename {google-cloud-orchestration-airflow => owl-bot-staging/v1/google-cloud-orchestration-airflow}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/package-info.java (100%) rename {google-cloud-orchestration-airflow => owl-bot-staging/v1/google-cloud-orchestration-airflow}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/EnvironmentsStub.java (96%) rename {google-cloud-orchestration-airflow => owl-bot-staging/v1/google-cloud-orchestration-airflow}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/EnvironmentsStubSettings.java (91%) rename {google-cloud-orchestration-airflow => owl-bot-staging/v1/google-cloud-orchestration-airflow}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/GrpcEnvironmentsCallableFactory.java (100%) rename {google-cloud-orchestration-airflow => owl-bot-staging/v1/google-cloud-orchestration-airflow}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/GrpcEnvironmentsStub.java (99%) rename {google-cloud-orchestration-airflow => owl-bot-staging/v1/google-cloud-orchestration-airflow}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/GrpcImageVersionsCallableFactory.java (100%) rename {google-cloud-orchestration-airflow => owl-bot-staging/v1/google-cloud-orchestration-airflow}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/GrpcImageVersionsStub.java (99%) create mode 100644 owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/HttpJsonEnvironmentsCallableFactory.java create mode 100644 owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/HttpJsonEnvironmentsStub.java create mode 100644 owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/HttpJsonImageVersionsCallableFactory.java create mode 100644 owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/HttpJsonImageVersionsStub.java rename {google-cloud-orchestration-airflow => owl-bot-staging/v1/google-cloud-orchestration-airflow}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/ImageVersionsStub.java (100%) rename {google-cloud-orchestration-airflow => owl-bot-staging/v1/google-cloud-orchestration-airflow}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/ImageVersionsStubSettings.java (84%) create mode 100644 owl-bot-staging/v1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsClientHttpJsonTest.java rename {google-cloud-orchestration-airflow => owl-bot-staging/v1/google-cloud-orchestration-airflow}/src/test/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsClientTest.java (100%) create mode 100644 owl-bot-staging/v1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsClientHttpJsonTest.java rename {google-cloud-orchestration-airflow => owl-bot-staging/v1/google-cloud-orchestration-airflow}/src/test/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsClientTest.java (100%) rename {google-cloud-orchestration-airflow => owl-bot-staging/v1/google-cloud-orchestration-airflow}/src/test/java/com/google/cloud/orchestration/airflow/service/v1/MockEnvironments.java (100%) rename {google-cloud-orchestration-airflow => owl-bot-staging/v1/google-cloud-orchestration-airflow}/src/test/java/com/google/cloud/orchestration/airflow/service/v1/MockEnvironmentsImpl.java (100%) rename {google-cloud-orchestration-airflow => owl-bot-staging/v1/google-cloud-orchestration-airflow}/src/test/java/com/google/cloud/orchestration/airflow/service/v1/MockImageVersions.java (100%) rename {google-cloud-orchestration-airflow => owl-bot-staging/v1/google-cloud-orchestration-airflow}/src/test/java/com/google/cloud/orchestration/airflow/service/v1/MockImageVersionsImpl.java (100%) create mode 100644 owl-bot-staging/v1/grpc-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsGrpc.java create mode 100644 owl-bot-staging/v1/grpc-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsGrpc.java rename {proto-google-cloud-orchestration-airflow-v1 => owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/CheckUpgradeResponse.java (63%) rename {proto-google-cloud-orchestration-airflow-v1 => owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/CheckUpgradeResponseOrBuilder.java (64%) rename {proto-google-cloud-orchestration-airflow-v1 => owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/CreateEnvironmentRequest.java (61%) rename {proto-google-cloud-orchestration-airflow-v1 => owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/CreateEnvironmentRequestOrBuilder.java (66%) rename {proto-google-cloud-orchestration-airflow-v1 => owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/DatabaseConfig.java (69%) rename {proto-google-cloud-orchestration-airflow-v1 => owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/DatabaseConfigOrBuilder.java (61%) rename {proto-google-cloud-orchestration-airflow-v1 => owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/DeleteEnvironmentRequest.java (58%) rename {proto-google-cloud-orchestration-airflow-v1 => owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/DeleteEnvironmentRequestOrBuilder.java (53%) rename {proto-google-cloud-orchestration-airflow-v1 => owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EncryptionConfig.java (67%) rename {proto-google-cloud-orchestration-airflow-v1 => owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EncryptionConfigOrBuilder.java (59%) rename {proto-google-cloud-orchestration-airflow-v1 => owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/Environment.java (71%) rename {proto-google-cloud-orchestration-airflow-v1 => owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentConfig.java (62%) rename {proto-google-cloud-orchestration-airflow-v1 => owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentConfigOrBuilder.java (66%) rename {proto-google-cloud-orchestration-airflow-v1 => owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentOrBuilder.java (84%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsOuterClass.java rename {proto-google-cloud-orchestration-airflow-v1 => owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/GetEnvironmentRequest.java (64%) rename {proto-google-cloud-orchestration-airflow-v1 => owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/GetEnvironmentRequestOrBuilder.java (54%) rename {proto-google-cloud-orchestration-airflow-v1 => owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/IPAllocationPolicy.java (76%) rename {proto-google-cloud-orchestration-airflow-v1 => owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/IPAllocationPolicyOrBuilder.java (84%) rename {proto-google-cloud-orchestration-airflow-v1 => owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersion.java (73%) rename {proto-google-cloud-orchestration-airflow-v1 => owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionOrBuilder.java (75%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsOuterClass.java rename {proto-google-cloud-orchestration-airflow-v1 => owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListEnvironmentsRequest.java (66%) rename {proto-google-cloud-orchestration-airflow-v1 => owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListEnvironmentsRequestOrBuilder.java (63%) rename {proto-google-cloud-orchestration-airflow-v1 => owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListEnvironmentsResponse.java (64%) rename {proto-google-cloud-orchestration-airflow-v1 => owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListEnvironmentsResponseOrBuilder.java (65%) rename {proto-google-cloud-orchestration-airflow-v1 => owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListImageVersionsRequest.java (64%) rename {proto-google-cloud-orchestration-airflow-v1 => owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListImageVersionsRequestOrBuilder.java (66%) rename {proto-google-cloud-orchestration-airflow-v1 => owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListImageVersionsResponse.java (60%) rename {proto-google-cloud-orchestration-airflow-v1 => owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListImageVersionsResponseOrBuilder.java (64%) rename {proto-google-cloud-orchestration-airflow-v1 => owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/NodeConfig.java (78%) rename {proto-google-cloud-orchestration-airflow-v1 => owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/NodeConfigOrBuilder.java (85%) rename {proto-google-cloud-orchestration-airflow-v1 => owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/OperationMetadata.java (69%) rename {proto-google-cloud-orchestration-airflow-v1 => owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/OperationMetadataOrBuilder.java (79%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/OperationsProto.java rename {proto-google-cloud-orchestration-airflow-v1 => owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateClusterConfig.java (71%) rename {proto-google-cloud-orchestration-airflow-v1 => owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateClusterConfigOrBuilder.java (71%) rename {proto-google-cloud-orchestration-airflow-v1 => owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateEnvironmentConfig.java (64%) rename {proto-google-cloud-orchestration-airflow-v1 => owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateEnvironmentConfigOrBuilder.java (68%) rename {proto-google-cloud-orchestration-airflow-v1 => owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/SoftwareConfig.java (74%) rename {proto-google-cloud-orchestration-airflow-v1 => owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/SoftwareConfigOrBuilder.java (87%) rename {proto-google-cloud-orchestration-airflow-v1 => owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/UpdateEnvironmentRequest.java (87%) rename {proto-google-cloud-orchestration-airflow-v1 => owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/UpdateEnvironmentRequestOrBuilder.java (95%) rename {proto-google-cloud-orchestration-airflow-v1 => owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/WebServerConfig.java (69%) rename {proto-google-cloud-orchestration-airflow-v1 => owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/WebServerConfigOrBuilder.java (66%) rename {proto-google-cloud-orchestration-airflow-v1 => owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/WebServerNetworkAccessControl.java (58%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/WebServerNetworkAccessControlOrBuilder.java rename {proto-google-cloud-orchestration-airflow-v1 => owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1}/src/main/proto/google/cloud/orchestration/airflow/service/v1/environments.proto (100%) rename {proto-google-cloud-orchestration-airflow-v1 => owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1}/src/main/proto/google/cloud/orchestration/airflow/service/v1/image_versions.proto (100%) rename {proto-google-cloud-orchestration-airflow-v1 => owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1}/src/main/proto/google/cloud/orchestration/airflow/service/v1/operations.proto (100%) create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/create/SyncCreateSetCredentialsProvider.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/create/SyncCreateSetCredentialsProvider1.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/create/SyncCreateSetEndpoint.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/createenvironment/AsyncCreateEnvironment.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/createenvironment/AsyncCreateEnvironmentLRO.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/createenvironment/SyncCreateEnvironment.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/createenvironment/SyncCreateEnvironmentStringEnvironment.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/deleteenvironment/AsyncDeleteEnvironment.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/deleteenvironment/AsyncDeleteEnvironmentLRO.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/deleteenvironment/SyncDeleteEnvironment.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/deleteenvironment/SyncDeleteEnvironmentString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/getenvironment/AsyncGetEnvironment.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/getenvironment/SyncGetEnvironment.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/getenvironment/SyncGetEnvironmentString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/listenvironments/AsyncListEnvironments.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/listenvironments/AsyncListEnvironmentsPaged.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/listenvironments/SyncListEnvironments.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/listenvironments/SyncListEnvironmentsString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/updateenvironment/AsyncUpdateEnvironment.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/updateenvironment/AsyncUpdateEnvironmentLRO.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/updateenvironment/SyncUpdateEnvironment.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/updateenvironment/SyncUpdateEnvironmentStringEnvironmentFieldmask.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentssettings/getenvironment/SyncGetEnvironment.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/create/SyncCreateSetCredentialsProvider.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/create/SyncCreateSetCredentialsProvider1.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/create/SyncCreateSetEndpoint.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/listimageversions/AsyncListImageVersions.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/listimageversions/AsyncListImageVersionsPaged.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/listimageversions/SyncListImageVersions.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/listimageversions/SyncListImageVersionsString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionssettings/listimageversions/SyncListImageVersions.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/stub/environmentsstubsettings/getenvironment/SyncGetEnvironment.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/stub/imageversionsstubsettings/listimageversions/SyncListImageVersions.java rename {google-cloud-orchestration-airflow => owl-bot-staging/v1beta1/google-cloud-orchestration-airflow}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsClient.java (92%) rename {google-cloud-orchestration-airflow => owl-bot-staging/v1beta1/google-cloud-orchestration-airflow}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsSettings.java (92%) rename {google-cloud-orchestration-airflow => owl-bot-staging/v1beta1/google-cloud-orchestration-airflow}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsClient.java (92%) rename {google-cloud-orchestration-airflow => owl-bot-staging/v1beta1/google-cloud-orchestration-airflow}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsSettings.java (86%) rename {google-cloud-orchestration-airflow => owl-bot-staging/v1beta1/google-cloud-orchestration-airflow}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/gapic_metadata.json (100%) rename {google-cloud-orchestration-airflow => owl-bot-staging/v1beta1/google-cloud-orchestration-airflow}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/package-info.java (100%) rename {google-cloud-orchestration-airflow => owl-bot-staging/v1beta1/google-cloud-orchestration-airflow}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/EnvironmentsStub.java (97%) rename {google-cloud-orchestration-airflow => owl-bot-staging/v1beta1/google-cloud-orchestration-airflow}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/EnvironmentsStubSettings.java (93%) rename {google-cloud-orchestration-airflow => owl-bot-staging/v1beta1/google-cloud-orchestration-airflow}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/GrpcEnvironmentsCallableFactory.java (100%) rename {google-cloud-orchestration-airflow => owl-bot-staging/v1beta1/google-cloud-orchestration-airflow}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/GrpcEnvironmentsStub.java (99%) rename {google-cloud-orchestration-airflow => owl-bot-staging/v1beta1/google-cloud-orchestration-airflow}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/GrpcImageVersionsCallableFactory.java (100%) rename {google-cloud-orchestration-airflow => owl-bot-staging/v1beta1/google-cloud-orchestration-airflow}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/GrpcImageVersionsStub.java (99%) create mode 100644 owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/HttpJsonEnvironmentsCallableFactory.java create mode 100644 owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/HttpJsonEnvironmentsStub.java create mode 100644 owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/HttpJsonImageVersionsCallableFactory.java create mode 100644 owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/HttpJsonImageVersionsStub.java rename {google-cloud-orchestration-airflow => owl-bot-staging/v1beta1/google-cloud-orchestration-airflow}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/ImageVersionsStub.java (100%) rename {google-cloud-orchestration-airflow => owl-bot-staging/v1beta1/google-cloud-orchestration-airflow}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/ImageVersionsStubSettings.java (84%) create mode 100644 owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsClientHttpJsonTest.java rename {google-cloud-orchestration-airflow => owl-bot-staging/v1beta1/google-cloud-orchestration-airflow}/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsClientTest.java (100%) create mode 100644 owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsClientHttpJsonTest.java rename {google-cloud-orchestration-airflow => owl-bot-staging/v1beta1/google-cloud-orchestration-airflow}/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsClientTest.java (100%) rename {google-cloud-orchestration-airflow => owl-bot-staging/v1beta1/google-cloud-orchestration-airflow}/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/MockEnvironments.java (100%) rename {google-cloud-orchestration-airflow => owl-bot-staging/v1beta1/google-cloud-orchestration-airflow}/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/MockEnvironmentsImpl.java (100%) rename {google-cloud-orchestration-airflow => owl-bot-staging/v1beta1/google-cloud-orchestration-airflow}/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/MockImageVersions.java (100%) rename {google-cloud-orchestration-airflow => owl-bot-staging/v1beta1/google-cloud-orchestration-airflow}/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/MockImageVersionsImpl.java (100%) create mode 100644 owl-bot-staging/v1beta1/grpc-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsGrpc.java create mode 100644 owl-bot-staging/v1beta1/grpc-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsGrpc.java rename {proto-google-cloud-orchestration-airflow-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CheckUpgradeRequest.java (70%) rename {proto-google-cloud-orchestration-airflow-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CheckUpgradeRequestOrBuilder.java (80%) rename {proto-google-cloud-orchestration-airflow-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CheckUpgradeResponse.java (60%) rename {proto-google-cloud-orchestration-airflow-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CheckUpgradeResponseOrBuilder.java (64%) rename {proto-google-cloud-orchestration-airflow-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CreateEnvironmentRequest.java (60%) rename {proto-google-cloud-orchestration-airflow-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CreateEnvironmentRequestOrBuilder.java (65%) rename {proto-google-cloud-orchestration-airflow-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/DatabaseConfig.java (67%) rename {proto-google-cloud-orchestration-airflow-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/DatabaseConfigOrBuilder.java (61%) rename {proto-google-cloud-orchestration-airflow-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/DeleteEnvironmentRequest.java (57%) rename {proto-google-cloud-orchestration-airflow-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/DeleteEnvironmentRequestOrBuilder.java (54%) rename {proto-google-cloud-orchestration-airflow-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EncryptionConfig.java (66%) rename {proto-google-cloud-orchestration-airflow-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EncryptionConfigOrBuilder.java (59%) rename {proto-google-cloud-orchestration-airflow-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/Environment.java (67%) rename {proto-google-cloud-orchestration-airflow-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentConfig.java (62%) rename {proto-google-cloud-orchestration-airflow-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentConfigOrBuilder.java (67%) rename {proto-google-cloud-orchestration-airflow-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentOrBuilder.java (82%) create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsOuterClass.java rename {proto-google-cloud-orchestration-airflow-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/GetEnvironmentRequest.java (58%) rename {proto-google-cloud-orchestration-airflow-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/GetEnvironmentRequestOrBuilder.java (55%) rename {proto-google-cloud-orchestration-airflow-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/IPAllocationPolicy.java (75%) rename {proto-google-cloud-orchestration-airflow-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/IPAllocationPolicyOrBuilder.java (83%) rename {proto-google-cloud-orchestration-airflow-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersion.java (72%) rename {proto-google-cloud-orchestration-airflow-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionOrBuilder.java (75%) create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsOuterClass.java rename {proto-google-cloud-orchestration-airflow-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListEnvironmentsRequest.java (62%) rename {proto-google-cloud-orchestration-airflow-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListEnvironmentsRequestOrBuilder.java (63%) rename {proto-google-cloud-orchestration-airflow-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListEnvironmentsResponse.java (58%) rename {proto-google-cloud-orchestration-airflow-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListEnvironmentsResponseOrBuilder.java (51%) rename {proto-google-cloud-orchestration-airflow-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListImageVersionsRequest.java (63%) rename {proto-google-cloud-orchestration-airflow-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListImageVersionsRequestOrBuilder.java (66%) rename {proto-google-cloud-orchestration-airflow-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListImageVersionsResponse.java (58%) create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListImageVersionsResponseOrBuilder.java rename {proto-google-cloud-orchestration-airflow-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/MaintenanceWindow.java (70%) rename {proto-google-cloud-orchestration-airflow-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/MaintenanceWindowOrBuilder.java (77%) rename {proto-google-cloud-orchestration-airflow-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/NodeConfig.java (78%) rename {proto-google-cloud-orchestration-airflow-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/NodeConfigOrBuilder.java (87%) rename {proto-google-cloud-orchestration-airflow-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/OperationMetadata.java (68%) rename {proto-google-cloud-orchestration-airflow-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/OperationMetadataOrBuilder.java (74%) create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/OperationsProto.java rename {proto-google-cloud-orchestration-airflow-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateClusterConfig.java (66%) rename {proto-google-cloud-orchestration-airflow-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateClusterConfigOrBuilder.java (71%) rename {proto-google-cloud-orchestration-airflow-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateEnvironmentConfig.java (64%) rename {proto-google-cloud-orchestration-airflow-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateEnvironmentConfigOrBuilder.java (67%) rename {proto-google-cloud-orchestration-airflow-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/RestartWebServerRequest.java (58%) rename {proto-google-cloud-orchestration-airflow-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/RestartWebServerRequestOrBuilder.java (56%) rename {proto-google-cloud-orchestration-airflow-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/SoftwareConfig.java (71%) rename {proto-google-cloud-orchestration-airflow-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/SoftwareConfigOrBuilder.java (82%) rename {proto-google-cloud-orchestration-airflow-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/UpdateEnvironmentRequest.java (87%) rename {proto-google-cloud-orchestration-airflow-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/UpdateEnvironmentRequestOrBuilder.java (95%) rename {proto-google-cloud-orchestration-airflow-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WebServerConfig.java (68%) rename {proto-google-cloud-orchestration-airflow-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WebServerConfigOrBuilder.java (66%) rename {proto-google-cloud-orchestration-airflow-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WebServerNetworkAccessControl.java (57%) create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WebServerNetworkAccessControlOrBuilder.java rename {proto-google-cloud-orchestration-airflow-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WorkloadsConfig.java (59%) create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WorkloadsConfigOrBuilder.java rename {proto-google-cloud-orchestration-airflow-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1}/src/main/proto/google/cloud/orchestration/airflow/service/v1beta1/environments.proto (100%) rename {proto-google-cloud-orchestration-airflow-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1}/src/main/proto/google/cloud/orchestration/airflow/service/v1beta1/image_versions.proto (100%) rename {proto-google-cloud-orchestration-airflow-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1}/src/main/proto/google/cloud/orchestration/airflow/service/v1beta1/operations.proto (100%) create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/checkupgrade/AsyncCheckUpgrade.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/checkupgrade/AsyncCheckUpgradeLRO.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/checkupgrade/SyncCheckUpgrade.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/create/SyncCreateSetCredentialsProvider.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/create/SyncCreateSetCredentialsProvider1.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/create/SyncCreateSetEndpoint.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/createenvironment/AsyncCreateEnvironment.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/createenvironment/AsyncCreateEnvironmentLRO.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/createenvironment/SyncCreateEnvironment.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/createenvironment/SyncCreateEnvironmentStringEnvironment.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/deleteenvironment/AsyncDeleteEnvironment.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/deleteenvironment/AsyncDeleteEnvironmentLRO.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/deleteenvironment/SyncDeleteEnvironment.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/deleteenvironment/SyncDeleteEnvironmentString.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/getenvironment/AsyncGetEnvironment.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/getenvironment/SyncGetEnvironment.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/getenvironment/SyncGetEnvironmentString.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/listenvironments/AsyncListEnvironments.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/listenvironments/AsyncListEnvironmentsPaged.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/listenvironments/SyncListEnvironments.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/listenvironments/SyncListEnvironmentsString.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/restartwebserver/AsyncRestartWebServer.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/restartwebserver/AsyncRestartWebServerLRO.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/restartwebserver/SyncRestartWebServer.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/updateenvironment/AsyncUpdateEnvironment.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/updateenvironment/AsyncUpdateEnvironmentLRO.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/updateenvironment/SyncUpdateEnvironment.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/updateenvironment/SyncUpdateEnvironmentStringEnvironmentFieldmask.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentssettings/getenvironment/SyncGetEnvironment.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/create/SyncCreateSetCredentialsProvider.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/create/SyncCreateSetCredentialsProvider1.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/create/SyncCreateSetEndpoint.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/listimageversions/AsyncListImageVersions.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/listimageversions/AsyncListImageVersionsPaged.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/listimageversions/SyncListImageVersions.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/listimageversions/SyncListImageVersionsString.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionssettings/listimageversions/SyncListImageVersions.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/stub/environmentsstubsettings/getenvironment/SyncGetEnvironment.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/stub/imageversionsstubsettings/listimageversions/SyncListImageVersions.java delete mode 100644 proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsOuterClass.java delete mode 100644 proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsOuterClass.java delete mode 100644 proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/OperationsProto.java delete mode 100644 proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/WebServerNetworkAccessControlOrBuilder.java delete mode 100644 proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsOuterClass.java delete mode 100644 proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsOuterClass.java delete mode 100644 proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListImageVersionsResponseOrBuilder.java delete mode 100644 proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/OperationsProto.java delete mode 100644 proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WebServerNetworkAccessControlOrBuilder.java delete mode 100644 proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WorkloadsConfigOrBuilder.java diff --git a/grpc-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsGrpc.java b/grpc-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsGrpc.java deleted file mode 100644 index b4764c25..00000000 --- a/grpc-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsGrpc.java +++ /dev/null @@ -1,846 +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.orchestration.airflow.service.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * Managed Apache Airflow Environments.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/orchestration/airflow/service/v1/environments.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class EnvironmentsGrpc { - - private EnvironmentsGrpc() {} - - public static final String SERVICE_NAME = - "google.cloud.orchestration.airflow.service.v1.Environments"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest, - com.google.longrunning.Operation> - getCreateEnvironmentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateEnvironment", - requestType = - com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest, - com.google.longrunning.Operation> - getCreateEnvironmentMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest, - com.google.longrunning.Operation> - getCreateEnvironmentMethod; - if ((getCreateEnvironmentMethod = EnvironmentsGrpc.getCreateEnvironmentMethod) == null) { - synchronized (EnvironmentsGrpc.class) { - if ((getCreateEnvironmentMethod = EnvironmentsGrpc.getCreateEnvironmentMethod) == null) { - EnvironmentsGrpc.getCreateEnvironmentMethod = - getCreateEnvironmentMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateEnvironment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.orchestration.airflow.service.v1 - .CreateEnvironmentRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new EnvironmentsMethodDescriptorSupplier("CreateEnvironment")) - .build(); - } - } - } - return getCreateEnvironmentMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest, - com.google.cloud.orchestration.airflow.service.v1.Environment> - getGetEnvironmentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetEnvironment", - requestType = com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest.class, - responseType = com.google.cloud.orchestration.airflow.service.v1.Environment.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest, - com.google.cloud.orchestration.airflow.service.v1.Environment> - getGetEnvironmentMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest, - com.google.cloud.orchestration.airflow.service.v1.Environment> - getGetEnvironmentMethod; - if ((getGetEnvironmentMethod = EnvironmentsGrpc.getGetEnvironmentMethod) == null) { - synchronized (EnvironmentsGrpc.class) { - if ((getGetEnvironmentMethod = EnvironmentsGrpc.getGetEnvironmentMethod) == null) { - EnvironmentsGrpc.getGetEnvironmentMethod = - getGetEnvironmentMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetEnvironment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.orchestration.airflow.service.v1 - .GetEnvironmentRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.orchestration.airflow.service.v1.Environment - .getDefaultInstance())) - .setSchemaDescriptor( - new EnvironmentsMethodDescriptorSupplier("GetEnvironment")) - .build(); - } - } - } - return getGetEnvironmentMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest, - com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse> - getListEnvironmentsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListEnvironments", - requestType = com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest.class, - responseType = - com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest, - com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse> - getListEnvironmentsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest, - com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse> - getListEnvironmentsMethod; - if ((getListEnvironmentsMethod = EnvironmentsGrpc.getListEnvironmentsMethod) == null) { - synchronized (EnvironmentsGrpc.class) { - if ((getListEnvironmentsMethod = EnvironmentsGrpc.getListEnvironmentsMethod) == null) { - EnvironmentsGrpc.getListEnvironmentsMethod = - getListEnvironmentsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListEnvironments")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.orchestration.airflow.service.v1 - .ListEnvironmentsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.orchestration.airflow.service.v1 - .ListEnvironmentsResponse.getDefaultInstance())) - .setSchemaDescriptor( - new EnvironmentsMethodDescriptorSupplier("ListEnvironments")) - .build(); - } - } - } - return getListEnvironmentsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest, - com.google.longrunning.Operation> - getUpdateEnvironmentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateEnvironment", - requestType = - com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest, - com.google.longrunning.Operation> - getUpdateEnvironmentMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest, - com.google.longrunning.Operation> - getUpdateEnvironmentMethod; - if ((getUpdateEnvironmentMethod = EnvironmentsGrpc.getUpdateEnvironmentMethod) == null) { - synchronized (EnvironmentsGrpc.class) { - if ((getUpdateEnvironmentMethod = EnvironmentsGrpc.getUpdateEnvironmentMethod) == null) { - EnvironmentsGrpc.getUpdateEnvironmentMethod = - getUpdateEnvironmentMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateEnvironment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.orchestration.airflow.service.v1 - .UpdateEnvironmentRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new EnvironmentsMethodDescriptorSupplier("UpdateEnvironment")) - .build(); - } - } - } - return getUpdateEnvironmentMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest, - com.google.longrunning.Operation> - getDeleteEnvironmentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteEnvironment", - requestType = - com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest, - com.google.longrunning.Operation> - getDeleteEnvironmentMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest, - com.google.longrunning.Operation> - getDeleteEnvironmentMethod; - if ((getDeleteEnvironmentMethod = EnvironmentsGrpc.getDeleteEnvironmentMethod) == null) { - synchronized (EnvironmentsGrpc.class) { - if ((getDeleteEnvironmentMethod = EnvironmentsGrpc.getDeleteEnvironmentMethod) == null) { - EnvironmentsGrpc.getDeleteEnvironmentMethod = - getDeleteEnvironmentMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteEnvironment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.orchestration.airflow.service.v1 - .DeleteEnvironmentRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new EnvironmentsMethodDescriptorSupplier("DeleteEnvironment")) - .build(); - } - } - } - return getDeleteEnvironmentMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static EnvironmentsStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public EnvironmentsStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new EnvironmentsStub(channel, callOptions); - } - }; - return EnvironmentsStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static EnvironmentsBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public EnvironmentsBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new EnvironmentsBlockingStub(channel, callOptions); - } - }; - return EnvironmentsBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static EnvironmentsFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public EnvironmentsFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new EnvironmentsFutureStub(channel, callOptions); - } - }; - return EnvironmentsFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * Managed Apache Airflow Environments.
-   * 
- */ - public abstract static class EnvironmentsImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * Create a new environment.
-     * 
- */ - public void createEnvironment( - com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateEnvironmentMethod(), responseObserver); - } - - /** - * - * - *
-     * Get an existing environment.
-     * 
- */ - public void getEnvironment( - com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetEnvironmentMethod(), responseObserver); - } - - /** - * - * - *
-     * List environments.
-     * 
- */ - public void listEnvironments( - com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListEnvironmentsMethod(), responseObserver); - } - - /** - * - * - *
-     * Update an environment.
-     * 
- */ - public void updateEnvironment( - com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateEnvironmentMethod(), responseObserver); - } - - /** - * - * - *
-     * Delete an environment.
-     * 
- */ - public void deleteEnvironment( - com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteEnvironmentMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateEnvironmentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest, - com.google.longrunning.Operation>(this, METHODID_CREATE_ENVIRONMENT))) - .addMethod( - getGetEnvironmentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest, - com.google.cloud.orchestration.airflow.service.v1.Environment>( - this, METHODID_GET_ENVIRONMENT))) - .addMethod( - getListEnvironmentsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest, - com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse>( - this, METHODID_LIST_ENVIRONMENTS))) - .addMethod( - getUpdateEnvironmentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest, - com.google.longrunning.Operation>(this, METHODID_UPDATE_ENVIRONMENT))) - .addMethod( - getDeleteEnvironmentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest, - com.google.longrunning.Operation>(this, METHODID_DELETE_ENVIRONMENT))) - .build(); - } - } - - /** - * - * - *
-   * Managed Apache Airflow Environments.
-   * 
- */ - public static final class EnvironmentsStub - extends io.grpc.stub.AbstractAsyncStub { - private EnvironmentsStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected EnvironmentsStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new EnvironmentsStub(channel, callOptions); - } - - /** - * - * - *
-     * Create a new environment.
-     * 
- */ - public void createEnvironment( - com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateEnvironmentMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Get an existing environment.
-     * 
- */ - public void getEnvironment( - com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetEnvironmentMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * List environments.
-     * 
- */ - public void listEnvironments( - com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListEnvironmentsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Update an environment.
-     * 
- */ - public void updateEnvironment( - com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateEnvironmentMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Delete an environment.
-     * 
- */ - public void deleteEnvironment( - com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteEnvironmentMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
-   * Managed Apache Airflow Environments.
-   * 
- */ - public static final class EnvironmentsBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private EnvironmentsBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected EnvironmentsBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new EnvironmentsBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Create a new environment.
-     * 
- */ - public com.google.longrunning.Operation createEnvironment( - com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateEnvironmentMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Get an existing environment.
-     * 
- */ - public com.google.cloud.orchestration.airflow.service.v1.Environment getEnvironment( - com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetEnvironmentMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * List environments.
-     * 
- */ - public com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse - listEnvironments( - com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListEnvironmentsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Update an environment.
-     * 
- */ - public com.google.longrunning.Operation updateEnvironment( - com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateEnvironmentMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Delete an environment.
-     * 
- */ - public com.google.longrunning.Operation deleteEnvironment( - com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteEnvironmentMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * Managed Apache Airflow Environments.
-   * 
- */ - public static final class EnvironmentsFutureStub - extends io.grpc.stub.AbstractFutureStub { - private EnvironmentsFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected EnvironmentsFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new EnvironmentsFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Create a new environment.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createEnvironment( - com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateEnvironmentMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Get an existing environment.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.orchestration.airflow.service.v1.Environment> - getEnvironment( - com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetEnvironmentMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * List environments.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse> - listEnvironments( - com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListEnvironmentsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Update an environment.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateEnvironment( - com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateEnvironmentMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Delete an environment.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteEnvironment( - com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteEnvironmentMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_ENVIRONMENT = 0; - private static final int METHODID_GET_ENVIRONMENT = 1; - private static final int METHODID_LIST_ENVIRONMENTS = 2; - private static final int METHODID_UPDATE_ENVIRONMENT = 3; - private static final int METHODID_DELETE_ENVIRONMENT = 4; - - 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 EnvironmentsImplBase serviceImpl; - private final int methodId; - - MethodHandlers(EnvironmentsImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_CREATE_ENVIRONMENT: - serviceImpl.createEnvironment( - (com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_ENVIRONMENT: - serviceImpl.getEnvironment( - (com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.orchestration.airflow.service.v1.Environment>) - responseObserver); - break; - case METHODID_LIST_ENVIRONMENTS: - serviceImpl.listEnvironments( - (com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse>) - responseObserver); - break; - case METHODID_UPDATE_ENVIRONMENT: - serviceImpl.updateEnvironment( - (com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_ENVIRONMENT: - serviceImpl.deleteEnvironment( - (com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest) 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 EnvironmentsBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - EnvironmentsBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass - .getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("Environments"); - } - } - - private static final class EnvironmentsFileDescriptorSupplier - extends EnvironmentsBaseDescriptorSupplier { - EnvironmentsFileDescriptorSupplier() {} - } - - private static final class EnvironmentsMethodDescriptorSupplier - extends EnvironmentsBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - EnvironmentsMethodDescriptorSupplier(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 (EnvironmentsGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new EnvironmentsFileDescriptorSupplier()) - .addMethod(getCreateEnvironmentMethod()) - .addMethod(getGetEnvironmentMethod()) - .addMethod(getListEnvironmentsMethod()) - .addMethod(getUpdateEnvironmentMethod()) - .addMethod(getDeleteEnvironmentMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/grpc-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsGrpc.java b/grpc-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsGrpc.java deleted file mode 100644 index aeb05ccd..00000000 --- a/grpc-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsGrpc.java +++ /dev/null @@ -1,373 +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.orchestration.airflow.service.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * Readonly service to query available ImageVersions.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/orchestration/airflow/service/v1/image_versions.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class ImageVersionsGrpc { - - private ImageVersionsGrpc() {} - - public static final String SERVICE_NAME = - "google.cloud.orchestration.airflow.service.v1.ImageVersions"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest, - com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse> - getListImageVersionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListImageVersions", - requestType = - com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest.class, - responseType = - com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest, - com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse> - getListImageVersionsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest, - com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse> - getListImageVersionsMethod; - if ((getListImageVersionsMethod = ImageVersionsGrpc.getListImageVersionsMethod) == null) { - synchronized (ImageVersionsGrpc.class) { - if ((getListImageVersionsMethod = ImageVersionsGrpc.getListImageVersionsMethod) == null) { - ImageVersionsGrpc.getListImageVersionsMethod = - getListImageVersionsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListImageVersions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.orchestration.airflow.service.v1 - .ListImageVersionsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.orchestration.airflow.service.v1 - .ListImageVersionsResponse.getDefaultInstance())) - .setSchemaDescriptor( - new ImageVersionsMethodDescriptorSupplier("ListImageVersions")) - .build(); - } - } - } - return getListImageVersionsMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static ImageVersionsStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ImageVersionsStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ImageVersionsStub(channel, callOptions); - } - }; - return ImageVersionsStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static ImageVersionsBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ImageVersionsBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ImageVersionsBlockingStub(channel, callOptions); - } - }; - return ImageVersionsBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static ImageVersionsFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ImageVersionsFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ImageVersionsFutureStub(channel, callOptions); - } - }; - return ImageVersionsFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * Readonly service to query available ImageVersions.
-   * 
- */ - public abstract static class ImageVersionsImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * List ImageVersions for provided location.
-     * 
- */ - public void listImageVersions( - com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListImageVersionsMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getListImageVersionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest, - com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse>( - this, METHODID_LIST_IMAGE_VERSIONS))) - .build(); - } - } - - /** - * - * - *
-   * Readonly service to query available ImageVersions.
-   * 
- */ - public static final class ImageVersionsStub - extends io.grpc.stub.AbstractAsyncStub { - private ImageVersionsStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ImageVersionsStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ImageVersionsStub(channel, callOptions); - } - - /** - * - * - *
-     * List ImageVersions for provided location.
-     * 
- */ - public void listImageVersions( - com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListImageVersionsMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
-   * Readonly service to query available ImageVersions.
-   * 
- */ - public static final class ImageVersionsBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private ImageVersionsBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ImageVersionsBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ImageVersionsBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * List ImageVersions for provided location.
-     * 
- */ - public com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse - listImageVersions( - com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListImageVersionsMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * Readonly service to query available ImageVersions.
-   * 
- */ - public static final class ImageVersionsFutureStub - extends io.grpc.stub.AbstractFutureStub { - private ImageVersionsFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ImageVersionsFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ImageVersionsFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * List ImageVersions for provided location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse> - listImageVersions( - com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListImageVersionsMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_LIST_IMAGE_VERSIONS = 0; - - 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 ImageVersionsImplBase serviceImpl; - private final int methodId; - - MethodHandlers(ImageVersionsImplBase 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_IMAGE_VERSIONS: - serviceImpl.listImageVersions( - (com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse>) - 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 ImageVersionsBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - ImageVersionsBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.ImageVersionsOuterClass - .getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("ImageVersions"); - } - } - - private static final class ImageVersionsFileDescriptorSupplier - extends ImageVersionsBaseDescriptorSupplier { - ImageVersionsFileDescriptorSupplier() {} - } - - private static final class ImageVersionsMethodDescriptorSupplier - extends ImageVersionsBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - ImageVersionsMethodDescriptorSupplier(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 (ImageVersionsGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new ImageVersionsFileDescriptorSupplier()) - .addMethod(getListImageVersionsMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/grpc-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsGrpc.java b/grpc-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsGrpc.java deleted file mode 100644 index 453fc332..00000000 --- a/grpc-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsGrpc.java +++ /dev/null @@ -1,1111 +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.orchestration.airflow.service.v1beta1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * Managed Apache Airflow Environments.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/orchestration/airflow/service/v1beta1/environments.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class EnvironmentsGrpc { - - private EnvironmentsGrpc() {} - - public static final String SERVICE_NAME = - "google.cloud.orchestration.airflow.service.v1beta1.Environments"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest, - com.google.longrunning.Operation> - getCreateEnvironmentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateEnvironment", - requestType = - com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest, - com.google.longrunning.Operation> - getCreateEnvironmentMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest, - com.google.longrunning.Operation> - getCreateEnvironmentMethod; - if ((getCreateEnvironmentMethod = EnvironmentsGrpc.getCreateEnvironmentMethod) == null) { - synchronized (EnvironmentsGrpc.class) { - if ((getCreateEnvironmentMethod = EnvironmentsGrpc.getCreateEnvironmentMethod) == null) { - EnvironmentsGrpc.getCreateEnvironmentMethod = - getCreateEnvironmentMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateEnvironment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.orchestration.airflow.service.v1beta1 - .CreateEnvironmentRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new EnvironmentsMethodDescriptorSupplier("CreateEnvironment")) - .build(); - } - } - } - return getCreateEnvironmentMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest, - com.google.cloud.orchestration.airflow.service.v1beta1.Environment> - getGetEnvironmentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetEnvironment", - requestType = - com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest.class, - responseType = com.google.cloud.orchestration.airflow.service.v1beta1.Environment.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest, - com.google.cloud.orchestration.airflow.service.v1beta1.Environment> - getGetEnvironmentMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest, - com.google.cloud.orchestration.airflow.service.v1beta1.Environment> - getGetEnvironmentMethod; - if ((getGetEnvironmentMethod = EnvironmentsGrpc.getGetEnvironmentMethod) == null) { - synchronized (EnvironmentsGrpc.class) { - if ((getGetEnvironmentMethod = EnvironmentsGrpc.getGetEnvironmentMethod) == null) { - EnvironmentsGrpc.getGetEnvironmentMethod = - getGetEnvironmentMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetEnvironment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.orchestration.airflow.service.v1beta1 - .GetEnvironmentRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.orchestration.airflow.service.v1beta1.Environment - .getDefaultInstance())) - .setSchemaDescriptor( - new EnvironmentsMethodDescriptorSupplier("GetEnvironment")) - .build(); - } - } - } - return getGetEnvironmentMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest, - com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse> - getListEnvironmentsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListEnvironments", - requestType = - com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest.class, - responseType = - com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest, - com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse> - getListEnvironmentsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest, - com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse> - getListEnvironmentsMethod; - if ((getListEnvironmentsMethod = EnvironmentsGrpc.getListEnvironmentsMethod) == null) { - synchronized (EnvironmentsGrpc.class) { - if ((getListEnvironmentsMethod = EnvironmentsGrpc.getListEnvironmentsMethod) == null) { - EnvironmentsGrpc.getListEnvironmentsMethod = - getListEnvironmentsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListEnvironments")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.orchestration.airflow.service.v1beta1 - .ListEnvironmentsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.orchestration.airflow.service.v1beta1 - .ListEnvironmentsResponse.getDefaultInstance())) - .setSchemaDescriptor( - new EnvironmentsMethodDescriptorSupplier("ListEnvironments")) - .build(); - } - } - } - return getListEnvironmentsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest, - com.google.longrunning.Operation> - getUpdateEnvironmentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateEnvironment", - requestType = - com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest, - com.google.longrunning.Operation> - getUpdateEnvironmentMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest, - com.google.longrunning.Operation> - getUpdateEnvironmentMethod; - if ((getUpdateEnvironmentMethod = EnvironmentsGrpc.getUpdateEnvironmentMethod) == null) { - synchronized (EnvironmentsGrpc.class) { - if ((getUpdateEnvironmentMethod = EnvironmentsGrpc.getUpdateEnvironmentMethod) == null) { - EnvironmentsGrpc.getUpdateEnvironmentMethod = - getUpdateEnvironmentMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateEnvironment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.orchestration.airflow.service.v1beta1 - .UpdateEnvironmentRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new EnvironmentsMethodDescriptorSupplier("UpdateEnvironment")) - .build(); - } - } - } - return getUpdateEnvironmentMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest, - com.google.longrunning.Operation> - getDeleteEnvironmentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteEnvironment", - requestType = - com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest, - com.google.longrunning.Operation> - getDeleteEnvironmentMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest, - com.google.longrunning.Operation> - getDeleteEnvironmentMethod; - if ((getDeleteEnvironmentMethod = EnvironmentsGrpc.getDeleteEnvironmentMethod) == null) { - synchronized (EnvironmentsGrpc.class) { - if ((getDeleteEnvironmentMethod = EnvironmentsGrpc.getDeleteEnvironmentMethod) == null) { - EnvironmentsGrpc.getDeleteEnvironmentMethod = - getDeleteEnvironmentMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteEnvironment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.orchestration.airflow.service.v1beta1 - .DeleteEnvironmentRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new EnvironmentsMethodDescriptorSupplier("DeleteEnvironment")) - .build(); - } - } - } - return getDeleteEnvironmentMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest, - com.google.longrunning.Operation> - getRestartWebServerMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RestartWebServer", - requestType = - com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest, - com.google.longrunning.Operation> - getRestartWebServerMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest, - com.google.longrunning.Operation> - getRestartWebServerMethod; - if ((getRestartWebServerMethod = EnvironmentsGrpc.getRestartWebServerMethod) == null) { - synchronized (EnvironmentsGrpc.class) { - if ((getRestartWebServerMethod = EnvironmentsGrpc.getRestartWebServerMethod) == null) { - EnvironmentsGrpc.getRestartWebServerMethod = - getRestartWebServerMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RestartWebServer")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.orchestration.airflow.service.v1beta1 - .RestartWebServerRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new EnvironmentsMethodDescriptorSupplier("RestartWebServer")) - .build(); - } - } - } - return getRestartWebServerMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest, - com.google.longrunning.Operation> - getCheckUpgradeMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CheckUpgrade", - requestType = - com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest, - com.google.longrunning.Operation> - getCheckUpgradeMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest, - com.google.longrunning.Operation> - getCheckUpgradeMethod; - if ((getCheckUpgradeMethod = EnvironmentsGrpc.getCheckUpgradeMethod) == null) { - synchronized (EnvironmentsGrpc.class) { - if ((getCheckUpgradeMethod = EnvironmentsGrpc.getCheckUpgradeMethod) == null) { - EnvironmentsGrpc.getCheckUpgradeMethod = - getCheckUpgradeMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CheckUpgrade")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.orchestration.airflow.service.v1beta1 - .CheckUpgradeRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new EnvironmentsMethodDescriptorSupplier("CheckUpgrade")) - .build(); - } - } - } - return getCheckUpgradeMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static EnvironmentsStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public EnvironmentsStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new EnvironmentsStub(channel, callOptions); - } - }; - return EnvironmentsStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static EnvironmentsBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public EnvironmentsBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new EnvironmentsBlockingStub(channel, callOptions); - } - }; - return EnvironmentsBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static EnvironmentsFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public EnvironmentsFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new EnvironmentsFutureStub(channel, callOptions); - } - }; - return EnvironmentsFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * Managed Apache Airflow Environments.
-   * 
- */ - public abstract static class EnvironmentsImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * Create a new environment.
-     * 
- */ - public void createEnvironment( - com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateEnvironmentMethod(), responseObserver); - } - - /** - * - * - *
-     * Get an existing environment.
-     * 
- */ - public void getEnvironment( - com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.orchestration.airflow.service.v1beta1.Environment> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetEnvironmentMethod(), responseObserver); - } - - /** - * - * - *
-     * List environments.
-     * 
- */ - public void listEnvironments( - com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListEnvironmentsMethod(), responseObserver); - } - - /** - * - * - *
-     * Update an environment.
-     * 
- */ - public void updateEnvironment( - com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateEnvironmentMethod(), responseObserver); - } - - /** - * - * - *
-     * Delete an environment.
-     * 
- */ - public void deleteEnvironment( - com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteEnvironmentMethod(), responseObserver); - } - - /** - * - * - *
-     * Restart Airflow web server.
-     * 
- */ - public void restartWebServer( - com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getRestartWebServerMethod(), responseObserver); - } - - /** - * - * - *
-     * Check if an upgrade operation on the environment will succeed.
-     * In case of problems detailed info can be found in the returned Operation.
-     * 
- */ - public void checkUpgrade( - com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCheckUpgradeMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateEnvironmentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.orchestration.airflow.service.v1beta1 - .CreateEnvironmentRequest, - com.google.longrunning.Operation>(this, METHODID_CREATE_ENVIRONMENT))) - .addMethod( - getGetEnvironmentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest, - com.google.cloud.orchestration.airflow.service.v1beta1.Environment>( - this, METHODID_GET_ENVIRONMENT))) - .addMethod( - getListEnvironmentsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.orchestration.airflow.service.v1beta1 - .ListEnvironmentsRequest, - com.google.cloud.orchestration.airflow.service.v1beta1 - .ListEnvironmentsResponse>(this, METHODID_LIST_ENVIRONMENTS))) - .addMethod( - getUpdateEnvironmentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.orchestration.airflow.service.v1beta1 - .UpdateEnvironmentRequest, - com.google.longrunning.Operation>(this, METHODID_UPDATE_ENVIRONMENT))) - .addMethod( - getDeleteEnvironmentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.orchestration.airflow.service.v1beta1 - .DeleteEnvironmentRequest, - com.google.longrunning.Operation>(this, METHODID_DELETE_ENVIRONMENT))) - .addMethod( - getRestartWebServerMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.orchestration.airflow.service.v1beta1 - .RestartWebServerRequest, - com.google.longrunning.Operation>(this, METHODID_RESTART_WEB_SERVER))) - .addMethod( - getCheckUpgradeMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest, - com.google.longrunning.Operation>(this, METHODID_CHECK_UPGRADE))) - .build(); - } - } - - /** - * - * - *
-   * Managed Apache Airflow Environments.
-   * 
- */ - public static final class EnvironmentsStub - extends io.grpc.stub.AbstractAsyncStub { - private EnvironmentsStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected EnvironmentsStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new EnvironmentsStub(channel, callOptions); - } - - /** - * - * - *
-     * Create a new environment.
-     * 
- */ - public void createEnvironment( - com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateEnvironmentMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Get an existing environment.
-     * 
- */ - public void getEnvironment( - com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.orchestration.airflow.service.v1beta1.Environment> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetEnvironmentMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * List environments.
-     * 
- */ - public void listEnvironments( - com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListEnvironmentsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Update an environment.
-     * 
- */ - public void updateEnvironment( - com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateEnvironmentMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Delete an environment.
-     * 
- */ - public void deleteEnvironment( - com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteEnvironmentMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Restart Airflow web server.
-     * 
- */ - public void restartWebServer( - com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRestartWebServerMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Check if an upgrade operation on the environment will succeed.
-     * In case of problems detailed info can be found in the returned Operation.
-     * 
- */ - public void checkUpgrade( - com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCheckUpgradeMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
-   * Managed Apache Airflow Environments.
-   * 
- */ - public static final class EnvironmentsBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private EnvironmentsBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected EnvironmentsBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new EnvironmentsBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Create a new environment.
-     * 
- */ - public com.google.longrunning.Operation createEnvironment( - com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateEnvironmentMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Get an existing environment.
-     * 
- */ - public com.google.cloud.orchestration.airflow.service.v1beta1.Environment getEnvironment( - com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetEnvironmentMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * List environments.
-     * 
- */ - public com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse - listEnvironments( - com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest - request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListEnvironmentsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Update an environment.
-     * 
- */ - public com.google.longrunning.Operation updateEnvironment( - com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateEnvironmentMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Delete an environment.
-     * 
- */ - public com.google.longrunning.Operation deleteEnvironment( - com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteEnvironmentMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Restart Airflow web server.
-     * 
- */ - public com.google.longrunning.Operation restartWebServer( - com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRestartWebServerMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Check if an upgrade operation on the environment will succeed.
-     * In case of problems detailed info can be found in the returned Operation.
-     * 
- */ - public com.google.longrunning.Operation checkUpgrade( - com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCheckUpgradeMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * Managed Apache Airflow Environments.
-   * 
- */ - public static final class EnvironmentsFutureStub - extends io.grpc.stub.AbstractFutureStub { - private EnvironmentsFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected EnvironmentsFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new EnvironmentsFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Create a new environment.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createEnvironment( - com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest - request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateEnvironmentMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Get an existing environment.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.orchestration.airflow.service.v1beta1.Environment> - getEnvironment( - com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetEnvironmentMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * List environments.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse> - listEnvironments( - com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest - request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListEnvironmentsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Update an environment.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateEnvironment( - com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest - request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateEnvironmentMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Delete an environment.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteEnvironment( - com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest - request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteEnvironmentMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Restart Airflow web server.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - restartWebServer( - com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest - request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRestartWebServerMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Check if an upgrade operation on the environment will succeed.
-     * In case of problems detailed info can be found in the returned Operation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - checkUpgrade( - com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCheckUpgradeMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_ENVIRONMENT = 0; - private static final int METHODID_GET_ENVIRONMENT = 1; - private static final int METHODID_LIST_ENVIRONMENTS = 2; - private static final int METHODID_UPDATE_ENVIRONMENT = 3; - private static final int METHODID_DELETE_ENVIRONMENT = 4; - private static final int METHODID_RESTART_WEB_SERVER = 5; - private static final int METHODID_CHECK_UPGRADE = 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 EnvironmentsImplBase serviceImpl; - private final int methodId; - - MethodHandlers(EnvironmentsImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_CREATE_ENVIRONMENT: - serviceImpl.createEnvironment( - (com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest) - request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_ENVIRONMENT: - serviceImpl.getEnvironment( - (com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest) - request, - (io.grpc.stub.StreamObserver< - com.google.cloud.orchestration.airflow.service.v1beta1.Environment>) - responseObserver); - break; - case METHODID_LIST_ENVIRONMENTS: - serviceImpl.listEnvironments( - (com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest) - request, - (io.grpc.stub.StreamObserver< - com.google.cloud.orchestration.airflow.service.v1beta1 - .ListEnvironmentsResponse>) - responseObserver); - break; - case METHODID_UPDATE_ENVIRONMENT: - serviceImpl.updateEnvironment( - (com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest) - request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_ENVIRONMENT: - serviceImpl.deleteEnvironment( - (com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest) - request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_RESTART_WEB_SERVER: - serviceImpl.restartWebServer( - (com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest) - request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CHECK_UPGRADE: - serviceImpl.checkUpgrade( - (com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest) 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 EnvironmentsBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - EnvironmentsBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("Environments"); - } - } - - private static final class EnvironmentsFileDescriptorSupplier - extends EnvironmentsBaseDescriptorSupplier { - EnvironmentsFileDescriptorSupplier() {} - } - - private static final class EnvironmentsMethodDescriptorSupplier - extends EnvironmentsBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - EnvironmentsMethodDescriptorSupplier(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 (EnvironmentsGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new EnvironmentsFileDescriptorSupplier()) - .addMethod(getCreateEnvironmentMethod()) - .addMethod(getGetEnvironmentMethod()) - .addMethod(getListEnvironmentsMethod()) - .addMethod(getUpdateEnvironmentMethod()) - .addMethod(getDeleteEnvironmentMethod()) - .addMethod(getRestartWebServerMethod()) - .addMethod(getCheckUpgradeMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/grpc-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsGrpc.java b/grpc-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsGrpc.java deleted file mode 100644 index fa0b88b0..00000000 --- a/grpc-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsGrpc.java +++ /dev/null @@ -1,379 +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.orchestration.airflow.service.v1beta1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * Readonly service to query available ImageVersions.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/orchestration/airflow/service/v1beta1/image_versions.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class ImageVersionsGrpc { - - private ImageVersionsGrpc() {} - - public static final String SERVICE_NAME = - "google.cloud.orchestration.airflow.service.v1beta1.ImageVersions"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest, - com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse> - getListImageVersionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListImageVersions", - requestType = - com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest.class, - responseType = - com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest, - com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse> - getListImageVersionsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest, - com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse> - getListImageVersionsMethod; - if ((getListImageVersionsMethod = ImageVersionsGrpc.getListImageVersionsMethod) == null) { - synchronized (ImageVersionsGrpc.class) { - if ((getListImageVersionsMethod = ImageVersionsGrpc.getListImageVersionsMethod) == null) { - ImageVersionsGrpc.getListImageVersionsMethod = - getListImageVersionsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListImageVersions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.orchestration.airflow.service.v1beta1 - .ListImageVersionsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.orchestration.airflow.service.v1beta1 - .ListImageVersionsResponse.getDefaultInstance())) - .setSchemaDescriptor( - new ImageVersionsMethodDescriptorSupplier("ListImageVersions")) - .build(); - } - } - } - return getListImageVersionsMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static ImageVersionsStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ImageVersionsStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ImageVersionsStub(channel, callOptions); - } - }; - return ImageVersionsStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static ImageVersionsBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ImageVersionsBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ImageVersionsBlockingStub(channel, callOptions); - } - }; - return ImageVersionsBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static ImageVersionsFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ImageVersionsFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ImageVersionsFutureStub(channel, callOptions); - } - }; - return ImageVersionsFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * Readonly service to query available ImageVersions.
-   * 
- */ - public abstract static class ImageVersionsImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * List ImageVersions for provided location.
-     * 
- */ - public void listImageVersions( - com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListImageVersionsMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getListImageVersionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.orchestration.airflow.service.v1beta1 - .ListImageVersionsRequest, - com.google.cloud.orchestration.airflow.service.v1beta1 - .ListImageVersionsResponse>(this, METHODID_LIST_IMAGE_VERSIONS))) - .build(); - } - } - - /** - * - * - *
-   * Readonly service to query available ImageVersions.
-   * 
- */ - public static final class ImageVersionsStub - extends io.grpc.stub.AbstractAsyncStub { - private ImageVersionsStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ImageVersionsStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ImageVersionsStub(channel, callOptions); - } - - /** - * - * - *
-     * List ImageVersions for provided location.
-     * 
- */ - public void listImageVersions( - com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListImageVersionsMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
-   * Readonly service to query available ImageVersions.
-   * 
- */ - public static final class ImageVersionsBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private ImageVersionsBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ImageVersionsBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ImageVersionsBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * List ImageVersions for provided location.
-     * 
- */ - public com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse - listImageVersions( - com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest - request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListImageVersionsMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * Readonly service to query available ImageVersions.
-   * 
- */ - public static final class ImageVersionsFutureStub - extends io.grpc.stub.AbstractFutureStub { - private ImageVersionsFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ImageVersionsFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ImageVersionsFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * List ImageVersions for provided location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse> - listImageVersions( - com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest - request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListImageVersionsMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_LIST_IMAGE_VERSIONS = 0; - - 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 ImageVersionsImplBase serviceImpl; - private final int methodId; - - MethodHandlers(ImageVersionsImplBase 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_IMAGE_VERSIONS: - serviceImpl.listImageVersions( - (com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest) - request, - (io.grpc.stub.StreamObserver< - com.google.cloud.orchestration.airflow.service.v1beta1 - .ListImageVersionsResponse>) - 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 ImageVersionsBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - ImageVersionsBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsOuterClass - .getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("ImageVersions"); - } - } - - private static final class ImageVersionsFileDescriptorSupplier - extends ImageVersionsBaseDescriptorSupplier { - ImageVersionsFileDescriptorSupplier() {} - } - - private static final class ImageVersionsMethodDescriptorSupplier - extends ImageVersionsBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - ImageVersionsMethodDescriptorSupplier(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 (ImageVersionsGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new ImageVersionsFileDescriptorSupplier()) - .addMethod(getListImageVersionsMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsClient.java b/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsClient.java similarity index 90% rename from google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsClient.java rename to owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsClient.java index a5224924..11ef0d9d 100644 --- a/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsClient.java +++ b/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsClient.java @@ -19,6 +19,7 @@ import com.google.api.core.ApiFuture; import com.google.api.core.ApiFutures; import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.httpjson.longrunning.OperationsClient; import com.google.api.gax.longrunning.OperationFuture; import com.google.api.gax.paging.AbstractFixedSizeCollection; import com.google.api.gax.paging.AbstractPage; @@ -30,7 +31,6 @@ import com.google.cloud.orchestration.airflow.service.v1.stub.EnvironmentsStubSettings; import com.google.common.util.concurrent.MoreExecutors; import com.google.longrunning.Operation; -import com.google.longrunning.OperationsClient; import com.google.protobuf.Empty; import com.google.protobuf.FieldMask; import java.io.IOException; @@ -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. *
* @@ -102,13 +102,28 @@ * EnvironmentsClient environmentsClient = EnvironmentsClient.create(environmentsSettings); * } * + *

To use REST (HTTP1.1/JSON) transport (instead of gRPC) for sending and receiving requests over + * the wire: + * + *

{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
+ * EnvironmentsSettings environmentsSettings =
+ *     EnvironmentsSettings.newBuilder()
+ *         .setTransportChannelProvider(
+ *             EnvironmentsSettings.defaultHttpJsonTransportProviderBuilder().build())
+ *         .build();
+ * EnvironmentsClient environmentsClient = EnvironmentsClient.create(environmentsSettings);
+ * }
+ * *

Please refer to the GitHub repository's samples for more quickstart code snippets. */ @Generated("by gapic-generator-java") public class EnvironmentsClient implements BackgroundResource { private final EnvironmentsSettings settings; private final EnvironmentsStub stub; - private final OperationsClient operationsClient; + private final OperationsClient httpJsonOperationsClient; + private final com.google.longrunning.OperationsClient operationsClient; /** Constructs an instance of EnvironmentsClient with default settings. */ public static final EnvironmentsClient create() throws IOException { @@ -139,13 +154,17 @@ public static final EnvironmentsClient create(EnvironmentsStub stub) { protected EnvironmentsClient(EnvironmentsSettings settings) throws IOException { this.settings = settings; this.stub = ((EnvironmentsStubSettings) settings.getStubSettings()).createStub(); - this.operationsClient = OperationsClient.create(this.stub.getOperationsStub()); + this.operationsClient = + com.google.longrunning.OperationsClient.create(this.stub.getOperationsStub()); + this.httpJsonOperationsClient = OperationsClient.create(this.stub.getHttpJsonOperationsStub()); } protected EnvironmentsClient(EnvironmentsStub stub) { this.settings = null; this.stub = stub; - this.operationsClient = OperationsClient.create(this.stub.getOperationsStub()); + this.operationsClient = + com.google.longrunning.OperationsClient.create(this.stub.getOperationsStub()); + this.httpJsonOperationsClient = OperationsClient.create(this.stub.getHttpJsonOperationsStub()); } public final EnvironmentsSettings getSettings() { @@ -160,10 +179,18 @@ public EnvironmentsStub getStub() { * Returns the OperationsClient that can be used to query the status of a long-running operation * returned by another API method call. */ - public final OperationsClient getOperationsClient() { + public final com.google.longrunning.OperationsClient getOperationsClient() { return operationsClient; } + /** + * Returns the OperationsClient that can be used to query the status of a long-running operation + * returned by another API method call. + */ + public final OperationsClient getHttpJsonOperationsClient() { + return httpJsonOperationsClient; + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Create a new environment. @@ -513,40 +540,40 @@ public final ListEnvironmentsPagedResponse listEnvironments(ListEnvironmentsRequ *

{ "config":{ "softwareConfig":{ "pypiPackages":{ "botocore":"==1.7.14" } } } } *

**Note:** Only the following fields can be updated: *

    - *
  • `config.softwareConfig.pypiPackages` * Replace all custom custom PyPI packages. + *
  • `config.softwareConfig.pypiPackages` * Replace all custom custom PyPI packages. * If a replacement package map is not included in `environment`, all custom PyPI * packages are cleared. It is an error to provide both this mask and a mask specifying * an individual package. - *
  • `config.softwareConfig.pypiPackages.`packagename * Update the custom PyPI package - * *packagename*, preserving other packages. To delete the package, include it - * in `updateMask`, and omit the mapping for it in + *
  • `config.softwareConfig.pypiPackages.`packagename * Update the custom PyPI + * package *packagename*, preserving other packages. To delete the package, + * include it in `updateMask`, and omit the mapping for it in * `environment.config.softwareConfig.pypiPackages`. It is an error to provide both a * mask of this form and the `config.softwareConfig.pypiPackages` mask. - *
  • `labels` * Replace all environment labels. If a replacement labels map is not + *
  • `labels` * Replace all environment labels. If a replacement labels map is not * included in `environment`, all labels are cleared. It is an error to provide both * this mask and a mask specifying one or more individual labels. - *
  • `labels.`labelName * Set the label named *labelName*, while preserving + *
  • `labels.`labelName * Set the label named *labelName*, while preserving * other labels. To delete the label, include it in `updateMask` and omit its mapping in * `environment.labels`. It is an error to provide both a mask of this form and the * `labels` mask. - *
  • `config.nodeCount` * Horizontally scale the number of nodes in the environment. + *
  • `config.nodeCount` * Horizontally scale the number of nodes in the environment. * An integer greater than or equal to 3 must be provided in the `config.nodeCount` * field. - *
  • `config.webServerNetworkAccessControl` * Replace the environment's current + *
  • `config.webServerNetworkAccessControl` * Replace the environment's current * `WebServerNetworkAccessControl`. - *
  • `config.databaseConfig` * Replace the environment's current `DatabaseConfig`. - *
  • `config.webServerConfig` * Replace the environment's current `WebServerConfig`. - *
  • `config.softwareConfig.airflowConfigOverrides` * Replace all Apache Airflow + *
  • `config.databaseConfig` * Replace the environment's current `DatabaseConfig`. + *
  • `config.webServerConfig` * Replace the environment's current `WebServerConfig`. + *
  • `config.softwareConfig.airflowConfigOverrides` * Replace all Apache Airflow * config overrides. If a replacement config overrides map is not included in * `environment`, all config overrides are cleared. It is an error to provide both this * mask and a mask specifying one or more individual config overrides. - *
  • `config.softwareConfig.airflowConfigOverrides.`section-name * Override the Apache - * Airflow config property *name* in the section named *section*, + *
  • `config.softwareConfig.airflowConfigOverrides.`section-name * Override the + * Apache Airflow config property *name* in the section named *section*, * preserving other properties. To delete the property override, include it in * `updateMask` and omit its mapping in * `environment.config.softwareConfig.airflowConfigOverrides`. It is an error to provide * both a mask of this form and the `config.softwareConfig.airflowConfigOverrides` mask. - *
  • `config.softwareConfig.envVariables` * Replace all environment variables. If a + *
  • `config.softwareConfig.envVariables` * Replace all environment variables. If a * replacement environment variable map is not included in `environment`, all custom * environment variables are cleared. It is an error to provide both this mask and a * mask specifying one or more individual environment variables. @@ -775,10 +802,7 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListEnvironmentsPagedResponse extends AbstractPagedListResponse< - ListEnvironmentsRequest, - ListEnvironmentsResponse, - Environment, - ListEnvironmentsPage, + ListEnvironmentsRequest, ListEnvironmentsResponse, Environment, ListEnvironmentsPage, ListEnvironmentsFixedSizeCollection> { public static ApiFuture createAsync( @@ -828,10 +852,7 @@ public ApiFuture createPageAsync( public static class ListEnvironmentsFixedSizeCollection extends AbstractFixedSizeCollection< - ListEnvironmentsRequest, - ListEnvironmentsResponse, - Environment, - ListEnvironmentsPage, + ListEnvironmentsRequest, ListEnvironmentsResponse, Environment, ListEnvironmentsPage, ListEnvironmentsFixedSizeCollection> { private ListEnvironmentsFixedSizeCollection( diff --git a/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsSettings.java b/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsSettings.java similarity index 90% rename from google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsSettings.java rename to owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsSettings.java index 378bb268..83bc9335 100644 --- a/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsSettings.java +++ b/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsSettings.java @@ -23,11 +23,13 @@ import com.google.api.gax.core.GoogleCredentialsProvider; import com.google.api.gax.core.InstantiatingExecutorProvider; import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; import com.google.api.gax.rpc.ApiClientHeaderProvider; import com.google.api.gax.rpc.ClientContext; 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.orchestration.airflow.service.v1.stub.EnvironmentsStubSettings; @@ -44,9 +46,9 @@ *

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

      - *
    • The default service address (composer.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 (composer.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 @@ -143,11 +145,18 @@ public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilde return EnvironmentsStubSettings.defaultCredentialsProviderBuilder(); } - /** Returns a builder for the default ChannelProvider for this service. */ + /** Returns a builder for the default gRPC ChannelProvider for this service. */ public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { return EnvironmentsStubSettings.defaultGrpcTransportProviderBuilder(); } + /** Returns a builder for the default REST ChannelProvider for this service. */ + @BetaApi + public static InstantiatingHttpJsonChannelProvider.Builder + defaultHttpJsonTransportProviderBuilder() { + return EnvironmentsStubSettings.defaultHttpJsonTransportProviderBuilder(); + } + public static TransportChannelProvider defaultTransportChannelProvider() { return EnvironmentsStubSettings.defaultTransportChannelProvider(); } @@ -157,11 +166,17 @@ public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuil return EnvironmentsStubSettings.defaultApiClientHeaderProviderBuilder(); } - /** Returns a new builder for this class. */ + /** Returns a new gRPC builder for this class. */ public static Builder newBuilder() { return Builder.createDefault(); } + /** Returns a new REST builder for this class. */ + @BetaApi + public static Builder newHttpJsonBuilder() { + return Builder.createHttpJsonDefault(); + } + /** Returns a new builder for this class. */ public static Builder newBuilder(ClientContext clientContext) { return new Builder(clientContext); @@ -199,6 +214,11 @@ private static Builder createDefault() { return new Builder(EnvironmentsStubSettings.newBuilder()); } + @BetaApi + private static Builder createHttpJsonDefault() { + return new Builder(EnvironmentsStubSettings.newHttpJsonBuilder()); + } + public EnvironmentsStubSettings.Builder getStubSettingsBuilder() { return ((EnvironmentsStubSettings.Builder) getStubSettings()); } diff --git a/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsClient.java b/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsClient.java similarity index 92% rename from google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsClient.java rename to owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsClient.java index 1aacf455..4c4ec3fa 100644 --- a/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsClient.java +++ b/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsClient.java @@ -57,13 +57,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. *
    * @@ -98,6 +98,20 @@ * ImageVersionsClient imageVersionsClient = ImageVersionsClient.create(imageVersionsSettings); * } * + *

    To use REST (HTTP1.1/JSON) transport (instead of gRPC) for sending and receiving requests over + * the wire: + * + *

    {@code
    + * // This snippet has been automatically generated for illustrative purposes only.
    + * // It may require modifications to work in your environment.
    + * ImageVersionsSettings imageVersionsSettings =
    + *     ImageVersionsSettings.newBuilder()
    + *         .setTransportChannelProvider(
    + *             ImageVersionsSettings.defaultHttpJsonTransportProviderBuilder().build())
    + *         .build();
    + * ImageVersionsClient imageVersionsClient = ImageVersionsClient.create(imageVersionsSettings);
    + * }
    + * *

    Please refer to the GitHub repository's samples for more quickstart code snippets. */ @Generated("by gapic-generator-java") @@ -308,10 +322,7 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListImageVersionsPagedResponse extends AbstractPagedListResponse< - ListImageVersionsRequest, - ListImageVersionsResponse, - ImageVersion, - ListImageVersionsPage, + ListImageVersionsRequest, ListImageVersionsResponse, ImageVersion, ListImageVersionsPage, ListImageVersionsFixedSizeCollection> { public static ApiFuture createAsync( @@ -332,9 +343,7 @@ private ListImageVersionsPagedResponse(ListImageVersionsPage page) { public static class ListImageVersionsPage extends AbstractPage< - ListImageVersionsRequest, - ListImageVersionsResponse, - ImageVersion, + ListImageVersionsRequest, ListImageVersionsResponse, ImageVersion, ListImageVersionsPage> { private ListImageVersionsPage( @@ -364,10 +373,7 @@ public ApiFuture createPageAsync( public static class ListImageVersionsFixedSizeCollection extends AbstractFixedSizeCollection< - ListImageVersionsRequest, - ListImageVersionsResponse, - ImageVersion, - ListImageVersionsPage, + ListImageVersionsRequest, ListImageVersionsResponse, ImageVersion, ListImageVersionsPage, ListImageVersionsFixedSizeCollection> { private ListImageVersionsFixedSizeCollection( diff --git a/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsSettings.java b/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsSettings.java similarity index 86% rename from google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsSettings.java rename to owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsSettings.java index 49f8cfd5..13e54d1c 100644 --- a/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsSettings.java +++ b/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsSettings.java @@ -23,10 +23,12 @@ import com.google.api.gax.core.GoogleCredentialsProvider; import com.google.api.gax.core.InstantiatingExecutorProvider; import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; import com.google.api.gax.rpc.ApiClientHeaderProvider; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.orchestration.airflow.service.v1.stub.ImageVersionsStubSettings; @@ -41,9 +43,9 @@ *

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

      - *
    • The default service address (composer.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 (composer.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 @@ -102,11 +104,18 @@ public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilde return ImageVersionsStubSettings.defaultCredentialsProviderBuilder(); } - /** Returns a builder for the default ChannelProvider for this service. */ + /** Returns a builder for the default gRPC ChannelProvider for this service. */ public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { return ImageVersionsStubSettings.defaultGrpcTransportProviderBuilder(); } + /** Returns a builder for the default REST ChannelProvider for this service. */ + @BetaApi + public static InstantiatingHttpJsonChannelProvider.Builder + defaultHttpJsonTransportProviderBuilder() { + return ImageVersionsStubSettings.defaultHttpJsonTransportProviderBuilder(); + } + public static TransportChannelProvider defaultTransportChannelProvider() { return ImageVersionsStubSettings.defaultTransportChannelProvider(); } @@ -116,11 +125,17 @@ public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuil return ImageVersionsStubSettings.defaultApiClientHeaderProviderBuilder(); } - /** Returns a new builder for this class. */ + /** Returns a new gRPC builder for this class. */ public static Builder newBuilder() { return Builder.createDefault(); } + /** Returns a new REST builder for this class. */ + @BetaApi + public static Builder newHttpJsonBuilder() { + return Builder.createHttpJsonDefault(); + } + /** Returns a new builder for this class. */ public static Builder newBuilder(ClientContext clientContext) { return new Builder(clientContext); @@ -158,6 +173,11 @@ private static Builder createDefault() { return new Builder(ImageVersionsStubSettings.newBuilder()); } + @BetaApi + private static Builder createHttpJsonDefault() { + return new Builder(ImageVersionsStubSettings.newHttpJsonBuilder()); + } + public ImageVersionsStubSettings.Builder getStubSettingsBuilder() { return ((ImageVersionsStubSettings.Builder) getStubSettings()); } diff --git a/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/gapic_metadata.json b/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/gapic_metadata.json similarity index 100% rename from google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/gapic_metadata.json rename to owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/gapic_metadata.json diff --git a/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/package-info.java b/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/package-info.java similarity index 100% rename from google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/package-info.java rename to owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/package-info.java diff --git a/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/EnvironmentsStub.java b/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/EnvironmentsStub.java similarity index 96% rename from google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/EnvironmentsStub.java rename to owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/EnvironmentsStub.java index 8ad45ab2..0668c4bb 100644 --- a/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/EnvironmentsStub.java +++ b/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/EnvironmentsStub.java @@ -44,7 +44,11 @@ public abstract class EnvironmentsStub implements BackgroundResource { public OperationsStub getOperationsStub() { - throw new UnsupportedOperationException("Not implemented: getOperationsStub()"); + return null; + } + + public com.google.api.gax.httpjson.longrunning.stub.OperationsStub getHttpJsonOperationsStub() { + return null; } public OperationCallable diff --git a/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/EnvironmentsStubSettings.java b/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/EnvironmentsStubSettings.java similarity index 91% rename from google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/EnvironmentsStubSettings.java rename to owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/EnvironmentsStubSettings.java index 73401f76..afc61866 100644 --- a/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/EnvironmentsStubSettings.java +++ b/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/EnvironmentsStubSettings.java @@ -28,6 +28,9 @@ import com.google.api.gax.grpc.GrpcTransportChannel; import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; import com.google.api.gax.grpc.ProtoOperationTransformers; +import com.google.api.gax.httpjson.GaxHttpJsonProperties; +import com.google.api.gax.httpjson.HttpJsonTransportChannel; +import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.longrunning.OperationTimedPollAlgorithm; import com.google.api.gax.retrying.RetrySettings; @@ -70,9 +73,9 @@ *

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

      - *
    • The default service address (composer.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 (composer.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 @@ -227,6 +230,11 @@ public EnvironmentsStub createStub() throws IOException { .equals(GrpcTransportChannel.getGrpcTransportName())) { return GrpcEnvironmentsStub.create(this); } + if (getTransportChannelProvider() + .getTransportName() + .equals(HttpJsonTransportChannel.getHttpJsonTransportName())) { + return HttpJsonEnvironmentsStub.create(this); + } throw new UnsupportedOperationException( String.format( "Transport not supported: %s", getTransportChannelProvider().getTransportName())); @@ -259,18 +267,25 @@ public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilde .setUseJwtAccessWithScope(true); } - /** Returns a builder for the default ChannelProvider for this service. */ + /** Returns a builder for the default gRPC ChannelProvider for this service. */ public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { return InstantiatingGrpcChannelProvider.newBuilder() .setMaxInboundMessageSize(Integer.MAX_VALUE); } + /** Returns a builder for the default REST ChannelProvider for this service. */ + @BetaApi + public static InstantiatingHttpJsonChannelProvider.Builder + defaultHttpJsonTransportProviderBuilder() { + return InstantiatingHttpJsonChannelProvider.newBuilder(); + } + public static TransportChannelProvider defaultTransportChannelProvider() { return defaultGrpcTransportProviderBuilder().build(); } @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") - public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + public static ApiClientHeaderProvider.Builder defaultGrpcApiClientHeaderProviderBuilder() { return ApiClientHeaderProvider.newBuilder() .setGeneratedLibToken( "gapic", GaxProperties.getLibraryVersion(EnvironmentsStubSettings.class)) @@ -278,11 +293,30 @@ public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuil GaxGrpcProperties.getGrpcTokenName(), GaxGrpcProperties.getGrpcVersion()); } - /** Returns a new builder for this class. */ + @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") + public static ApiClientHeaderProvider.Builder defaultHttpJsonApiClientHeaderProviderBuilder() { + return ApiClientHeaderProvider.newBuilder() + .setGeneratedLibToken( + "gapic", GaxProperties.getLibraryVersion(EnvironmentsStubSettings.class)) + .setTransportToken( + GaxHttpJsonProperties.getHttpJsonTokenName(), + GaxHttpJsonProperties.getHttpJsonVersion()); + } + + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return EnvironmentsStubSettings.defaultGrpcApiClientHeaderProviderBuilder(); + } + + /** Returns a new gRPC builder for this class. */ public static Builder newBuilder() { return Builder.createDefault(); } + /** Returns a new REST builder for this class. */ + public static Builder newHttpJsonBuilder() { + return Builder.createHttpJsonDefault(); + } + /** Returns a new builder for this class. */ public static Builder newBuilder(ClientContext clientContext) { return new Builder(clientContext); @@ -411,6 +445,19 @@ private static Builder createDefault() { return initDefaults(builder); } + private static Builder createHttpJsonDefault() { + Builder builder = new Builder(((ClientContext) null)); + + builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build()); + builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); + builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build()); + builder.setEndpoint(getDefaultEndpoint()); + builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); + builder.setSwitchToMtlsEndpointAllowed(true); + + return initDefaults(builder); + } + private static Builder initDefaults(Builder builder) { builder .createEnvironmentSettings() diff --git a/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/GrpcEnvironmentsCallableFactory.java b/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/GrpcEnvironmentsCallableFactory.java similarity index 100% rename from google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/GrpcEnvironmentsCallableFactory.java rename to owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/GrpcEnvironmentsCallableFactory.java diff --git a/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/GrpcEnvironmentsStub.java b/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/GrpcEnvironmentsStub.java similarity index 99% rename from google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/GrpcEnvironmentsStub.java rename to owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/GrpcEnvironmentsStub.java index 800adc42..c7761fcc 100644 --- a/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/GrpcEnvironmentsStub.java +++ b/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/GrpcEnvironmentsStub.java @@ -40,6 +40,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/GrpcImageVersionsCallableFactory.java b/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/GrpcImageVersionsCallableFactory.java similarity index 100% rename from google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/GrpcImageVersionsCallableFactory.java rename to owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/GrpcImageVersionsCallableFactory.java diff --git a/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/GrpcImageVersionsStub.java b/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/GrpcImageVersionsStub.java similarity index 99% rename from google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/GrpcImageVersionsStub.java rename to owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/GrpcImageVersionsStub.java index a812c21e..2ea0afa2 100644 --- a/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/GrpcImageVersionsStub.java +++ b/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/GrpcImageVersionsStub.java @@ -31,6 +31,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/HttpJsonEnvironmentsCallableFactory.java b/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/HttpJsonEnvironmentsCallableFactory.java new file mode 100644 index 00000000..dd5676bc --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/HttpJsonEnvironmentsCallableFactory.java @@ -0,0 +1,105 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1.stub; + +import com.google.api.core.BetaApi; +import com.google.api.gax.httpjson.HttpJsonCallSettings; +import com.google.api.gax.httpjson.HttpJsonCallableFactory; +import com.google.api.gax.httpjson.HttpJsonOperationSnapshotCallable; +import com.google.api.gax.httpjson.HttpJsonStubCallableFactory; +import com.google.api.gax.httpjson.longrunning.stub.OperationsStub; +import com.google.api.gax.rpc.BatchingCallSettings; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.OperationCallSettings; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallable; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.longrunning.Operation; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * REST callable factory implementation for the Environments service API. + * + *

    This class is for advanced usage. + */ +@Generated("by gapic-generator-java") +@BetaApi +public class HttpJsonEnvironmentsCallableFactory + implements HttpJsonStubCallableFactory { + + @Override + public UnaryCallable createUnaryCallable( + HttpJsonCallSettings httpJsonCallSettings, + UnaryCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createUnaryCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @Override + public + UnaryCallable createPagedCallable( + HttpJsonCallSettings httpJsonCallSettings, + PagedCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createPagedCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @Override + public UnaryCallable createBatchingCallable( + HttpJsonCallSettings httpJsonCallSettings, + BatchingCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createBatchingCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @BetaApi( + "The surface for long-running operations is not stable yet and may change in the future.") + @Override + public + OperationCallable createOperationCallable( + HttpJsonCallSettings httpJsonCallSettings, + OperationCallSettings callSettings, + ClientContext clientContext, + OperationsStub operationsStub) { + UnaryCallable innerCallable = + HttpJsonCallableFactory.createBaseUnaryCallable( + httpJsonCallSettings, callSettings.getInitialCallSettings(), clientContext); + HttpJsonOperationSnapshotCallable initialCallable = + new HttpJsonOperationSnapshotCallable( + innerCallable, + httpJsonCallSettings.getMethodDescriptor().getOperationSnapshotFactory()); + return HttpJsonCallableFactory.createOperationCallable( + callSettings, clientContext, operationsStub.longRunningClient(), initialCallable); + } + + @Override + public + ServerStreamingCallable createServerStreamingCallable( + HttpJsonCallSettings httpJsonCallSettings, + ServerStreamingCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createServerStreamingCallable( + httpJsonCallSettings, callSettings, clientContext); + } +} diff --git a/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/HttpJsonEnvironmentsStub.java b/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/HttpJsonEnvironmentsStub.java new file mode 100644 index 00000000..b563ac4d --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/HttpJsonEnvironmentsStub.java @@ -0,0 +1,494 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1.stub; + +import static com.google.cloud.orchestration.airflow.service.v1.EnvironmentsClient.ListEnvironmentsPagedResponse; + +import com.google.api.core.BetaApi; +import com.google.api.core.InternalApi; +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.core.BackgroundResourceAggregation; +import com.google.api.gax.httpjson.ApiMethodDescriptor; +import com.google.api.gax.httpjson.HttpJsonCallSettings; +import com.google.api.gax.httpjson.HttpJsonOperationSnapshot; +import com.google.api.gax.httpjson.HttpJsonStubCallableFactory; +import com.google.api.gax.httpjson.ProtoMessageRequestFormatter; +import com.google.api.gax.httpjson.ProtoMessageResponseParser; +import com.google.api.gax.httpjson.ProtoRestSerializer; +import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; +import com.google.api.gax.longrunning.OperationSnapshot; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest; +import com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest; +import com.google.cloud.orchestration.airflow.service.v1.Environment; +import com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest; +import com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest; +import com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse; +import com.google.cloud.orchestration.airflow.service.v1.OperationMetadata; +import com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest; +import com.google.longrunning.Operation; +import com.google.protobuf.Empty; +import com.google.protobuf.TypeRegistry; +import java.io.IOException; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * REST stub implementation for the Environments service API. + * + *

    This class is for advanced usage and reflects the underlying API directly. + */ +@Generated("by gapic-generator-java") +@BetaApi +public class HttpJsonEnvironmentsStub extends EnvironmentsStub { + private static final TypeRegistry typeRegistry = + TypeRegistry.newBuilder() + .add(Environment.getDescriptor()) + .add(Empty.getDescriptor()) + .add(OperationMetadata.getDescriptor()) + .build(); + + private static final ApiMethodDescriptor + createEnvironmentMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.orchestration.airflow.service.v1.Environments/CreateEnvironment") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{parent=projects/*/locations/*}/environments", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("environment", request.getEnvironment())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (CreateEnvironmentRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + + private static final ApiMethodDescriptor + getEnvironmentMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.orchestration.airflow.service.v1.Environments/GetEnvironment") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/locations/*/environments/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Environment.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + listEnvironmentsMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.orchestration.airflow.service.v1.Environments/ListEnvironments") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{parent=projects/*/locations/*}/environments", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "pageSize", request.getPageSize()); + serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(ListEnvironmentsResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + updateEnvironmentMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.orchestration.airflow.service.v1.Environments/UpdateEnvironment") + .setHttpMethod("PATCH") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/locations/*/environments/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "updateMask", request.getUpdateMask()); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("environment", request.getEnvironment())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (UpdateEnvironmentRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + + private static final ApiMethodDescriptor + deleteEnvironmentMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.orchestration.airflow.service.v1.Environments/DeleteEnvironment") + .setHttpMethod("DELETE") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/locations/*/environments/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (DeleteEnvironmentRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + + private final UnaryCallable createEnvironmentCallable; + private final OperationCallable + createEnvironmentOperationCallable; + private final UnaryCallable getEnvironmentCallable; + private final UnaryCallable + listEnvironmentsCallable; + private final UnaryCallable + listEnvironmentsPagedCallable; + private final UnaryCallable updateEnvironmentCallable; + private final OperationCallable + updateEnvironmentOperationCallable; + private final UnaryCallable deleteEnvironmentCallable; + private final OperationCallable + deleteEnvironmentOperationCallable; + + private final BackgroundResource backgroundResources; + private final HttpJsonOperationsStub httpJsonOperationsStub; + private final HttpJsonStubCallableFactory callableFactory; + + public static final HttpJsonEnvironmentsStub create(EnvironmentsStubSettings settings) + throws IOException { + return new HttpJsonEnvironmentsStub(settings, ClientContext.create(settings)); + } + + public static final HttpJsonEnvironmentsStub create(ClientContext clientContext) + throws IOException { + return new HttpJsonEnvironmentsStub( + EnvironmentsStubSettings.newHttpJsonBuilder().build(), clientContext); + } + + public static final HttpJsonEnvironmentsStub create( + ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException { + return new HttpJsonEnvironmentsStub( + EnvironmentsStubSettings.newHttpJsonBuilder().build(), clientContext, callableFactory); + } + + /** + * Constructs an instance of HttpJsonEnvironmentsStub, using the given settings. This is protected + * so that it is easy to make a subclass, but otherwise, the static factory methods should be + * preferred. + */ + protected HttpJsonEnvironmentsStub(EnvironmentsStubSettings settings, ClientContext clientContext) + throws IOException { + this(settings, clientContext, new HttpJsonEnvironmentsCallableFactory()); + } + + /** + * Constructs an instance of HttpJsonEnvironmentsStub, using the given settings. This is protected + * so that it is easy to make a subclass, but otherwise, the static factory methods should be + * preferred. + */ + protected HttpJsonEnvironmentsStub( + EnvironmentsStubSettings settings, + ClientContext clientContext, + HttpJsonStubCallableFactory callableFactory) + throws IOException { + this.callableFactory = callableFactory; + this.httpJsonOperationsStub = + HttpJsonOperationsStub.create(clientContext, callableFactory, typeRegistry); + + HttpJsonCallSettings createEnvironmentTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(createEnvironmentMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings getEnvironmentTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getEnvironmentMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + listEnvironmentsTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(listEnvironmentsMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings updateEnvironmentTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(updateEnvironmentMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings deleteEnvironmentTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(deleteEnvironmentMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + + this.createEnvironmentCallable = + callableFactory.createUnaryCallable( + createEnvironmentTransportSettings, + settings.createEnvironmentSettings(), + clientContext); + this.createEnvironmentOperationCallable = + callableFactory.createOperationCallable( + createEnvironmentTransportSettings, + settings.createEnvironmentOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.getEnvironmentCallable = + callableFactory.createUnaryCallable( + getEnvironmentTransportSettings, settings.getEnvironmentSettings(), clientContext); + this.listEnvironmentsCallable = + callableFactory.createUnaryCallable( + listEnvironmentsTransportSettings, settings.listEnvironmentsSettings(), clientContext); + this.listEnvironmentsPagedCallable = + callableFactory.createPagedCallable( + listEnvironmentsTransportSettings, settings.listEnvironmentsSettings(), clientContext); + this.updateEnvironmentCallable = + callableFactory.createUnaryCallable( + updateEnvironmentTransportSettings, + settings.updateEnvironmentSettings(), + clientContext); + this.updateEnvironmentOperationCallable = + callableFactory.createOperationCallable( + updateEnvironmentTransportSettings, + settings.updateEnvironmentOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.deleteEnvironmentCallable = + callableFactory.createUnaryCallable( + deleteEnvironmentTransportSettings, + settings.deleteEnvironmentSettings(), + clientContext); + this.deleteEnvironmentOperationCallable = + callableFactory.createOperationCallable( + deleteEnvironmentTransportSettings, + settings.deleteEnvironmentOperationSettings(), + clientContext, + httpJsonOperationsStub); + + this.backgroundResources = + new BackgroundResourceAggregation(clientContext.getBackgroundResources()); + } + + @InternalApi + public static List getMethodDescriptors() { + List methodDescriptors = new ArrayList<>(); + methodDescriptors.add(createEnvironmentMethodDescriptor); + methodDescriptors.add(getEnvironmentMethodDescriptor); + methodDescriptors.add(listEnvironmentsMethodDescriptor); + methodDescriptors.add(updateEnvironmentMethodDescriptor); + methodDescriptors.add(deleteEnvironmentMethodDescriptor); + return methodDescriptors; + } + + public HttpJsonOperationsStub getHttpJsonOperationsStub() { + return httpJsonOperationsStub; + } + + @Override + public UnaryCallable createEnvironmentCallable() { + return createEnvironmentCallable; + } + + @Override + public OperationCallable + createEnvironmentOperationCallable() { + return createEnvironmentOperationCallable; + } + + @Override + public UnaryCallable getEnvironmentCallable() { + return getEnvironmentCallable; + } + + @Override + public UnaryCallable + listEnvironmentsCallable() { + return listEnvironmentsCallable; + } + + @Override + public UnaryCallable + listEnvironmentsPagedCallable() { + return listEnvironmentsPagedCallable; + } + + @Override + public UnaryCallable updateEnvironmentCallable() { + return updateEnvironmentCallable; + } + + @Override + public OperationCallable + updateEnvironmentOperationCallable() { + return updateEnvironmentOperationCallable; + } + + @Override + public UnaryCallable deleteEnvironmentCallable() { + return deleteEnvironmentCallable; + } + + @Override + public OperationCallable + deleteEnvironmentOperationCallable() { + return deleteEnvironmentOperationCallable; + } + + @Override + public final void close() { + try { + backgroundResources.close(); + } catch (RuntimeException e) { + throw e; + } catch (Exception e) { + throw new IllegalStateException("Failed to close resource", e); + } + } + + @Override + public void shutdown() { + backgroundResources.shutdown(); + } + + @Override + public boolean isShutdown() { + return backgroundResources.isShutdown(); + } + + @Override + public boolean isTerminated() { + return backgroundResources.isTerminated(); + } + + @Override + public void shutdownNow() { + backgroundResources.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return backgroundResources.awaitTermination(duration, unit); + } +} diff --git a/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/HttpJsonImageVersionsCallableFactory.java b/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/HttpJsonImageVersionsCallableFactory.java new file mode 100644 index 00000000..1fc85ce1 --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/HttpJsonImageVersionsCallableFactory.java @@ -0,0 +1,105 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1.stub; + +import com.google.api.core.BetaApi; +import com.google.api.gax.httpjson.HttpJsonCallSettings; +import com.google.api.gax.httpjson.HttpJsonCallableFactory; +import com.google.api.gax.httpjson.HttpJsonOperationSnapshotCallable; +import com.google.api.gax.httpjson.HttpJsonStubCallableFactory; +import com.google.api.gax.httpjson.longrunning.stub.OperationsStub; +import com.google.api.gax.rpc.BatchingCallSettings; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.OperationCallSettings; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallable; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.longrunning.Operation; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * REST callable factory implementation for the ImageVersions service API. + * + *

    This class is for advanced usage. + */ +@Generated("by gapic-generator-java") +@BetaApi +public class HttpJsonImageVersionsCallableFactory + implements HttpJsonStubCallableFactory { + + @Override + public UnaryCallable createUnaryCallable( + HttpJsonCallSettings httpJsonCallSettings, + UnaryCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createUnaryCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @Override + public + UnaryCallable createPagedCallable( + HttpJsonCallSettings httpJsonCallSettings, + PagedCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createPagedCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @Override + public UnaryCallable createBatchingCallable( + HttpJsonCallSettings httpJsonCallSettings, + BatchingCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createBatchingCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @BetaApi( + "The surface for long-running operations is not stable yet and may change in the future.") + @Override + public + OperationCallable createOperationCallable( + HttpJsonCallSettings httpJsonCallSettings, + OperationCallSettings callSettings, + ClientContext clientContext, + OperationsStub operationsStub) { + UnaryCallable innerCallable = + HttpJsonCallableFactory.createBaseUnaryCallable( + httpJsonCallSettings, callSettings.getInitialCallSettings(), clientContext); + HttpJsonOperationSnapshotCallable initialCallable = + new HttpJsonOperationSnapshotCallable( + innerCallable, + httpJsonCallSettings.getMethodDescriptor().getOperationSnapshotFactory()); + return HttpJsonCallableFactory.createOperationCallable( + callSettings, clientContext, operationsStub.longRunningClient(), initialCallable); + } + + @Override + public + ServerStreamingCallable createServerStreamingCallable( + HttpJsonCallSettings httpJsonCallSettings, + ServerStreamingCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createServerStreamingCallable( + httpJsonCallSettings, callSettings, clientContext); + } +} diff --git a/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/HttpJsonImageVersionsStub.java b/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/HttpJsonImageVersionsStub.java new file mode 100644 index 00000000..6f1aee38 --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/HttpJsonImageVersionsStub.java @@ -0,0 +1,216 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1.stub; + +import static com.google.cloud.orchestration.airflow.service.v1.ImageVersionsClient.ListImageVersionsPagedResponse; + +import com.google.api.core.BetaApi; +import com.google.api.core.InternalApi; +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.core.BackgroundResourceAggregation; +import com.google.api.gax.httpjson.ApiMethodDescriptor; +import com.google.api.gax.httpjson.HttpJsonCallSettings; +import com.google.api.gax.httpjson.HttpJsonStubCallableFactory; +import com.google.api.gax.httpjson.ProtoMessageRequestFormatter; +import com.google.api.gax.httpjson.ProtoMessageResponseParser; +import com.google.api.gax.httpjson.ProtoRestSerializer; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest; +import com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse; +import com.google.protobuf.TypeRegistry; +import java.io.IOException; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * REST stub implementation for the ImageVersions service API. + * + *

    This class is for advanced usage and reflects the underlying API directly. + */ +@Generated("by gapic-generator-java") +@BetaApi +public class HttpJsonImageVersionsStub extends ImageVersionsStub { + private static final TypeRegistry typeRegistry = TypeRegistry.newBuilder().build(); + + private static final ApiMethodDescriptor + listImageVersionsMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.orchestration.airflow.service.v1.ImageVersions/ListImageVersions") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{parent=projects/*/locations/*}/imageVersions", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam( + fields, "includePastReleases", request.getIncludePastReleases()); + serializer.putQueryParam(fields, "pageSize", request.getPageSize()); + serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(ListImageVersionsResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private final UnaryCallable + listImageVersionsCallable; + private final UnaryCallable + listImageVersionsPagedCallable; + + private final BackgroundResource backgroundResources; + private final HttpJsonStubCallableFactory callableFactory; + + public static final HttpJsonImageVersionsStub create(ImageVersionsStubSettings settings) + throws IOException { + return new HttpJsonImageVersionsStub(settings, ClientContext.create(settings)); + } + + public static final HttpJsonImageVersionsStub create(ClientContext clientContext) + throws IOException { + return new HttpJsonImageVersionsStub( + ImageVersionsStubSettings.newHttpJsonBuilder().build(), clientContext); + } + + public static final HttpJsonImageVersionsStub create( + ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException { + return new HttpJsonImageVersionsStub( + ImageVersionsStubSettings.newHttpJsonBuilder().build(), clientContext, callableFactory); + } + + /** + * Constructs an instance of HttpJsonImageVersionsStub, using the given settings. This is + * protected so that it is easy to make a subclass, but otherwise, the static factory methods + * should be preferred. + */ + protected HttpJsonImageVersionsStub( + ImageVersionsStubSettings settings, ClientContext clientContext) throws IOException { + this(settings, clientContext, new HttpJsonImageVersionsCallableFactory()); + } + + /** + * Constructs an instance of HttpJsonImageVersionsStub, using the given settings. This is + * protected so that it is easy to make a subclass, but otherwise, the static factory methods + * should be preferred. + */ + protected HttpJsonImageVersionsStub( + ImageVersionsStubSettings settings, + ClientContext clientContext, + HttpJsonStubCallableFactory callableFactory) + throws IOException { + this.callableFactory = callableFactory; + + HttpJsonCallSettings + listImageVersionsTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(listImageVersionsMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + + this.listImageVersionsCallable = + callableFactory.createUnaryCallable( + listImageVersionsTransportSettings, + settings.listImageVersionsSettings(), + clientContext); + this.listImageVersionsPagedCallable = + callableFactory.createPagedCallable( + listImageVersionsTransportSettings, + settings.listImageVersionsSettings(), + clientContext); + + this.backgroundResources = + new BackgroundResourceAggregation(clientContext.getBackgroundResources()); + } + + @InternalApi + public static List getMethodDescriptors() { + List methodDescriptors = new ArrayList<>(); + methodDescriptors.add(listImageVersionsMethodDescriptor); + return methodDescriptors; + } + + @Override + public UnaryCallable + listImageVersionsCallable() { + return listImageVersionsCallable; + } + + @Override + public UnaryCallable + listImageVersionsPagedCallable() { + return listImageVersionsPagedCallable; + } + + @Override + public final void close() { + try { + backgroundResources.close(); + } catch (RuntimeException e) { + throw e; + } catch (Exception e) { + throw new IllegalStateException("Failed to close resource", e); + } + } + + @Override + public void shutdown() { + backgroundResources.shutdown(); + } + + @Override + public boolean isShutdown() { + return backgroundResources.isShutdown(); + } + + @Override + public boolean isTerminated() { + return backgroundResources.isTerminated(); + } + + @Override + public void shutdownNow() { + backgroundResources.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return backgroundResources.awaitTermination(duration, unit); + } +} diff --git a/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/ImageVersionsStub.java b/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/ImageVersionsStub.java similarity index 100% rename from google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/ImageVersionsStub.java rename to owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/ImageVersionsStub.java diff --git a/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/ImageVersionsStubSettings.java b/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/ImageVersionsStubSettings.java similarity index 84% rename from google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/ImageVersionsStubSettings.java rename to owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/ImageVersionsStubSettings.java index f9eb1660..2b58226f 100644 --- a/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/ImageVersionsStubSettings.java +++ b/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/ImageVersionsStubSettings.java @@ -27,6 +27,9 @@ import com.google.api.gax.grpc.GaxGrpcProperties; import com.google.api.gax.grpc.GrpcTransportChannel; import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.httpjson.GaxHttpJsonProperties; +import com.google.api.gax.httpjson.HttpJsonTransportChannel; +import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; import com.google.api.gax.retrying.RetrySettings; import com.google.api.gax.rpc.ApiCallContext; import com.google.api.gax.rpc.ApiClientHeaderProvider; @@ -58,9 +61,9 @@ *

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

      - *
    • The default service address (composer.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 (composer.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 @@ -139,8 +142,7 @@ public Iterable extractResources(ListImageVersionsResponse payload ListImageVersionsRequest, ListImageVersionsResponse, ListImageVersionsPagedResponse> LIST_IMAGE_VERSIONS_PAGE_STR_FACT = new PagedListResponseFactory< - ListImageVersionsRequest, - ListImageVersionsResponse, + ListImageVersionsRequest, ListImageVersionsResponse, ListImageVersionsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -169,6 +171,11 @@ public ImageVersionsStub createStub() throws IOException { .equals(GrpcTransportChannel.getGrpcTransportName())) { return GrpcImageVersionsStub.create(this); } + if (getTransportChannelProvider() + .getTransportName() + .equals(HttpJsonTransportChannel.getHttpJsonTransportName())) { + return HttpJsonImageVersionsStub.create(this); + } throw new UnsupportedOperationException( String.format( "Transport not supported: %s", getTransportChannelProvider().getTransportName())); @@ -201,18 +208,25 @@ public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilde .setUseJwtAccessWithScope(true); } - /** Returns a builder for the default ChannelProvider for this service. */ + /** Returns a builder for the default gRPC ChannelProvider for this service. */ public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { return InstantiatingGrpcChannelProvider.newBuilder() .setMaxInboundMessageSize(Integer.MAX_VALUE); } + /** Returns a builder for the default REST ChannelProvider for this service. */ + @BetaApi + public static InstantiatingHttpJsonChannelProvider.Builder + defaultHttpJsonTransportProviderBuilder() { + return InstantiatingHttpJsonChannelProvider.newBuilder(); + } + public static TransportChannelProvider defaultTransportChannelProvider() { return defaultGrpcTransportProviderBuilder().build(); } @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") - public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + public static ApiClientHeaderProvider.Builder defaultGrpcApiClientHeaderProviderBuilder() { return ApiClientHeaderProvider.newBuilder() .setGeneratedLibToken( "gapic", GaxProperties.getLibraryVersion(ImageVersionsStubSettings.class)) @@ -220,11 +234,30 @@ public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuil GaxGrpcProperties.getGrpcTokenName(), GaxGrpcProperties.getGrpcVersion()); } - /** Returns a new builder for this class. */ + @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") + public static ApiClientHeaderProvider.Builder defaultHttpJsonApiClientHeaderProviderBuilder() { + return ApiClientHeaderProvider.newBuilder() + .setGeneratedLibToken( + "gapic", GaxProperties.getLibraryVersion(ImageVersionsStubSettings.class)) + .setTransportToken( + GaxHttpJsonProperties.getHttpJsonTokenName(), + GaxHttpJsonProperties.getHttpJsonVersion()); + } + + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return ImageVersionsStubSettings.defaultGrpcApiClientHeaderProviderBuilder(); + } + + /** Returns a new gRPC builder for this class. */ public static Builder newBuilder() { return Builder.createDefault(); } + /** Returns a new REST builder for this class. */ + public static Builder newHttpJsonBuilder() { + return Builder.createHttpJsonDefault(); + } + /** Returns a new builder for this class. */ public static Builder newBuilder(ClientContext clientContext) { return new Builder(clientContext); @@ -303,6 +336,19 @@ private static Builder createDefault() { return initDefaults(builder); } + private static Builder createHttpJsonDefault() { + Builder builder = new Builder(((ClientContext) null)); + + builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build()); + builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); + builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build()); + builder.setEndpoint(getDefaultEndpoint()); + builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); + builder.setSwitchToMtlsEndpointAllowed(true); + + return initDefaults(builder); + } + private static Builder initDefaults(Builder builder) { builder .listImageVersionsSettings() diff --git a/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsClientHttpJsonTest.java b/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsClientHttpJsonTest.java new file mode 100644 index 00000000..fae25fca --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsClientHttpJsonTest.java @@ -0,0 +1,342 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1; + +import static com.google.cloud.orchestration.airflow.service.v1.EnvironmentsClient.ListEnvironmentsPagedResponse; + +import com.google.api.gax.core.NoCredentialsProvider; +import com.google.api.gax.httpjson.GaxHttpJsonProperties; +import com.google.api.gax.httpjson.testing.MockHttpService; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ApiException; +import com.google.api.gax.rpc.ApiExceptionFactory; +import com.google.api.gax.rpc.InvalidArgumentException; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.gax.rpc.testing.FakeStatusCode; +import com.google.cloud.orchestration.airflow.service.v1.stub.HttpJsonEnvironmentsStub; +import com.google.common.collect.Lists; +import com.google.longrunning.Operation; +import com.google.protobuf.Any; +import com.google.protobuf.Empty; +import com.google.protobuf.FieldMask; +import com.google.protobuf.Timestamp; +import java.io.IOException; +import java.util.Arrays; +import java.util.HashMap; +import java.util.List; +import java.util.concurrent.ExecutionException; +import javax.annotation.Generated; +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Assert; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +@Generated("by gapic-generator-java") +public class EnvironmentsClientHttpJsonTest { + private static MockHttpService mockService; + private static EnvironmentsClient client; + + @BeforeClass + public static void startStaticServer() throws IOException { + mockService = + new MockHttpService( + HttpJsonEnvironmentsStub.getMethodDescriptors(), + EnvironmentsSettings.getDefaultEndpoint()); + EnvironmentsSettings settings = + EnvironmentsSettings.newHttpJsonBuilder() + .setTransportChannelProvider( + EnvironmentsSettings.defaultHttpJsonTransportProviderBuilder() + .setHttpTransport(mockService) + .build()) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = EnvironmentsClient.create(settings); + } + + @AfterClass + public static void stopServer() { + client.close(); + } + + @Before + public void setUp() {} + + @After + public void tearDown() throws Exception { + mockService.reset(); + } + + @Test + public void createEnvironmentTest() throws Exception { + Environment expectedResponse = + Environment.newBuilder() + .setName("name3373707") + .setConfig(EnvironmentConfig.newBuilder().build()) + .setUuid("uuid3601339") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .putAllLabels(new HashMap()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createEnvironmentTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String parent = "projects/project-5833/locations/location-5833"; + Environment environment = Environment.newBuilder().build(); + + Environment actualResponse = client.createEnvironmentAsync(parent, environment).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createEnvironmentExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-5833/locations/location-5833"; + Environment environment = Environment.newBuilder().build(); + client.createEnvironmentAsync(parent, environment).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void getEnvironmentTest() throws Exception { + Environment expectedResponse = + Environment.newBuilder() + .setName("name3373707") + .setConfig(EnvironmentConfig.newBuilder().build()) + .setUuid("uuid3601339") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .putAllLabels(new HashMap()) + .build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-7856/locations/location-7856/environments/environment-7856"; + + Environment actualResponse = client.getEnvironment(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getEnvironmentExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-7856/locations/location-7856/environments/environment-7856"; + client.getEnvironment(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listEnvironmentsTest() throws Exception { + Environment responsesElement = Environment.newBuilder().build(); + ListEnvironmentsResponse expectedResponse = + ListEnvironmentsResponse.newBuilder() + .setNextPageToken("") + .addAllEnvironments(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-5833/locations/location-5833"; + + ListEnvironmentsPagedResponse pagedListResponse = client.listEnvironments(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getEnvironmentsList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listEnvironmentsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-5833/locations/location-5833"; + client.listEnvironments(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void updateEnvironmentTest() throws Exception { + Environment expectedResponse = + Environment.newBuilder() + .setName("name3373707") + .setConfig(EnvironmentConfig.newBuilder().build()) + .setUuid("uuid3601339") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .putAllLabels(new HashMap()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("updateEnvironmentTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String name = "projects/project-7856/locations/location-7856/environments/environment-7856"; + Environment environment = Environment.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + + Environment actualResponse = client.updateEnvironmentAsync(name, environment, updateMask).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void updateEnvironmentExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-7856/locations/location-7856/environments/environment-7856"; + Environment environment = Environment.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + client.updateEnvironmentAsync(name, environment, updateMask).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void deleteEnvironmentTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + Operation resultOperation = + Operation.newBuilder() + .setName("deleteEnvironmentTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String name = "projects/project-7856/locations/location-7856/environments/environment-7856"; + + client.deleteEnvironmentAsync(name).get(); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteEnvironmentExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-7856/locations/location-7856/environments/environment-7856"; + client.deleteEnvironmentAsync(name).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } +} diff --git a/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsClientTest.java b/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsClientTest.java similarity index 100% rename from google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsClientTest.java rename to owl-bot-staging/v1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsClientTest.java diff --git a/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsClientHttpJsonTest.java b/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsClientHttpJsonTest.java new file mode 100644 index 00000000..625ca2c6 --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsClientHttpJsonTest.java @@ -0,0 +1,127 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1; + +import static com.google.cloud.orchestration.airflow.service.v1.ImageVersionsClient.ListImageVersionsPagedResponse; + +import com.google.api.gax.core.NoCredentialsProvider; +import com.google.api.gax.httpjson.GaxHttpJsonProperties; +import com.google.api.gax.httpjson.testing.MockHttpService; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ApiException; +import com.google.api.gax.rpc.ApiExceptionFactory; +import com.google.api.gax.rpc.InvalidArgumentException; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.gax.rpc.testing.FakeStatusCode; +import com.google.cloud.orchestration.airflow.service.v1.stub.HttpJsonImageVersionsStub; +import com.google.common.collect.Lists; +import java.io.IOException; +import java.util.Arrays; +import java.util.List; +import javax.annotation.Generated; +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Assert; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +@Generated("by gapic-generator-java") +public class ImageVersionsClientHttpJsonTest { + private static MockHttpService mockService; + private static ImageVersionsClient client; + + @BeforeClass + public static void startStaticServer() throws IOException { + mockService = + new MockHttpService( + HttpJsonImageVersionsStub.getMethodDescriptors(), + ImageVersionsSettings.getDefaultEndpoint()); + ImageVersionsSettings settings = + ImageVersionsSettings.newHttpJsonBuilder() + .setTransportChannelProvider( + ImageVersionsSettings.defaultHttpJsonTransportProviderBuilder() + .setHttpTransport(mockService) + .build()) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = ImageVersionsClient.create(settings); + } + + @AfterClass + public static void stopServer() { + client.close(); + } + + @Before + public void setUp() {} + + @After + public void tearDown() throws Exception { + mockService.reset(); + } + + @Test + public void listImageVersionsTest() throws Exception { + ImageVersion responsesElement = ImageVersion.newBuilder().build(); + ListImageVersionsResponse expectedResponse = + ListImageVersionsResponse.newBuilder() + .setNextPageToken("") + .addAllImageVersions(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-5833/locations/location-5833"; + + ListImageVersionsPagedResponse pagedListResponse = client.listImageVersions(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getImageVersionsList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listImageVersionsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-5833/locations/location-5833"; + client.listImageVersions(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } +} diff --git a/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsClientTest.java b/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsClientTest.java similarity index 100% rename from google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsClientTest.java rename to owl-bot-staging/v1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsClientTest.java diff --git a/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1/MockEnvironments.java b/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1/MockEnvironments.java similarity index 100% rename from google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1/MockEnvironments.java rename to owl-bot-staging/v1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1/MockEnvironments.java diff --git a/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1/MockEnvironmentsImpl.java b/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1/MockEnvironmentsImpl.java similarity index 100% rename from google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1/MockEnvironmentsImpl.java rename to owl-bot-staging/v1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1/MockEnvironmentsImpl.java diff --git a/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1/MockImageVersions.java b/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1/MockImageVersions.java similarity index 100% rename from google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1/MockImageVersions.java rename to owl-bot-staging/v1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1/MockImageVersions.java diff --git a/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1/MockImageVersionsImpl.java b/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1/MockImageVersionsImpl.java similarity index 100% rename from google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1/MockImageVersionsImpl.java rename to owl-bot-staging/v1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1/MockImageVersionsImpl.java diff --git a/owl-bot-staging/v1/grpc-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsGrpc.java new file mode 100644 index 00000000..759873c1 --- /dev/null +++ b/owl-bot-staging/v1/grpc-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsGrpc.java @@ -0,0 +1,647 @@ +package com.google.cloud.orchestration.airflow.service.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *

    + * Managed Apache Airflow Environments.
    + * 
    + */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/orchestration/airflow/service/v1/environments.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class EnvironmentsGrpc { + + private EnvironmentsGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.orchestration.airflow.service.v1.Environments"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getCreateEnvironmentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateEnvironment", + requestType = com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateEnvironmentMethod() { + io.grpc.MethodDescriptor getCreateEnvironmentMethod; + if ((getCreateEnvironmentMethod = EnvironmentsGrpc.getCreateEnvironmentMethod) == null) { + synchronized (EnvironmentsGrpc.class) { + if ((getCreateEnvironmentMethod = EnvironmentsGrpc.getCreateEnvironmentMethod) == null) { + EnvironmentsGrpc.getCreateEnvironmentMethod = getCreateEnvironmentMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateEnvironment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new EnvironmentsMethodDescriptorSupplier("CreateEnvironment")) + .build(); + } + } + } + return getCreateEnvironmentMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetEnvironmentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetEnvironment", + requestType = com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest.class, + responseType = com.google.cloud.orchestration.airflow.service.v1.Environment.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetEnvironmentMethod() { + io.grpc.MethodDescriptor getGetEnvironmentMethod; + if ((getGetEnvironmentMethod = EnvironmentsGrpc.getGetEnvironmentMethod) == null) { + synchronized (EnvironmentsGrpc.class) { + if ((getGetEnvironmentMethod = EnvironmentsGrpc.getGetEnvironmentMethod) == null) { + EnvironmentsGrpc.getGetEnvironmentMethod = getGetEnvironmentMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetEnvironment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.orchestration.airflow.service.v1.Environment.getDefaultInstance())) + .setSchemaDescriptor(new EnvironmentsMethodDescriptorSupplier("GetEnvironment")) + .build(); + } + } + } + return getGetEnvironmentMethod; + } + + private static volatile io.grpc.MethodDescriptor getListEnvironmentsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListEnvironments", + requestType = com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest.class, + responseType = com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListEnvironmentsMethod() { + io.grpc.MethodDescriptor getListEnvironmentsMethod; + if ((getListEnvironmentsMethod = EnvironmentsGrpc.getListEnvironmentsMethod) == null) { + synchronized (EnvironmentsGrpc.class) { + if ((getListEnvironmentsMethod = EnvironmentsGrpc.getListEnvironmentsMethod) == null) { + EnvironmentsGrpc.getListEnvironmentsMethod = getListEnvironmentsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListEnvironments")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse.getDefaultInstance())) + .setSchemaDescriptor(new EnvironmentsMethodDescriptorSupplier("ListEnvironments")) + .build(); + } + } + } + return getListEnvironmentsMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateEnvironmentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateEnvironment", + requestType = com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateEnvironmentMethod() { + io.grpc.MethodDescriptor getUpdateEnvironmentMethod; + if ((getUpdateEnvironmentMethod = EnvironmentsGrpc.getUpdateEnvironmentMethod) == null) { + synchronized (EnvironmentsGrpc.class) { + if ((getUpdateEnvironmentMethod = EnvironmentsGrpc.getUpdateEnvironmentMethod) == null) { + EnvironmentsGrpc.getUpdateEnvironmentMethod = getUpdateEnvironmentMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateEnvironment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new EnvironmentsMethodDescriptorSupplier("UpdateEnvironment")) + .build(); + } + } + } + return getUpdateEnvironmentMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteEnvironmentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteEnvironment", + requestType = com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteEnvironmentMethod() { + io.grpc.MethodDescriptor getDeleteEnvironmentMethod; + if ((getDeleteEnvironmentMethod = EnvironmentsGrpc.getDeleteEnvironmentMethod) == null) { + synchronized (EnvironmentsGrpc.class) { + if ((getDeleteEnvironmentMethod = EnvironmentsGrpc.getDeleteEnvironmentMethod) == null) { + EnvironmentsGrpc.getDeleteEnvironmentMethod = getDeleteEnvironmentMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteEnvironment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new EnvironmentsMethodDescriptorSupplier("DeleteEnvironment")) + .build(); + } + } + } + return getDeleteEnvironmentMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static EnvironmentsStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public EnvironmentsStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EnvironmentsStub(channel, callOptions); + } + }; + return EnvironmentsStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static EnvironmentsBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public EnvironmentsBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EnvironmentsBlockingStub(channel, callOptions); + } + }; + return EnvironmentsBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static EnvironmentsFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public EnvironmentsFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EnvironmentsFutureStub(channel, callOptions); + } + }; + return EnvironmentsFutureStub.newStub(factory, channel); + } + + /** + *
    +   * Managed Apache Airflow Environments.
    +   * 
    + */ + public static abstract class EnvironmentsImplBase implements io.grpc.BindableService { + + /** + *
    +     * Create a new environment.
    +     * 
    + */ + public void createEnvironment(com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateEnvironmentMethod(), responseObserver); + } + + /** + *
    +     * Get an existing environment.
    +     * 
    + */ + public void getEnvironment(com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetEnvironmentMethod(), responseObserver); + } + + /** + *
    +     * List environments.
    +     * 
    + */ + public void listEnvironments(com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListEnvironmentsMethod(), responseObserver); + } + + /** + *
    +     * Update an environment.
    +     * 
    + */ + public void updateEnvironment(com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateEnvironmentMethod(), responseObserver); + } + + /** + *
    +     * Delete an environment.
    +     * 
    + */ + public void deleteEnvironment(com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteEnvironmentMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateEnvironmentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest, + com.google.longrunning.Operation>( + this, METHODID_CREATE_ENVIRONMENT))) + .addMethod( + getGetEnvironmentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest, + com.google.cloud.orchestration.airflow.service.v1.Environment>( + this, METHODID_GET_ENVIRONMENT))) + .addMethod( + getListEnvironmentsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest, + com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse>( + this, METHODID_LIST_ENVIRONMENTS))) + .addMethod( + getUpdateEnvironmentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest, + com.google.longrunning.Operation>( + this, METHODID_UPDATE_ENVIRONMENT))) + .addMethod( + getDeleteEnvironmentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest, + com.google.longrunning.Operation>( + this, METHODID_DELETE_ENVIRONMENT))) + .build(); + } + } + + /** + *
    +   * Managed Apache Airflow Environments.
    +   * 
    + */ + public static final class EnvironmentsStub extends io.grpc.stub.AbstractAsyncStub { + private EnvironmentsStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected EnvironmentsStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EnvironmentsStub(channel, callOptions); + } + + /** + *
    +     * Create a new environment.
    +     * 
    + */ + public void createEnvironment(com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateEnvironmentMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
    +     * Get an existing environment.
    +     * 
    + */ + public void getEnvironment(com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetEnvironmentMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
    +     * List environments.
    +     * 
    + */ + public void listEnvironments(com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListEnvironmentsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
    +     * Update an environment.
    +     * 
    + */ + public void updateEnvironment(com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateEnvironmentMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
    +     * Delete an environment.
    +     * 
    + */ + public void deleteEnvironment(com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteEnvironmentMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + *
    +   * Managed Apache Airflow Environments.
    +   * 
    + */ + public static final class EnvironmentsBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private EnvironmentsBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected EnvironmentsBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EnvironmentsBlockingStub(channel, callOptions); + } + + /** + *
    +     * Create a new environment.
    +     * 
    + */ + public com.google.longrunning.Operation createEnvironment(com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateEnvironmentMethod(), getCallOptions(), request); + } + + /** + *
    +     * Get an existing environment.
    +     * 
    + */ + public com.google.cloud.orchestration.airflow.service.v1.Environment getEnvironment(com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetEnvironmentMethod(), getCallOptions(), request); + } + + /** + *
    +     * List environments.
    +     * 
    + */ + public com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse listEnvironments(com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListEnvironmentsMethod(), getCallOptions(), request); + } + + /** + *
    +     * Update an environment.
    +     * 
    + */ + public com.google.longrunning.Operation updateEnvironment(com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateEnvironmentMethod(), getCallOptions(), request); + } + + /** + *
    +     * Delete an environment.
    +     * 
    + */ + public com.google.longrunning.Operation deleteEnvironment(com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteEnvironmentMethod(), getCallOptions(), request); + } + } + + /** + *
    +   * Managed Apache Airflow Environments.
    +   * 
    + */ + public static final class EnvironmentsFutureStub extends io.grpc.stub.AbstractFutureStub { + private EnvironmentsFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected EnvironmentsFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EnvironmentsFutureStub(channel, callOptions); + } + + /** + *
    +     * Create a new environment.
    +     * 
    + */ + public com.google.common.util.concurrent.ListenableFuture createEnvironment( + com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateEnvironmentMethod(), getCallOptions()), request); + } + + /** + *
    +     * Get an existing environment.
    +     * 
    + */ + public com.google.common.util.concurrent.ListenableFuture getEnvironment( + com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetEnvironmentMethod(), getCallOptions()), request); + } + + /** + *
    +     * List environments.
    +     * 
    + */ + public com.google.common.util.concurrent.ListenableFuture listEnvironments( + com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListEnvironmentsMethod(), getCallOptions()), request); + } + + /** + *
    +     * Update an environment.
    +     * 
    + */ + public com.google.common.util.concurrent.ListenableFuture updateEnvironment( + com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateEnvironmentMethod(), getCallOptions()), request); + } + + /** + *
    +     * Delete an environment.
    +     * 
    + */ + public com.google.common.util.concurrent.ListenableFuture deleteEnvironment( + com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteEnvironmentMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_ENVIRONMENT = 0; + private static final int METHODID_GET_ENVIRONMENT = 1; + private static final int METHODID_LIST_ENVIRONMENTS = 2; + private static final int METHODID_UPDATE_ENVIRONMENT = 3; + private static final int METHODID_DELETE_ENVIRONMENT = 4; + + 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 EnvironmentsImplBase serviceImpl; + private final int methodId; + + MethodHandlers(EnvironmentsImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_CREATE_ENVIRONMENT: + serviceImpl.createEnvironment((com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_ENVIRONMENT: + serviceImpl.getEnvironment((com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_ENVIRONMENTS: + serviceImpl.listEnvironments((com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_ENVIRONMENT: + serviceImpl.updateEnvironment((com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_ENVIRONMENT: + serviceImpl.deleteEnvironment((com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest) 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 EnvironmentsBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + EnvironmentsBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("Environments"); + } + } + + private static final class EnvironmentsFileDescriptorSupplier + extends EnvironmentsBaseDescriptorSupplier { + EnvironmentsFileDescriptorSupplier() {} + } + + private static final class EnvironmentsMethodDescriptorSupplier + extends EnvironmentsBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + EnvironmentsMethodDescriptorSupplier(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 (EnvironmentsGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new EnvironmentsFileDescriptorSupplier()) + .addMethod(getCreateEnvironmentMethod()) + .addMethod(getGetEnvironmentMethod()) + .addMethod(getListEnvironmentsMethod()) + .addMethod(getUpdateEnvironmentMethod()) + .addMethod(getDeleteEnvironmentMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/v1/grpc-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsGrpc.java new file mode 100644 index 00000000..4b4163f9 --- /dev/null +++ b/owl-bot-staging/v1/grpc-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsGrpc.java @@ -0,0 +1,303 @@ +package com.google.cloud.orchestration.airflow.service.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *
    + * Readonly service to query available ImageVersions.
    + * 
    + */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/orchestration/airflow/service/v1/image_versions.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class ImageVersionsGrpc { + + private ImageVersionsGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.orchestration.airflow.service.v1.ImageVersions"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getListImageVersionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListImageVersions", + requestType = com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest.class, + responseType = com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListImageVersionsMethod() { + io.grpc.MethodDescriptor getListImageVersionsMethod; + if ((getListImageVersionsMethod = ImageVersionsGrpc.getListImageVersionsMethod) == null) { + synchronized (ImageVersionsGrpc.class) { + if ((getListImageVersionsMethod = ImageVersionsGrpc.getListImageVersionsMethod) == null) { + ImageVersionsGrpc.getListImageVersionsMethod = getListImageVersionsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListImageVersions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse.getDefaultInstance())) + .setSchemaDescriptor(new ImageVersionsMethodDescriptorSupplier("ListImageVersions")) + .build(); + } + } + } + return getListImageVersionsMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static ImageVersionsStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ImageVersionsStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ImageVersionsStub(channel, callOptions); + } + }; + return ImageVersionsStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static ImageVersionsBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ImageVersionsBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ImageVersionsBlockingStub(channel, callOptions); + } + }; + return ImageVersionsBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static ImageVersionsFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ImageVersionsFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ImageVersionsFutureStub(channel, callOptions); + } + }; + return ImageVersionsFutureStub.newStub(factory, channel); + } + + /** + *
    +   * Readonly service to query available ImageVersions.
    +   * 
    + */ + public static abstract class ImageVersionsImplBase implements io.grpc.BindableService { + + /** + *
    +     * List ImageVersions for provided location.
    +     * 
    + */ + public void listImageVersions(com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListImageVersionsMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getListImageVersionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest, + com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse>( + this, METHODID_LIST_IMAGE_VERSIONS))) + .build(); + } + } + + /** + *
    +   * Readonly service to query available ImageVersions.
    +   * 
    + */ + public static final class ImageVersionsStub extends io.grpc.stub.AbstractAsyncStub { + private ImageVersionsStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ImageVersionsStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ImageVersionsStub(channel, callOptions); + } + + /** + *
    +     * List ImageVersions for provided location.
    +     * 
    + */ + public void listImageVersions(com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListImageVersionsMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + *
    +   * Readonly service to query available ImageVersions.
    +   * 
    + */ + public static final class ImageVersionsBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private ImageVersionsBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ImageVersionsBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ImageVersionsBlockingStub(channel, callOptions); + } + + /** + *
    +     * List ImageVersions for provided location.
    +     * 
    + */ + public com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse listImageVersions(com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListImageVersionsMethod(), getCallOptions(), request); + } + } + + /** + *
    +   * Readonly service to query available ImageVersions.
    +   * 
    + */ + public static final class ImageVersionsFutureStub extends io.grpc.stub.AbstractFutureStub { + private ImageVersionsFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ImageVersionsFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ImageVersionsFutureStub(channel, callOptions); + } + + /** + *
    +     * List ImageVersions for provided location.
    +     * 
    + */ + public com.google.common.util.concurrent.ListenableFuture listImageVersions( + com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListImageVersionsMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_LIST_IMAGE_VERSIONS = 0; + + 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 ImageVersionsImplBase serviceImpl; + private final int methodId; + + MethodHandlers(ImageVersionsImplBase 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_IMAGE_VERSIONS: + serviceImpl.listImageVersions((com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest) 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 ImageVersionsBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + ImageVersionsBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.ImageVersionsOuterClass.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("ImageVersions"); + } + } + + private static final class ImageVersionsFileDescriptorSupplier + extends ImageVersionsBaseDescriptorSupplier { + ImageVersionsFileDescriptorSupplier() {} + } + + private static final class ImageVersionsMethodDescriptorSupplier + extends ImageVersionsBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + ImageVersionsMethodDescriptorSupplier(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 (ImageVersionsGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new ImageVersionsFileDescriptorSupplier()) + .addMethod(getListImageVersionsMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/CheckUpgradeResponse.java b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/CheckUpgradeResponse.java similarity index 63% rename from proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/CheckUpgradeResponse.java rename to owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/CheckUpgradeResponse.java index 929bf516..be7f12ef 100644 --- a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/CheckUpgradeResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/CheckUpgradeResponse.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/orchestration/airflow/service/v1/environments.proto package com.google.cloud.orchestration.airflow.service.v1; /** - * - * *
      * Message containing information about the result of an upgrade check
      * operation.
    @@ -28,16 +11,15 @@
      *
      * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse}
      */
    -public final class CheckUpgradeResponse extends com.google.protobuf.GeneratedMessageV3
    -    implements
    +public final class CheckUpgradeResponse extends
    +    com.google.protobuf.GeneratedMessageV3 implements
         // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse)
         CheckUpgradeResponseOrBuilder {
    -  private static final long serialVersionUID = 0L;
    +private static final long serialVersionUID = 0L;
       // Use CheckUpgradeResponse.newBuilder() to construct.
       private CheckUpgradeResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
    -
       private CheckUpgradeResponse() {
         buildLogUri_ = "";
         containsPypiModulesConflict_ = 0;
    @@ -47,15 +29,16 @@ private CheckUpgradeResponse() {
     
       @java.lang.Override
       @SuppressWarnings({"unused"})
    -  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
    +  protected java.lang.Object newInstance(
    +      UnusedPrivateParameter unused) {
         return new CheckUpgradeResponse();
       }
     
       @java.lang.Override
    -  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
    +  public final com.google.protobuf.UnknownFieldSet
    +  getUnknownFields() {
         return this.unknownFields;
       }
    -
       private CheckUpgradeResponse(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    @@ -75,58 +58,50 @@ private CheckUpgradeResponse(
               case 0:
                 done = true;
                 break;
    -          case 10:
    -            {
    -              java.lang.String s = input.readStringRequireUtf8();
    +          case 10: {
    +            java.lang.String s = input.readStringRequireUtf8();
     
    -              buildLogUri_ = s;
    -              break;
    -            }
    -          case 26:
    -            {
    -              java.lang.String s = input.readStringRequireUtf8();
    +            buildLogUri_ = s;
    +            break;
    +          }
    +          case 26: {
    +            java.lang.String s = input.readStringRequireUtf8();
     
    -              pypiConflictBuildLogExtract_ = s;
    -              break;
    -            }
    -          case 32:
    -            {
    -              int rawValue = input.readEnum();
    +            pypiConflictBuildLogExtract_ = s;
    +            break;
    +          }
    +          case 32: {
    +            int rawValue = input.readEnum();
     
    -              containsPypiModulesConflict_ = rawValue;
    -              break;
    -            }
    -          case 42:
    -            {
    -              java.lang.String s = input.readStringRequireUtf8();
    +            containsPypiModulesConflict_ = rawValue;
    +            break;
    +          }
    +          case 42: {
    +            java.lang.String s = input.readStringRequireUtf8();
     
    -              imageVersion_ = s;
    -              break;
    -            }
    -          case 50:
    -            {
    -              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
    -                pypiDependencies_ =
    -                    com.google.protobuf.MapField.newMapField(
    -                        PypiDependenciesDefaultEntryHolder.defaultEntry);
    -                mutable_bitField0_ |= 0x00000001;
    -              }
    -              com.google.protobuf.MapEntry pypiDependencies__ =
    -                  input.readMessage(
    -                      PypiDependenciesDefaultEntryHolder.defaultEntry.getParserForType(),
    -                      extensionRegistry);
    -              pypiDependencies_
    -                  .getMutableMap()
    -                  .put(pypiDependencies__.getKey(), pypiDependencies__.getValue());
    -              break;
    +            imageVersion_ = s;
    +            break;
    +          }
    +          case 50: {
    +            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
    +              pypiDependencies_ = com.google.protobuf.MapField.newMapField(
    +                  PypiDependenciesDefaultEntryHolder.defaultEntry);
    +              mutable_bitField0_ |= 0x00000001;
                 }
    -          default:
    -            {
    -              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
    -                done = true;
    -              }
    -              break;
    +            com.google.protobuf.MapEntry
    +            pypiDependencies__ = input.readMessage(
    +                PypiDependenciesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
    +            pypiDependencies_.getMutableMap().put(
    +                pypiDependencies__.getKey(), pypiDependencies__.getValue());
    +            break;
    +          }
    +          default: {
    +            if (!parseUnknownField(
    +                input, unknownFields, extensionRegistry, tag)) {
    +              done = true;
                 }
    +            break;
    +          }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
    @@ -134,53 +109,48 @@ private CheckUpgradeResponse(
         } catch (com.google.protobuf.UninitializedMessageException e) {
           throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
    -      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
    +      throw new com.google.protobuf.InvalidProtocolBufferException(
    +          e).setUnfinishedMessage(this);
         } finally {
           this.unknownFields = unknownFields.build();
           makeExtensionsImmutable();
         }
       }
    -
    -  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    -    return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
    -        .internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_descriptor;
    +  public static final com.google.protobuf.Descriptors.Descriptor
    +      getDescriptor() {
    +    return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_descriptor;
       }
     
       @SuppressWarnings({"rawtypes"})
       @java.lang.Override
    -  protected com.google.protobuf.MapField internalGetMapField(int number) {
    +  protected com.google.protobuf.MapField internalGetMapField(
    +      int number) {
         switch (number) {
           case 6:
             return internalGetPypiDependencies();
           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.orchestration.airflow.service.v1.EnvironmentsOuterClass
    -        .internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_fieldAccessorTable
    +    return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
    -            com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.class,
    -            com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.Builder.class);
    +            com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.class, com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.Builder.class);
       }
     
       /**
    -   *
    -   *
        * 
        * Whether there were python modules conflict during image build.
        * 
    * - * Protobuf enum {@code - * google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult} + * Protobuf enum {@code google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult} */ - public enum ConflictResult implements com.google.protobuf.ProtocolMessageEnum { + public enum ConflictResult + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
          * It is unknown whether build had conflicts or not.
          * 
    @@ -189,8 +159,6 @@ public enum ConflictResult implements com.google.protobuf.ProtocolMessageEnum { */ CONFLICT_RESULT_UNSPECIFIED(0), /** - * - * *
          * There were python packages conflicts.
          * 
    @@ -199,8 +167,6 @@ public enum ConflictResult implements com.google.protobuf.ProtocolMessageEnum { */ CONFLICT(1), /** - * - * *
          * There were no python packages conflicts.
          * 
    @@ -212,8 +178,6 @@ public enum ConflictResult implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
          * It is unknown whether build had conflicts or not.
          * 
    @@ -222,8 +186,6 @@ public enum ConflictResult implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CONFLICT_RESULT_UNSPECIFIED_VALUE = 0; /** - * - * *
          * There were python packages conflicts.
          * 
    @@ -232,8 +194,6 @@ public enum ConflictResult implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CONFLICT_VALUE = 1; /** - * - * *
          * There were no python packages conflicts.
          * 
    @@ -242,6 +202,7 @@ public enum ConflictResult implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NO_CONFLICT_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -266,51 +227,49 @@ public static ConflictResult valueOf(int value) { */ public static ConflictResult forNumber(int value) { switch (value) { - case 0: - return CONFLICT_RESULT_UNSPECIFIED; - case 1: - return CONFLICT; - case 2: - return NO_CONFLICT; - default: - return null; + case 0: return CONFLICT_RESULT_UNSPECIFIED; + case 1: return CONFLICT; + case 2: return NO_CONFLICT; + 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< + ConflictResult> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ConflictResult findValueByNumber(int number) { + return ConflictResult.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ConflictResult findValueByNumber(int number) { - return ConflictResult.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.getDescriptor().getEnumTypes().get(0); } private static final ConflictResult[] VALUES = values(); - public static ConflictResult valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ConflictResult 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; @@ -330,14 +289,11 @@ private ConflictResult(int value) { public static final int BUILD_LOG_URI_FIELD_NUMBER = 1; private volatile java.lang.Object buildLogUri_; /** - * - * *
        * Output only. Url for a docker build log of an upgraded image.
        * 
    * * string build_log_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The buildLogUri. */ @java.lang.Override @@ -346,29 +302,29 @@ public java.lang.String getBuildLogUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); buildLogUri_ = s; return s; } } /** - * - * *
        * Output only. Url for a docker build log of an upgraded image.
        * 
    * * string build_log_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for buildLogUri. */ @java.lang.Override - public com.google.protobuf.ByteString getBuildLogUriBytes() { + public com.google.protobuf.ByteString + getBuildLogUriBytes() { java.lang.Object ref = buildLogUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); buildLogUri_ = b; return b; } else { @@ -379,61 +335,39 @@ public com.google.protobuf.ByteString getBuildLogUriBytes() { public static final int CONTAINS_PYPI_MODULES_CONFLICT_FIELD_NUMBER = 4; private int containsPypiModulesConflict_; /** - * - * *
        * Output only. Whether build has succeeded or failed on modules conflicts.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for containsPypiModulesConflict. */ - @java.lang.Override - public int getContainsPypiModulesConflictValue() { + @java.lang.Override public int getContainsPypiModulesConflictValue() { return containsPypiModulesConflict_; } /** - * - * *
        * Output only. Whether build has succeeded or failed on modules conflicts.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The containsPypiModulesConflict. */ - @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult - getContainsPypiModulesConflict() { + @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult getContainsPypiModulesConflict() { @SuppressWarnings("deprecation") - com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult result = - com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult - .valueOf(containsPypiModulesConflict_); - return result == null - ? com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult - .UNRECOGNIZED - : result; + com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult result = com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult.valueOf(containsPypiModulesConflict_); + return result == null ? com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult.UNRECOGNIZED : result; } public static final int PYPI_CONFLICT_BUILD_LOG_EXTRACT_FIELD_NUMBER = 3; private volatile java.lang.Object pypiConflictBuildLogExtract_; /** - * - * *
        * Output only. Extract from a docker image build log containing information about pypi
        * modules conflicts.
        * 
    * - * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The pypiConflictBuildLogExtract. */ @java.lang.Override @@ -442,31 +376,30 @@ public java.lang.String getPypiConflictBuildLogExtract() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pypiConflictBuildLogExtract_ = s; return s; } } /** - * - * *
        * Output only. Extract from a docker image build log containing information about pypi
        * modules conflicts.
        * 
    * - * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for pypiConflictBuildLogExtract. */ @java.lang.Override - public com.google.protobuf.ByteString getPypiConflictBuildLogExtractBytes() { + public com.google.protobuf.ByteString + getPypiConflictBuildLogExtractBytes() { java.lang.Object ref = pypiConflictBuildLogExtract_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pypiConflictBuildLogExtract_ = b; return b; } else { @@ -477,14 +410,11 @@ public com.google.protobuf.ByteString getPypiConflictBuildLogExtractBytes() { public static final int IMAGE_VERSION_FIELD_NUMBER = 5; private volatile java.lang.Object imageVersion_; /** - * - * *
        * Composer image for which the build was happening.
        * 
    * * string image_version = 5; - * * @return The imageVersion. */ @java.lang.Override @@ -493,29 +423,29 @@ public java.lang.String getImageVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageVersion_ = s; return s; } } /** - * - * *
        * Composer image for which the build was happening.
        * 
    * * string image_version = 5; - * * @return The bytes for imageVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getImageVersionBytes() { + public com.google.protobuf.ByteString + getImageVersionBytes() { java.lang.Object ref = imageVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); imageVersion_ = b; return b; } else { @@ -524,22 +454,21 @@ public com.google.protobuf.ByteString getImageVersionBytes() { } public static final int PYPI_DEPENDENCIES_FIELD_NUMBER = 6; - private static final class PypiDependenciesDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_PypiDependenciesEntry_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.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_PypiDependenciesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - - private com.google.protobuf.MapField pypiDependencies_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> pypiDependencies_; private com.google.protobuf.MapField - internalGetPypiDependencies() { + internalGetPypiDependencies() { if (pypiDependencies_ == null) { return com.google.protobuf.MapField.emptyMapField( PypiDependenciesDefaultEntryHolder.defaultEntry); @@ -551,8 +480,6 @@ public int getPypiDependenciesCount() { return internalGetPypiDependencies().getMap().size(); } /** - * - * *
        * Pypi dependencies specified in the environment configuration, at the time
        * when the build was triggered.
    @@ -560,22 +487,22 @@ public int getPypiDependenciesCount() {
        *
        * map<string, string> pypi_dependencies = 6;
        */
    +
       @java.lang.Override
    -  public boolean containsPypiDependencies(java.lang.String key) {
    -    if (key == null) {
    -      throw new NullPointerException("map key");
    -    }
    +  public boolean containsPypiDependencies(
    +      java.lang.String key) {
    +    if (key == null) { throw new NullPointerException("map key"); }
         return internalGetPypiDependencies().getMap().containsKey(key);
       }
    -  /** Use {@link #getPypiDependenciesMap()} instead. */
    +  /**
    +   * Use {@link #getPypiDependenciesMap()} instead.
    +   */
       @java.lang.Override
       @java.lang.Deprecated
       public java.util.Map getPypiDependencies() {
         return getPypiDependenciesMap();
       }
       /**
    -   *
    -   *
        * 
        * Pypi dependencies specified in the environment configuration, at the time
        * when the build was triggered.
    @@ -584,12 +511,11 @@ public java.util.Map getPypiDependencies() {
        * map<string, string> pypi_dependencies = 6;
        */
       @java.lang.Override
    +
       public java.util.Map getPypiDependenciesMap() {
         return internalGetPypiDependencies().getMap();
       }
       /**
    -   *
    -   *
        * 
        * Pypi dependencies specified in the environment configuration, at the time
        * when the build was triggered.
    @@ -598,17 +524,16 @@ public java.util.Map getPypiDependenciesMap(
        * map<string, string> pypi_dependencies = 6;
        */
       @java.lang.Override
    +
       public java.lang.String getPypiDependenciesOrDefault(
    -      java.lang.String key, java.lang.String defaultValue) {
    -    if (key == null) {
    -      throw new NullPointerException("map key");
    -    }
    -    java.util.Map map = internalGetPypiDependencies().getMap();
    +      java.lang.String key,
    +      java.lang.String defaultValue) {
    +    if (key == null) { throw new NullPointerException("map key"); }
    +    java.util.Map map =
    +        internalGetPypiDependencies().getMap();
         return map.containsKey(key) ? map.get(key) : defaultValue;
       }
       /**
    -   *
    -   *
        * 
        * Pypi dependencies specified in the environment configuration, at the time
        * when the build was triggered.
    @@ -617,11 +542,12 @@ public java.lang.String getPypiDependenciesOrDefault(
        * map<string, string> pypi_dependencies = 6;
        */
       @java.lang.Override
    -  public java.lang.String getPypiDependenciesOrThrow(java.lang.String key) {
    -    if (key == null) {
    -      throw new NullPointerException("map key");
    -    }
    -    java.util.Map map = internalGetPypiDependencies().getMap();
    +
    +  public java.lang.String getPypiDependenciesOrThrow(
    +      java.lang.String key) {
    +    if (key == null) { throw new NullPointerException("map key"); }
    +    java.util.Map map =
    +        internalGetPypiDependencies().getMap();
         if (!map.containsKey(key)) {
           throw new java.lang.IllegalArgumentException();
         }
    @@ -629,7 +555,6 @@ public java.lang.String getPypiDependenciesOrThrow(java.lang.String key) {
       }
     
       private byte memoizedIsInitialized = -1;
    -
       @java.lang.Override
       public final boolean isInitialized() {
         byte isInitialized = memoizedIsInitialized;
    @@ -641,24 +566,26 @@ public final boolean isInitialized() {
       }
     
       @java.lang.Override
    -  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    +  public void writeTo(com.google.protobuf.CodedOutputStream output)
    +                      throws java.io.IOException {
         if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(buildLogUri_)) {
           com.google.protobuf.GeneratedMessageV3.writeString(output, 1, buildLogUri_);
         }
         if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pypiConflictBuildLogExtract_)) {
           com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pypiConflictBuildLogExtract_);
         }
    -    if (containsPypiModulesConflict_
    -        != com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult
    -            .CONFLICT_RESULT_UNSPECIFIED
    -            .getNumber()) {
    +    if (containsPypiModulesConflict_ != com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult.CONFLICT_RESULT_UNSPECIFIED.getNumber()) {
           output.writeEnum(4, containsPypiModulesConflict_);
         }
         if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageVersion_)) {
           com.google.protobuf.GeneratedMessageV3.writeString(output, 5, imageVersion_);
         }
    -    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
    -        output, internalGetPypiDependencies(), PypiDependenciesDefaultEntryHolder.defaultEntry, 6);
    +    com.google.protobuf.GeneratedMessageV3
    +      .serializeStringMapTo(
    +        output,
    +        internalGetPypiDependencies(),
    +        PypiDependenciesDefaultEntryHolder.defaultEntry,
    +        6);
         unknownFields.writeTo(output);
       }
     
    @@ -672,28 +599,24 @@ public int getSerializedSize() {
           size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, buildLogUri_);
         }
         if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pypiConflictBuildLogExtract_)) {
    -      size +=
    -          com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pypiConflictBuildLogExtract_);
    +      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pypiConflictBuildLogExtract_);
         }
    -    if (containsPypiModulesConflict_
    -        != com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult
    -            .CONFLICT_RESULT_UNSPECIFIED
    -            .getNumber()) {
    -      size +=
    -          com.google.protobuf.CodedOutputStream.computeEnumSize(4, containsPypiModulesConflict_);
    +    if (containsPypiModulesConflict_ != com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult.CONFLICT_RESULT_UNSPECIFIED.getNumber()) {
    +      size += com.google.protobuf.CodedOutputStream
    +        .computeEnumSize(4, containsPypiModulesConflict_);
         }
         if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageVersion_)) {
           size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, imageVersion_);
         }
    -    for (java.util.Map.Entry entry :
    -        internalGetPypiDependencies().getMap().entrySet()) {
    -      com.google.protobuf.MapEntry pypiDependencies__ =
    -          PypiDependenciesDefaultEntryHolder.defaultEntry
    -              .newBuilderForType()
    -              .setKey(entry.getKey())
    -              .setValue(entry.getValue())
    -              .build();
    -      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, pypiDependencies__);
    +    for (java.util.Map.Entry entry
    +         : internalGetPypiDependencies().getMap().entrySet()) {
    +      com.google.protobuf.MapEntry
    +      pypiDependencies__ = PypiDependenciesDefaultEntryHolder.defaultEntry.newBuilderForType()
    +          .setKey(entry.getKey())
    +          .setValue(entry.getValue())
    +          .build();
    +      size += com.google.protobuf.CodedOutputStream
    +          .computeMessageSize(6, pypiDependencies__);
         }
         size += unknownFields.getSerializedSize();
         memoizedSize = size;
    @@ -703,20 +626,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.orchestration.airflow.service.v1.CheckUpgradeResponse)) {
           return super.equals(obj);
         }
    -    com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse other =
    -        (com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse) obj;
    +    com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse other = (com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse) obj;
     
    -    if (!getBuildLogUri().equals(other.getBuildLogUri())) return false;
    +    if (!getBuildLogUri()
    +        .equals(other.getBuildLogUri())) return false;
         if (containsPypiModulesConflict_ != other.containsPypiModulesConflict_) return false;
    -    if (!getPypiConflictBuildLogExtract().equals(other.getPypiConflictBuildLogExtract()))
    -      return false;
    -    if (!getImageVersion().equals(other.getImageVersion())) return false;
    -    if (!internalGetPypiDependencies().equals(other.internalGetPypiDependencies())) return false;
    +    if (!getPypiConflictBuildLogExtract()
    +        .equals(other.getPypiConflictBuildLogExtract())) return false;
    +    if (!getImageVersion()
    +        .equals(other.getImageVersion())) return false;
    +    if (!internalGetPypiDependencies().equals(
    +        other.internalGetPypiDependencies())) return false;
         if (!unknownFields.equals(other.unknownFields)) return false;
         return true;
       }
    @@ -746,105 +671,96 @@ public int hashCode() {
       }
     
       public static com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse 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.orchestration.airflow.service.v1.CheckUpgradeResponse parseFrom(
    -      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    +      java.nio.ByteBuffer data,
    +      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
    -
       public static com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse parseFrom(
           com.google.protobuf.ByteString data)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
    -
       public static com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse parseFrom(
           com.google.protobuf.ByteString data,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
    -
    -  public static com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse parseFrom(
    -      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
    +  public static com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse parseFrom(byte[] data)
    +      throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
    -
       public static com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse parseFrom(
    -      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    +      byte[] data,
    +      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
    -
    -  public static com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse parseFrom(
    -      java.io.InputStream input) throws java.io.IOException {
    -    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
    +  public static com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse parseFrom(java.io.InputStream input)
    +      throws java.io.IOException {
    +    return com.google.protobuf.GeneratedMessageV3
    +        .parseWithIOException(PARSER, input);
       }
    -
       public static com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse parseFrom(
    -      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    +      java.io.InputStream input,
    +      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
    -    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
    -        PARSER, input, extensionRegistry);
    +    return com.google.protobuf.GeneratedMessageV3
    +        .parseWithIOException(PARSER, input, extensionRegistry);
       }
    -
    -  public static com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse
    -      parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
    -    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
    +  public static com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse parseDelimitedFrom(java.io.InputStream input)
    +      throws java.io.IOException {
    +    return com.google.protobuf.GeneratedMessageV3
    +        .parseDelimitedWithIOException(PARSER, input);
       }
    -
    -  public static com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse
    -      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.orchestration.airflow.service.v1.CheckUpgradeResponse 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.orchestration.airflow.service.v1.CheckUpgradeResponse parseFrom(
    -      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
    -    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
    +      com.google.protobuf.CodedInputStream input)
    +      throws java.io.IOException {
    +    return com.google.protobuf.GeneratedMessageV3
    +        .parseWithIOException(PARSER, input);
       }
    -
       public static com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse parseFrom(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
    -    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
    -        PARSER, input, extensionRegistry);
    +    return com.google.protobuf.GeneratedMessageV3
    +        .parseWithIOException(PARSER, input, extensionRegistry);
       }
     
       @java.lang.Override
    -  public Builder newBuilderForType() {
    -    return newBuilder();
    -  }
    -
    +  public Builder newBuilderForType() { return newBuilder(); }
       public static Builder newBuilder() {
         return DEFAULT_INSTANCE.toBuilder();
       }
    -
    -  public static Builder newBuilder(
    -      com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse prototype) {
    +  public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse prototype) {
         return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
       }
    -
       @java.lang.Override
       public Builder toBuilder() {
    -    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
    +    return this == DEFAULT_INSTANCE
    +        ? new Builder() : new Builder().mergeFrom(this);
       }
     
       @java.lang.Override
    -  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    +  protected Builder newBuilderForType(
    +      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         Builder builder = new Builder(parent);
         return builder;
       }
       /**
    -   *
    -   *
        * 
        * Message containing information about the result of an upgrade check
        * operation.
    @@ -852,60 +768,60 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
        *
        * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse}
        */
    -  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
    -      implements
    +  public static final class Builder extends
    +      com.google.protobuf.GeneratedMessageV3.Builder implements
           // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse)
           com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponseOrBuilder {
    -    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    -      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
    -          .internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_descriptor;
    +    public static final com.google.protobuf.Descriptors.Descriptor
    +        getDescriptor() {
    +      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_descriptor;
         }
     
         @SuppressWarnings({"rawtypes"})
    -    protected com.google.protobuf.MapField internalGetMapField(int number) {
    +    protected com.google.protobuf.MapField internalGetMapField(
    +        int number) {
           switch (number) {
             case 6:
               return internalGetPypiDependencies();
             default:
    -          throw new RuntimeException("Invalid map field number: " + number);
    +          throw new RuntimeException(
    +              "Invalid map field number: " + number);
           }
         }
    -
         @SuppressWarnings({"rawtypes"})
    -    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
    +    protected com.google.protobuf.MapField internalGetMutableMapField(
    +        int number) {
           switch (number) {
             case 6:
               return internalGetMutablePypiDependencies();
             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.orchestration.airflow.service.v1.EnvironmentsOuterClass
    -          .internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_fieldAccessorTable
    +      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
    -              com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.class,
    -              com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.Builder.class);
    +              com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.class, com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.Builder.class);
         }
     
    -    // Construct using
    -    // com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.newBuilder()
    +    // Construct using com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.newBuilder()
         private Builder() {
           maybeForceBuilderInitialization();
         }
     
    -    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    +    private Builder(
    +        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
           super(parent);
           maybeForceBuilderInitialization();
         }
    -
         private void maybeForceBuilderInitialization() {
    -      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
    +      if (com.google.protobuf.GeneratedMessageV3
    +              .alwaysUseFieldBuilders) {
    +      }
         }
    -
         @java.lang.Override
         public Builder clear() {
           super.clear();
    @@ -922,22 +838,19 @@ public Builder clear() {
         }
     
         @java.lang.Override
    -    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
    -      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
    -          .internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_descriptor;
    +    public com.google.protobuf.Descriptors.Descriptor
    +        getDescriptorForType() {
    +      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_descriptor;
         }
     
         @java.lang.Override
    -    public com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse
    -        getDefaultInstanceForType() {
    -      return com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse
    -          .getDefaultInstance();
    +    public com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse getDefaultInstanceForType() {
    +      return com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.getDefaultInstance();
         }
     
         @java.lang.Override
         public com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse build() {
    -      com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse result =
    -          buildPartial();
    +      com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse result = buildPartial();
           if (!result.isInitialized()) {
             throw newUninitializedMessageException(result);
           }
    @@ -946,8 +859,7 @@ public com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse bu
     
         @java.lang.Override
         public com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse buildPartial() {
    -      com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse result =
    -          new com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse(this);
    +      com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse result = new com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse(this);
           int from_bitField0_ = bitField0_;
           result.buildLogUri_ = buildLogUri_;
           result.containsPypiModulesConflict_ = containsPypiModulesConflict_;
    @@ -963,51 +875,46 @@ public com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse bu
         public Builder clone() {
           return super.clone();
         }
    -
         @java.lang.Override
         public Builder setField(
    -        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
    +        com.google.protobuf.Descriptors.FieldDescriptor field,
    +        java.lang.Object value) {
           return super.setField(field, value);
         }
    -
         @java.lang.Override
    -    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
    +    public Builder clearField(
    +        com.google.protobuf.Descriptors.FieldDescriptor field) {
           return super.clearField(field);
         }
    -
         @java.lang.Override
    -    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
    +    public Builder clearOneof(
    +        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
           return super.clearOneof(oneof);
         }
    -
         @java.lang.Override
         public Builder setRepeatedField(
    -        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
    +        com.google.protobuf.Descriptors.FieldDescriptor field,
    +        int index, java.lang.Object value) {
           return super.setRepeatedField(field, index, value);
         }
    -
         @java.lang.Override
         public Builder addRepeatedField(
    -        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
    +        com.google.protobuf.Descriptors.FieldDescriptor field,
    +        java.lang.Object value) {
           return super.addRepeatedField(field, value);
         }
    -
         @java.lang.Override
         public Builder mergeFrom(com.google.protobuf.Message other) {
           if (other instanceof com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse) {
    -        return mergeFrom(
    -            (com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse) other);
    +        return mergeFrom((com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse)other);
           } else {
             super.mergeFrom(other);
             return this;
           }
         }
     
    -    public Builder mergeFrom(
    -        com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse other) {
    -      if (other
    -          == com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse
    -              .getDefaultInstance()) return this;
    +    public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse other) {
    +      if (other == com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.getDefaultInstance()) return this;
           if (!other.getBuildLogUri().isEmpty()) {
             buildLogUri_ = other.buildLogUri_;
             onChanged();
    @@ -1023,7 +930,8 @@ public Builder mergeFrom(
             imageVersion_ = other.imageVersion_;
             onChanged();
           }
    -      internalGetMutablePypiDependencies().mergeFrom(other.internalGetPypiDependencies());
    +      internalGetMutablePypiDependencies().mergeFrom(
    +          other.internalGetPypiDependencies());
           this.mergeUnknownFields(other.unknownFields);
           onChanged();
           return this;
    @@ -1043,9 +951,7 @@ public Builder mergeFrom(
           try {
             parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
    -        parsedMessage =
    -            (com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse)
    -                e.getUnfinishedMessage();
    +        parsedMessage = (com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse) e.getUnfinishedMessage();
             throw e.unwrapIOException();
           } finally {
             if (parsedMessage != null) {
    @@ -1054,25 +960,22 @@ public Builder mergeFrom(
           }
           return this;
         }
    -
         private int bitField0_;
     
         private java.lang.Object buildLogUri_ = "";
         /**
    -     *
    -     *
          * 
          * Output only. Url for a docker build log of an upgraded image.
          * 
    * * string build_log_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The buildLogUri. */ public java.lang.String getBuildLogUri() { java.lang.Object ref = buildLogUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); buildLogUri_ = s; return s; @@ -1081,21 +984,20 @@ public java.lang.String getBuildLogUri() { } } /** - * - * *
          * Output only. Url for a docker build log of an upgraded image.
          * 
    * * string build_log_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for buildLogUri. */ - public com.google.protobuf.ByteString getBuildLogUriBytes() { + public com.google.protobuf.ByteString + getBuildLogUriBytes() { java.lang.Object ref = buildLogUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); buildLogUri_ = b; return b; } else { @@ -1103,61 +1005,54 @@ public com.google.protobuf.ByteString getBuildLogUriBytes() { } } /** - * - * *
          * Output only. Url for a docker build log of an upgraded image.
          * 
    * * string build_log_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The buildLogUri to set. * @return This builder for chaining. */ - public Builder setBuildLogUri(java.lang.String value) { + public Builder setBuildLogUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + buildLogUri_ = value; onChanged(); return this; } /** - * - * *
          * Output only. Url for a docker build log of an upgraded image.
          * 
    * * string build_log_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearBuildLogUri() { - + buildLogUri_ = getDefaultInstance().getBuildLogUri(); onChanged(); return this; } /** - * - * *
          * Output only. Url for a docker build log of an upgraded image.
          * 
    * * string build_log_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for buildLogUri to set. * @return This builder for chaining. */ - public Builder setBuildLogUriBytes(com.google.protobuf.ByteString value) { + public Builder setBuildLogUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + buildLogUri_ = value; onChanged(); return this; @@ -1165,107 +1060,73 @@ public Builder setBuildLogUriBytes(com.google.protobuf.ByteString value) { private int containsPypiModulesConflict_ = 0; /** - * - * *
          * Output only. Whether build has succeeded or failed on modules conflicts.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for containsPypiModulesConflict. */ - @java.lang.Override - public int getContainsPypiModulesConflictValue() { + @java.lang.Override public int getContainsPypiModulesConflictValue() { return containsPypiModulesConflict_; } /** - * - * *
          * Output only. Whether build has succeeded or failed on modules conflicts.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for containsPypiModulesConflict to set. * @return This builder for chaining. */ public Builder setContainsPypiModulesConflictValue(int value) { - + containsPypiModulesConflict_ = value; onChanged(); return this; } /** - * - * *
          * Output only. Whether build has succeeded or failed on modules conflicts.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The containsPypiModulesConflict. */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult - getContainsPypiModulesConflict() { + public com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult getContainsPypiModulesConflict() { @SuppressWarnings("deprecation") - com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult result = - com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult - .valueOf(containsPypiModulesConflict_); - return result == null - ? com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult - .UNRECOGNIZED - : result; + com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult result = com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult.valueOf(containsPypiModulesConflict_); + return result == null ? com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult.UNRECOGNIZED : result; } /** - * - * *
          * Output only. Whether build has succeeded or failed on modules conflicts.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The containsPypiModulesConflict to set. * @return This builder for chaining. */ - public Builder setContainsPypiModulesConflict( - com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult - value) { + public Builder setContainsPypiModulesConflict(com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult value) { if (value == null) { throw new NullPointerException(); } - + containsPypiModulesConflict_ = value.getNumber(); onChanged(); return this; } /** - * - * *
          * Output only. Whether build has succeeded or failed on modules conflicts.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearContainsPypiModulesConflict() { - + containsPypiModulesConflict_ = 0; onChanged(); return this; @@ -1273,23 +1134,19 @@ public Builder clearContainsPypiModulesConflict() { private java.lang.Object pypiConflictBuildLogExtract_ = ""; /** - * - * *
          * Output only. Extract from a docker image build log containing information about pypi
          * modules conflicts.
          * 
    * - * - * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The pypiConflictBuildLogExtract. */ public java.lang.String getPypiConflictBuildLogExtract() { java.lang.Object ref = pypiConflictBuildLogExtract_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pypiConflictBuildLogExtract_ = s; return s; @@ -1298,24 +1155,21 @@ public java.lang.String getPypiConflictBuildLogExtract() { } } /** - * - * *
          * Output only. Extract from a docker image build log containing information about pypi
          * modules conflicts.
          * 
    * - * - * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for pypiConflictBuildLogExtract. */ - public com.google.protobuf.ByteString getPypiConflictBuildLogExtractBytes() { + public com.google.protobuf.ByteString + getPypiConflictBuildLogExtractBytes() { java.lang.Object ref = pypiConflictBuildLogExtract_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pypiConflictBuildLogExtract_ = b; return b; } else { @@ -1323,70 +1177,57 @@ public com.google.protobuf.ByteString getPypiConflictBuildLogExtractBytes() { } } /** - * - * *
          * Output only. Extract from a docker image build log containing information about pypi
          * modules conflicts.
          * 
    * - * - * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The pypiConflictBuildLogExtract to set. * @return This builder for chaining. */ - public Builder setPypiConflictBuildLogExtract(java.lang.String value) { + public Builder setPypiConflictBuildLogExtract( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pypiConflictBuildLogExtract_ = value; onChanged(); return this; } /** - * - * *
          * Output only. Extract from a docker image build log containing information about pypi
          * modules conflicts.
          * 
    * - * - * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearPypiConflictBuildLogExtract() { - + pypiConflictBuildLogExtract_ = getDefaultInstance().getPypiConflictBuildLogExtract(); onChanged(); return this; } /** - * - * *
          * Output only. Extract from a docker image build log containing information about pypi
          * modules conflicts.
          * 
    * - * - * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The bytes for pypiConflictBuildLogExtract to set. * @return This builder for chaining. */ - public Builder setPypiConflictBuildLogExtractBytes(com.google.protobuf.ByteString value) { + public Builder setPypiConflictBuildLogExtractBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pypiConflictBuildLogExtract_ = value; onChanged(); return this; @@ -1394,20 +1235,18 @@ public Builder setPypiConflictBuildLogExtractBytes(com.google.protobuf.ByteStrin private java.lang.Object imageVersion_ = ""; /** - * - * *
          * Composer image for which the build was happening.
          * 
    * * string image_version = 5; - * * @return The imageVersion. */ public java.lang.String getImageVersion() { java.lang.Object ref = imageVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageVersion_ = s; return s; @@ -1416,21 +1255,20 @@ public java.lang.String getImageVersion() { } } /** - * - * *
          * Composer image for which the build was happening.
          * 
    * * string image_version = 5; - * * @return The bytes for imageVersion. */ - public com.google.protobuf.ByteString getImageVersionBytes() { + public com.google.protobuf.ByteString + getImageVersionBytes() { java.lang.Object ref = imageVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); imageVersion_ = b; return b; } else { @@ -1438,85 +1276,75 @@ public com.google.protobuf.ByteString getImageVersionBytes() { } } /** - * - * *
          * Composer image for which the build was happening.
          * 
    * * string image_version = 5; - * * @param value The imageVersion to set. * @return This builder for chaining. */ - public Builder setImageVersion(java.lang.String value) { + public Builder setImageVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + imageVersion_ = value; onChanged(); return this; } /** - * - * *
          * Composer image for which the build was happening.
          * 
    * * string image_version = 5; - * * @return This builder for chaining. */ public Builder clearImageVersion() { - + imageVersion_ = getDefaultInstance().getImageVersion(); onChanged(); return this; } /** - * - * *
          * Composer image for which the build was happening.
          * 
    * * string image_version = 5; - * * @param value The bytes for imageVersion to set. * @return This builder for chaining. */ - public Builder setImageVersionBytes(com.google.protobuf.ByteString value) { + public Builder setImageVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + imageVersion_ = value; onChanged(); return this; } - private com.google.protobuf.MapField pypiDependencies_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> pypiDependencies_; private com.google.protobuf.MapField - internalGetPypiDependencies() { + internalGetPypiDependencies() { if (pypiDependencies_ == null) { return com.google.protobuf.MapField.emptyMapField( PypiDependenciesDefaultEntryHolder.defaultEntry); } return pypiDependencies_; } - private com.google.protobuf.MapField - internalGetMutablePypiDependencies() { - onChanged(); - ; + internalGetMutablePypiDependencies() { + onChanged();; if (pypiDependencies_ == null) { - pypiDependencies_ = - com.google.protobuf.MapField.newMapField( - PypiDependenciesDefaultEntryHolder.defaultEntry); + pypiDependencies_ = com.google.protobuf.MapField.newMapField( + PypiDependenciesDefaultEntryHolder.defaultEntry); } if (!pypiDependencies_.isMutable()) { pypiDependencies_ = pypiDependencies_.copy(); @@ -1528,8 +1356,6 @@ public int getPypiDependenciesCount() { return internalGetPypiDependencies().getMap().size(); } /** - * - * *
          * Pypi dependencies specified in the environment configuration, at the time
          * when the build was triggered.
    @@ -1537,22 +1363,22 @@ public int getPypiDependenciesCount() {
          *
          * map<string, string> pypi_dependencies = 6;
          */
    +
         @java.lang.Override
    -    public boolean containsPypiDependencies(java.lang.String key) {
    -      if (key == null) {
    -        throw new NullPointerException("map key");
    -      }
    +    public boolean containsPypiDependencies(
    +        java.lang.String key) {
    +      if (key == null) { throw new NullPointerException("map key"); }
           return internalGetPypiDependencies().getMap().containsKey(key);
         }
    -    /** Use {@link #getPypiDependenciesMap()} instead. */
    +    /**
    +     * Use {@link #getPypiDependenciesMap()} instead.
    +     */
         @java.lang.Override
         @java.lang.Deprecated
         public java.util.Map getPypiDependencies() {
           return getPypiDependenciesMap();
         }
         /**
    -     *
    -     *
          * 
          * Pypi dependencies specified in the environment configuration, at the time
          * when the build was triggered.
    @@ -1561,12 +1387,11 @@ public java.util.Map getPypiDependencies() {
          * map<string, string> pypi_dependencies = 6;
          */
         @java.lang.Override
    +
         public java.util.Map getPypiDependenciesMap() {
           return internalGetPypiDependencies().getMap();
         }
         /**
    -     *
    -     *
          * 
          * Pypi dependencies specified in the environment configuration, at the time
          * when the build was triggered.
    @@ -1575,18 +1400,16 @@ public java.util.Map getPypiDependenciesMap(
          * map<string, string> pypi_dependencies = 6;
          */
         @java.lang.Override
    +
         public java.lang.String getPypiDependenciesOrDefault(
    -        java.lang.String key, java.lang.String defaultValue) {
    -      if (key == null) {
    -        throw new NullPointerException("map key");
    -      }
    +        java.lang.String key,
    +        java.lang.String defaultValue) {
    +      if (key == null) { throw new NullPointerException("map key"); }
           java.util.Map map =
               internalGetPypiDependencies().getMap();
           return map.containsKey(key) ? map.get(key) : defaultValue;
         }
         /**
    -     *
    -     *
          * 
          * Pypi dependencies specified in the environment configuration, at the time
          * when the build was triggered.
    @@ -1595,10 +1418,10 @@ public java.lang.String getPypiDependenciesOrDefault(
          * map<string, string> pypi_dependencies = 6;
          */
         @java.lang.Override
    -    public java.lang.String getPypiDependenciesOrThrow(java.lang.String key) {
    -      if (key == null) {
    -        throw new NullPointerException("map key");
    -      }
    +
    +    public java.lang.String getPypiDependenciesOrThrow(
    +        java.lang.String key) {
    +      if (key == null) { throw new NullPointerException("map key"); }
           java.util.Map map =
               internalGetPypiDependencies().getMap();
           if (!map.containsKey(key)) {
    @@ -1608,12 +1431,11 @@ public java.lang.String getPypiDependenciesOrThrow(java.lang.String key) {
         }
     
         public Builder clearPypiDependencies() {
    -      internalGetMutablePypiDependencies().getMutableMap().clear();
    +      internalGetMutablePypiDependencies().getMutableMap()
    +          .clear();
           return this;
         }
         /**
    -     *
    -     *
          * 
          * Pypi dependencies specified in the environment configuration, at the time
          * when the build was triggered.
    @@ -1621,21 +1443,23 @@ public Builder clearPypiDependencies() {
          *
          * map<string, string> pypi_dependencies = 6;
          */
    -    public Builder removePypiDependencies(java.lang.String key) {
    -      if (key == null) {
    -        throw new NullPointerException("map key");
    -      }
    -      internalGetMutablePypiDependencies().getMutableMap().remove(key);
    +
    +    public Builder removePypiDependencies(
    +        java.lang.String key) {
    +      if (key == null) { throw new NullPointerException("map key"); }
    +      internalGetMutablePypiDependencies().getMutableMap()
    +          .remove(key);
           return this;
         }
    -    /** Use alternate mutation accessors instead. */
    +    /**
    +     * Use alternate mutation accessors instead.
    +     */
         @java.lang.Deprecated
    -    public java.util.Map getMutablePypiDependencies() {
    +    public java.util.Map
    +    getMutablePypiDependencies() {
           return internalGetMutablePypiDependencies().getMutableMap();
         }
         /**
    -     *
    -     *
          * 
          * Pypi dependencies specified in the environment configuration, at the time
          * when the build was triggered.
    @@ -1643,20 +1467,19 @@ public java.util.Map getMutablePypiDependenc
          *
          * map<string, string> pypi_dependencies = 6;
          */
    -    public Builder putPypiDependencies(java.lang.String key, java.lang.String value) {
    -      if (key == null) {
    -        throw new NullPointerException("map key");
    -      }
    +    public Builder putPypiDependencies(
    +        java.lang.String key,
    +        java.lang.String value) {
    +      if (key == null) { throw new NullPointerException("map key"); }
           if (value == null) {
    -        throw new NullPointerException("map value");
    -      }
    +  throw new NullPointerException("map value");
    +}
     
    -      internalGetMutablePypiDependencies().getMutableMap().put(key, value);
    +      internalGetMutablePypiDependencies().getMutableMap()
    +          .put(key, value);
           return this;
         }
         /**
    -     *
    -     *
          * 
          * Pypi dependencies specified in the environment configuration, at the time
          * when the build was triggered.
    @@ -1664,14 +1487,16 @@ public Builder putPypiDependencies(java.lang.String key, java.lang.String value)
          *
          * map<string, string> pypi_dependencies = 6;
          */
    +
         public Builder putAllPypiDependencies(
             java.util.Map values) {
    -      internalGetMutablePypiDependencies().getMutableMap().putAll(values);
    +      internalGetMutablePypiDependencies().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);
         }
     
    @@ -1681,32 +1506,30 @@ public final Builder mergeUnknownFields(
           return super.mergeUnknownFields(unknownFields);
         }
     
    +
         // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse)
       }
     
       // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse)
    -  private static final com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse
    -      DEFAULT_INSTANCE;
    -
    +  private static final com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse DEFAULT_INSTANCE;
       static {
         DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse();
       }
     
    -  public static com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse
    -      getDefaultInstance() {
    +  public static com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse getDefaultInstance() {
         return DEFAULT_INSTANCE;
       }
     
    -  private static final com.google.protobuf.Parser PARSER =
    -      new com.google.protobuf.AbstractParser() {
    -        @java.lang.Override
    -        public CheckUpgradeResponse parsePartialFrom(
    -            com.google.protobuf.CodedInputStream input,
    -            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    -            throws com.google.protobuf.InvalidProtocolBufferException {
    -          return new CheckUpgradeResponse(input, extensionRegistry);
    -        }
    -      };
    +  private static final com.google.protobuf.Parser
    +      PARSER = new com.google.protobuf.AbstractParser() {
    +    @java.lang.Override
    +    public CheckUpgradeResponse parsePartialFrom(
    +        com.google.protobuf.CodedInputStream input,
    +        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    +        throws com.google.protobuf.InvalidProtocolBufferException {
    +      return new CheckUpgradeResponse(input, extensionRegistry);
    +    }
    +  };
     
       public static com.google.protobuf.Parser parser() {
         return PARSER;
    @@ -1718,8 +1541,9 @@ public com.google.protobuf.Parser getParserForType() {
       }
     
       @java.lang.Override
    -  public com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse
    -      getDefaultInstanceForType() {
    +  public com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse getDefaultInstanceForType() {
         return DEFAULT_INSTANCE;
       }
    +
     }
    +
    diff --git a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/CheckUpgradeResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/CheckUpgradeResponseOrBuilder.java
    similarity index 64%
    rename from proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/CheckUpgradeResponseOrBuilder.java
    rename to owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/CheckUpgradeResponseOrBuilder.java
    index cf784a1c..8e6542f5 100644
    --- a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/CheckUpgradeResponseOrBuilder.java
    +++ b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/CheckUpgradeResponseOrBuilder.java
    @@ -1,140 +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/orchestration/airflow/service/v1/environments.proto
     
     package com.google.cloud.orchestration.airflow.service.v1;
     
    -public interface CheckUpgradeResponseOrBuilder
    -    extends
    +public interface CheckUpgradeResponseOrBuilder extends
         // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse)
         com.google.protobuf.MessageOrBuilder {
     
       /**
    -   *
    -   *
        * 
        * Output only. Url for a docker build log of an upgraded image.
        * 
    * * string build_log_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The buildLogUri. */ java.lang.String getBuildLogUri(); /** - * - * *
        * Output only. Url for a docker build log of an upgraded image.
        * 
    * * string build_log_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for buildLogUri. */ - com.google.protobuf.ByteString getBuildLogUriBytes(); + com.google.protobuf.ByteString + getBuildLogUriBytes(); /** - * - * *
        * Output only. Whether build has succeeded or failed on modules conflicts.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for containsPypiModulesConflict. */ int getContainsPypiModulesConflictValue(); /** - * - * *
        * Output only. Whether build has succeeded or failed on modules conflicts.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The containsPypiModulesConflict. */ - com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult - getContainsPypiModulesConflict(); + com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult getContainsPypiModulesConflict(); /** - * - * *
        * Output only. Extract from a docker image build log containing information about pypi
        * modules conflicts.
        * 
    * - * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The pypiConflictBuildLogExtract. */ java.lang.String getPypiConflictBuildLogExtract(); /** - * - * *
        * Output only. Extract from a docker image build log containing information about pypi
        * modules conflicts.
        * 
    * - * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for pypiConflictBuildLogExtract. */ - com.google.protobuf.ByteString getPypiConflictBuildLogExtractBytes(); + com.google.protobuf.ByteString + getPypiConflictBuildLogExtractBytes(); /** - * - * *
        * Composer image for which the build was happening.
        * 
    * * string image_version = 5; - * * @return The imageVersion. */ java.lang.String getImageVersion(); /** - * - * *
        * Composer image for which the build was happening.
        * 
    * * string image_version = 5; - * * @return The bytes for imageVersion. */ - com.google.protobuf.ByteString getImageVersionBytes(); + com.google.protobuf.ByteString + getImageVersionBytes(); /** - * - * *
        * Pypi dependencies specified in the environment configuration, at the time
        * when the build was triggered.
    @@ -144,8 +98,6 @@ public interface CheckUpgradeResponseOrBuilder
        */
       int getPypiDependenciesCount();
       /**
    -   *
    -   *
        * 
        * Pypi dependencies specified in the environment configuration, at the time
        * when the build was triggered.
    @@ -153,13 +105,15 @@ public interface CheckUpgradeResponseOrBuilder
        *
        * map<string, string> pypi_dependencies = 6;
        */
    -  boolean containsPypiDependencies(java.lang.String key);
    -  /** Use {@link #getPypiDependenciesMap()} instead. */
    +  boolean containsPypiDependencies(
    +      java.lang.String key);
    +  /**
    +   * Use {@link #getPypiDependenciesMap()} instead.
    +   */
       @java.lang.Deprecated
    -  java.util.Map getPypiDependencies();
    +  java.util.Map
    +  getPypiDependencies();
       /**
    -   *
    -   *
        * 
        * Pypi dependencies specified in the environment configuration, at the time
        * when the build was triggered.
    @@ -167,10 +121,9 @@ public interface CheckUpgradeResponseOrBuilder
        *
        * map<string, string> pypi_dependencies = 6;
        */
    -  java.util.Map getPypiDependenciesMap();
    +  java.util.Map
    +  getPypiDependenciesMap();
       /**
    -   *
    -   *
        * 
        * Pypi dependencies specified in the environment configuration, at the time
        * when the build was triggered.
    @@ -180,13 +133,11 @@ public interface CheckUpgradeResponseOrBuilder
        */
     
       /* nullable */
    -  java.lang.String getPypiDependenciesOrDefault(
    +java.lang.String getPypiDependenciesOrDefault(
           java.lang.String key,
           /* nullable */
    -      java.lang.String defaultValue);
    +java.lang.String defaultValue);
       /**
    -   *
    -   *
        * 
        * Pypi dependencies specified in the environment configuration, at the time
        * when the build was triggered.
    @@ -194,5 +145,7 @@ java.lang.String getPypiDependenciesOrDefault(
        *
        * map<string, string> pypi_dependencies = 6;
        */
    -  java.lang.String getPypiDependenciesOrThrow(java.lang.String key);
    +
    +  java.lang.String getPypiDependenciesOrThrow(
    +      java.lang.String key);
     }
    diff --git a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/CreateEnvironmentRequest.java b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/CreateEnvironmentRequest.java
    similarity index 61%
    rename from proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/CreateEnvironmentRequest.java
    rename to owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/CreateEnvironmentRequest.java
    index a3139c0b..a94df987 100644
    --- a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/CreateEnvironmentRequest.java
    +++ b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/CreateEnvironmentRequest.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/orchestration/airflow/service/v1/environments.proto
     
     package com.google.cloud.orchestration.airflow.service.v1;
     
     /**
    - *
    - *
      * 
      * Create a new environment.
      * 
    * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest} */ -public final class CreateEnvironmentRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateEnvironmentRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest) CreateEnvironmentRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateEnvironmentRequest.newBuilder() to construct. private CreateEnvironmentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateEnvironmentRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateEnvironmentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateEnvironmentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,38 +53,32 @@ private CreateEnvironmentRequest( 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.orchestration.airflow.service.v1.Environment.Builder subBuilder = null; + if (environment_ != null) { + subBuilder = environment_.toBuilder(); } - case 18: - { - com.google.cloud.orchestration.airflow.service.v1.Environment.Builder subBuilder = - null; - if (environment_ != null) { - subBuilder = environment_.toBuilder(); - } - environment_ = - input.readMessage( - com.google.cloud.orchestration.airflow.service.v1.Environment.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(environment_); - environment_ = subBuilder.buildPartial(); - } - - break; + environment_ = input.readMessage(com.google.cloud.orchestration.airflow.service.v1.Environment.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(environment_); + environment_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -109,41 +86,35 @@ private CreateEnvironmentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_CreateEnvironmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_CreateEnvironmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_CreateEnvironmentRequest_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_CreateEnvironmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest.class, - com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest.Builder - .class); + com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest.class, com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
        * The parent must be of the form
        * "projects/{projectId}/locations/{locationId}".
        * 
    * * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -152,30 +123,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
        * The parent must be of the form
        * "projects/{projectId}/locations/{locationId}".
        * 
    * * 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 { @@ -186,14 +157,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int ENVIRONMENT_FIELD_NUMBER = 2; private com.google.cloud.orchestration.airflow.service.v1.Environment environment_; /** - * - * *
        * The environment to create.
        * 
    * * .google.cloud.orchestration.airflow.service.v1.Environment environment = 2; - * * @return Whether the environment field is set. */ @java.lang.Override @@ -201,25 +169,18 @@ public boolean hasEnvironment() { return environment_ != null; } /** - * - * *
        * The environment to create.
        * 
    * * .google.cloud.orchestration.airflow.service.v1.Environment environment = 2; - * * @return The environment. */ @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1.Environment getEnvironment() { - return environment_ == null - ? com.google.cloud.orchestration.airflow.service.v1.Environment.getDefaultInstance() - : environment_; + return environment_ == null ? com.google.cloud.orchestration.airflow.service.v1.Environment.getDefaultInstance() : environment_; } /** - * - * *
        * The environment to create.
        * 
    @@ -227,13 +188,11 @@ public com.google.cloud.orchestration.airflow.service.v1.Environment getEnvironm * .google.cloud.orchestration.airflow.service.v1.Environment environment = 2; */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder - getEnvironmentOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder getEnvironmentOrBuilder() { return getEnvironment(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -245,7 +204,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -265,7 +225,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (environment_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEnvironment()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getEnvironment()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -275,19 +236,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest)) { + if (!(obj instanceof com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest other = - (com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest) obj; + com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest other = (com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasEnvironment() != other.hasEnvironment()) return false; if (hasEnvironment()) { - if (!getEnvironment().equals(other.getEnvironment())) return false; + if (!getEnvironment() + .equals(other.getEnvironment())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -311,152 +272,135 @@ public int hashCode() { return hash; } - public static com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest - 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.orchestration.airflow.service.v1.CreateEnvironmentRequest 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.orchestration.airflow.service.v1.CreateEnvironmentRequest - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest prototype) { + public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
        * Create a new environment.
        * 
    * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest) com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_CreateEnvironmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_CreateEnvironmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_CreateEnvironmentRequest_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_CreateEnvironmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest.class, - com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest.Builder - .class); + com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest.class, com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest.Builder.class); } - // Construct using - // com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest.newBuilder() + // Construct using com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -472,22 +416,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_CreateEnvironmentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_CreateEnvironmentRequest_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest - getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest - .getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest.getDefaultInstance(); } @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest build() { - com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest result = - buildPartial(); + com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -495,10 +436,8 @@ public com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentReques } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest - buildPartial() { - com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest result = - new com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest(this); + public com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest buildPartial() { + com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest result = new com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest(this); result.parent_ = parent_; if (environmentBuilder_ == null) { result.environment_ = environment_; @@ -513,52 +452,46 @@ public com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentReques public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest) { - return mergeFrom( - (com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest) other); + if (other instanceof com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest) { + return mergeFrom((com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest other) { - if (other - == com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest other) { + if (other == com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -581,14 +514,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest parsedMessage = - null; + com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -600,21 +530,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
          * The parent must be of the form
          * "projects/{projectId}/locations/{locationId}".
          * 
    * * 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; @@ -623,22 +551,21 @@ public java.lang.String getParent() { } } /** - * - * *
          * The parent must be of the form
          * "projects/{projectId}/locations/{locationId}".
          * 
    * * 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 { @@ -646,64 +573,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
          * The parent must be of the form
          * "projects/{projectId}/locations/{locationId}".
          * 
    * * 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 parent must be of the form
          * "projects/{projectId}/locations/{locationId}".
          * 
    * * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
          * The parent must be of the form
          * "projects/{projectId}/locations/{locationId}".
          * 
    * * 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; @@ -711,55 +631,41 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.orchestration.airflow.service.v1.Environment environment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.Environment, - com.google.cloud.orchestration.airflow.service.v1.Environment.Builder, - com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder> - environmentBuilder_; + com.google.cloud.orchestration.airflow.service.v1.Environment, com.google.cloud.orchestration.airflow.service.v1.Environment.Builder, com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder> environmentBuilder_; /** - * - * *
          * The environment to create.
          * 
    * * .google.cloud.orchestration.airflow.service.v1.Environment environment = 2; - * * @return Whether the environment field is set. */ public boolean hasEnvironment() { return environmentBuilder_ != null || environment_ != null; } /** - * - * *
          * The environment to create.
          * 
    * * .google.cloud.orchestration.airflow.service.v1.Environment environment = 2; - * * @return The environment. */ public com.google.cloud.orchestration.airflow.service.v1.Environment getEnvironment() { if (environmentBuilder_ == null) { - return environment_ == null - ? com.google.cloud.orchestration.airflow.service.v1.Environment.getDefaultInstance() - : environment_; + return environment_ == null ? com.google.cloud.orchestration.airflow.service.v1.Environment.getDefaultInstance() : environment_; } else { return environmentBuilder_.getMessage(); } } /** - * - * *
          * The environment to create.
          * 
    * * .google.cloud.orchestration.airflow.service.v1.Environment environment = 2; */ - public Builder setEnvironment( - com.google.cloud.orchestration.airflow.service.v1.Environment value) { + public Builder setEnvironment(com.google.cloud.orchestration.airflow.service.v1.Environment value) { if (environmentBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -773,8 +679,6 @@ public Builder setEnvironment( return this; } /** - * - * *
          * The environment to create.
          * 
    @@ -793,22 +697,17 @@ public Builder setEnvironment( return this; } /** - * - * *
          * The environment to create.
          * 
    * * .google.cloud.orchestration.airflow.service.v1.Environment environment = 2; */ - public Builder mergeEnvironment( - com.google.cloud.orchestration.airflow.service.v1.Environment value) { + public Builder mergeEnvironment(com.google.cloud.orchestration.airflow.service.v1.Environment value) { if (environmentBuilder_ == null) { if (environment_ != null) { environment_ = - com.google.cloud.orchestration.airflow.service.v1.Environment.newBuilder(environment_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.orchestration.airflow.service.v1.Environment.newBuilder(environment_).mergeFrom(value).buildPartial(); } else { environment_ = value; } @@ -820,8 +719,6 @@ public Builder mergeEnvironment( return this; } /** - * - * *
          * The environment to create.
          * 
    @@ -840,42 +737,33 @@ public Builder clearEnvironment() { return this; } /** - * - * *
          * The environment to create.
          * 
    * * .google.cloud.orchestration.airflow.service.v1.Environment environment = 2; */ - public com.google.cloud.orchestration.airflow.service.v1.Environment.Builder - getEnvironmentBuilder() { - + public com.google.cloud.orchestration.airflow.service.v1.Environment.Builder getEnvironmentBuilder() { + onChanged(); return getEnvironmentFieldBuilder().getBuilder(); } /** - * - * *
          * The environment to create.
          * 
    * * .google.cloud.orchestration.airflow.service.v1.Environment environment = 2; */ - public com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder - getEnvironmentOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder getEnvironmentOrBuilder() { if (environmentBuilder_ != null) { return environmentBuilder_.getMessageOrBuilder(); } else { - return environment_ == null - ? com.google.cloud.orchestration.airflow.service.v1.Environment.getDefaultInstance() - : environment_; + return environment_ == null ? + com.google.cloud.orchestration.airflow.service.v1.Environment.getDefaultInstance() : environment_; } } /** - * - * *
          * The environment to create.
          * 
    @@ -883,24 +771,21 @@ public Builder clearEnvironment() { * .google.cloud.orchestration.airflow.service.v1.Environment environment = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.Environment, - com.google.cloud.orchestration.airflow.service.v1.Environment.Builder, - com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder> + com.google.cloud.orchestration.airflow.service.v1.Environment, com.google.cloud.orchestration.airflow.service.v1.Environment.Builder, com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder> getEnvironmentFieldBuilder() { if (environmentBuilder_ == null) { - environmentBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.Environment, - com.google.cloud.orchestration.airflow.service.v1.Environment.Builder, - com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder>( - getEnvironment(), getParentForChildren(), isClean()); + environmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.orchestration.airflow.service.v1.Environment, com.google.cloud.orchestration.airflow.service.v1.Environment.Builder, com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder>( + getEnvironment(), + getParentForChildren(), + isClean()); environment_ = null; } return environmentBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -910,33 +795,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest) - private static final com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest(); + DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest(); } - public static com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest - getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateEnvironmentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateEnvironmentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateEnvironmentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateEnvironmentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -948,8 +830,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest - getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/CreateEnvironmentRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/CreateEnvironmentRequestOrBuilder.java similarity index 66% rename from proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/CreateEnvironmentRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/CreateEnvironmentRequestOrBuilder.java index cbc7d533..ba05f5d9 100644 --- a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/CreateEnvironmentRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/CreateEnvironmentRequestOrBuilder.java @@ -1,82 +1,53 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/orchestration/airflow/service/v1/environments.proto package com.google.cloud.orchestration.airflow.service.v1; -public interface CreateEnvironmentRequestOrBuilder - extends +public interface CreateEnvironmentRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * The parent must be of the form
        * "projects/{projectId}/locations/{locationId}".
        * 
    * * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
        * The parent must be of the form
        * "projects/{projectId}/locations/{locationId}".
        * 
    * * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
        * The environment to create.
        * 
    * * .google.cloud.orchestration.airflow.service.v1.Environment environment = 2; - * * @return Whether the environment field is set. */ boolean hasEnvironment(); /** - * - * *
        * The environment to create.
        * 
    * * .google.cloud.orchestration.airflow.service.v1.Environment environment = 2; - * * @return The environment. */ com.google.cloud.orchestration.airflow.service.v1.Environment getEnvironment(); /** - * - * *
        * The environment to create.
        * 
    diff --git a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/DatabaseConfig.java b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/DatabaseConfig.java similarity index 69% rename from proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/DatabaseConfig.java rename to owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/DatabaseConfig.java index 8b754ab3..e9ec8d8c 100644 --- a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/DatabaseConfig.java +++ b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/DatabaseConfig.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/orchestration/airflow/service/v1/environments.proto package com.google.cloud.orchestration.airflow.service.v1; /** - * - * *
      * The configuration of Cloud SQL instance that is used by the Apache Airflow
      * software.
    @@ -28,31 +11,31 @@
      *
      * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.DatabaseConfig}
      */
    -public final class DatabaseConfig extends com.google.protobuf.GeneratedMessageV3
    -    implements
    +public final class DatabaseConfig extends
    +    com.google.protobuf.GeneratedMessageV3 implements
         // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1.DatabaseConfig)
         DatabaseConfigOrBuilder {
    -  private static final long serialVersionUID = 0L;
    +private static final long serialVersionUID = 0L;
       // Use DatabaseConfig.newBuilder() to construct.
       private DatabaseConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
    -
       private DatabaseConfig() {
         machineType_ = "";
       }
     
       @java.lang.Override
       @SuppressWarnings({"unused"})
    -  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
    +  protected java.lang.Object newInstance(
    +      UnusedPrivateParameter unused) {
         return new DatabaseConfig();
       }
     
       @java.lang.Override
    -  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
    +  public final com.google.protobuf.UnknownFieldSet
    +  getUnknownFields() {
         return this.unknownFields;
       }
    -
       private DatabaseConfig(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    @@ -71,20 +54,19 @@ private DatabaseConfig(
               case 0:
                 done = true;
                 break;
    -          case 10:
    -            {
    -              java.lang.String s = input.readStringRequireUtf8();
    +          case 10: {
    +            java.lang.String s = input.readStringRequireUtf8();
     
    -              machineType_ = s;
    -              break;
    -            }
    -          default:
    -            {
    -              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
    -                done = true;
    -              }
    -              break;
    +            machineType_ = s;
    +            break;
    +          }
    +          default: {
    +            if (!parseUnknownField(
    +                input, unknownFields, extensionRegistry, tag)) {
    +              done = true;
                 }
    +            break;
    +          }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
    @@ -92,33 +74,29 @@ private DatabaseConfig(
         } catch (com.google.protobuf.UninitializedMessageException e) {
           throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
    -      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
    +      throw new com.google.protobuf.InvalidProtocolBufferException(
    +          e).setUnfinishedMessage(this);
         } finally {
           this.unknownFields = unknownFields.build();
           makeExtensionsImmutable();
         }
       }
    -
    -  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    -    return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
    -        .internal_static_google_cloud_orchestration_airflow_service_v1_DatabaseConfig_descriptor;
    +  public static final com.google.protobuf.Descriptors.Descriptor
    +      getDescriptor() {
    +    return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_DatabaseConfig_descriptor;
       }
     
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
    -    return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
    -        .internal_static_google_cloud_orchestration_airflow_service_v1_DatabaseConfig_fieldAccessorTable
    +    return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_DatabaseConfig_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
    -            com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig.class,
    -            com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig.Builder.class);
    +            com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig.class, com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig.Builder.class);
       }
     
       public static final int MACHINE_TYPE_FIELD_NUMBER = 1;
       private volatile java.lang.Object machineType_;
       /**
    -   *
    -   *
        * 
        * Optional. Cloud SQL machine type used by Airflow database.
        * It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8
    @@ -126,7 +104,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        * 
    * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The machineType. */ @java.lang.Override @@ -135,15 +112,14 @@ public java.lang.String getMachineType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); machineType_ = s; return s; } } /** - * - * *
        * Optional. Cloud SQL machine type used by Airflow database.
        * It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8
    @@ -151,15 +127,16 @@ public java.lang.String getMachineType() {
        * 
    * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for machineType. */ @java.lang.Override - public com.google.protobuf.ByteString getMachineTypeBytes() { + public com.google.protobuf.ByteString + getMachineTypeBytes() { java.lang.Object ref = machineType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); machineType_ = b; return b; } else { @@ -168,7 +145,6 @@ public com.google.protobuf.ByteString getMachineTypeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -180,7 +156,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(machineType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, machineType_); } @@ -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.orchestration.airflow.service.v1.DatabaseConfig)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig other = - (com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig) obj; + com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig other = (com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig) obj; - if (!getMachineType().equals(other.getMachineType())) return false; + if (!getMachineType() + .equals(other.getMachineType())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -232,104 +209,96 @@ public int hashCode() { } public static com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig 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.orchestration.airflow.service.v1.DatabaseConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig prototype) { + public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 configuration of Cloud SQL instance that is used by the Apache Airflow
        * software.
    @@ -337,23 +306,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
        *
        * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.DatabaseConfig}
        */
    -  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
    -      implements
    +  public static final class Builder extends
    +      com.google.protobuf.GeneratedMessageV3.Builder implements
           // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1.DatabaseConfig)
           com.google.cloud.orchestration.airflow.service.v1.DatabaseConfigOrBuilder {
    -    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    -      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
    -          .internal_static_google_cloud_orchestration_airflow_service_v1_DatabaseConfig_descriptor;
    +    public static final com.google.protobuf.Descriptors.Descriptor
    +        getDescriptor() {
    +      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_DatabaseConfig_descriptor;
         }
     
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
    -      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
    -          .internal_static_google_cloud_orchestration_airflow_service_v1_DatabaseConfig_fieldAccessorTable
    +      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_DatabaseConfig_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
    -              com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig.class,
    -              com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig.Builder.class);
    +              com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig.class, com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig.Builder.class);
         }
     
         // Construct using com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig.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,14 +347,13 @@ public Builder clear() {
         }
     
         @java.lang.Override
    -    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
    -      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
    -          .internal_static_google_cloud_orchestration_airflow_service_v1_DatabaseConfig_descriptor;
    +    public com.google.protobuf.Descriptors.Descriptor
    +        getDescriptorForType() {
    +      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_DatabaseConfig_descriptor;
         }
     
         @java.lang.Override
    -    public com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig
    -        getDefaultInstanceForType() {
    +    public com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig getDefaultInstanceForType() {
           return com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig.getDefaultInstance();
         }
     
    @@ -401,8 +368,7 @@ public com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig build()
     
         @java.lang.Override
         public com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig buildPartial() {
    -      com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig result =
    -          new com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig(this);
    +      com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig result = new com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig(this);
           result.machineType_ = machineType_;
           onBuilt();
           return result;
    @@ -412,50 +378,46 @@ public com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig 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.orchestration.airflow.service.v1.DatabaseConfig) {
    -        return mergeFrom((com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig) other);
    +        return mergeFrom((com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig)other);
           } else {
             super.mergeFrom(other);
             return this;
           }
         }
     
    -    public Builder mergeFrom(
    -        com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig other) {
    -      if (other
    -          == com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig.getDefaultInstance())
    -        return this;
    +    public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig other) {
    +      if (other == com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig.getDefaultInstance()) return this;
           if (!other.getMachineType().isEmpty()) {
             machineType_ = other.machineType_;
             onChanged();
    @@ -479,9 +441,7 @@ public Builder mergeFrom(
           try {
             parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
    -        parsedMessage =
    -            (com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig)
    -                e.getUnfinishedMessage();
    +        parsedMessage = (com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig) e.getUnfinishedMessage();
             throw e.unwrapIOException();
           } finally {
             if (parsedMessage != null) {
    @@ -493,8 +453,6 @@ public Builder mergeFrom(
     
         private java.lang.Object machineType_ = "";
         /**
    -     *
    -     *
          * 
          * Optional. Cloud SQL machine type used by Airflow database.
          * It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8
    @@ -502,13 +460,13 @@ public Builder mergeFrom(
          * 
    * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The machineType. */ public java.lang.String getMachineType() { java.lang.Object ref = machineType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); machineType_ = s; return s; @@ -517,8 +475,6 @@ public java.lang.String getMachineType() { } } /** - * - * *
          * Optional. Cloud SQL machine type used by Airflow database.
          * It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8
    @@ -526,14 +482,15 @@ public java.lang.String getMachineType() {
          * 
    * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for machineType. */ - public com.google.protobuf.ByteString getMachineTypeBytes() { + public com.google.protobuf.ByteString + getMachineTypeBytes() { java.lang.Object ref = machineType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); machineType_ = b; return b; } else { @@ -541,8 +498,6 @@ public com.google.protobuf.ByteString getMachineTypeBytes() { } } /** - * - * *
          * Optional. Cloud SQL machine type used by Airflow database.
          * It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8
    @@ -550,22 +505,20 @@ public com.google.protobuf.ByteString getMachineTypeBytes() {
          * 
    * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The machineType to set. * @return This builder for chaining. */ - public Builder setMachineType(java.lang.String value) { + public Builder setMachineType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + machineType_ = value; onChanged(); return this; } /** - * - * *
          * Optional. Cloud SQL machine type used by Airflow database.
          * It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8
    @@ -573,18 +526,15 @@ public Builder setMachineType(java.lang.String value) {
          * 
    * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearMachineType() { - + machineType_ = getDefaultInstance().getMachineType(); onChanged(); return this; } /** - * - * *
          * Optional. Cloud SQL machine type used by Airflow database.
          * It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8
    @@ -592,23 +542,23 @@ public Builder clearMachineType() {
          * 
    * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for machineType to set. * @return This builder for chaining. */ - public Builder setMachineTypeBytes(com.google.protobuf.ByteString value) { + public Builder setMachineTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + machineType_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -618,32 +568,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1.DatabaseConfig) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1.DatabaseConfig) - private static final com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig(); } - public static com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig - getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DatabaseConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DatabaseConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DatabaseConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DatabaseConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -655,8 +603,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig - getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/DatabaseConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/DatabaseConfigOrBuilder.java similarity index 61% rename from proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/DatabaseConfigOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/DatabaseConfigOrBuilder.java index 25483cb0..3d336860 100644 --- a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/DatabaseConfigOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/DatabaseConfigOrBuilder.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/orchestration/airflow/service/v1/environments.proto package com.google.cloud.orchestration.airflow.service.v1; -public interface DatabaseConfigOrBuilder - extends +public interface DatabaseConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1.DatabaseConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * Optional. Cloud SQL machine type used by Airflow database.
        * It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8
    @@ -33,13 +15,10 @@ public interface DatabaseConfigOrBuilder
        * 
    * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The machineType. */ java.lang.String getMachineType(); /** - * - * *
        * Optional. Cloud SQL machine type used by Airflow database.
        * It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8
    @@ -47,8 +26,8 @@ public interface DatabaseConfigOrBuilder
        * 
    * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for machineType. */ - com.google.protobuf.ByteString getMachineTypeBytes(); + com.google.protobuf.ByteString + getMachineTypeBytes(); } diff --git a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/DeleteEnvironmentRequest.java b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/DeleteEnvironmentRequest.java similarity index 58% rename from proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/DeleteEnvironmentRequest.java rename to owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/DeleteEnvironmentRequest.java index f547ddda..e62324a2 100644 --- a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/DeleteEnvironmentRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/DeleteEnvironmentRequest.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/orchestration/airflow/service/v1/environments.proto package com.google.cloud.orchestration.airflow.service.v1; /** - * - * *
      * Delete an environment.
      * 
    * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest} */ -public final class DeleteEnvironmentRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteEnvironmentRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest) DeleteEnvironmentRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteEnvironmentRequest.newBuilder() to construct. private DeleteEnvironmentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteEnvironmentRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteEnvironmentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteEnvironmentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private DeleteEnvironmentRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,35 @@ private DeleteEnvironmentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_DeleteEnvironmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_DeleteEnvironmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_DeleteEnvironmentRequest_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_DeleteEnvironmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest.class, - com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest.Builder - .class); + com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest.class, com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
        * The environment to delete, in the form:
        * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
        * 
    * * string name = 1; - * * @return The name. */ @java.lang.Override @@ -134,30 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
        * The environment to delete, in the form:
        * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
        * 
    * * 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 { @@ -166,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -178,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -202,16 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest)) { + if (!(obj instanceof com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest other = - (com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest) obj; + com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest other = (com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -230,152 +205,135 @@ public int hashCode() { return hash; } - public static com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest - 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.orchestration.airflow.service.v1.DeleteEnvironmentRequest 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.orchestration.airflow.service.v1.DeleteEnvironmentRequest - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest prototype) { + public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
        * Delete an environment.
        * 
    * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest) com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_DeleteEnvironmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_DeleteEnvironmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_DeleteEnvironmentRequest_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_DeleteEnvironmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest.class, - com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest.Builder - .class); + com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest.class, com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest.Builder.class); } - // Construct using - // com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest.newBuilder() + // Construct using com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -385,22 +343,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_DeleteEnvironmentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_DeleteEnvironmentRequest_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest - getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest - .getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest.getDefaultInstance(); } @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest build() { - com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest result = - buildPartial(); + com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -408,10 +363,8 @@ public com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentReques } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest - buildPartial() { - com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest result = - new com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest(this); + public com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest buildPartial() { + com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest result = new com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest(this); result.name_ = name_; onBuilt(); return result; @@ -421,52 +374,46 @@ public com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentReques public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest) { - return mergeFrom( - (com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest) other); + if (other instanceof com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest) { + return mergeFrom((com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest other) { - if (other - == com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest other) { + if (other == com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -486,14 +433,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest parsedMessage = - null; + com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -505,21 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
          * The environment to delete, in the form:
          * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
          * 
    * * 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; @@ -528,22 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
          * The environment to delete, in the form:
          * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
          * 
    * * 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 { @@ -551,71 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
          * The environment to delete, in the form:
          * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
          * 
    * * 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 environment to delete, in the form:
          * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
          * 
    * * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
          * The environment to delete, in the form:
          * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
          * 
    * * 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); } @@ -625,33 +559,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest) - private static final com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest(); + DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest(); } - public static com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest - getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteEnvironmentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteEnvironmentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteEnvironmentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteEnvironmentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -663,8 +594,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest - getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/DeleteEnvironmentRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/DeleteEnvironmentRequestOrBuilder.java similarity index 53% rename from proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/DeleteEnvironmentRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/DeleteEnvironmentRequestOrBuilder.java index 2b488cd7..ef619226 100644 --- a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/DeleteEnvironmentRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/DeleteEnvironmentRequestOrBuilder.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/orchestration/airflow/service/v1/environments.proto package com.google.cloud.orchestration.airflow.service.v1; -public interface DeleteEnvironmentRequestOrBuilder - extends +public interface DeleteEnvironmentRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * The environment to delete, in the form:
        * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
        * 
    * * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
        * The environment to delete, in the form:
        * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
        * 
    * * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EncryptionConfig.java b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EncryptionConfig.java similarity index 67% rename from proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EncryptionConfig.java rename to owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EncryptionConfig.java index 95b955e9..5bdbce26 100644 --- a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EncryptionConfig.java +++ b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EncryptionConfig.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/orchestration/airflow/service/v1/environments.proto package com.google.cloud.orchestration.airflow.service.v1; /** - * - * *
      * The encryption options for the Cloud Composer environment
      * and its dependencies.
    @@ -28,31 +11,31 @@
      *
      * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.EncryptionConfig}
      */
    -public final class EncryptionConfig extends com.google.protobuf.GeneratedMessageV3
    -    implements
    +public final class EncryptionConfig extends
    +    com.google.protobuf.GeneratedMessageV3 implements
         // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1.EncryptionConfig)
         EncryptionConfigOrBuilder {
    -  private static final long serialVersionUID = 0L;
    +private static final long serialVersionUID = 0L;
       // Use EncryptionConfig.newBuilder() to construct.
       private EncryptionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
    -
       private EncryptionConfig() {
         kmsKeyName_ = "";
       }
     
       @java.lang.Override
       @SuppressWarnings({"unused"})
    -  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
    +  protected java.lang.Object newInstance(
    +      UnusedPrivateParameter unused) {
         return new EncryptionConfig();
       }
     
       @java.lang.Override
    -  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
    +  public final com.google.protobuf.UnknownFieldSet
    +  getUnknownFields() {
         return this.unknownFields;
       }
    -
       private EncryptionConfig(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    @@ -71,20 +54,19 @@ private EncryptionConfig(
               case 0:
                 done = true;
                 break;
    -          case 10:
    -            {
    -              java.lang.String s = input.readStringRequireUtf8();
    +          case 10: {
    +            java.lang.String s = input.readStringRequireUtf8();
     
    -              kmsKeyName_ = s;
    -              break;
    -            }
    -          default:
    -            {
    -              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
    -                done = true;
    -              }
    -              break;
    +            kmsKeyName_ = s;
    +            break;
    +          }
    +          default: {
    +            if (!parseUnknownField(
    +                input, unknownFields, extensionRegistry, tag)) {
    +              done = true;
                 }
    +            break;
    +          }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
    @@ -92,33 +74,29 @@ private EncryptionConfig(
         } catch (com.google.protobuf.UninitializedMessageException e) {
           throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
    -      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
    +      throw new com.google.protobuf.InvalidProtocolBufferException(
    +          e).setUnfinishedMessage(this);
         } finally {
           this.unknownFields = unknownFields.build();
           makeExtensionsImmutable();
         }
       }
    -
    -  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    -    return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
    -        .internal_static_google_cloud_orchestration_airflow_service_v1_EncryptionConfig_descriptor;
    +  public static final com.google.protobuf.Descriptors.Descriptor
    +      getDescriptor() {
    +    return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_EncryptionConfig_descriptor;
       }
     
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
    -    return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
    -        .internal_static_google_cloud_orchestration_airflow_service_v1_EncryptionConfig_fieldAccessorTable
    +    return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_EncryptionConfig_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
    -            com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig.class,
    -            com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig.Builder.class);
    +            com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig.class, com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig.Builder.class);
       }
     
       public static final int KMS_KEY_NAME_FIELD_NUMBER = 1;
       private volatile java.lang.Object kmsKeyName_;
       /**
    -   *
    -   *
        * 
        * Optional. Customer-managed Encryption Key available through Google's Key Management
        * Service. Cannot be updated.
    @@ -126,7 +104,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        * 
    * * string kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The kmsKeyName. */ @java.lang.Override @@ -135,15 +112,14 @@ public java.lang.String getKmsKeyName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyName_ = s; return s; } } /** - * - * *
        * Optional. Customer-managed Encryption Key available through Google's Key Management
        * Service. Cannot be updated.
    @@ -151,15 +127,16 @@ public java.lang.String getKmsKeyName() {
        * 
    * * string kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for kmsKeyName. */ @java.lang.Override - public com.google.protobuf.ByteString getKmsKeyNameBytes() { + public com.google.protobuf.ByteString + getKmsKeyNameBytes() { java.lang.Object ref = kmsKeyName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kmsKeyName_ = b; return b; } else { @@ -168,7 +145,6 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -180,7 +156,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, kmsKeyName_); } @@ -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.orchestration.airflow.service.v1.EncryptionConfig)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig other = - (com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig) obj; + com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig other = (com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig) obj; - if (!getKmsKeyName().equals(other.getKmsKeyName())) return false; + if (!getKmsKeyName() + .equals(other.getKmsKeyName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -232,105 +209,96 @@ public int hashCode() { } public static com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig 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.orchestration.airflow.service.v1.EncryptionConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig - 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.orchestration.airflow.service.v1.EncryptionConfig 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.orchestration.airflow.service.v1.EncryptionConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig prototype) { + public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 encryption options for the Cloud Composer environment
        * and its dependencies.
    @@ -338,40 +306,38 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
        *
        * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.EncryptionConfig}
        */
    -  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
    -      implements
    +  public static final class Builder extends
    +      com.google.protobuf.GeneratedMessageV3.Builder implements
           // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1.EncryptionConfig)
           com.google.cloud.orchestration.airflow.service.v1.EncryptionConfigOrBuilder {
    -    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    -      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
    -          .internal_static_google_cloud_orchestration_airflow_service_v1_EncryptionConfig_descriptor;
    +    public static final com.google.protobuf.Descriptors.Descriptor
    +        getDescriptor() {
    +      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_EncryptionConfig_descriptor;
         }
     
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
    -      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
    -          .internal_static_google_cloud_orchestration_airflow_service_v1_EncryptionConfig_fieldAccessorTable
    +      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_EncryptionConfig_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
    -              com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig.class,
    -              com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig.Builder.class);
    +              com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig.class, com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig.Builder.class);
         }
     
    -    // Construct using
    -    // com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig.newBuilder()
    +    // Construct using com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig.newBuilder()
         private Builder() {
           maybeForceBuilderInitialization();
         }
     
    -    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    +    private Builder(
    +        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
           super(parent);
           maybeForceBuilderInitialization();
         }
    -
         private void maybeForceBuilderInitialization() {
    -      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
    +      if (com.google.protobuf.GeneratedMessageV3
    +              .alwaysUseFieldBuilders) {
    +      }
         }
    -
         @java.lang.Override
         public Builder clear() {
           super.clear();
    @@ -381,16 +347,14 @@ public Builder clear() {
         }
     
         @java.lang.Override
    -    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
    -      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
    -          .internal_static_google_cloud_orchestration_airflow_service_v1_EncryptionConfig_descriptor;
    +    public com.google.protobuf.Descriptors.Descriptor
    +        getDescriptorForType() {
    +      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_EncryptionConfig_descriptor;
         }
     
         @java.lang.Override
    -    public com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig
    -        getDefaultInstanceForType() {
    -      return com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig
    -          .getDefaultInstance();
    +    public com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig getDefaultInstanceForType() {
    +      return com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig.getDefaultInstance();
         }
     
         @java.lang.Override
    @@ -404,8 +368,7 @@ public com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig build(
     
         @java.lang.Override
         public com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig buildPartial() {
    -      com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig result =
    -          new com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig(this);
    +      com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig result = new com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig(this);
           result.kmsKeyName_ = kmsKeyName_;
           onBuilt();
           return result;
    @@ -415,51 +378,46 @@ public com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig buildP
         public Builder clone() {
           return super.clone();
         }
    -
         @java.lang.Override
         public Builder setField(
    -        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
    +        com.google.protobuf.Descriptors.FieldDescriptor field,
    +        java.lang.Object value) {
           return super.setField(field, value);
         }
    -
         @java.lang.Override
    -    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
    +    public Builder clearField(
    +        com.google.protobuf.Descriptors.FieldDescriptor field) {
           return super.clearField(field);
         }
    -
         @java.lang.Override
    -    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
    +    public Builder clearOneof(
    +        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
           return super.clearOneof(oneof);
         }
    -
         @java.lang.Override
         public Builder setRepeatedField(
    -        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
    +        com.google.protobuf.Descriptors.FieldDescriptor field,
    +        int index, java.lang.Object value) {
           return super.setRepeatedField(field, index, value);
         }
    -
         @java.lang.Override
         public Builder addRepeatedField(
    -        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
    +        com.google.protobuf.Descriptors.FieldDescriptor field,
    +        java.lang.Object value) {
           return super.addRepeatedField(field, value);
         }
    -
         @java.lang.Override
         public Builder mergeFrom(com.google.protobuf.Message other) {
           if (other instanceof com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig) {
    -        return mergeFrom(
    -            (com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig) other);
    +        return mergeFrom((com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig)other);
           } else {
             super.mergeFrom(other);
             return this;
           }
         }
     
    -    public Builder mergeFrom(
    -        com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig other) {
    -      if (other
    -          == com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig
    -              .getDefaultInstance()) return this;
    +    public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig other) {
    +      if (other == com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig.getDefaultInstance()) return this;
           if (!other.getKmsKeyName().isEmpty()) {
             kmsKeyName_ = other.kmsKeyName_;
             onChanged();
    @@ -483,9 +441,7 @@ public Builder mergeFrom(
           try {
             parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
    -        parsedMessage =
    -            (com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig)
    -                e.getUnfinishedMessage();
    +        parsedMessage = (com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig) e.getUnfinishedMessage();
             throw e.unwrapIOException();
           } finally {
             if (parsedMessage != null) {
    @@ -497,8 +453,6 @@ public Builder mergeFrom(
     
         private java.lang.Object kmsKeyName_ = "";
         /**
    -     *
    -     *
          * 
          * Optional. Customer-managed Encryption Key available through Google's Key Management
          * Service. Cannot be updated.
    @@ -506,13 +460,13 @@ public Builder mergeFrom(
          * 
    * * string kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The kmsKeyName. */ public java.lang.String getKmsKeyName() { java.lang.Object ref = kmsKeyName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyName_ = s; return s; @@ -521,8 +475,6 @@ public java.lang.String getKmsKeyName() { } } /** - * - * *
          * Optional. Customer-managed Encryption Key available through Google's Key Management
          * Service. Cannot be updated.
    @@ -530,14 +482,15 @@ public java.lang.String getKmsKeyName() {
          * 
    * * string kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for kmsKeyName. */ - public com.google.protobuf.ByteString getKmsKeyNameBytes() { + public com.google.protobuf.ByteString + getKmsKeyNameBytes() { java.lang.Object ref = kmsKeyName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kmsKeyName_ = b; return b; } else { @@ -545,8 +498,6 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { } } /** - * - * *
          * Optional. Customer-managed Encryption Key available through Google's Key Management
          * Service. Cannot be updated.
    @@ -554,22 +505,20 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() {
          * 
    * * string kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The kmsKeyName to set. * @return This builder for chaining. */ - public Builder setKmsKeyName(java.lang.String value) { + public Builder setKmsKeyName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kmsKeyName_ = value; onChanged(); return this; } /** - * - * *
          * Optional. Customer-managed Encryption Key available through Google's Key Management
          * Service. Cannot be updated.
    @@ -577,18 +526,15 @@ public Builder setKmsKeyName(java.lang.String value) {
          * 
    * * string kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearKmsKeyName() { - + kmsKeyName_ = getDefaultInstance().getKmsKeyName(); onChanged(); return this; } /** - * - * *
          * Optional. Customer-managed Encryption Key available through Google's Key Management
          * Service. Cannot be updated.
    @@ -596,23 +542,23 @@ public Builder clearKmsKeyName() {
          * 
    * * string kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for kmsKeyName to set. * @return This builder for chaining. */ - public Builder setKmsKeyNameBytes(com.google.protobuf.ByteString value) { + public Builder setKmsKeyNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kmsKeyName_ = 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); } @@ -622,32 +568,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1.EncryptionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1.EncryptionConfig) - private static final com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig(); } - public static com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig - getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EncryptionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new EncryptionConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EncryptionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new EncryptionConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -659,8 +603,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig - getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EncryptionConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EncryptionConfigOrBuilder.java similarity index 59% rename from proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EncryptionConfigOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EncryptionConfigOrBuilder.java index 4e4a6a73..0b6de6a8 100644 --- a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EncryptionConfigOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EncryptionConfigOrBuilder.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/orchestration/airflow/service/v1/environments.proto package com.google.cloud.orchestration.airflow.service.v1; -public interface EncryptionConfigOrBuilder - extends +public interface EncryptionConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1.EncryptionConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * Optional. Customer-managed Encryption Key available through Google's Key Management
        * Service. Cannot be updated.
    @@ -33,13 +15,10 @@ public interface EncryptionConfigOrBuilder
        * 
    * * string kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The kmsKeyName. */ java.lang.String getKmsKeyName(); /** - * - * *
        * Optional. Customer-managed Encryption Key available through Google's Key Management
        * Service. Cannot be updated.
    @@ -47,8 +26,8 @@ public interface EncryptionConfigOrBuilder
        * 
    * * string kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for kmsKeyName. */ - com.google.protobuf.ByteString getKmsKeyNameBytes(); + com.google.protobuf.ByteString + getKmsKeyNameBytes(); } diff --git a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/Environment.java b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/Environment.java similarity index 71% rename from proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/Environment.java rename to owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/Environment.java index 2c943a78..a6d2163e 100644 --- a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/Environment.java +++ b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/Environment.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/orchestration/airflow/service/v1/environments.proto package com.google.cloud.orchestration.airflow.service.v1; /** - * - * *
      * An environment for running orchestration tasks.
      * 
    * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.Environment} */ -public final class Environment extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Environment extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1.Environment) EnvironmentOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Environment.newBuilder() to construct. private Environment(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Environment() { name_ = ""; uuid_ = ""; @@ -45,15 +27,16 @@ private Environment() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Environment(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Environment( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,95 +56,83 @@ private Environment( 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.orchestration.airflow.service.v1.EnvironmentConfig.Builder subBuilder = null; + if (config_ != null) { + subBuilder = config_.toBuilder(); } - case 18: - { - com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.Builder - subBuilder = null; - if (config_ != null) { - subBuilder = config_.toBuilder(); - } - config_ = - input.readMessage( - com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(config_); - config_ = subBuilder.buildPartial(); - } - - break; + config_ = input.readMessage(com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(config_); + config_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - uuid_ = s; - break; - } - case 32: - { - int rawValue = input.readEnum(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + uuid_ = s; + break; + } + case 32: { + int rawValue = input.readEnum(); - state_ = rawValue; - break; + state_ = rawValue; + break; + } + case 42: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 42: - { - 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 50: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); } - case 50: - { - 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 58: - { - 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 58: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + com.google.protobuf.MapEntry + labels__ = input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + labels_.getMutableMap().put( + labels__.getKey(), labels__.getValue()); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -169,52 +140,48 @@ private Environment( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_Environment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_Environment_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 7: return internalGetLabels(); 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.orchestration.airflow.service.v1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_Environment_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_Environment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1.Environment.class, - com.google.cloud.orchestration.airflow.service.v1.Environment.Builder.class); + com.google.cloud.orchestration.airflow.service.v1.Environment.class, com.google.cloud.orchestration.airflow.service.v1.Environment.Builder.class); } /** - * - * *
        * State of the environment.
        * 
    * * Protobuf enum {@code google.cloud.orchestration.airflow.service.v1.Environment.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
          * The state of the environment is unknown.
          * 
    @@ -223,8 +190,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
          * The environment is in the process of being created.
          * 
    @@ -233,8 +198,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ CREATING(1), /** - * - * *
          * The environment is currently running and healthy. It is ready for use.
          * 
    @@ -243,8 +206,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ RUNNING(2), /** - * - * *
          * The environment is being updated. It remains usable but cannot receive
          * additional update requests or be deleted at this time.
    @@ -254,8 +215,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
          */
         UPDATING(3),
         /**
    -     *
    -     *
          * 
          * The environment is undergoing deletion. It cannot be used.
          * 
    @@ -264,8 +223,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ DELETING(4), /** - * - * *
          * The environment has encountered an error and cannot be used.
          * 
    @@ -277,8 +234,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
          * The state of the environment is unknown.
          * 
    @@ -287,8 +242,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
          * The environment is in the process of being created.
          * 
    @@ -297,8 +250,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CREATING_VALUE = 1; /** - * - * *
          * The environment is currently running and healthy. It is ready for use.
          * 
    @@ -307,8 +258,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RUNNING_VALUE = 2; /** - * - * *
          * The environment is being updated. It remains usable but cannot receive
          * additional update requests or be deleted at this time.
    @@ -318,8 +267,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
          */
         public static final int UPDATING_VALUE = 3;
         /**
    -     *
    -     *
          * 
          * The environment is undergoing deletion. It cannot be used.
          * 
    @@ -328,8 +275,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DELETING_VALUE = 4; /** - * - * *
          * The environment has encountered an error and cannot be used.
          * 
    @@ -338,6 +283,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ERROR_VALUE = 5; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -362,57 +308,52 @@ 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 UPDATING; - case 4: - return DELETING; - case 5: - return ERROR; - default: - return null; + case 0: return STATE_UNSPECIFIED; + case 1: return CREATING; + case 2: return RUNNING; + case 3: return UPDATING; + case 4: return DELETING; + case 5: return ERROR; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + State> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public State findValueByNumber(int number) { - return State.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.Environment.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.Environment.getDescriptor().getEnumTypes().get(0); } private static final State[] VALUES = values(); - public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static State valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -432,8 +373,6 @@ private State(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
        * The resource name of the environment, in the form:
        * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
    @@ -442,7 +381,6 @@ private State(int value) {
        * 
    * * string name = 1; - * * @return The name. */ @java.lang.Override @@ -451,15 +389,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; } } /** - * - * *
        * The resource name of the environment, in the form:
        * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
    @@ -468,15 +405,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 { @@ -487,14 +425,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int CONFIG_FIELD_NUMBER = 2; private com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig config_; /** - * - * *
        * Configuration parameters for this environment.
        * 
    * * .google.cloud.orchestration.airflow.service.v1.EnvironmentConfig config = 2; - * * @return Whether the config field is set. */ @java.lang.Override @@ -502,25 +437,18 @@ public boolean hasConfig() { return config_ != null; } /** - * - * *
        * Configuration parameters for this environment.
        * 
    * * .google.cloud.orchestration.airflow.service.v1.EnvironmentConfig config = 2; - * * @return The config. */ @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig getConfig() { - return config_ == null - ? com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.getDefaultInstance() - : config_; + return config_ == null ? com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.getDefaultInstance() : config_; } /** - * - * *
        * Configuration parameters for this environment.
        * 
    @@ -528,23 +456,19 @@ public com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig getCo * .google.cloud.orchestration.airflow.service.v1.EnvironmentConfig config = 2; */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfigOrBuilder - getConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfigOrBuilder getConfigOrBuilder() { return getConfig(); } public static final int UUID_FIELD_NUMBER = 3; private volatile java.lang.Object uuid_; /** - * - * *
        * Output only. The UUID (Universally Unique IDentifier) associated with this environment.
        * This value is generated when the environment is created.
        * 
    * * string uuid = 3; - * * @return The uuid. */ @java.lang.Override @@ -553,30 +477,30 @@ public java.lang.String getUuid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uuid_ = s; return s; } } /** - * - * *
        * Output only. The UUID (Universally Unique IDentifier) associated with this environment.
        * This value is generated when the environment is created.
        * 
    * * string uuid = 3; - * * @return The bytes for uuid. */ @java.lang.Override - public com.google.protobuf.ByteString getUuidBytes() { + public com.google.protobuf.ByteString + getUuidBytes() { java.lang.Object ref = uuid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uuid_ = b; return b; } else { @@ -587,52 +511,38 @@ public com.google.protobuf.ByteString getUuidBytes() { public static final int STATE_FIELD_NUMBER = 4; private int state_; /** - * - * *
        * The current state of the environment.
        * 
    * * .google.cloud.orchestration.airflow.service.v1.Environment.State state = 4; - * * @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 current state of the environment.
        * 
    * * .google.cloud.orchestration.airflow.service.v1.Environment.State state = 4; - * * @return The state. */ - @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.Environment.State getState() { + @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1.Environment.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.orchestration.airflow.service.v1.Environment.State result = - com.google.cloud.orchestration.airflow.service.v1.Environment.State.valueOf(state_); - return result == null - ? com.google.cloud.orchestration.airflow.service.v1.Environment.State.UNRECOGNIZED - : result; + com.google.cloud.orchestration.airflow.service.v1.Environment.State result = com.google.cloud.orchestration.airflow.service.v1.Environment.State.valueOf(state_); + return result == null ? com.google.cloud.orchestration.airflow.service.v1.Environment.State.UNRECOGNIZED : result; } public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** - * - * *
        * Output only. The time at which this environment was created.
        * 
    * * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -640,14 +550,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
        * Output only. The time at which this environment was created.
        * 
    * * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ @java.lang.Override @@ -655,8 +562,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
        * Output only. The time at which this environment was created.
        * 
    @@ -671,14 +576,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
        * Output only. The time at which this environment was last modified.
        * 
    * * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -686,14 +588,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
        * Output only. The time at which this environment was last modified.
        * 
    * * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ @java.lang.Override @@ -701,8 +600,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
        * Output only. The time at which this environment was last modified.
        * 
    @@ -715,23 +612,24 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int LABELS_FIELD_NUMBER = 7; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_Environment_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.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_Environment_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_; } @@ -740,8 +638,6 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
        * Optional. User-defined labels for this environment.
        * The labels map can contain no more than 64 entries. Entries of the labels
    @@ -754,22 +650,22 @@ public int getLabelsCount() {
        *
        * map<string, string> labels = 7;
        */
    +
       @java.lang.Override
    -  public boolean containsLabels(java.lang.String key) {
    -    if (key == null) {
    -      throw new NullPointerException("map key");
    -    }
    +  public boolean containsLabels(
    +      java.lang.String key) {
    +    if (key == null) { throw new NullPointerException("map key"); }
         return internalGetLabels().getMap().containsKey(key);
       }
    -  /** Use {@link #getLabelsMap()} instead. */
    +  /**
    +   * Use {@link #getLabelsMap()} instead.
    +   */
       @java.lang.Override
       @java.lang.Deprecated
       public java.util.Map getLabels() {
         return getLabelsMap();
       }
       /**
    -   *
    -   *
        * 
        * Optional. User-defined labels for this environment.
        * The labels map can contain no more than 64 entries. Entries of the labels
    @@ -783,12 +679,11 @@ public java.util.Map getLabels() {
        * map<string, string> labels = 7;
        */
       @java.lang.Override
    +
       public java.util.Map getLabelsMap() {
         return internalGetLabels().getMap();
       }
       /**
    -   *
    -   *
        * 
        * Optional. User-defined labels for this environment.
        * The labels map can contain no more than 64 entries. Entries of the labels
    @@ -802,16 +697,16 @@ public java.util.Map getLabelsMap() {
        * map<string, string> labels = 7;
        */
       @java.lang.Override
    -  public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
    -    if (key == null) {
    -      throw new NullPointerException("map key");
    -    }
    -    java.util.Map map = internalGetLabels().getMap();
    +
    +  public java.lang.String getLabelsOrDefault(
    +      java.lang.String key,
    +      java.lang.String defaultValue) {
    +    if (key == null) { throw new NullPointerException("map key"); }
    +    java.util.Map map =
    +        internalGetLabels().getMap();
         return map.containsKey(key) ? map.get(key) : defaultValue;
       }
       /**
    -   *
    -   *
        * 
        * Optional. User-defined labels for this environment.
        * The labels map can contain no more than 64 entries. Entries of the labels
    @@ -825,11 +720,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin
        * map<string, string> labels = 7;
        */
       @java.lang.Override
    -  public java.lang.String getLabelsOrThrow(java.lang.String key) {
    -    if (key == null) {
    -      throw new NullPointerException("map key");
    -    }
    -    java.util.Map map = internalGetLabels().getMap();
    +
    +  public java.lang.String getLabelsOrThrow(
    +      java.lang.String key) {
    +    if (key == null) { throw new NullPointerException("map key"); }
    +    java.util.Map map =
    +        internalGetLabels().getMap();
         if (!map.containsKey(key)) {
           throw new java.lang.IllegalArgumentException();
         }
    @@ -837,7 +733,6 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
       }
     
       private byte memoizedIsInitialized = -1;
    -
       @java.lang.Override
       public final boolean isInitialized() {
         byte isInitialized = memoizedIsInitialized;
    @@ -849,7 +744,8 @@ public final boolean isInitialized() {
       }
     
       @java.lang.Override
    -  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    +  public void writeTo(com.google.protobuf.CodedOutputStream output)
    +                      throws java.io.IOException {
         if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
           com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
         }
    @@ -859,9 +755,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
         if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uuid_)) {
           com.google.protobuf.GeneratedMessageV3.writeString(output, 3, uuid_);
         }
    -    if (state_
    -        != com.google.cloud.orchestration.airflow.service.v1.Environment.State.STATE_UNSPECIFIED
    -            .getNumber()) {
    +    if (state_ != com.google.cloud.orchestration.airflow.service.v1.Environment.State.STATE_UNSPECIFIED.getNumber()) {
           output.writeEnum(4, state_);
         }
         if (createTime_ != null) {
    @@ -870,8 +764,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
         if (updateTime_ != null) {
           output.writeMessage(6, getUpdateTime());
         }
    -    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
    -        output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 7);
    +    com.google.protobuf.GeneratedMessageV3
    +      .serializeStringMapTo(
    +        output,
    +        internalGetLabels(),
    +        LabelsDefaultEntryHolder.defaultEntry,
    +        7);
         unknownFields.writeTo(output);
       }
     
    @@ -885,31 +783,33 @@ public int getSerializedSize() {
           size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
         }
         if (config_ != null) {
    -      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getConfig());
    +      size += com.google.protobuf.CodedOutputStream
    +        .computeMessageSize(2, getConfig());
         }
         if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uuid_)) {
           size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, uuid_);
         }
    -    if (state_
    -        != com.google.cloud.orchestration.airflow.service.v1.Environment.State.STATE_UNSPECIFIED
    -            .getNumber()) {
    -      size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, state_);
    +    if (state_ != com.google.cloud.orchestration.airflow.service.v1.Environment.State.STATE_UNSPECIFIED.getNumber()) {
    +      size += com.google.protobuf.CodedOutputStream
    +        .computeEnumSize(4, state_);
         }
         if (createTime_ != null) {
    -      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime());
    +      size += com.google.protobuf.CodedOutputStream
    +        .computeMessageSize(5, getCreateTime());
         }
         if (updateTime_ != null) {
    -      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime());
    -    }
    -    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(7, labels__);
    +      size += com.google.protobuf.CodedOutputStream
    +        .computeMessageSize(6, getUpdateTime());
    +    }
    +    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(7, labels__);
         }
         size += unknownFields.getSerializedSize();
         memoizedSize = size;
    @@ -919,30 +819,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.orchestration.airflow.service.v1.Environment)) {
           return super.equals(obj);
         }
    -    com.google.cloud.orchestration.airflow.service.v1.Environment other =
    -        (com.google.cloud.orchestration.airflow.service.v1.Environment) obj;
    +    com.google.cloud.orchestration.airflow.service.v1.Environment other = (com.google.cloud.orchestration.airflow.service.v1.Environment) obj;
     
    -    if (!getName().equals(other.getName())) return false;
    +    if (!getName()
    +        .equals(other.getName())) return false;
         if (hasConfig() != other.hasConfig()) return false;
         if (hasConfig()) {
    -      if (!getConfig().equals(other.getConfig())) return false;
    +      if (!getConfig()
    +          .equals(other.getConfig())) return false;
         }
    -    if (!getUuid().equals(other.getUuid())) return false;
    +    if (!getUuid()
    +        .equals(other.getUuid())) return false;
         if (state_ != other.state_) return false;
         if (hasCreateTime() != other.hasCreateTime()) return false;
         if (hasCreateTime()) {
    -      if (!getCreateTime().equals(other.getCreateTime())) return false;
    +      if (!getCreateTime()
    +          .equals(other.getCreateTime())) return false;
         }
         if (hasUpdateTime() != other.hasUpdateTime()) return false;
         if (hasUpdateTime()) {
    -      if (!getUpdateTime().equals(other.getUpdateTime())) return false;
    +      if (!getUpdateTime()
    +          .equals(other.getUpdateTime())) return false;
         }
    -    if (!internalGetLabels().equals(other.internalGetLabels())) return false;
    +    if (!internalGetLabels().equals(
    +        other.internalGetLabels())) return false;
         if (!unknownFields.equals(other.unknownFields)) return false;
         return true;
       }
    @@ -982,147 +887,139 @@ public int hashCode() {
       }
     
       public static com.google.cloud.orchestration.airflow.service.v1.Environment 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.orchestration.airflow.service.v1.Environment parseFrom(
    -      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    +      java.nio.ByteBuffer data,
    +      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
    -
       public static com.google.cloud.orchestration.airflow.service.v1.Environment parseFrom(
           com.google.protobuf.ByteString data)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
    -
       public static com.google.cloud.orchestration.airflow.service.v1.Environment parseFrom(
           com.google.protobuf.ByteString data,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
    -
       public static com.google.cloud.orchestration.airflow.service.v1.Environment parseFrom(byte[] data)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
    -
       public static com.google.cloud.orchestration.airflow.service.v1.Environment parseFrom(
    -      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    +      byte[] data,
    +      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
    -
    -  public static com.google.cloud.orchestration.airflow.service.v1.Environment parseFrom(
    -      java.io.InputStream input) throws java.io.IOException {
    -    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
    +  public static com.google.cloud.orchestration.airflow.service.v1.Environment parseFrom(java.io.InputStream input)
    +      throws java.io.IOException {
    +    return com.google.protobuf.GeneratedMessageV3
    +        .parseWithIOException(PARSER, input);
       }
    -
       public static com.google.cloud.orchestration.airflow.service.v1.Environment parseFrom(
    -      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    +      java.io.InputStream input,
    +      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
    -    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
    -        PARSER, input, extensionRegistry);
    +    return com.google.protobuf.GeneratedMessageV3
    +        .parseWithIOException(PARSER, input, extensionRegistry);
       }
    -
    -  public static com.google.cloud.orchestration.airflow.service.v1.Environment parseDelimitedFrom(
    -      java.io.InputStream input) throws java.io.IOException {
    -    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
    +  public static com.google.cloud.orchestration.airflow.service.v1.Environment parseDelimitedFrom(java.io.InputStream input)
    +      throws java.io.IOException {
    +    return com.google.protobuf.GeneratedMessageV3
    +        .parseDelimitedWithIOException(PARSER, input);
       }
    -
       public static com.google.cloud.orchestration.airflow.service.v1.Environment parseDelimitedFrom(
    -      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    +      java.io.InputStream input,
    +      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
    -    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
    -        PARSER, input, extensionRegistry);
    +    return com.google.protobuf.GeneratedMessageV3
    +        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
       }
    -
       public static com.google.cloud.orchestration.airflow.service.v1.Environment parseFrom(
    -      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
    -    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
    +      com.google.protobuf.CodedInputStream input)
    +      throws java.io.IOException {
    +    return com.google.protobuf.GeneratedMessageV3
    +        .parseWithIOException(PARSER, input);
       }
    -
       public static com.google.cloud.orchestration.airflow.service.v1.Environment parseFrom(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
    -    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
    -        PARSER, input, extensionRegistry);
    +    return com.google.protobuf.GeneratedMessageV3
    +        .parseWithIOException(PARSER, input, extensionRegistry);
       }
     
       @java.lang.Override
    -  public Builder newBuilderForType() {
    -    return newBuilder();
    -  }
    -
    +  public Builder newBuilderForType() { return newBuilder(); }
       public static Builder newBuilder() {
         return DEFAULT_INSTANCE.toBuilder();
       }
    -
    -  public static Builder newBuilder(
    -      com.google.cloud.orchestration.airflow.service.v1.Environment prototype) {
    +  public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1.Environment prototype) {
         return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
       }
    -
       @java.lang.Override
       public Builder toBuilder() {
    -    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
    +    return this == DEFAULT_INSTANCE
    +        ? new Builder() : new Builder().mergeFrom(this);
       }
     
       @java.lang.Override
    -  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    +  protected Builder newBuilderForType(
    +      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         Builder builder = new Builder(parent);
         return builder;
       }
       /**
    -   *
    -   *
        * 
        * An environment for running orchestration tasks.
        * 
    * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.Environment} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1.Environment) com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_Environment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_Environment_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 7: return internalGetLabels(); 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 7: return internalGetMutableLabels(); 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.orchestration.airflow.service.v1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_Environment_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_Environment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1.Environment.class, - com.google.cloud.orchestration.airflow.service.v1.Environment.Builder.class); + com.google.cloud.orchestration.airflow.service.v1.Environment.class, com.google.cloud.orchestration.airflow.service.v1.Environment.Builder.class); } // Construct using com.google.cloud.orchestration.airflow.service.v1.Environment.newBuilder() @@ -1130,15 +1027,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(); @@ -1171,14 +1069,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_Environment_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_Environment_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.Environment - getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1.Environment getDefaultInstanceForType() { return com.google.cloud.orchestration.airflow.service.v1.Environment.getDefaultInstance(); } @@ -1193,8 +1090,7 @@ public com.google.cloud.orchestration.airflow.service.v1.Environment build() { @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1.Environment buildPartial() { - com.google.cloud.orchestration.airflow.service.v1.Environment result = - new com.google.cloud.orchestration.airflow.service.v1.Environment(this); + com.google.cloud.orchestration.airflow.service.v1.Environment result = new com.google.cloud.orchestration.airflow.service.v1.Environment(this); int from_bitField0_ = bitField0_; result.name_ = name_; if (configBuilder_ == null) { @@ -1224,39 +1120,38 @@ public com.google.cloud.orchestration.airflow.service.v1.Environment buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.orchestration.airflow.service.v1.Environment) { - return mergeFrom((com.google.cloud.orchestration.airflow.service.v1.Environment) other); + return mergeFrom((com.google.cloud.orchestration.airflow.service.v1.Environment)other); } else { super.mergeFrom(other); return this; @@ -1264,9 +1159,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1.Environment other) { - if (other - == com.google.cloud.orchestration.airflow.service.v1.Environment.getDefaultInstance()) - return this; + if (other == com.google.cloud.orchestration.airflow.service.v1.Environment.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -1287,7 +1180,8 @@ public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1.Envir if (other.hasUpdateTime()) { mergeUpdateTime(other.getUpdateTime()); } - internalGetMutableLabels().mergeFrom(other.internalGetLabels()); + internalGetMutableLabels().mergeFrom( + other.internalGetLabels()); this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -1307,9 +1201,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.orchestration.airflow.service.v1.Environment) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.orchestration.airflow.service.v1.Environment) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1318,13 +1210,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
          * The resource name of the environment, in the form:
          * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
    @@ -1333,13 +1222,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; @@ -1348,8 +1237,6 @@ public java.lang.String getName() { } } /** - * - * *
          * The resource name of the environment, in the form:
          * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
    @@ -1358,14 +1245,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 { @@ -1373,8 +1261,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
          * The resource name of the environment, in the form:
          * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
    @@ -1383,22 +1269,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; } /** - * - * *
          * The resource name of the environment, in the form:
          * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
    @@ -1407,18 +1291,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; } /** - * - * *
          * The resource name of the environment, in the form:
          * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
    @@ -1427,16 +1308,16 @@ 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; @@ -1444,56 +1325,41 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig config_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig, - com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.Builder, - com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfigOrBuilder> - configBuilder_; + com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig, com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.Builder, com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfigOrBuilder> configBuilder_; /** - * - * *
          * Configuration parameters for this environment.
          * 
    * * .google.cloud.orchestration.airflow.service.v1.EnvironmentConfig config = 2; - * * @return Whether the config field is set. */ public boolean hasConfig() { return configBuilder_ != null || config_ != null; } /** - * - * *
          * Configuration parameters for this environment.
          * 
    * * .google.cloud.orchestration.airflow.service.v1.EnvironmentConfig config = 2; - * * @return The config. */ public com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig getConfig() { if (configBuilder_ == null) { - return config_ == null - ? com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig - .getDefaultInstance() - : config_; + return config_ == null ? com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.getDefaultInstance() : config_; } else { return configBuilder_.getMessage(); } } /** - * - * *
          * Configuration parameters for this environment.
          * 
    * * .google.cloud.orchestration.airflow.service.v1.EnvironmentConfig config = 2; */ - public Builder setConfig( - com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig value) { + public Builder setConfig(com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig value) { if (configBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1507,8 +1373,6 @@ public Builder setConfig( return this; } /** - * - * *
          * Configuration parameters for this environment.
          * 
    @@ -1516,8 +1380,7 @@ public Builder setConfig( * .google.cloud.orchestration.airflow.service.v1.EnvironmentConfig config = 2; */ public Builder setConfig( - com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.Builder - builderForValue) { + com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.Builder builderForValue) { if (configBuilder_ == null) { config_ = builderForValue.build(); onChanged(); @@ -1528,23 +1391,17 @@ public Builder setConfig( return this; } /** - * - * *
          * Configuration parameters for this environment.
          * 
    * * .google.cloud.orchestration.airflow.service.v1.EnvironmentConfig config = 2; */ - public Builder mergeConfig( - com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig value) { + public Builder mergeConfig(com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig value) { if (configBuilder_ == null) { if (config_ != null) { config_ = - com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.newBuilder( - config_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.newBuilder(config_).mergeFrom(value).buildPartial(); } else { config_ = value; } @@ -1556,8 +1413,6 @@ public Builder mergeConfig( return this; } /** - * - * *
          * Configuration parameters for this environment.
          * 
    @@ -1576,43 +1431,33 @@ public Builder clearConfig() { return this; } /** - * - * *
          * Configuration parameters for this environment.
          * 
    * * .google.cloud.orchestration.airflow.service.v1.EnvironmentConfig config = 2; */ - public com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.Builder - getConfigBuilder() { - + public com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.Builder getConfigBuilder() { + onChanged(); return getConfigFieldBuilder().getBuilder(); } /** - * - * *
          * Configuration parameters for this environment.
          * 
    * * .google.cloud.orchestration.airflow.service.v1.EnvironmentConfig config = 2; */ - public com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfigOrBuilder - getConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfigOrBuilder getConfigOrBuilder() { if (configBuilder_ != null) { return configBuilder_.getMessageOrBuilder(); } else { - return config_ == null - ? com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig - .getDefaultInstance() - : config_; + return config_ == null ? + com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.getDefaultInstance() : config_; } } /** - * - * *
          * Configuration parameters for this environment.
          * 
    @@ -1620,17 +1465,14 @@ public Builder clearConfig() { * .google.cloud.orchestration.airflow.service.v1.EnvironmentConfig config = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig, - com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.Builder, - com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfigOrBuilder> + com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig, com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.Builder, com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfigOrBuilder> getConfigFieldBuilder() { if (configBuilder_ == null) { - configBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig, - com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.Builder, - com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfigOrBuilder>( - getConfig(), getParentForChildren(), isClean()); + configBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig, com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.Builder, com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfigOrBuilder>( + getConfig(), + getParentForChildren(), + isClean()); config_ = null; } return configBuilder_; @@ -1638,21 +1480,19 @@ public Builder clearConfig() { private java.lang.Object uuid_ = ""; /** - * - * *
          * Output only. The UUID (Universally Unique IDentifier) associated with this environment.
          * This value is generated when the environment is created.
          * 
    * * string uuid = 3; - * * @return The uuid. */ public java.lang.String getUuid() { java.lang.Object ref = uuid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uuid_ = s; return s; @@ -1661,22 +1501,21 @@ public java.lang.String getUuid() { } } /** - * - * *
          * Output only. The UUID (Universally Unique IDentifier) associated with this environment.
          * This value is generated when the environment is created.
          * 
    * * string uuid = 3; - * * @return The bytes for uuid. */ - public com.google.protobuf.ByteString getUuidBytes() { + public com.google.protobuf.ByteString + getUuidBytes() { java.lang.Object ref = uuid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uuid_ = b; return b; } else { @@ -1684,64 +1523,57 @@ public com.google.protobuf.ByteString getUuidBytes() { } } /** - * - * *
          * Output only. The UUID (Universally Unique IDentifier) associated with this environment.
          * This value is generated when the environment is created.
          * 
    * * string uuid = 3; - * * @param value The uuid to set. * @return This builder for chaining. */ - public Builder setUuid(java.lang.String value) { + public Builder setUuid( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uuid_ = value; onChanged(); return this; } /** - * - * *
          * Output only. The UUID (Universally Unique IDentifier) associated with this environment.
          * This value is generated when the environment is created.
          * 
    * * string uuid = 3; - * * @return This builder for chaining. */ public Builder clearUuid() { - + uuid_ = getDefaultInstance().getUuid(); onChanged(); return this; } /** - * - * *
          * Output only. The UUID (Universally Unique IDentifier) associated with this environment.
          * This value is generated when the environment is created.
          * 
    * * string uuid = 3; - * * @param value The bytes for uuid to set. * @return This builder for chaining. */ - public Builder setUuidBytes(com.google.protobuf.ByteString value) { + public Builder setUuidBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uuid_ = value; onChanged(); return this; @@ -1749,93 +1581,73 @@ public Builder setUuidBytes(com.google.protobuf.ByteString value) { private int state_ = 0; /** - * - * *
          * The current state of the environment.
          * 
    * * .google.cloud.orchestration.airflow.service.v1.Environment.State state = 4; - * * @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 current state of the environment.
          * 
    * * .google.cloud.orchestration.airflow.service.v1.Environment.State state = 4; - * * @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 current state of the environment.
          * 
    * * .google.cloud.orchestration.airflow.service.v1.Environment.State state = 4; - * * @return The state. */ @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1.Environment.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.orchestration.airflow.service.v1.Environment.State result = - com.google.cloud.orchestration.airflow.service.v1.Environment.State.valueOf(state_); - return result == null - ? com.google.cloud.orchestration.airflow.service.v1.Environment.State.UNRECOGNIZED - : result; + com.google.cloud.orchestration.airflow.service.v1.Environment.State result = com.google.cloud.orchestration.airflow.service.v1.Environment.State.valueOf(state_); + return result == null ? com.google.cloud.orchestration.airflow.service.v1.Environment.State.UNRECOGNIZED : result; } /** - * - * *
          * The current state of the environment.
          * 
    * * .google.cloud.orchestration.airflow.service.v1.Environment.State state = 4; - * * @param value The state to set. * @return This builder for chaining. */ - public Builder setState( - com.google.cloud.orchestration.airflow.service.v1.Environment.State value) { + public Builder setState(com.google.cloud.orchestration.airflow.service.v1.Environment.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
          * The current state of the environment.
          * 
    * * .google.cloud.orchestration.airflow.service.v1.Environment.State state = 4; - * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -1843,47 +1655,34 @@ public Builder clearState() { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
          * Output only. The time at which this environment was created.
          * 
    * * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
          * Output only. The time at which this environment was created.
          * 
    * * .google.protobuf.Timestamp create_time = 5; - * * @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 at which this environment was created.
          * 
    @@ -1904,15 +1703,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
          * Output only. The time at which this environment was created.
          * 
    * * .google.protobuf.Timestamp create_time = 5; */ - 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(); @@ -1923,8 +1721,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
          * Output only. The time at which this environment was created.
          * 
    @@ -1935,7 +1731,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; } @@ -1947,8 +1743,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
          * Output only. The time at which this environment was created.
          * 
    @@ -1967,8 +1761,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
          * Output only. The time at which this environment was created.
          * 
    @@ -1976,13 +1768,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
          * Output only. The time at which this environment was created.
          * 
    @@ -1993,14 +1783,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_; } } /** - * - * *
          * Output only. The time at which this environment was created.
          * 
    @@ -2008,17 +1795,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 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_; @@ -2026,47 +1810,34 @@ 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 at which this environment was last modified.
          * 
    * * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
          * Output only. The time at which this environment was last modified.
          * 
    * * .google.protobuf.Timestamp update_time = 6; - * * @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 at which this environment was last modified.
          * 
    @@ -2087,15 +1858,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
          * Output only. The time at which this environment was last modified.
          * 
    * * .google.protobuf.Timestamp update_time = 6; */ - 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(); @@ -2106,8 +1876,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
          * Output only. The time at which this environment was last modified.
          * 
    @@ -2118,7 +1886,7 @@ 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; } @@ -2130,8 +1898,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
          * Output only. The time at which this environment was last modified.
          * 
    @@ -2150,8 +1916,6 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
          * Output only. The time at which this environment was last modified.
          * 
    @@ -2159,13 +1923,11 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 6; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
          * Output only. The time at which this environment was last modified.
          * 
    @@ -2176,14 +1938,11 @@ 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 at which this environment was last modified.
          * 
    @@ -2191,37 +1950,35 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_time = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 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_; } - 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(); @@ -2233,8 +1990,6 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
          * Optional. User-defined labels for this environment.
          * The labels map can contain no more than 64 entries. Entries of the labels
    @@ -2247,22 +2002,22 @@ public int getLabelsCount() {
          *
          * map<string, string> labels = 7;
          */
    +
         @java.lang.Override
    -    public boolean containsLabels(java.lang.String key) {
    -      if (key == null) {
    -        throw new NullPointerException("map key");
    -      }
    +    public boolean containsLabels(
    +        java.lang.String key) {
    +      if (key == null) { throw new NullPointerException("map key"); }
           return internalGetLabels().getMap().containsKey(key);
         }
    -    /** Use {@link #getLabelsMap()} instead. */
    +    /**
    +     * Use {@link #getLabelsMap()} instead.
    +     */
         @java.lang.Override
         @java.lang.Deprecated
         public java.util.Map getLabels() {
           return getLabelsMap();
         }
         /**
    -     *
    -     *
          * 
          * Optional. User-defined labels for this environment.
          * The labels map can contain no more than 64 entries. Entries of the labels
    @@ -2276,12 +2031,11 @@ public java.util.Map getLabels() {
          * map<string, string> labels = 7;
          */
         @java.lang.Override
    +
         public java.util.Map getLabelsMap() {
           return internalGetLabels().getMap();
         }
         /**
    -     *
    -     *
          * 
          * Optional. User-defined labels for this environment.
          * The labels map can contain no more than 64 entries. Entries of the labels
    @@ -2295,17 +2049,16 @@ public java.util.Map getLabelsMap() {
          * map<string, string> labels = 7;
          */
         @java.lang.Override
    +
         public java.lang.String getLabelsOrDefault(
    -        java.lang.String key, java.lang.String defaultValue) {
    -      if (key == null) {
    -        throw new NullPointerException("map key");
    -      }
    -      java.util.Map map = internalGetLabels().getMap();
    +        java.lang.String key,
    +        java.lang.String defaultValue) {
    +      if (key == null) { throw new NullPointerException("map key"); }
    +      java.util.Map map =
    +          internalGetLabels().getMap();
           return map.containsKey(key) ? map.get(key) : defaultValue;
         }
         /**
    -     *
    -     *
          * 
          * Optional. User-defined labels for this environment.
          * The labels map can contain no more than 64 entries. Entries of the labels
    @@ -2319,11 +2072,12 @@ public java.lang.String getLabelsOrDefault(
          * map<string, string> labels = 7;
          */
         @java.lang.Override
    -    public java.lang.String getLabelsOrThrow(java.lang.String key) {
    -      if (key == null) {
    -        throw new NullPointerException("map key");
    -      }
    -      java.util.Map map = internalGetLabels().getMap();
    +
    +    public java.lang.String getLabelsOrThrow(
    +        java.lang.String key) {
    +      if (key == null) { throw new NullPointerException("map key"); }
    +      java.util.Map map =
    +          internalGetLabels().getMap();
           if (!map.containsKey(key)) {
             throw new java.lang.IllegalArgumentException();
           }
    @@ -2331,12 +2085,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
         }
     
         public Builder clearLabels() {
    -      internalGetMutableLabels().getMutableMap().clear();
    +      internalGetMutableLabels().getMutableMap()
    +          .clear();
           return this;
         }
         /**
    -     *
    -     *
          * 
          * Optional. User-defined labels for this environment.
          * The labels map can contain no more than 64 entries. Entries of the labels
    @@ -2349,21 +2102,23 @@ public Builder clearLabels() {
          *
          * map<string, string> labels = 7;
          */
    -    public Builder removeLabels(java.lang.String key) {
    -      if (key == null) {
    -        throw new NullPointerException("map key");
    -      }
    -      internalGetMutableLabels().getMutableMap().remove(key);
    +
    +    public Builder removeLabels(
    +        java.lang.String key) {
    +      if (key == null) { throw new NullPointerException("map key"); }
    +      internalGetMutableLabels().getMutableMap()
    +          .remove(key);
           return this;
         }
    -    /** Use alternate mutation accessors instead. */
    +    /**
    +     * Use alternate mutation accessors instead.
    +     */
         @java.lang.Deprecated
    -    public java.util.Map getMutableLabels() {
    +    public java.util.Map
    +    getMutableLabels() {
           return internalGetMutableLabels().getMutableMap();
         }
         /**
    -     *
    -     *
          * 
          * Optional. User-defined labels for this environment.
          * The labels map can contain no more than 64 entries. Entries of the labels
    @@ -2376,20 +2131,19 @@ public java.util.Map getMutableLabels() {
          *
          * map<string, string> labels = 7;
          */
    -    public Builder putLabels(java.lang.String key, java.lang.String value) {
    -      if (key == null) {
    -        throw new NullPointerException("map key");
    -      }
    +    public Builder putLabels(
    +        java.lang.String key,
    +        java.lang.String value) {
    +      if (key == null) { throw new NullPointerException("map key"); }
           if (value == null) {
    -        throw new NullPointerException("map value");
    -      }
    +  throw new NullPointerException("map value");
    +}
     
    -      internalGetMutableLabels().getMutableMap().put(key, value);
    +      internalGetMutableLabels().getMutableMap()
    +          .put(key, value);
           return this;
         }
         /**
    -     *
    -     *
          * 
          * Optional. User-defined labels for this environment.
          * The labels map can contain no more than 64 entries. Entries of the labels
    @@ -2402,13 +2156,16 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
          *
          * map<string, string> labels = 7;
          */
    -    public Builder putAllLabels(java.util.Map values) {
    -      internalGetMutableLabels().getMutableMap().putAll(values);
    +
    +    public Builder putAllLabels(
    +        java.util.Map values) {
    +      internalGetMutableLabels().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);
         }
     
    @@ -2418,13 +2175,12 @@ public final Builder mergeUnknownFields(
           return super.mergeUnknownFields(unknownFields);
         }
     
    +
         // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1.Environment)
       }
     
       // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1.Environment)
    -  private static final com.google.cloud.orchestration.airflow.service.v1.Environment
    -      DEFAULT_INSTANCE;
    -
    +  private static final com.google.cloud.orchestration.airflow.service.v1.Environment DEFAULT_INSTANCE;
       static {
         DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1.Environment();
       }
    @@ -2433,16 +2189,16 @@ public static com.google.cloud.orchestration.airflow.service.v1.Environment getD
         return DEFAULT_INSTANCE;
       }
     
    -  private static final com.google.protobuf.Parser PARSER =
    -      new com.google.protobuf.AbstractParser() {
    -        @java.lang.Override
    -        public Environment parsePartialFrom(
    -            com.google.protobuf.CodedInputStream input,
    -            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    -            throws com.google.protobuf.InvalidProtocolBufferException {
    -          return new Environment(input, extensionRegistry);
    -        }
    -      };
    +  private static final com.google.protobuf.Parser
    +      PARSER = new com.google.protobuf.AbstractParser() {
    +    @java.lang.Override
    +    public Environment parsePartialFrom(
    +        com.google.protobuf.CodedInputStream input,
    +        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    +        throws com.google.protobuf.InvalidProtocolBufferException {
    +      return new Environment(input, extensionRegistry);
    +    }
    +  };
     
       public static com.google.protobuf.Parser parser() {
         return PARSER;
    @@ -2457,4 +2213,6 @@ public com.google.protobuf.Parser getParserForType() {
       public com.google.cloud.orchestration.airflow.service.v1.Environment getDefaultInstanceForType() {
         return DEFAULT_INSTANCE;
       }
    +
     }
    +
    diff --git a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentConfig.java b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentConfig.java
    similarity index 62%
    rename from proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentConfig.java
    rename to owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentConfig.java
    index 2b3d72de..0100a262 100644
    --- a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentConfig.java
    +++ b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentConfig.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/orchestration/airflow/service/v1/environments.proto
     
     package com.google.cloud.orchestration.airflow.service.v1;
     
     /**
    - *
    - *
      * 
      * Configuration information for an environment.
      * 
    * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.EnvironmentConfig} */ -public final class EnvironmentConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class EnvironmentConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1.EnvironmentConfig) EnvironmentConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use EnvironmentConfig.newBuilder() to construct. private EnvironmentConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private EnvironmentConfig() { gkeCluster_ = ""; dagGcsPrefix_ = ""; @@ -45,15 +27,16 @@ private EnvironmentConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new EnvironmentConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private EnvironmentConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,168 +55,127 @@ private EnvironmentConfig( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + gkeCluster_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - gkeCluster_ = s; - break; + dagGcsPrefix_ = s; + break; + } + case 24: { + + nodeCount_ = input.readInt32(); + break; + } + case 34: { + com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.Builder subBuilder = null; + if (softwareConfig_ != null) { + subBuilder = softwareConfig_.toBuilder(); + } + softwareConfig_ = input.readMessage(com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(softwareConfig_); + softwareConfig_ = subBuilder.buildPartial(); } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - dagGcsPrefix_ = s; - break; + break; + } + case 42: { + com.google.cloud.orchestration.airflow.service.v1.NodeConfig.Builder subBuilder = null; + if (nodeConfig_ != null) { + subBuilder = nodeConfig_.toBuilder(); } - case 24: - { - nodeCount_ = input.readInt32(); - break; + nodeConfig_ = input.readMessage(com.google.cloud.orchestration.airflow.service.v1.NodeConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(nodeConfig_); + nodeConfig_ = subBuilder.buildPartial(); } - case 34: - { - com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.Builder subBuilder = - null; - if (softwareConfig_ != null) { - subBuilder = softwareConfig_.toBuilder(); - } - softwareConfig_ = - input.readMessage( - com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(softwareConfig_); - softwareConfig_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + + airflowUri_ = s; + break; + } + case 58: { + com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig.Builder subBuilder = null; + if (privateEnvironmentConfig_ != null) { + subBuilder = privateEnvironmentConfig_.toBuilder(); } - case 42: - { - com.google.cloud.orchestration.airflow.service.v1.NodeConfig.Builder subBuilder = - null; - if (nodeConfig_ != null) { - subBuilder = nodeConfig_.toBuilder(); - } - nodeConfig_ = - input.readMessage( - com.google.cloud.orchestration.airflow.service.v1.NodeConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(nodeConfig_); - nodeConfig_ = subBuilder.buildPartial(); - } - - break; + privateEnvironmentConfig_ = input.readMessage(com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(privateEnvironmentConfig_); + privateEnvironmentConfig_ = subBuilder.buildPartial(); } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); - airflowUri_ = s; - break; + break; + } + case 66: { + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.Builder subBuilder = null; + if (webServerNetworkAccessControl_ != null) { + subBuilder = webServerNetworkAccessControl_.toBuilder(); } - case 58: - { - com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig.Builder - subBuilder = null; - if (privateEnvironmentConfig_ != null) { - subBuilder = privateEnvironmentConfig_.toBuilder(); - } - privateEnvironmentConfig_ = - input.readMessage( - com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(privateEnvironmentConfig_); - privateEnvironmentConfig_ = subBuilder.buildPartial(); - } - - break; + webServerNetworkAccessControl_ = input.readMessage(com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(webServerNetworkAccessControl_); + webServerNetworkAccessControl_ = subBuilder.buildPartial(); } - case 66: - { - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .Builder - subBuilder = null; - if (webServerNetworkAccessControl_ != null) { - subBuilder = webServerNetworkAccessControl_.toBuilder(); - } - webServerNetworkAccessControl_ = - input.readMessage( - com.google.cloud.orchestration.airflow.service.v1 - .WebServerNetworkAccessControl.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(webServerNetworkAccessControl_); - webServerNetworkAccessControl_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 74: { + com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig.Builder subBuilder = null; + if (databaseConfig_ != null) { + subBuilder = databaseConfig_.toBuilder(); } - case 74: - { - com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig.Builder subBuilder = - null; - if (databaseConfig_ != null) { - subBuilder = databaseConfig_.toBuilder(); - } - databaseConfig_ = - input.readMessage( - com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(databaseConfig_); - databaseConfig_ = subBuilder.buildPartial(); - } - - break; + databaseConfig_ = input.readMessage(com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(databaseConfig_); + databaseConfig_ = subBuilder.buildPartial(); } - case 82: - { - com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.Builder subBuilder = - null; - if (webServerConfig_ != null) { - subBuilder = webServerConfig_.toBuilder(); - } - webServerConfig_ = - input.readMessage( - com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(webServerConfig_); - webServerConfig_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 82: { + com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.Builder subBuilder = null; + if (webServerConfig_ != null) { + subBuilder = webServerConfig_.toBuilder(); } - case 90: - { - com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig.Builder - subBuilder = null; - if (encryptionConfig_ != null) { - subBuilder = encryptionConfig_.toBuilder(); - } - encryptionConfig_ = - input.readMessage( - com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(encryptionConfig_); - encryptionConfig_ = subBuilder.buildPartial(); - } - - break; + webServerConfig_ = input.readMessage(com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(webServerConfig_); + webServerConfig_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 90: { + com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig.Builder subBuilder = null; + if (encryptionConfig_ != null) { + subBuilder = encryptionConfig_.toBuilder(); + } + encryptionConfig_ = input.readMessage(com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(encryptionConfig_); + encryptionConfig_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -241,39 +183,34 @@ private EnvironmentConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_EnvironmentConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_EnvironmentConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_EnvironmentConfig_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_EnvironmentConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.class, - com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.Builder.class); + com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.class, com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.Builder.class); } public static final int GKE_CLUSTER_FIELD_NUMBER = 1; private volatile java.lang.Object gkeCluster_; /** - * - * *
        * Output only. The Kubernetes Engine cluster used to run this environment.
        * 
    * * string gke_cluster = 1; - * * @return The gkeCluster. */ @java.lang.Override @@ -282,29 +219,29 @@ public java.lang.String getGkeCluster() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); gkeCluster_ = s; return s; } } /** - * - * *
        * Output only. The Kubernetes Engine cluster used to run this environment.
        * 
    * * string gke_cluster = 1; - * * @return The bytes for gkeCluster. */ @java.lang.Override - public com.google.protobuf.ByteString getGkeClusterBytes() { + public com.google.protobuf.ByteString + getGkeClusterBytes() { java.lang.Object ref = gkeCluster_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); gkeCluster_ = b; return b; } else { @@ -315,8 +252,6 @@ public com.google.protobuf.ByteString getGkeClusterBytes() { public static final int DAG_GCS_PREFIX_FIELD_NUMBER = 2; private volatile java.lang.Object dagGcsPrefix_; /** - * - * *
        * Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud
        * Storage objects reside in a flat namespace, a hierarchical file tree
    @@ -325,7 +260,6 @@ public com.google.protobuf.ByteString getGkeClusterBytes() {
        * 
    * * string dag_gcs_prefix = 2; - * * @return The dagGcsPrefix. */ @java.lang.Override @@ -334,15 +268,14 @@ public java.lang.String getDagGcsPrefix() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dagGcsPrefix_ = s; return s; } } /** - * - * *
        * Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud
        * Storage objects reside in a flat namespace, a hierarchical file tree
    @@ -351,15 +284,16 @@ public java.lang.String getDagGcsPrefix() {
        * 
    * * string dag_gcs_prefix = 2; - * * @return The bytes for dagGcsPrefix. */ @java.lang.Override - public com.google.protobuf.ByteString getDagGcsPrefixBytes() { + public com.google.protobuf.ByteString + getDagGcsPrefixBytes() { java.lang.Object ref = dagGcsPrefix_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dagGcsPrefix_ = b; return b; } else { @@ -370,15 +304,12 @@ public com.google.protobuf.ByteString getDagGcsPrefixBytes() { public static final int NODE_COUNT_FIELD_NUMBER = 3; private int nodeCount_; /** - * - * *
        * The number of nodes in the Kubernetes Engine cluster that will be
        * used to run this environment.
        * 
    * * int32 node_count = 3; - * * @return The nodeCount. */ @java.lang.Override @@ -389,14 +320,11 @@ public int getNodeCount() { public static final int SOFTWARE_CONFIG_FIELD_NUMBER = 4; private com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig softwareConfig_; /** - * - * *
        * The configuration settings for software inside the environment.
        * 
    * * .google.cloud.orchestration.airflow.service.v1.SoftwareConfig software_config = 4; - * * @return Whether the softwareConfig field is set. */ @java.lang.Override @@ -404,25 +332,18 @@ public boolean hasSoftwareConfig() { return softwareConfig_ != null; } /** - * - * *
        * The configuration settings for software inside the environment.
        * 
    * * .google.cloud.orchestration.airflow.service.v1.SoftwareConfig software_config = 4; - * * @return The softwareConfig. */ @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig getSoftwareConfig() { - return softwareConfig_ == null - ? com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.getDefaultInstance() - : softwareConfig_; + return softwareConfig_ == null ? com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.getDefaultInstance() : softwareConfig_; } /** - * - * *
        * The configuration settings for software inside the environment.
        * 
    @@ -430,22 +351,18 @@ public com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig getSoftw * .google.cloud.orchestration.airflow.service.v1.SoftwareConfig software_config = 4; */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.SoftwareConfigOrBuilder - getSoftwareConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1.SoftwareConfigOrBuilder getSoftwareConfigOrBuilder() { return getSoftwareConfig(); } public static final int NODE_CONFIG_FIELD_NUMBER = 5; private com.google.cloud.orchestration.airflow.service.v1.NodeConfig nodeConfig_; /** - * - * *
        * The configuration used for the Kubernetes Engine cluster.
        * 
    * * .google.cloud.orchestration.airflow.service.v1.NodeConfig node_config = 5; - * * @return Whether the nodeConfig field is set. */ @java.lang.Override @@ -453,25 +370,18 @@ public boolean hasNodeConfig() { return nodeConfig_ != null; } /** - * - * *
        * The configuration used for the Kubernetes Engine cluster.
        * 
    * * .google.cloud.orchestration.airflow.service.v1.NodeConfig node_config = 5; - * * @return The nodeConfig. */ @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1.NodeConfig getNodeConfig() { - return nodeConfig_ == null - ? com.google.cloud.orchestration.airflow.service.v1.NodeConfig.getDefaultInstance() - : nodeConfig_; + return nodeConfig_ == null ? com.google.cloud.orchestration.airflow.service.v1.NodeConfig.getDefaultInstance() : nodeConfig_; } /** - * - * *
        * The configuration used for the Kubernetes Engine cluster.
        * 
    @@ -479,25 +389,18 @@ public com.google.cloud.orchestration.airflow.service.v1.NodeConfig getNodeConfi * .google.cloud.orchestration.airflow.service.v1.NodeConfig node_config = 5; */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.NodeConfigOrBuilder - getNodeConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1.NodeConfigOrBuilder getNodeConfigOrBuilder() { return getNodeConfig(); } public static final int PRIVATE_ENVIRONMENT_CONFIG_FIELD_NUMBER = 7; - private com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig - privateEnvironmentConfig_; + private com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig privateEnvironmentConfig_; /** - * - * *
        * The configuration used for the Private IP Cloud Composer environment.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7; - * - * + * .google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7; * @return Whether the privateEnvironmentConfig field is set. */ @java.lang.Override @@ -505,58 +408,38 @@ public boolean hasPrivateEnvironmentConfig() { return privateEnvironmentConfig_ != null; } /** - * - * *
        * The configuration used for the Private IP Cloud Composer environment.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7; - * - * + * .google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7; * @return The privateEnvironmentConfig. */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig - getPrivateEnvironmentConfig() { - return privateEnvironmentConfig_ == null - ? com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig - .getDefaultInstance() - : privateEnvironmentConfig_; + public com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig getPrivateEnvironmentConfig() { + return privateEnvironmentConfig_ == null ? com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig.getDefaultInstance() : privateEnvironmentConfig_; } /** - * - * *
        * The configuration used for the Private IP Cloud Composer environment.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7; - * + * .google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7; */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfigOrBuilder - getPrivateEnvironmentConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfigOrBuilder getPrivateEnvironmentConfigOrBuilder() { return getPrivateEnvironmentConfig(); } public static final int WEB_SERVER_NETWORK_ACCESS_CONTROL_FIELD_NUMBER = 8; - private com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - webServerNetworkAccessControl_; + private com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl webServerNetworkAccessControl_; /** - * - * *
        * Optional. The network-level access control policy for the Airflow web server. If
        * unspecified, no network-level access restrictions will be applied.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the webServerNetworkAccessControl field is set. */ @java.lang.Override @@ -564,59 +447,40 @@ public boolean hasWebServerNetworkAccessControl() { return webServerNetworkAccessControl_ != null; } /** - * - * *
        * Optional. The network-level access control policy for the Airflow web server. If
        * unspecified, no network-level access restrictions will be applied.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return The webServerNetworkAccessControl. */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - getWebServerNetworkAccessControl() { - return webServerNetworkAccessControl_ == null - ? com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .getDefaultInstance() - : webServerNetworkAccessControl_; + public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl getWebServerNetworkAccessControl() { + return webServerNetworkAccessControl_ == null ? com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.getDefaultInstance() : webServerNetworkAccessControl_; } /** - * - * *
        * Optional. The network-level access control policy for the Airflow web server. If
        * unspecified, no network-level access restrictions will be applied.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControlOrBuilder - getWebServerNetworkAccessControlOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControlOrBuilder getWebServerNetworkAccessControlOrBuilder() { return getWebServerNetworkAccessControl(); } public static final int DATABASE_CONFIG_FIELD_NUMBER = 9; private com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig databaseConfig_; /** - * - * *
        * Optional. The configuration settings for Cloud SQL instance used internally by Apache
        * Airflow software.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the databaseConfig field is set. */ @java.lang.Override @@ -624,56 +488,39 @@ public boolean hasDatabaseConfig() { return databaseConfig_ != null; } /** - * - * *
        * Optional. The configuration settings for Cloud SQL instance used internally by Apache
        * Airflow software.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return The databaseConfig. */ @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig getDatabaseConfig() { - return databaseConfig_ == null - ? com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig.getDefaultInstance() - : databaseConfig_; + return databaseConfig_ == null ? com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig.getDefaultInstance() : databaseConfig_; } /** - * - * *
        * Optional. The configuration settings for Cloud SQL instance used internally by Apache
        * Airflow software.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.DatabaseConfigOrBuilder - getDatabaseConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1.DatabaseConfigOrBuilder getDatabaseConfigOrBuilder() { return getDatabaseConfig(); } public static final int WEB_SERVER_CONFIG_FIELD_NUMBER = 10; private com.google.cloud.orchestration.airflow.service.v1.WebServerConfig webServerConfig_; /** - * - * *
        * Optional. The configuration settings for the Airflow web server App Engine instance.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the webServerConfig field is set. */ @java.lang.Override @@ -681,55 +528,38 @@ public boolean hasWebServerConfig() { return webServerConfig_ != null; } /** - * - * *
        * Optional. The configuration settings for the Airflow web server App Engine instance.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL]; * @return The webServerConfig. */ @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1.WebServerConfig getWebServerConfig() { - return webServerConfig_ == null - ? com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.getDefaultInstance() - : webServerConfig_; + return webServerConfig_ == null ? com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.getDefaultInstance() : webServerConfig_; } /** - * - * *
        * Optional. The configuration settings for the Airflow web server App Engine instance.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.WebServerConfigOrBuilder - getWebServerConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1.WebServerConfigOrBuilder getWebServerConfigOrBuilder() { return getWebServerConfig(); } public static final int ENCRYPTION_CONFIG_FIELD_NUMBER = 11; private com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryptionConfig_; /** - * - * *
        * Optional. The encryption options for the Cloud Composer environment
        * and its dependencies. Cannot be updated.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the encryptionConfig field is set. */ @java.lang.Override @@ -737,48 +567,34 @@ public boolean hasEncryptionConfig() { return encryptionConfig_ != null; } /** - * - * *
        * Optional. The encryption options for the Cloud Composer environment
        * and its dependencies. Cannot be updated.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL]; * @return The encryptionConfig. */ @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig getEncryptionConfig() { - return encryptionConfig_ == null - ? com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } /** - * - * *
        * Optional. The encryption options for the Cloud Composer environment
        * and its dependencies. Cannot be updated.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.EncryptionConfigOrBuilder - getEncryptionConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { return getEncryptionConfig(); } public static final int AIRFLOW_URI_FIELD_NUMBER = 6; private volatile java.lang.Object airflowUri_; /** - * - * *
        * Output only. The URI of the Apache Airflow Web UI hosted within this environment (see
        * [Airflow web
    @@ -786,7 +602,6 @@ public com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig getEnc
        * 
    * * string airflow_uri = 6; - * * @return The airflowUri. */ @java.lang.Override @@ -795,15 +610,14 @@ public java.lang.String getAirflowUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); airflowUri_ = s; return s; } } /** - * - * *
        * Output only. The URI of the Apache Airflow Web UI hosted within this environment (see
        * [Airflow web
    @@ -811,15 +625,16 @@ public java.lang.String getAirflowUri() {
        * 
    * * string airflow_uri = 6; - * * @return The bytes for airflowUri. */ @java.lang.Override - public com.google.protobuf.ByteString getAirflowUriBytes() { + public com.google.protobuf.ByteString + getAirflowUriBytes() { java.lang.Object ref = airflowUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); airflowUri_ = b; return b; } else { @@ -828,7 +643,6 @@ public com.google.protobuf.ByteString getAirflowUriBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -840,7 +654,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(gkeCluster_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, gkeCluster_); } @@ -890,35 +705,39 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, dagGcsPrefix_); } if (nodeCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, nodeCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, nodeCount_); } if (softwareConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getSoftwareConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getSoftwareConfig()); } if (nodeConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getNodeConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getNodeConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(airflowUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, airflowUri_); } if (privateEnvironmentConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 7, getPrivateEnvironmentConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getPrivateEnvironmentConfig()); } if (webServerNetworkAccessControl_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 8, getWebServerNetworkAccessControl()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getWebServerNetworkAccessControl()); } if (databaseConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getDatabaseConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getDatabaseConfig()); } if (webServerConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getWebServerConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, getWebServerConfig()); } if (encryptionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getEncryptionConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, getEncryptionConfig()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -928,48 +747,56 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig other = - (com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig) obj; + com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig other = (com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig) obj; - if (!getGkeCluster().equals(other.getGkeCluster())) return false; - if (!getDagGcsPrefix().equals(other.getDagGcsPrefix())) return false; - if (getNodeCount() != other.getNodeCount()) return false; + if (!getGkeCluster() + .equals(other.getGkeCluster())) return false; + if (!getDagGcsPrefix() + .equals(other.getDagGcsPrefix())) return false; + if (getNodeCount() + != other.getNodeCount()) return false; if (hasSoftwareConfig() != other.hasSoftwareConfig()) return false; if (hasSoftwareConfig()) { - if (!getSoftwareConfig().equals(other.getSoftwareConfig())) return false; + if (!getSoftwareConfig() + .equals(other.getSoftwareConfig())) return false; } if (hasNodeConfig() != other.hasNodeConfig()) return false; if (hasNodeConfig()) { - if (!getNodeConfig().equals(other.getNodeConfig())) return false; + if (!getNodeConfig() + .equals(other.getNodeConfig())) return false; } if (hasPrivateEnvironmentConfig() != other.hasPrivateEnvironmentConfig()) return false; if (hasPrivateEnvironmentConfig()) { - if (!getPrivateEnvironmentConfig().equals(other.getPrivateEnvironmentConfig())) return false; + if (!getPrivateEnvironmentConfig() + .equals(other.getPrivateEnvironmentConfig())) return false; } - if (hasWebServerNetworkAccessControl() != other.hasWebServerNetworkAccessControl()) - return false; + if (hasWebServerNetworkAccessControl() != other.hasWebServerNetworkAccessControl()) return false; if (hasWebServerNetworkAccessControl()) { - if (!getWebServerNetworkAccessControl().equals(other.getWebServerNetworkAccessControl())) - return false; + if (!getWebServerNetworkAccessControl() + .equals(other.getWebServerNetworkAccessControl())) return false; } if (hasDatabaseConfig() != other.hasDatabaseConfig()) return false; if (hasDatabaseConfig()) { - if (!getDatabaseConfig().equals(other.getDatabaseConfig())) return false; + if (!getDatabaseConfig() + .equals(other.getDatabaseConfig())) return false; } if (hasWebServerConfig() != other.hasWebServerConfig()) return false; if (hasWebServerConfig()) { - if (!getWebServerConfig().equals(other.getWebServerConfig())) return false; + if (!getWebServerConfig() + .equals(other.getWebServerConfig())) return false; } if (hasEncryptionConfig() != other.hasEncryptionConfig()) return false; if (hasEncryptionConfig()) { - if (!getEncryptionConfig().equals(other.getEncryptionConfig())) return false; + if (!getEncryptionConfig() + .equals(other.getEncryptionConfig())) return false; } - if (!getAirflowUri().equals(other.getAirflowUri())) return false; + if (!getAirflowUri() + .equals(other.getAirflowUri())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1023,145 +850,134 @@ public int hashCode() { } public static com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig 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.orchestration.airflow.service.v1.EnvironmentConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig - 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.orchestration.airflow.service.v1.EnvironmentConfig 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.orchestration.airflow.service.v1.EnvironmentConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig prototype) { + public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
        * Configuration information for an environment.
        * 
    * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.EnvironmentConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1.EnvironmentConfig) com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_EnvironmentConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_EnvironmentConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_EnvironmentConfig_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_EnvironmentConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.class, - com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.Builder.class); + com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.class, com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.Builder.class); } - // Construct using - // com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.newBuilder() + // Construct using com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1219,16 +1035,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_EnvironmentConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_EnvironmentConfig_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig - getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig - .getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.getDefaultInstance(); } @java.lang.Override @@ -1242,8 +1056,7 @@ public com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig build @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig buildPartial() { - com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig result = - new com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig(this); + com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig result = new com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig(this); result.gkeCluster_ = gkeCluster_; result.dagGcsPrefix_ = dagGcsPrefix_; result.nodeCount_ = nodeCount_; @@ -1291,51 +1104,46 @@ public com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig build public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig) { - return mergeFrom( - (com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig) other); + return mergeFrom((com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig other) { - if (other - == com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig other) { + if (other == com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.getDefaultInstance()) return this; if (!other.getGkeCluster().isEmpty()) { gkeCluster_ = other.gkeCluster_; onChanged(); @@ -1391,9 +1199,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1405,20 +1211,18 @@ public Builder mergeFrom( private java.lang.Object gkeCluster_ = ""; /** - * - * *
          * Output only. The Kubernetes Engine cluster used to run this environment.
          * 
    * * string gke_cluster = 1; - * * @return The gkeCluster. */ public java.lang.String getGkeCluster() { java.lang.Object ref = gkeCluster_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); gkeCluster_ = s; return s; @@ -1427,21 +1231,20 @@ public java.lang.String getGkeCluster() { } } /** - * - * *
          * Output only. The Kubernetes Engine cluster used to run this environment.
          * 
    * * string gke_cluster = 1; - * * @return The bytes for gkeCluster. */ - public com.google.protobuf.ByteString getGkeClusterBytes() { + public com.google.protobuf.ByteString + getGkeClusterBytes() { java.lang.Object ref = gkeCluster_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); gkeCluster_ = b; return b; } else { @@ -1449,61 +1252,54 @@ public com.google.protobuf.ByteString getGkeClusterBytes() { } } /** - * - * *
          * Output only. The Kubernetes Engine cluster used to run this environment.
          * 
    * * string gke_cluster = 1; - * * @param value The gkeCluster to set. * @return This builder for chaining. */ - public Builder setGkeCluster(java.lang.String value) { + public Builder setGkeCluster( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + gkeCluster_ = value; onChanged(); return this; } /** - * - * *
          * Output only. The Kubernetes Engine cluster used to run this environment.
          * 
    * * string gke_cluster = 1; - * * @return This builder for chaining. */ public Builder clearGkeCluster() { - + gkeCluster_ = getDefaultInstance().getGkeCluster(); onChanged(); return this; } /** - * - * *
          * Output only. The Kubernetes Engine cluster used to run this environment.
          * 
    * * string gke_cluster = 1; - * * @param value The bytes for gkeCluster to set. * @return This builder for chaining. */ - public Builder setGkeClusterBytes(com.google.protobuf.ByteString value) { + public Builder setGkeClusterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + gkeCluster_ = value; onChanged(); return this; @@ -1511,8 +1307,6 @@ public Builder setGkeClusterBytes(com.google.protobuf.ByteString value) { private java.lang.Object dagGcsPrefix_ = ""; /** - * - * *
          * Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud
          * Storage objects reside in a flat namespace, a hierarchical file tree
    @@ -1521,13 +1315,13 @@ public Builder setGkeClusterBytes(com.google.protobuf.ByteString value) {
          * 
    * * string dag_gcs_prefix = 2; - * * @return The dagGcsPrefix. */ public java.lang.String getDagGcsPrefix() { java.lang.Object ref = dagGcsPrefix_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dagGcsPrefix_ = s; return s; @@ -1536,8 +1330,6 @@ public java.lang.String getDagGcsPrefix() { } } /** - * - * *
          * Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud
          * Storage objects reside in a flat namespace, a hierarchical file tree
    @@ -1546,14 +1338,15 @@ public java.lang.String getDagGcsPrefix() {
          * 
    * * string dag_gcs_prefix = 2; - * * @return The bytes for dagGcsPrefix. */ - public com.google.protobuf.ByteString getDagGcsPrefixBytes() { + public com.google.protobuf.ByteString + getDagGcsPrefixBytes() { java.lang.Object ref = dagGcsPrefix_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dagGcsPrefix_ = b; return b; } else { @@ -1561,8 +1354,6 @@ public com.google.protobuf.ByteString getDagGcsPrefixBytes() { } } /** - * - * *
          * Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud
          * Storage objects reside in a flat namespace, a hierarchical file tree
    @@ -1571,22 +1362,20 @@ public com.google.protobuf.ByteString getDagGcsPrefixBytes() {
          * 
    * * string dag_gcs_prefix = 2; - * * @param value The dagGcsPrefix to set. * @return This builder for chaining. */ - public Builder setDagGcsPrefix(java.lang.String value) { + public Builder setDagGcsPrefix( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + dagGcsPrefix_ = value; onChanged(); return this; } /** - * - * *
          * Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud
          * Storage objects reside in a flat namespace, a hierarchical file tree
    @@ -1595,18 +1384,15 @@ public Builder setDagGcsPrefix(java.lang.String value) {
          * 
    * * string dag_gcs_prefix = 2; - * * @return This builder for chaining. */ public Builder clearDagGcsPrefix() { - + dagGcsPrefix_ = getDefaultInstance().getDagGcsPrefix(); onChanged(); return this; } /** - * - * *
          * Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud
          * Storage objects reside in a flat namespace, a hierarchical file tree
    @@ -1615,32 +1401,29 @@ public Builder clearDagGcsPrefix() {
          * 
    * * string dag_gcs_prefix = 2; - * * @param value The bytes for dagGcsPrefix to set. * @return This builder for chaining. */ - public Builder setDagGcsPrefixBytes(com.google.protobuf.ByteString value) { + public Builder setDagGcsPrefixBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + dagGcsPrefix_ = value; onChanged(); return this; } - private int nodeCount_; + private int nodeCount_ ; /** - * - * *
          * The number of nodes in the Kubernetes Engine cluster that will be
          * used to run this environment.
          * 
    * * int32 node_count = 3; - * * @return The nodeCount. */ @java.lang.Override @@ -1648,38 +1431,32 @@ public int getNodeCount() { return nodeCount_; } /** - * - * *
          * The number of nodes in the Kubernetes Engine cluster that will be
          * used to run this environment.
          * 
    * * int32 node_count = 3; - * * @param value The nodeCount to set. * @return This builder for chaining. */ public Builder setNodeCount(int value) { - + nodeCount_ = value; onChanged(); return this; } /** - * - * *
          * The number of nodes in the Kubernetes Engine cluster that will be
          * used to run this environment.
          * 
    * * int32 node_count = 3; - * * @return This builder for chaining. */ public Builder clearNodeCount() { - + nodeCount_ = 0; onChanged(); return this; @@ -1687,58 +1464,41 @@ public Builder clearNodeCount() { private com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig softwareConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig, - com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.Builder, - com.google.cloud.orchestration.airflow.service.v1.SoftwareConfigOrBuilder> - softwareConfigBuilder_; + com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig, com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.Builder, com.google.cloud.orchestration.airflow.service.v1.SoftwareConfigOrBuilder> softwareConfigBuilder_; /** - * - * *
          * The configuration settings for software inside the environment.
          * 
    * - * .google.cloud.orchestration.airflow.service.v1.SoftwareConfig software_config = 4; - * - * + * .google.cloud.orchestration.airflow.service.v1.SoftwareConfig software_config = 4; * @return Whether the softwareConfig field is set. */ public boolean hasSoftwareConfig() { return softwareConfigBuilder_ != null || softwareConfig_ != null; } /** - * - * *
          * The configuration settings for software inside the environment.
          * 
    * - * .google.cloud.orchestration.airflow.service.v1.SoftwareConfig software_config = 4; - * - * + * .google.cloud.orchestration.airflow.service.v1.SoftwareConfig software_config = 4; * @return The softwareConfig. */ public com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig getSoftwareConfig() { if (softwareConfigBuilder_ == null) { - return softwareConfig_ == null - ? com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.getDefaultInstance() - : softwareConfig_; + return softwareConfig_ == null ? com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.getDefaultInstance() : softwareConfig_; } else { return softwareConfigBuilder_.getMessage(); } } /** - * - * *
          * The configuration settings for software inside the environment.
          * 
    * - * .google.cloud.orchestration.airflow.service.v1.SoftwareConfig software_config = 4; - * + * .google.cloud.orchestration.airflow.service.v1.SoftwareConfig software_config = 4; */ - public Builder setSoftwareConfig( - com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig value) { + public Builder setSoftwareConfig(com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig value) { if (softwareConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1752,14 +1512,11 @@ public Builder setSoftwareConfig( return this; } /** - * - * *
          * The configuration settings for software inside the environment.
          * 
    * - * .google.cloud.orchestration.airflow.service.v1.SoftwareConfig software_config = 4; - * + * .google.cloud.orchestration.airflow.service.v1.SoftwareConfig software_config = 4; */ public Builder setSoftwareConfig( com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.Builder builderForValue) { @@ -1773,24 +1530,17 @@ public Builder setSoftwareConfig( return this; } /** - * - * *
          * The configuration settings for software inside the environment.
          * 
    * - * .google.cloud.orchestration.airflow.service.v1.SoftwareConfig software_config = 4; - * + * .google.cloud.orchestration.airflow.service.v1.SoftwareConfig software_config = 4; */ - public Builder mergeSoftwareConfig( - com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig value) { + public Builder mergeSoftwareConfig(com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig value) { if (softwareConfigBuilder_ == null) { if (softwareConfig_ != null) { softwareConfig_ = - com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.newBuilder( - softwareConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.newBuilder(softwareConfig_).mergeFrom(value).buildPartial(); } else { softwareConfig_ = value; } @@ -1802,14 +1552,11 @@ public Builder mergeSoftwareConfig( return this; } /** - * - * *
          * The configuration settings for software inside the environment.
          * 
    * - * .google.cloud.orchestration.airflow.service.v1.SoftwareConfig software_config = 4; - * + * .google.cloud.orchestration.airflow.service.v1.SoftwareConfig software_config = 4; */ public Builder clearSoftwareConfig() { if (softwareConfigBuilder_ == null) { @@ -1823,63 +1570,48 @@ public Builder clearSoftwareConfig() { return this; } /** - * - * *
          * The configuration settings for software inside the environment.
          * 
    * - * .google.cloud.orchestration.airflow.service.v1.SoftwareConfig software_config = 4; - * + * .google.cloud.orchestration.airflow.service.v1.SoftwareConfig software_config = 4; */ - public com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.Builder - getSoftwareConfigBuilder() { - + public com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.Builder getSoftwareConfigBuilder() { + onChanged(); return getSoftwareConfigFieldBuilder().getBuilder(); } /** - * - * *
          * The configuration settings for software inside the environment.
          * 
    * - * .google.cloud.orchestration.airflow.service.v1.SoftwareConfig software_config = 4; - * + * .google.cloud.orchestration.airflow.service.v1.SoftwareConfig software_config = 4; */ - public com.google.cloud.orchestration.airflow.service.v1.SoftwareConfigOrBuilder - getSoftwareConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1.SoftwareConfigOrBuilder getSoftwareConfigOrBuilder() { if (softwareConfigBuilder_ != null) { return softwareConfigBuilder_.getMessageOrBuilder(); } else { - return softwareConfig_ == null - ? com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.getDefaultInstance() - : softwareConfig_; + return softwareConfig_ == null ? + com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.getDefaultInstance() : softwareConfig_; } } /** - * - * *
          * The configuration settings for software inside the environment.
          * 
    * - * .google.cloud.orchestration.airflow.service.v1.SoftwareConfig software_config = 4; - * + * .google.cloud.orchestration.airflow.service.v1.SoftwareConfig software_config = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig, - com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.Builder, - com.google.cloud.orchestration.airflow.service.v1.SoftwareConfigOrBuilder> + com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig, com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.Builder, com.google.cloud.orchestration.airflow.service.v1.SoftwareConfigOrBuilder> getSoftwareConfigFieldBuilder() { if (softwareConfigBuilder_ == null) { - softwareConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig, - com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.Builder, - com.google.cloud.orchestration.airflow.service.v1.SoftwareConfigOrBuilder>( - getSoftwareConfig(), getParentForChildren(), isClean()); + softwareConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig, com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.Builder, com.google.cloud.orchestration.airflow.service.v1.SoftwareConfigOrBuilder>( + getSoftwareConfig(), + getParentForChildren(), + isClean()); softwareConfig_ = null; } return softwareConfigBuilder_; @@ -1887,55 +1619,41 @@ public Builder clearSoftwareConfig() { private com.google.cloud.orchestration.airflow.service.v1.NodeConfig nodeConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.NodeConfig, - com.google.cloud.orchestration.airflow.service.v1.NodeConfig.Builder, - com.google.cloud.orchestration.airflow.service.v1.NodeConfigOrBuilder> - nodeConfigBuilder_; + com.google.cloud.orchestration.airflow.service.v1.NodeConfig, com.google.cloud.orchestration.airflow.service.v1.NodeConfig.Builder, com.google.cloud.orchestration.airflow.service.v1.NodeConfigOrBuilder> nodeConfigBuilder_; /** - * - * *
          * The configuration used for the Kubernetes Engine cluster.
          * 
    * * .google.cloud.orchestration.airflow.service.v1.NodeConfig node_config = 5; - * * @return Whether the nodeConfig field is set. */ public boolean hasNodeConfig() { return nodeConfigBuilder_ != null || nodeConfig_ != null; } /** - * - * *
          * The configuration used for the Kubernetes Engine cluster.
          * 
    * * .google.cloud.orchestration.airflow.service.v1.NodeConfig node_config = 5; - * * @return The nodeConfig. */ public com.google.cloud.orchestration.airflow.service.v1.NodeConfig getNodeConfig() { if (nodeConfigBuilder_ == null) { - return nodeConfig_ == null - ? com.google.cloud.orchestration.airflow.service.v1.NodeConfig.getDefaultInstance() - : nodeConfig_; + return nodeConfig_ == null ? com.google.cloud.orchestration.airflow.service.v1.NodeConfig.getDefaultInstance() : nodeConfig_; } else { return nodeConfigBuilder_.getMessage(); } } /** - * - * *
          * The configuration used for the Kubernetes Engine cluster.
          * 
    * * .google.cloud.orchestration.airflow.service.v1.NodeConfig node_config = 5; */ - public Builder setNodeConfig( - com.google.cloud.orchestration.airflow.service.v1.NodeConfig value) { + public Builder setNodeConfig(com.google.cloud.orchestration.airflow.service.v1.NodeConfig value) { if (nodeConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1949,8 +1667,6 @@ public Builder setNodeConfig( return this; } /** - * - * *
          * The configuration used for the Kubernetes Engine cluster.
          * 
    @@ -1969,22 +1685,17 @@ public Builder setNodeConfig( return this; } /** - * - * *
          * The configuration used for the Kubernetes Engine cluster.
          * 
    * * .google.cloud.orchestration.airflow.service.v1.NodeConfig node_config = 5; */ - public Builder mergeNodeConfig( - com.google.cloud.orchestration.airflow.service.v1.NodeConfig value) { + public Builder mergeNodeConfig(com.google.cloud.orchestration.airflow.service.v1.NodeConfig value) { if (nodeConfigBuilder_ == null) { if (nodeConfig_ != null) { nodeConfig_ = - com.google.cloud.orchestration.airflow.service.v1.NodeConfig.newBuilder(nodeConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.orchestration.airflow.service.v1.NodeConfig.newBuilder(nodeConfig_).mergeFrom(value).buildPartial(); } else { nodeConfig_ = value; } @@ -1996,8 +1707,6 @@ public Builder mergeNodeConfig( return this; } /** - * - * *
          * The configuration used for the Kubernetes Engine cluster.
          * 
    @@ -2016,42 +1725,33 @@ public Builder clearNodeConfig() { return this; } /** - * - * *
          * The configuration used for the Kubernetes Engine cluster.
          * 
    * * .google.cloud.orchestration.airflow.service.v1.NodeConfig node_config = 5; */ - public com.google.cloud.orchestration.airflow.service.v1.NodeConfig.Builder - getNodeConfigBuilder() { - + public com.google.cloud.orchestration.airflow.service.v1.NodeConfig.Builder getNodeConfigBuilder() { + onChanged(); return getNodeConfigFieldBuilder().getBuilder(); } /** - * - * *
          * The configuration used for the Kubernetes Engine cluster.
          * 
    * * .google.cloud.orchestration.airflow.service.v1.NodeConfig node_config = 5; */ - public com.google.cloud.orchestration.airflow.service.v1.NodeConfigOrBuilder - getNodeConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1.NodeConfigOrBuilder getNodeConfigOrBuilder() { if (nodeConfigBuilder_ != null) { return nodeConfigBuilder_.getMessageOrBuilder(); } else { - return nodeConfig_ == null - ? com.google.cloud.orchestration.airflow.service.v1.NodeConfig.getDefaultInstance() - : nodeConfig_; + return nodeConfig_ == null ? + com.google.cloud.orchestration.airflow.service.v1.NodeConfig.getDefaultInstance() : nodeConfig_; } } /** - * - * *
          * The configuration used for the Kubernetes Engine cluster.
          * 
    @@ -2059,82 +1759,56 @@ public Builder clearNodeConfig() { * .google.cloud.orchestration.airflow.service.v1.NodeConfig node_config = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.NodeConfig, - com.google.cloud.orchestration.airflow.service.v1.NodeConfig.Builder, - com.google.cloud.orchestration.airflow.service.v1.NodeConfigOrBuilder> + com.google.cloud.orchestration.airflow.service.v1.NodeConfig, com.google.cloud.orchestration.airflow.service.v1.NodeConfig.Builder, com.google.cloud.orchestration.airflow.service.v1.NodeConfigOrBuilder> getNodeConfigFieldBuilder() { if (nodeConfigBuilder_ == null) { - nodeConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.NodeConfig, - com.google.cloud.orchestration.airflow.service.v1.NodeConfig.Builder, - com.google.cloud.orchestration.airflow.service.v1.NodeConfigOrBuilder>( - getNodeConfig(), getParentForChildren(), isClean()); + nodeConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.orchestration.airflow.service.v1.NodeConfig, com.google.cloud.orchestration.airflow.service.v1.NodeConfig.Builder, com.google.cloud.orchestration.airflow.service.v1.NodeConfigOrBuilder>( + getNodeConfig(), + getParentForChildren(), + isClean()); nodeConfig_ = null; } return nodeConfigBuilder_; } - private com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig - privateEnvironmentConfig_; + private com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig privateEnvironmentConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig, - com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig.Builder, - com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfigOrBuilder> - privateEnvironmentConfigBuilder_; + com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig, com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig.Builder, com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfigOrBuilder> privateEnvironmentConfigBuilder_; /** - * - * *
          * The configuration used for the Private IP Cloud Composer environment.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7; - * - * + * .google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7; * @return Whether the privateEnvironmentConfig field is set. */ public boolean hasPrivateEnvironmentConfig() { return privateEnvironmentConfigBuilder_ != null || privateEnvironmentConfig_ != null; } /** - * - * *
          * The configuration used for the Private IP Cloud Composer environment.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7; - * - * + * .google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7; * @return The privateEnvironmentConfig. */ - public com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig - getPrivateEnvironmentConfig() { + public com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig getPrivateEnvironmentConfig() { if (privateEnvironmentConfigBuilder_ == null) { - return privateEnvironmentConfig_ == null - ? com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig - .getDefaultInstance() - : privateEnvironmentConfig_; + return privateEnvironmentConfig_ == null ? com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig.getDefaultInstance() : privateEnvironmentConfig_; } else { return privateEnvironmentConfigBuilder_.getMessage(); } } /** - * - * *
          * The configuration used for the Private IP Cloud Composer environment.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7; - * + * .google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7; */ - public Builder setPrivateEnvironmentConfig( - com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig value) { + public Builder setPrivateEnvironmentConfig(com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig value) { if (privateEnvironmentConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2148,19 +1822,14 @@ public Builder setPrivateEnvironmentConfig( return this; } /** - * - * *
          * The configuration used for the Private IP Cloud Composer environment.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7; - * + * .google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7; */ public Builder setPrivateEnvironmentConfig( - com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig.Builder - builderForValue) { + com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig.Builder builderForValue) { if (privateEnvironmentConfigBuilder_ == null) { privateEnvironmentConfig_ = builderForValue.build(); onChanged(); @@ -2171,25 +1840,17 @@ public Builder setPrivateEnvironmentConfig( return this; } /** - * - * *
          * The configuration used for the Private IP Cloud Composer environment.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7; - * + * .google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7; */ - public Builder mergePrivateEnvironmentConfig( - com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig value) { + public Builder mergePrivateEnvironmentConfig(com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig value) { if (privateEnvironmentConfigBuilder_ == null) { if (privateEnvironmentConfig_ != null) { privateEnvironmentConfig_ = - com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig.newBuilder( - privateEnvironmentConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig.newBuilder(privateEnvironmentConfig_).mergeFrom(value).buildPartial(); } else { privateEnvironmentConfig_ = value; } @@ -2201,15 +1862,11 @@ public Builder mergePrivateEnvironmentConfig( return this; } /** - * - * *
          * The configuration used for the Private IP Cloud Composer environment.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7; - * + * .google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7; */ public Builder clearPrivateEnvironmentConfig() { if (privateEnvironmentConfigBuilder_ == null) { @@ -2223,138 +1880,93 @@ public Builder clearPrivateEnvironmentConfig() { return this; } /** - * - * *
          * The configuration used for the Private IP Cloud Composer environment.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7; - * + * .google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7; */ - public com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig.Builder - getPrivateEnvironmentConfigBuilder() { - + public com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig.Builder getPrivateEnvironmentConfigBuilder() { + onChanged(); return getPrivateEnvironmentConfigFieldBuilder().getBuilder(); } /** - * - * *
          * The configuration used for the Private IP Cloud Composer environment.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7; - * + * .google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7; */ - public com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfigOrBuilder - getPrivateEnvironmentConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfigOrBuilder getPrivateEnvironmentConfigOrBuilder() { if (privateEnvironmentConfigBuilder_ != null) { return privateEnvironmentConfigBuilder_.getMessageOrBuilder(); } else { - return privateEnvironmentConfig_ == null - ? com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig - .getDefaultInstance() - : privateEnvironmentConfig_; + return privateEnvironmentConfig_ == null ? + com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig.getDefaultInstance() : privateEnvironmentConfig_; } } /** - * - * *
          * The configuration used for the Private IP Cloud Composer environment.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7; - * + * .google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig, - com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig.Builder, - com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfigOrBuilder> + com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig, com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig.Builder, com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfigOrBuilder> getPrivateEnvironmentConfigFieldBuilder() { if (privateEnvironmentConfigBuilder_ == null) { - privateEnvironmentConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig, - com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig.Builder, - com.google.cloud.orchestration.airflow.service.v1 - .PrivateEnvironmentConfigOrBuilder>( - getPrivateEnvironmentConfig(), getParentForChildren(), isClean()); + privateEnvironmentConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig, com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig.Builder, com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfigOrBuilder>( + getPrivateEnvironmentConfig(), + getParentForChildren(), + isClean()); privateEnvironmentConfig_ = null; } return privateEnvironmentConfigBuilder_; } - private com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - webServerNetworkAccessControl_; + private com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl webServerNetworkAccessControl_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl, - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.Builder, - com.google.cloud.orchestration.airflow.service.v1 - .WebServerNetworkAccessControlOrBuilder> - webServerNetworkAccessControlBuilder_; + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl, com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.Builder, com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControlOrBuilder> webServerNetworkAccessControlBuilder_; /** - * - * *
          * Optional. The network-level access control policy for the Airflow web server. If
          * unspecified, no network-level access restrictions will be applied.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the webServerNetworkAccessControl field is set. */ public boolean hasWebServerNetworkAccessControl() { - return webServerNetworkAccessControlBuilder_ != null - || webServerNetworkAccessControl_ != null; + return webServerNetworkAccessControlBuilder_ != null || webServerNetworkAccessControl_ != null; } /** - * - * *
          * Optional. The network-level access control policy for the Airflow web server. If
          * unspecified, no network-level access restrictions will be applied.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return The webServerNetworkAccessControl. */ - public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - getWebServerNetworkAccessControl() { + public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl getWebServerNetworkAccessControl() { if (webServerNetworkAccessControlBuilder_ == null) { - return webServerNetworkAccessControl_ == null - ? com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .getDefaultInstance() - : webServerNetworkAccessControl_; + return webServerNetworkAccessControl_ == null ? com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.getDefaultInstance() : webServerNetworkAccessControl_; } else { return webServerNetworkAccessControlBuilder_.getMessage(); } } /** - * - * *
          * Optional. The network-level access control policy for the Airflow web server. If
          * unspecified, no network-level access restrictions will be applied.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setWebServerNetworkAccessControl( - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl value) { + public Builder setWebServerNetworkAccessControl(com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl value) { if (webServerNetworkAccessControlBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2368,20 +1980,15 @@ public Builder setWebServerNetworkAccessControl( return this; } /** - * - * *
          * Optional. The network-level access control policy for the Airflow web server. If
          * unspecified, no network-level access restrictions will be applied.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setWebServerNetworkAccessControl( - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.Builder - builderForValue) { + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.Builder builderForValue) { if (webServerNetworkAccessControlBuilder_ == null) { webServerNetworkAccessControl_ = builderForValue.build(); onChanged(); @@ -2392,26 +1999,18 @@ public Builder setWebServerNetworkAccessControl( return this; } /** - * - * *
          * Optional. The network-level access control policy for the Airflow web server. If
          * unspecified, no network-level access restrictions will be applied.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergeWebServerNetworkAccessControl( - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl value) { + public Builder mergeWebServerNetworkAccessControl(com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl value) { if (webServerNetworkAccessControlBuilder_ == null) { if (webServerNetworkAccessControl_ != null) { webServerNetworkAccessControl_ = - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .newBuilder(webServerNetworkAccessControl_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.newBuilder(webServerNetworkAccessControl_).mergeFrom(value).buildPartial(); } else { webServerNetworkAccessControl_ = value; } @@ -2423,16 +2022,12 @@ public Builder mergeWebServerNetworkAccessControl( return this; } /** - * - * *
          * Optional. The network-level access control policy for the Airflow web server. If
          * unspecified, no network-level access restrictions will be applied.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearWebServerNetworkAccessControl() { if (webServerNetworkAccessControlBuilder_ == null) { @@ -2446,73 +2041,51 @@ public Builder clearWebServerNetworkAccessControl() { return this; } /** - * - * *
          * Optional. The network-level access control policy for the Airflow web server. If
          * unspecified, no network-level access restrictions will be applied.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.Builder - getWebServerNetworkAccessControlBuilder() { - + public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.Builder getWebServerNetworkAccessControlBuilder() { + onChanged(); return getWebServerNetworkAccessControlFieldBuilder().getBuilder(); } /** - * - * *
          * Optional. The network-level access control policy for the Airflow web server. If
          * unspecified, no network-level access restrictions will be applied.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControlOrBuilder - getWebServerNetworkAccessControlOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControlOrBuilder getWebServerNetworkAccessControlOrBuilder() { if (webServerNetworkAccessControlBuilder_ != null) { return webServerNetworkAccessControlBuilder_.getMessageOrBuilder(); } else { - return webServerNetworkAccessControl_ == null - ? com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .getDefaultInstance() - : webServerNetworkAccessControl_; + return webServerNetworkAccessControl_ == null ? + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.getDefaultInstance() : webServerNetworkAccessControl_; } } /** - * - * *
          * Optional. The network-level access control policy for the Airflow web server. If
          * unspecified, no network-level access restrictions will be applied.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl, - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.Builder, - com.google.cloud.orchestration.airflow.service.v1 - .WebServerNetworkAccessControlOrBuilder> + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl, com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.Builder, com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControlOrBuilder> getWebServerNetworkAccessControlFieldBuilder() { if (webServerNetworkAccessControlBuilder_ == null) { - webServerNetworkAccessControlBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl, - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .Builder, - com.google.cloud.orchestration.airflow.service.v1 - .WebServerNetworkAccessControlOrBuilder>( - getWebServerNetworkAccessControl(), getParentForChildren(), isClean()); + webServerNetworkAccessControlBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl, com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.Builder, com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControlOrBuilder>( + getWebServerNetworkAccessControl(), + getParentForChildren(), + isClean()); webServerNetworkAccessControl_ = null; } return webServerNetworkAccessControlBuilder_; @@ -2520,64 +2093,44 @@ public Builder clearWebServerNetworkAccessControl() { private com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig databaseConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig, - com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig.Builder, - com.google.cloud.orchestration.airflow.service.v1.DatabaseConfigOrBuilder> - databaseConfigBuilder_; + com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig, com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig.Builder, com.google.cloud.orchestration.airflow.service.v1.DatabaseConfigOrBuilder> databaseConfigBuilder_; /** - * - * *
          * Optional. The configuration settings for Cloud SQL instance used internally by Apache
          * Airflow software.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the databaseConfig field is set. */ public boolean hasDatabaseConfig() { return databaseConfigBuilder_ != null || databaseConfig_ != null; } /** - * - * *
          * Optional. The configuration settings for Cloud SQL instance used internally by Apache
          * Airflow software.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return The databaseConfig. */ public com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig getDatabaseConfig() { if (databaseConfigBuilder_ == null) { - return databaseConfig_ == null - ? com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig.getDefaultInstance() - : databaseConfig_; + return databaseConfig_ == null ? com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig.getDefaultInstance() : databaseConfig_; } else { return databaseConfigBuilder_.getMessage(); } } /** - * - * *
          * Optional. The configuration settings for Cloud SQL instance used internally by Apache
          * Airflow software.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setDatabaseConfig( - com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig value) { + public Builder setDatabaseConfig(com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig value) { if (databaseConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2591,16 +2144,12 @@ public Builder setDatabaseConfig( return this; } /** - * - * *
          * Optional. The configuration settings for Cloud SQL instance used internally by Apache
          * Airflow software.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setDatabaseConfig( com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig.Builder builderForValue) { @@ -2614,26 +2163,18 @@ public Builder setDatabaseConfig( return this; } /** - * - * *
          * Optional. The configuration settings for Cloud SQL instance used internally by Apache
          * Airflow software.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergeDatabaseConfig( - com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig value) { + public Builder mergeDatabaseConfig(com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig value) { if (databaseConfigBuilder_ == null) { if (databaseConfig_ != null) { databaseConfig_ = - com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig.newBuilder( - databaseConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig.newBuilder(databaseConfig_).mergeFrom(value).buildPartial(); } else { databaseConfig_ = value; } @@ -2645,16 +2186,12 @@ public Builder mergeDatabaseConfig( return this; } /** - * - * *
          * Optional. The configuration settings for Cloud SQL instance used internally by Apache
          * Airflow software.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearDatabaseConfig() { if (databaseConfigBuilder_ == null) { @@ -2668,69 +2205,51 @@ public Builder clearDatabaseConfig() { return this; } /** - * - * *
          * Optional. The configuration settings for Cloud SQL instance used internally by Apache
          * Airflow software.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig.Builder - getDatabaseConfigBuilder() { - + public com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig.Builder getDatabaseConfigBuilder() { + onChanged(); return getDatabaseConfigFieldBuilder().getBuilder(); } /** - * - * *
          * Optional. The configuration settings for Cloud SQL instance used internally by Apache
          * Airflow software.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.orchestration.airflow.service.v1.DatabaseConfigOrBuilder - getDatabaseConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1.DatabaseConfigOrBuilder getDatabaseConfigOrBuilder() { if (databaseConfigBuilder_ != null) { return databaseConfigBuilder_.getMessageOrBuilder(); } else { - return databaseConfig_ == null - ? com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig.getDefaultInstance() - : databaseConfig_; + return databaseConfig_ == null ? + com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig.getDefaultInstance() : databaseConfig_; } } /** - * - * *
          * Optional. The configuration settings for Cloud SQL instance used internally by Apache
          * Airflow software.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig, - com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig.Builder, - com.google.cloud.orchestration.airflow.service.v1.DatabaseConfigOrBuilder> + com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig, com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig.Builder, com.google.cloud.orchestration.airflow.service.v1.DatabaseConfigOrBuilder> getDatabaseConfigFieldBuilder() { if (databaseConfigBuilder_ == null) { - databaseConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig, - com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig.Builder, - com.google.cloud.orchestration.airflow.service.v1.DatabaseConfigOrBuilder>( - getDatabaseConfig(), getParentForChildren(), isClean()); + databaseConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig, com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig.Builder, com.google.cloud.orchestration.airflow.service.v1.DatabaseConfigOrBuilder>( + getDatabaseConfig(), + getParentForChildren(), + isClean()); databaseConfig_ = null; } return databaseConfigBuilder_; @@ -2738,61 +2257,41 @@ public Builder clearDatabaseConfig() { private com.google.cloud.orchestration.airflow.service.v1.WebServerConfig webServerConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.WebServerConfig, - com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.Builder, - com.google.cloud.orchestration.airflow.service.v1.WebServerConfigOrBuilder> - webServerConfigBuilder_; + com.google.cloud.orchestration.airflow.service.v1.WebServerConfig, com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.Builder, com.google.cloud.orchestration.airflow.service.v1.WebServerConfigOrBuilder> webServerConfigBuilder_; /** - * - * *
          * Optional. The configuration settings for the Airflow web server App Engine instance.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the webServerConfig field is set. */ public boolean hasWebServerConfig() { return webServerConfigBuilder_ != null || webServerConfig_ != null; } /** - * - * *
          * Optional. The configuration settings for the Airflow web server App Engine instance.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL]; * @return The webServerConfig. */ public com.google.cloud.orchestration.airflow.service.v1.WebServerConfig getWebServerConfig() { if (webServerConfigBuilder_ == null) { - return webServerConfig_ == null - ? com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.getDefaultInstance() - : webServerConfig_; + return webServerConfig_ == null ? com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.getDefaultInstance() : webServerConfig_; } else { return webServerConfigBuilder_.getMessage(); } } /** - * - * *
          * Optional. The configuration settings for the Airflow web server App Engine instance.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setWebServerConfig( - com.google.cloud.orchestration.airflow.service.v1.WebServerConfig value) { + public Builder setWebServerConfig(com.google.cloud.orchestration.airflow.service.v1.WebServerConfig value) { if (webServerConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2806,15 +2305,11 @@ public Builder setWebServerConfig( return this; } /** - * - * *
          * Optional. The configuration settings for the Airflow web server App Engine instance.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setWebServerConfig( com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.Builder builderForValue) { @@ -2828,25 +2323,17 @@ public Builder setWebServerConfig( return this; } /** - * - * *
          * Optional. The configuration settings for the Airflow web server App Engine instance.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergeWebServerConfig( - com.google.cloud.orchestration.airflow.service.v1.WebServerConfig value) { + public Builder mergeWebServerConfig(com.google.cloud.orchestration.airflow.service.v1.WebServerConfig value) { if (webServerConfigBuilder_ == null) { if (webServerConfig_ != null) { webServerConfig_ = - com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.newBuilder( - webServerConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.newBuilder(webServerConfig_).mergeFrom(value).buildPartial(); } else { webServerConfig_ = value; } @@ -2858,15 +2345,11 @@ public Builder mergeWebServerConfig( return this; } /** - * - * *
          * Optional. The configuration settings for the Airflow web server App Engine instance.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearWebServerConfig() { if (webServerConfigBuilder_ == null) { @@ -2880,66 +2363,48 @@ public Builder clearWebServerConfig() { return this; } /** - * - * *
          * Optional. The configuration settings for the Airflow web server App Engine instance.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.Builder - getWebServerConfigBuilder() { - + public com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.Builder getWebServerConfigBuilder() { + onChanged(); return getWebServerConfigFieldBuilder().getBuilder(); } /** - * - * *
          * Optional. The configuration settings for the Airflow web server App Engine instance.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.orchestration.airflow.service.v1.WebServerConfigOrBuilder - getWebServerConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1.WebServerConfigOrBuilder getWebServerConfigOrBuilder() { if (webServerConfigBuilder_ != null) { return webServerConfigBuilder_.getMessageOrBuilder(); } else { - return webServerConfig_ == null - ? com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.getDefaultInstance() - : webServerConfig_; + return webServerConfig_ == null ? + com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.getDefaultInstance() : webServerConfig_; } } /** - * - * *
          * Optional. The configuration settings for the Airflow web server App Engine instance.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.WebServerConfig, - com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.Builder, - com.google.cloud.orchestration.airflow.service.v1.WebServerConfigOrBuilder> + com.google.cloud.orchestration.airflow.service.v1.WebServerConfig, com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.Builder, com.google.cloud.orchestration.airflow.service.v1.WebServerConfigOrBuilder> getWebServerConfigFieldBuilder() { if (webServerConfigBuilder_ == null) { - webServerConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.WebServerConfig, - com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.Builder, - com.google.cloud.orchestration.airflow.service.v1.WebServerConfigOrBuilder>( - getWebServerConfig(), getParentForChildren(), isClean()); + webServerConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.orchestration.airflow.service.v1.WebServerConfig, com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.Builder, com.google.cloud.orchestration.airflow.service.v1.WebServerConfigOrBuilder>( + getWebServerConfig(), + getParentForChildren(), + isClean()); webServerConfig_ = null; } return webServerConfigBuilder_; @@ -2947,66 +2412,44 @@ public Builder clearWebServerConfig() { private com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryptionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig, - com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig.Builder, - com.google.cloud.orchestration.airflow.service.v1.EncryptionConfigOrBuilder> - encryptionConfigBuilder_; + com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig, com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig.Builder, com.google.cloud.orchestration.airflow.service.v1.EncryptionConfigOrBuilder> encryptionConfigBuilder_; /** - * - * *
          * Optional. The encryption options for the Cloud Composer environment
          * and its dependencies. Cannot be updated.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the encryptionConfig field is set. */ public boolean hasEncryptionConfig() { return encryptionConfigBuilder_ != null || encryptionConfig_ != null; } /** - * - * *
          * Optional. The encryption options for the Cloud Composer environment
          * and its dependencies. Cannot be updated.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL]; * @return The encryptionConfig. */ - public com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig - getEncryptionConfig() { + public com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig getEncryptionConfig() { if (encryptionConfigBuilder_ == null) { - return encryptionConfig_ == null - ? com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig - .getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } else { return encryptionConfigBuilder_.getMessage(); } } /** - * - * *
          * Optional. The encryption options for the Cloud Composer environment
          * and its dependencies. Cannot be updated.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setEncryptionConfig( - com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig value) { + public Builder setEncryptionConfig(com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig value) { if (encryptionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3020,20 +2463,15 @@ public Builder setEncryptionConfig( return this; } /** - * - * *
          * Optional. The encryption options for the Cloud Composer environment
          * and its dependencies. Cannot be updated.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setEncryptionConfig( - com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig.Builder - builderForValue) { + com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig.Builder builderForValue) { if (encryptionConfigBuilder_ == null) { encryptionConfig_ = builderForValue.build(); onChanged(); @@ -3044,26 +2482,18 @@ public Builder setEncryptionConfig( return this; } /** - * - * *
          * Optional. The encryption options for the Cloud Composer environment
          * and its dependencies. Cannot be updated.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergeEncryptionConfig( - com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig value) { + public Builder mergeEncryptionConfig(com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig value) { if (encryptionConfigBuilder_ == null) { if (encryptionConfig_ != null) { encryptionConfig_ = - com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig.newBuilder( - encryptionConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig.newBuilder(encryptionConfig_).mergeFrom(value).buildPartial(); } else { encryptionConfig_ = value; } @@ -3075,16 +2505,12 @@ public Builder mergeEncryptionConfig( return this; } /** - * - * *
          * Optional. The encryption options for the Cloud Composer environment
          * and its dependencies. Cannot be updated.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearEncryptionConfig() { if (encryptionConfigBuilder_ == null) { @@ -3098,70 +2524,51 @@ public Builder clearEncryptionConfig() { return this; } /** - * - * *
          * Optional. The encryption options for the Cloud Composer environment
          * and its dependencies. Cannot be updated.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig.Builder - getEncryptionConfigBuilder() { - + public com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig.Builder getEncryptionConfigBuilder() { + onChanged(); return getEncryptionConfigFieldBuilder().getBuilder(); } /** - * - * *
          * Optional. The encryption options for the Cloud Composer environment
          * and its dependencies. Cannot be updated.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.orchestration.airflow.service.v1.EncryptionConfigOrBuilder - getEncryptionConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { if (encryptionConfigBuilder_ != null) { return encryptionConfigBuilder_.getMessageOrBuilder(); } else { - return encryptionConfig_ == null - ? com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig - .getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? + com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } } /** - * - * *
          * Optional. The encryption options for the Cloud Composer environment
          * and its dependencies. Cannot be updated.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig, - com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig.Builder, - com.google.cloud.orchestration.airflow.service.v1.EncryptionConfigOrBuilder> + com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig, com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig.Builder, com.google.cloud.orchestration.airflow.service.v1.EncryptionConfigOrBuilder> getEncryptionConfigFieldBuilder() { if (encryptionConfigBuilder_ == null) { - encryptionConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig, - com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig.Builder, - com.google.cloud.orchestration.airflow.service.v1.EncryptionConfigOrBuilder>( - getEncryptionConfig(), getParentForChildren(), isClean()); + encryptionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig, com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig.Builder, com.google.cloud.orchestration.airflow.service.v1.EncryptionConfigOrBuilder>( + getEncryptionConfig(), + getParentForChildren(), + isClean()); encryptionConfig_ = null; } return encryptionConfigBuilder_; @@ -3169,8 +2576,6 @@ public Builder clearEncryptionConfig() { private java.lang.Object airflowUri_ = ""; /** - * - * *
          * Output only. The URI of the Apache Airflow Web UI hosted within this environment (see
          * [Airflow web
    @@ -3178,13 +2583,13 @@ public Builder clearEncryptionConfig() {
          * 
    * * string airflow_uri = 6; - * * @return The airflowUri. */ public java.lang.String getAirflowUri() { java.lang.Object ref = airflowUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); airflowUri_ = s; return s; @@ -3193,8 +2598,6 @@ public java.lang.String getAirflowUri() { } } /** - * - * *
          * Output only. The URI of the Apache Airflow Web UI hosted within this environment (see
          * [Airflow web
    @@ -3202,14 +2605,15 @@ public java.lang.String getAirflowUri() {
          * 
    * * string airflow_uri = 6; - * * @return The bytes for airflowUri. */ - public com.google.protobuf.ByteString getAirflowUriBytes() { + public com.google.protobuf.ByteString + getAirflowUriBytes() { java.lang.Object ref = airflowUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); airflowUri_ = b; return b; } else { @@ -3217,8 +2621,6 @@ public com.google.protobuf.ByteString getAirflowUriBytes() { } } /** - * - * *
          * Output only. The URI of the Apache Airflow Web UI hosted within this environment (see
          * [Airflow web
    @@ -3226,22 +2628,20 @@ public com.google.protobuf.ByteString getAirflowUriBytes() {
          * 
    * * string airflow_uri = 6; - * * @param value The airflowUri to set. * @return This builder for chaining. */ - public Builder setAirflowUri(java.lang.String value) { + public Builder setAirflowUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + airflowUri_ = value; onChanged(); return this; } /** - * - * *
          * Output only. The URI of the Apache Airflow Web UI hosted within this environment (see
          * [Airflow web
    @@ -3249,18 +2649,15 @@ public Builder setAirflowUri(java.lang.String value) {
          * 
    * * string airflow_uri = 6; - * * @return This builder for chaining. */ public Builder clearAirflowUri() { - + airflowUri_ = getDefaultInstance().getAirflowUri(); onChanged(); return this; } /** - * - * *
          * Output only. The URI of the Apache Airflow Web UI hosted within this environment (see
          * [Airflow web
    @@ -3268,23 +2665,23 @@ public Builder clearAirflowUri() {
          * 
    * * string airflow_uri = 6; - * * @param value The bytes for airflowUri to set. * @return This builder for chaining. */ - public Builder setAirflowUriBytes(com.google.protobuf.ByteString value) { + public Builder setAirflowUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + airflowUri_ = 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); } @@ -3294,32 +2691,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1.EnvironmentConfig) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1.EnvironmentConfig) - private static final com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig(); } - public static com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig - getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EnvironmentConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new EnvironmentConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EnvironmentConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new EnvironmentConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3331,8 +2726,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig - getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentConfigOrBuilder.java similarity index 66% rename from proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentConfigOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentConfigOrBuilder.java index 8bb4646b..a7bd3e46 100644 --- a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentConfigOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentConfigOrBuilder.java @@ -1,56 +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/orchestration/airflow/service/v1/environments.proto package com.google.cloud.orchestration.airflow.service.v1; -public interface EnvironmentConfigOrBuilder - extends +public interface EnvironmentConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1.EnvironmentConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * Output only. The Kubernetes Engine cluster used to run this environment.
        * 
    * * string gke_cluster = 1; - * * @return The gkeCluster. */ java.lang.String getGkeCluster(); /** - * - * *
        * Output only. The Kubernetes Engine cluster used to run this environment.
        * 
    * * string gke_cluster = 1; - * * @return The bytes for gkeCluster. */ - com.google.protobuf.ByteString getGkeClusterBytes(); + com.google.protobuf.ByteString + getGkeClusterBytes(); /** - * - * *
        * Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud
        * Storage objects reside in a flat namespace, a hierarchical file tree
    @@ -59,13 +36,10 @@ public interface EnvironmentConfigOrBuilder
        * 
    * * string dag_gcs_prefix = 2; - * * @return The dagGcsPrefix. */ java.lang.String getDagGcsPrefix(); /** - * - * *
        * Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud
        * Storage objects reside in a flat namespace, a hierarchical file tree
    @@ -74,88 +48,68 @@ public interface EnvironmentConfigOrBuilder
        * 
    * * string dag_gcs_prefix = 2; - * * @return The bytes for dagGcsPrefix. */ - com.google.protobuf.ByteString getDagGcsPrefixBytes(); + com.google.protobuf.ByteString + getDagGcsPrefixBytes(); /** - * - * *
        * The number of nodes in the Kubernetes Engine cluster that will be
        * used to run this environment.
        * 
    * * int32 node_count = 3; - * * @return The nodeCount. */ int getNodeCount(); /** - * - * *
        * The configuration settings for software inside the environment.
        * 
    * * .google.cloud.orchestration.airflow.service.v1.SoftwareConfig software_config = 4; - * * @return Whether the softwareConfig field is set. */ boolean hasSoftwareConfig(); /** - * - * *
        * The configuration settings for software inside the environment.
        * 
    * * .google.cloud.orchestration.airflow.service.v1.SoftwareConfig software_config = 4; - * * @return The softwareConfig. */ com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig getSoftwareConfig(); /** - * - * *
        * The configuration settings for software inside the environment.
        * 
    * * .google.cloud.orchestration.airflow.service.v1.SoftwareConfig software_config = 4; */ - com.google.cloud.orchestration.airflow.service.v1.SoftwareConfigOrBuilder - getSoftwareConfigOrBuilder(); + com.google.cloud.orchestration.airflow.service.v1.SoftwareConfigOrBuilder getSoftwareConfigOrBuilder(); /** - * - * *
        * The configuration used for the Kubernetes Engine cluster.
        * 
    * * .google.cloud.orchestration.airflow.service.v1.NodeConfig node_config = 5; - * * @return Whether the nodeConfig field is set. */ boolean hasNodeConfig(); /** - * - * *
        * The configuration used for the Kubernetes Engine cluster.
        * 
    * * .google.cloud.orchestration.airflow.service.v1.NodeConfig node_config = 5; - * * @return The nodeConfig. */ com.google.cloud.orchestration.airflow.service.v1.NodeConfig getNodeConfig(); /** - * - * *
        * The configuration used for the Kubernetes Engine cluster.
        * 
    @@ -165,229 +119,150 @@ public interface EnvironmentConfigOrBuilder com.google.cloud.orchestration.airflow.service.v1.NodeConfigOrBuilder getNodeConfigOrBuilder(); /** - * - * *
        * The configuration used for the Private IP Cloud Composer environment.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7; - * - * + * .google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7; * @return Whether the privateEnvironmentConfig field is set. */ boolean hasPrivateEnvironmentConfig(); /** - * - * *
        * The configuration used for the Private IP Cloud Composer environment.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7; - * - * + * .google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7; * @return The privateEnvironmentConfig. */ - com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig - getPrivateEnvironmentConfig(); + com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig getPrivateEnvironmentConfig(); /** - * - * *
        * The configuration used for the Private IP Cloud Composer environment.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7; - * + * .google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7; */ - com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfigOrBuilder - getPrivateEnvironmentConfigOrBuilder(); + com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfigOrBuilder getPrivateEnvironmentConfigOrBuilder(); /** - * - * *
        * Optional. The network-level access control policy for the Airflow web server. If
        * unspecified, no network-level access restrictions will be applied.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the webServerNetworkAccessControl field is set. */ boolean hasWebServerNetworkAccessControl(); /** - * - * *
        * Optional. The network-level access control policy for the Airflow web server. If
        * unspecified, no network-level access restrictions will be applied.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return The webServerNetworkAccessControl. */ - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - getWebServerNetworkAccessControl(); + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl getWebServerNetworkAccessControl(); /** - * - * *
        * Optional. The network-level access control policy for the Airflow web server. If
        * unspecified, no network-level access restrictions will be applied.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControlOrBuilder - getWebServerNetworkAccessControlOrBuilder(); + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControlOrBuilder getWebServerNetworkAccessControlOrBuilder(); /** - * - * *
        * Optional. The configuration settings for Cloud SQL instance used internally by Apache
        * Airflow software.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the databaseConfig field is set. */ boolean hasDatabaseConfig(); /** - * - * *
        * Optional. The configuration settings for Cloud SQL instance used internally by Apache
        * Airflow software.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return The databaseConfig. */ com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig getDatabaseConfig(); /** - * - * *
        * Optional. The configuration settings for Cloud SQL instance used internally by Apache
        * Airflow software.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.cloud.orchestration.airflow.service.v1.DatabaseConfigOrBuilder - getDatabaseConfigOrBuilder(); + com.google.cloud.orchestration.airflow.service.v1.DatabaseConfigOrBuilder getDatabaseConfigOrBuilder(); /** - * - * *
        * Optional. The configuration settings for the Airflow web server App Engine instance.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the webServerConfig field is set. */ boolean hasWebServerConfig(); /** - * - * *
        * Optional. The configuration settings for the Airflow web server App Engine instance.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL]; * @return The webServerConfig. */ com.google.cloud.orchestration.airflow.service.v1.WebServerConfig getWebServerConfig(); /** - * - * *
        * Optional. The configuration settings for the Airflow web server App Engine instance.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.cloud.orchestration.airflow.service.v1.WebServerConfigOrBuilder - getWebServerConfigOrBuilder(); + com.google.cloud.orchestration.airflow.service.v1.WebServerConfigOrBuilder getWebServerConfigOrBuilder(); /** - * - * *
        * Optional. The encryption options for the Cloud Composer environment
        * and its dependencies. Cannot be updated.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the encryptionConfig field is set. */ boolean hasEncryptionConfig(); /** - * - * *
        * Optional. The encryption options for the Cloud Composer environment
        * and its dependencies. Cannot be updated.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL]; * @return The encryptionConfig. */ com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig getEncryptionConfig(); /** - * - * *
        * Optional. The encryption options for the Cloud Composer environment
        * and its dependencies. Cannot be updated.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.cloud.orchestration.airflow.service.v1.EncryptionConfigOrBuilder - getEncryptionConfigOrBuilder(); + com.google.cloud.orchestration.airflow.service.v1.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder(); /** - * - * *
        * Output only. The URI of the Apache Airflow Web UI hosted within this environment (see
        * [Airflow web
    @@ -395,13 +270,10 @@ public interface EnvironmentConfigOrBuilder
        * 
    * * string airflow_uri = 6; - * * @return The airflowUri. */ java.lang.String getAirflowUri(); /** - * - * *
        * Output only. The URI of the Apache Airflow Web UI hosted within this environment (see
        * [Airflow web
    @@ -409,8 +281,8 @@ public interface EnvironmentConfigOrBuilder
        * 
    * * string airflow_uri = 6; - * * @return The bytes for airflowUri. */ - com.google.protobuf.ByteString getAirflowUriBytes(); + com.google.protobuf.ByteString + getAirflowUriBytes(); } diff --git a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentOrBuilder.java similarity index 84% rename from proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentOrBuilder.java index cc61d4c7..316ab8c0 100644 --- a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentOrBuilder.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/orchestration/airflow/service/v1/environments.proto package com.google.cloud.orchestration.airflow.service.v1; -public interface EnvironmentOrBuilder - extends +public interface EnvironmentOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1.Environment) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * The resource name of the environment, in the form:
        * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
    @@ -34,13 +16,10 @@ public interface EnvironmentOrBuilder
        * 
    * * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
        * The resource name of the environment, in the form:
        * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
    @@ -49,38 +28,30 @@ public interface EnvironmentOrBuilder
        * 
    * * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
        * Configuration parameters for this environment.
        * 
    * * .google.cloud.orchestration.airflow.service.v1.EnvironmentConfig config = 2; - * * @return Whether the config field is set. */ boolean hasConfig(); /** - * - * *
        * Configuration parameters for this environment.
        * 
    * * .google.cloud.orchestration.airflow.service.v1.EnvironmentConfig config = 2; - * * @return The config. */ com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig getConfig(); /** - * - * *
        * Configuration parameters for this environment.
        * 
    @@ -90,84 +61,65 @@ public interface EnvironmentOrBuilder com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfigOrBuilder getConfigOrBuilder(); /** - * - * *
        * Output only. The UUID (Universally Unique IDentifier) associated with this environment.
        * This value is generated when the environment is created.
        * 
    * * string uuid = 3; - * * @return The uuid. */ java.lang.String getUuid(); /** - * - * *
        * Output only. The UUID (Universally Unique IDentifier) associated with this environment.
        * This value is generated when the environment is created.
        * 
    * * string uuid = 3; - * * @return The bytes for uuid. */ - com.google.protobuf.ByteString getUuidBytes(); + com.google.protobuf.ByteString + getUuidBytes(); /** - * - * *
        * The current state of the environment.
        * 
    * * .google.cloud.orchestration.airflow.service.v1.Environment.State state = 4; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
        * The current state of the environment.
        * 
    * * .google.cloud.orchestration.airflow.service.v1.Environment.State state = 4; - * * @return The state. */ com.google.cloud.orchestration.airflow.service.v1.Environment.State getState(); /** - * - * *
        * Output only. The time at which this environment was created.
        * 
    * * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
        * Output only. The time at which this environment was created.
        * 
    * * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
        * Output only. The time at which this environment was created.
        * 
    @@ -177,32 +129,24 @@ public interface EnvironmentOrBuilder com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
        * Output only. The time at which this environment was last modified.
        * 
    * * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
        * Output only. The time at which this environment was last modified.
        * 
    * * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
        * Output only. The time at which this environment was last modified.
        * 
    @@ -212,8 +156,6 @@ public interface EnvironmentOrBuilder com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
        * Optional. User-defined labels for this environment.
        * The labels map can contain no more than 64 entries. Entries of the labels
    @@ -228,8 +170,6 @@ public interface EnvironmentOrBuilder
        */
       int getLabelsCount();
       /**
    -   *
    -   *
        * 
        * Optional. User-defined labels for this environment.
        * The labels map can contain no more than 64 entries. Entries of the labels
    @@ -242,13 +182,15 @@ public interface EnvironmentOrBuilder
        *
        * map<string, string> labels = 7;
        */
    -  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();
       /**
    -   *
    -   *
        * 
        * Optional. User-defined labels for this environment.
        * The labels map can contain no more than 64 entries. Entries of the labels
    @@ -261,10 +203,9 @@ public interface EnvironmentOrBuilder
        *
        * map<string, string> labels = 7;
        */
    -  java.util.Map getLabelsMap();
    +  java.util.Map
    +  getLabelsMap();
       /**
    -   *
    -   *
        * 
        * Optional. User-defined labels for this environment.
        * The labels map can contain no more than 64 entries. Entries of the labels
    @@ -279,13 +220,11 @@ public interface EnvironmentOrBuilder
        */
     
       /* nullable */
    -  java.lang.String getLabelsOrDefault(
    +java.lang.String getLabelsOrDefault(
           java.lang.String key,
           /* nullable */
    -      java.lang.String defaultValue);
    +java.lang.String defaultValue);
       /**
    -   *
    -   *
        * 
        * Optional. User-defined labels for this environment.
        * The labels map can contain no more than 64 entries. Entries of the labels
    @@ -298,5 +237,7 @@ java.lang.String getLabelsOrDefault(
        *
        * map<string, string> labels = 7;
        */
    -  java.lang.String getLabelsOrThrow(java.lang.String key);
    +
    +  java.lang.String getLabelsOrThrow(
    +      java.lang.String key);
     }
    diff --git a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsOuterClass.java b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsOuterClass.java
    new file mode 100644
    index 00000000..cc109723
    --- /dev/null
    +++ b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsOuterClass.java
    @@ -0,0 +1,483 @@
    +// Generated by the protocol buffer compiler.  DO NOT EDIT!
    +// source: google/cloud/orchestration/airflow/service/v1/environments.proto
    +
    +package com.google.cloud.orchestration.airflow.service.v1;
    +
    +public final class EnvironmentsOuterClass {
    +  private EnvironmentsOuterClass() {}
    +  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_orchestration_airflow_service_v1_CreateEnvironmentRequest_descriptor;
    +  static final 
    +    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
    +      internal_static_google_cloud_orchestration_airflow_service_v1_CreateEnvironmentRequest_fieldAccessorTable;
    +  static final com.google.protobuf.Descriptors.Descriptor
    +    internal_static_google_cloud_orchestration_airflow_service_v1_GetEnvironmentRequest_descriptor;
    +  static final 
    +    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
    +      internal_static_google_cloud_orchestration_airflow_service_v1_GetEnvironmentRequest_fieldAccessorTable;
    +  static final com.google.protobuf.Descriptors.Descriptor
    +    internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsRequest_descriptor;
    +  static final 
    +    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
    +      internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsRequest_fieldAccessorTable;
    +  static final com.google.protobuf.Descriptors.Descriptor
    +    internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsResponse_descriptor;
    +  static final 
    +    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
    +      internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsResponse_fieldAccessorTable;
    +  static final com.google.protobuf.Descriptors.Descriptor
    +    internal_static_google_cloud_orchestration_airflow_service_v1_DeleteEnvironmentRequest_descriptor;
    +  static final 
    +    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
    +      internal_static_google_cloud_orchestration_airflow_service_v1_DeleteEnvironmentRequest_fieldAccessorTable;
    +  static final com.google.protobuf.Descriptors.Descriptor
    +    internal_static_google_cloud_orchestration_airflow_service_v1_UpdateEnvironmentRequest_descriptor;
    +  static final 
    +    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
    +      internal_static_google_cloud_orchestration_airflow_service_v1_UpdateEnvironmentRequest_fieldAccessorTable;
    +  static final com.google.protobuf.Descriptors.Descriptor
    +    internal_static_google_cloud_orchestration_airflow_service_v1_EnvironmentConfig_descriptor;
    +  static final 
    +    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
    +      internal_static_google_cloud_orchestration_airflow_service_v1_EnvironmentConfig_fieldAccessorTable;
    +  static final com.google.protobuf.Descriptors.Descriptor
    +    internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_descriptor;
    +  static final 
    +    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
    +      internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_fieldAccessorTable;
    +  static final com.google.protobuf.Descriptors.Descriptor
    +    internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_AllowedIpRange_descriptor;
    +  static final 
    +    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
    +      internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_AllowedIpRange_fieldAccessorTable;
    +  static final com.google.protobuf.Descriptors.Descriptor
    +    internal_static_google_cloud_orchestration_airflow_service_v1_DatabaseConfig_descriptor;
    +  static final 
    +    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
    +      internal_static_google_cloud_orchestration_airflow_service_v1_DatabaseConfig_fieldAccessorTable;
    +  static final com.google.protobuf.Descriptors.Descriptor
    +    internal_static_google_cloud_orchestration_airflow_service_v1_WebServerConfig_descriptor;
    +  static final 
    +    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
    +      internal_static_google_cloud_orchestration_airflow_service_v1_WebServerConfig_fieldAccessorTable;
    +  static final com.google.protobuf.Descriptors.Descriptor
    +    internal_static_google_cloud_orchestration_airflow_service_v1_EncryptionConfig_descriptor;
    +  static final 
    +    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
    +      internal_static_google_cloud_orchestration_airflow_service_v1_EncryptionConfig_fieldAccessorTable;
    +  static final com.google.protobuf.Descriptors.Descriptor
    +    internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_descriptor;
    +  static final 
    +    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
    +      internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_fieldAccessorTable;
    +  static final com.google.protobuf.Descriptors.Descriptor
    +    internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_AirflowConfigOverridesEntry_descriptor;
    +  static final 
    +    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
    +      internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_AirflowConfigOverridesEntry_fieldAccessorTable;
    +  static final com.google.protobuf.Descriptors.Descriptor
    +    internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_PypiPackagesEntry_descriptor;
    +  static final 
    +    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
    +      internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_PypiPackagesEntry_fieldAccessorTable;
    +  static final com.google.protobuf.Descriptors.Descriptor
    +    internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_EnvVariablesEntry_descriptor;
    +  static final 
    +    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
    +      internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_EnvVariablesEntry_fieldAccessorTable;
    +  static final com.google.protobuf.Descriptors.Descriptor
    +    internal_static_google_cloud_orchestration_airflow_service_v1_IPAllocationPolicy_descriptor;
    +  static final 
    +    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
    +      internal_static_google_cloud_orchestration_airflow_service_v1_IPAllocationPolicy_fieldAccessorTable;
    +  static final com.google.protobuf.Descriptors.Descriptor
    +    internal_static_google_cloud_orchestration_airflow_service_v1_NodeConfig_descriptor;
    +  static final 
    +    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
    +      internal_static_google_cloud_orchestration_airflow_service_v1_NodeConfig_fieldAccessorTable;
    +  static final com.google.protobuf.Descriptors.Descriptor
    +    internal_static_google_cloud_orchestration_airflow_service_v1_PrivateClusterConfig_descriptor;
    +  static final 
    +    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
    +      internal_static_google_cloud_orchestration_airflow_service_v1_PrivateClusterConfig_fieldAccessorTable;
    +  static final com.google.protobuf.Descriptors.Descriptor
    +    internal_static_google_cloud_orchestration_airflow_service_v1_PrivateEnvironmentConfig_descriptor;
    +  static final 
    +    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
    +      internal_static_google_cloud_orchestration_airflow_service_v1_PrivateEnvironmentConfig_fieldAccessorTable;
    +  static final com.google.protobuf.Descriptors.Descriptor
    +    internal_static_google_cloud_orchestration_airflow_service_v1_Environment_descriptor;
    +  static final 
    +    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
    +      internal_static_google_cloud_orchestration_airflow_service_v1_Environment_fieldAccessorTable;
    +  static final com.google.protobuf.Descriptors.Descriptor
    +    internal_static_google_cloud_orchestration_airflow_service_v1_Environment_LabelsEntry_descriptor;
    +  static final 
    +    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
    +      internal_static_google_cloud_orchestration_airflow_service_v1_Environment_LabelsEntry_fieldAccessorTable;
    +  static final com.google.protobuf.Descriptors.Descriptor
    +    internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_descriptor;
    +  static final 
    +    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
    +      internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_fieldAccessorTable;
    +  static final com.google.protobuf.Descriptors.Descriptor
    +    internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_PypiDependenciesEntry_descriptor;
    +  static final 
    +    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
    +      internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_PypiDependenciesEntry_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/orchestration/airflow/ser" +
    +      "vice/v1/environments.proto\022-google.cloud" +
    +      ".orchestration.airflow.service.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\"{\n\030CreateEnvironmentRequest" +
    +      "\022\016\n\006parent\030\001 \001(\t\022O\n\013environment\030\002 \001(\0132:." +
    +      "google.cloud.orchestration.airflow.servi" +
    +      "ce.v1.Environment\"%\n\025GetEnvironmentReque" +
    +      "st\022\014\n\004name\030\001 \001(\t\"P\n\027ListEnvironmentsRequ" +
    +      "est\022\016\n\006parent\030\001 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022" +
    +      "\n\npage_token\030\003 \001(\t\"\205\001\n\030ListEnvironmentsR" +
    +      "esponse\022P\n\014environments\030\001 \003(\0132:.google.c" +
    +      "loud.orchestration.airflow.service.v1.En" +
    +      "vironment\022\027\n\017next_page_token\030\002 \001(\t\"(\n\030De" +
    +      "leteEnvironmentRequest\022\014\n\004name\030\001 \001(\t\"\252\001\n" +
    +      "\030UpdateEnvironmentRequest\022\014\n\004name\030\002 \001(\t\022" +
    +      "O\n\013environment\030\001 \001(\0132:.google.cloud.orch" +
    +      "estration.airflow.service.v1.Environment" +
    +      "\022/\n\013update_mask\030\003 \001(\0132\032.google.protobuf." +
    +      "FieldMask\"\232\006\n\021EnvironmentConfig\022\023\n\013gke_c" +
    +      "luster\030\001 \001(\t\022\026\n\016dag_gcs_prefix\030\002 \001(\t\022\022\n\n" +
    +      "node_count\030\003 \001(\005\022V\n\017software_config\030\004 \001(" +
    +      "\0132=.google.cloud.orchestration.airflow.s" +
    +      "ervice.v1.SoftwareConfig\022N\n\013node_config\030" +
    +      "\005 \001(\01329.google.cloud.orchestration.airfl" +
    +      "ow.service.v1.NodeConfig\022k\n\032private_envi" +
    +      "ronment_config\030\007 \001(\0132G.google.cloud.orch" +
    +      "estration.airflow.service.v1.PrivateEnvi" +
    +      "ronmentConfig\022|\n!web_server_network_acce" +
    +      "ss_control\030\010 \001(\0132L.google.cloud.orchestr" +
    +      "ation.airflow.service.v1.WebServerNetwor" +
    +      "kAccessControlB\003\340A\001\022[\n\017database_config\030\t" +
    +      " \001(\0132=.google.cloud.orchestration.airflo" +
    +      "w.service.v1.DatabaseConfigB\003\340A\001\022^\n\021web_" +
    +      "server_config\030\n \001(\0132>.google.cloud.orche" +
    +      "stration.airflow.service.v1.WebServerCon" +
    +      "figB\003\340A\001\022_\n\021encryption_config\030\013 \001(\0132?.go" +
    +      "ogle.cloud.orchestration.airflow.service" +
    +      ".v1.EncryptionConfigB\003\340A\001\022\023\n\013airflow_uri" +
    +      "\030\006 \001(\t\"\322\001\n\035WebServerNetworkAccessControl" +
    +      "\022v\n\021allowed_ip_ranges\030\001 \003(\0132[.google.clo" +
    +      "ud.orchestration.airflow.service.v1.WebS" +
    +      "erverNetworkAccessControl.AllowedIpRange" +
    +      "\0329\n\016AllowedIpRange\022\r\n\005value\030\001 \001(\t\022\030\n\013des" +
    +      "cription\030\002 \001(\tB\003\340A\001\"+\n\016DatabaseConfig\022\031\n" +
    +      "\014machine_type\030\001 \001(\tB\003\340A\001\",\n\017WebServerCon" +
    +      "fig\022\031\n\014machine_type\030\001 \001(\tB\003\340A\001\"-\n\020Encryp" +
    +      "tionConfig\022\031\n\014kms_key_name\030\001 \001(\tB\003\340A\001\"\265\004" +
    +      "\n\016SoftwareConfig\022\025\n\rimage_version\030\001 \001(\t\022" +
    +      "{\n\030airflow_config_overrides\030\002 \003(\0132Y.goog" +
    +      "le.cloud.orchestration.airflow.service.v" +
    +      "1.SoftwareConfig.AirflowConfigOverridesE" +
    +      "ntry\022f\n\rpypi_packages\030\003 \003(\0132O.google.clo" +
    +      "ud.orchestration.airflow.service.v1.Soft" +
    +      "wareConfig.PypiPackagesEntry\022f\n\renv_vari" +
    +      "ables\030\004 \003(\0132O.google.cloud.orchestration" +
    +      ".airflow.service.v1.SoftwareConfig.EnvVa" +
    +      "riablesEntry\022\026\n\016python_version\030\006 \001(\t\032=\n\033" +
    +      "AirflowConfigOverridesEntry\022\013\n\003key\030\001 \001(\t" +
    +      "\022\r\n\005value\030\002 \001(\t:\0028\001\0323\n\021PypiPackagesEntry" +
    +      "\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\0323\n\021EnvV" +
    +      "ariablesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(" +
    +      "\t:\0028\001\"\220\002\n\022IPAllocationPolicy\022\033\n\016use_ip_a" +
    +      "liases\030\001 \001(\010B\003\340A\001\022+\n\034cluster_secondary_r" +
    +      "ange_name\030\002 \001(\tB\003\340A\001H\000\022&\n\027cluster_ipv4_c" +
    +      "idr_block\030\004 \001(\tB\003\340A\001H\000\022,\n\035services_secon" +
    +      "dary_range_name\030\003 \001(\tB\003\340A\001H\001\022\'\n\030services" +
    +      "_ipv4_cidr_block\030\005 \001(\tB\003\340A\001H\001B\027\n\025cluster" +
    +      "_ip_allocationB\030\n\026services_ip_allocation" +
    +      "\"\222\002\n\nNodeConfig\022\020\n\010location\030\001 \001(\t\022\024\n\014mac" +
    +      "hine_type\030\002 \001(\t\022\017\n\007network\030\003 \001(\t\022\022\n\nsubn" +
    +      "etwork\030\004 \001(\t\022\024\n\014disk_size_gb\030\005 \001(\005\022\024\n\014oa" +
    +      "uth_scopes\030\006 \003(\t\022\027\n\017service_account\030\007 \001(" +
    +      "\t\022\014\n\004tags\030\010 \003(\t\022d\n\024ip_allocation_policy\030" +
    +      "\t \001(\0132A.google.cloud.orchestration.airfl" +
    +      "ow.service.v1.IPAllocationPolicyB\003\340A\001\"\212\001" +
    +      "\n\024PrivateClusterConfig\022$\n\027enable_private" +
    +      "_endpoint\030\001 \001(\010B\003\340A\001\022#\n\026master_ipv4_cidr" +
    +      "_block\030\002 \001(\tB\003\340A\001\022\'\n\032master_ipv4_reserve" +
    +      "d_range\030\003 \001(\tB\003\340A\003\"\253\002\n\030PrivateEnvironmen" +
    +      "tConfig\022\'\n\032enable_private_environment\030\001 " +
    +      "\001(\010B\003\340A\001\022h\n\026private_cluster_config\030\002 \001(\013" +
    +      "2C.google.cloud.orchestration.airflow.se" +
    +      "rvice.v1.PrivateClusterConfigB\003\340A\001\022\'\n\032we" +
    +      "b_server_ipv4_cidr_block\030\003 \001(\tB\003\340A\001\022&\n\031c" +
    +      "loud_sql_ipv4_cidr_block\030\004 \001(\tB\003\340A\001\022+\n\036w" +
    +      "eb_server_ipv4_reserved_range\030\005 \001(\tB\003\340A\003" +
    +      "\"\205\005\n\013Environment\022\014\n\004name\030\001 \001(\t\022P\n\006config" +
    +      "\030\002 \001(\0132@.google.cloud.orchestration.airf" +
    +      "low.service.v1.EnvironmentConfig\022\014\n\004uuid" +
    +      "\030\003 \001(\t\022O\n\005state\030\004 \001(\0162@.google.cloud.orc" +
    +      "hestration.airflow.service.v1.Environmen" +
    +      "t.State\022/\n\013create_time\030\005 \001(\0132\032.google.pr" +
    +      "otobuf.Timestamp\022/\n\013update_time\030\006 \001(\0132\032." +
    +      "google.protobuf.Timestamp\022V\n\006labels\030\007 \003(" +
    +      "\0132F.google.cloud.orchestration.airflow.s" +
    +      "ervice.v1.Environment.LabelsEntry\032-\n\013Lab" +
    +      "elsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001" +
    +      "\"`\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\014\n\010CREA" +
    +      "TING\020\001\022\013\n\007RUNNING\020\002\022\014\n\010UPDATING\020\003\022\014\n\010DEL" +
    +      "ETING\020\004\022\t\n\005ERROR\020\005:l\352Ai\n#composer.google" +
    +      "apis.com/Environment\022Bprojects/{project}" +
    +      "/locations/{location}/environments/{envi" +
    +      "ronment}\"\371\003\n\024CheckUpgradeResponse\022\032\n\rbui" +
    +      "ld_log_uri\030\001 \001(\tB\003\340A\003\022\177\n\036contains_pypi_m" +
    +      "odules_conflict\030\004 \001(\0162R.google.cloud.orc" +
    +      "hestration.airflow.service.v1.CheckUpgra" +
    +      "deResponse.ConflictResultB\003\340A\003\022,\n\037pypi_c" +
    +      "onflict_build_log_extract\030\003 \001(\tB\003\340A\003\022\025\n\r" +
    +      "image_version\030\005 \001(\t\022t\n\021pypi_dependencies" +
    +      "\030\006 \003(\0132Y.google.cloud.orchestration.airf" +
    +      "low.service.v1.CheckUpgradeResponse.Pypi" +
    +      "DependenciesEntry\0327\n\025PypiDependenciesEnt" +
    +      "ry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"P\n\016Co" +
    +      "nflictResult\022\037\n\033CONFLICT_RESULT_UNSPECIF" +
    +      "IED\020\000\022\014\n\010CONFLICT\020\001\022\017\n\013NO_CONFLICT\020\0022\227\013\n" +
    +      "\014Environments\022\251\002\n\021CreateEnvironment\022G.go" +
    +      "ogle.cloud.orchestration.airflow.service" +
    +      ".v1.CreateEnvironmentRequest\032\035.google.lo" +
    +      "ngrunning.Operation\"\253\001\202\323\344\223\002?\"0/v1/{paren" +
    +      "t=projects/*/locations/*}/environments:\013" +
    +      "environment\332A\022parent,environment\312AN\n\013Env" +
    +      "ironment\022?google.cloud.orchestration.air" +
    +      "flow.service.v1.OperationMetadata\022\323\001\n\016Ge" +
    +      "tEnvironment\022D.google.cloud.orchestratio" +
    +      "n.airflow.service.v1.GetEnvironmentReque" +
    +      "st\032:.google.cloud.orchestration.airflow." +
    +      "service.v1.Environment\"?\202\323\344\223\0022\0220/v1/{nam" +
    +      "e=projects/*/locations/*/environments/*}" +
    +      "\332A\004name\022\346\001\n\020ListEnvironments\022F.google.cl" +
    +      "oud.orchestration.airflow.service.v1.Lis" +
    +      "tEnvironmentsRequest\032G.google.cloud.orch" +
    +      "estration.airflow.service.v1.ListEnviron" +
    +      "mentsResponse\"A\202\323\344\223\0022\0220/v1/{parent=proje" +
    +      "cts/*/locations/*}/environments\332A\006parent" +
    +      "\022\263\002\n\021UpdateEnvironment\022G.google.cloud.or" +
    +      "chestration.airflow.service.v1.UpdateEnv" +
    +      "ironmentRequest\032\035.google.longrunning.Ope" +
    +      "ration\"\265\001\202\323\344\223\002?20/v1/{name=projects/*/lo" +
    +      "cations/*/environments/*}:\013environment\332A" +
    +      "\034name,environment,update_mask\312AN\n\013Enviro" +
    +      "nment\022?google.cloud.orchestration.airflo" +
    +      "w.service.v1.OperationMetadata\022\230\002\n\021Delet" +
    +      "eEnvironment\022G.google.cloud.orchestratio" +
    +      "n.airflow.service.v1.DeleteEnvironmentRe" +
    +      "quest\032\035.google.longrunning.Operation\"\232\001\202" +
    +      "\323\344\223\0022*0/v1/{name=projects/*/locations/*/" +
    +      "environments/*}\332A\004name\312AX\n\025google.protob" +
    +      "uf.Empty\022?google.cloud.orchestration.air" +
    +      "flow.service.v1.OperationMetadata\032K\312A\027co" +
    +      "mposer.googleapis.com\322A.https://www.goog" +
    +      "leapis.com/auth/cloud-platformB\213\001\n1com.g" +
    +      "oogle.cloud.orchestration.airflow.servic" +
    +      "e.v1P\001ZTgoogle.golang.org/genproto/googl" +
    +      "eapis/cloud/orchestration/airflow/servic" +
    +      "e/v1;serviceb\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.longrunning.OperationsProto.getDescriptor(),
    +          com.google.protobuf.FieldMaskProto.getDescriptor(),
    +          com.google.protobuf.TimestampProto.getDescriptor(),
    +        });
    +    internal_static_google_cloud_orchestration_airflow_service_v1_CreateEnvironmentRequest_descriptor =
    +      getDescriptor().getMessageTypes().get(0);
    +    internal_static_google_cloud_orchestration_airflow_service_v1_CreateEnvironmentRequest_fieldAccessorTable = new
    +      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
    +        internal_static_google_cloud_orchestration_airflow_service_v1_CreateEnvironmentRequest_descriptor,
    +        new java.lang.String[] { "Parent", "Environment", });
    +    internal_static_google_cloud_orchestration_airflow_service_v1_GetEnvironmentRequest_descriptor =
    +      getDescriptor().getMessageTypes().get(1);
    +    internal_static_google_cloud_orchestration_airflow_service_v1_GetEnvironmentRequest_fieldAccessorTable = new
    +      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
    +        internal_static_google_cloud_orchestration_airflow_service_v1_GetEnvironmentRequest_descriptor,
    +        new java.lang.String[] { "Name", });
    +    internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsRequest_descriptor =
    +      getDescriptor().getMessageTypes().get(2);
    +    internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsRequest_fieldAccessorTable = new
    +      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
    +        internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsRequest_descriptor,
    +        new java.lang.String[] { "Parent", "PageSize", "PageToken", });
    +    internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsResponse_descriptor =
    +      getDescriptor().getMessageTypes().get(3);
    +    internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsResponse_fieldAccessorTable = new
    +      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
    +        internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsResponse_descriptor,
    +        new java.lang.String[] { "Environments", "NextPageToken", });
    +    internal_static_google_cloud_orchestration_airflow_service_v1_DeleteEnvironmentRequest_descriptor =
    +      getDescriptor().getMessageTypes().get(4);
    +    internal_static_google_cloud_orchestration_airflow_service_v1_DeleteEnvironmentRequest_fieldAccessorTable = new
    +      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
    +        internal_static_google_cloud_orchestration_airflow_service_v1_DeleteEnvironmentRequest_descriptor,
    +        new java.lang.String[] { "Name", });
    +    internal_static_google_cloud_orchestration_airflow_service_v1_UpdateEnvironmentRequest_descriptor =
    +      getDescriptor().getMessageTypes().get(5);
    +    internal_static_google_cloud_orchestration_airflow_service_v1_UpdateEnvironmentRequest_fieldAccessorTable = new
    +      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
    +        internal_static_google_cloud_orchestration_airflow_service_v1_UpdateEnvironmentRequest_descriptor,
    +        new java.lang.String[] { "Name", "Environment", "UpdateMask", });
    +    internal_static_google_cloud_orchestration_airflow_service_v1_EnvironmentConfig_descriptor =
    +      getDescriptor().getMessageTypes().get(6);
    +    internal_static_google_cloud_orchestration_airflow_service_v1_EnvironmentConfig_fieldAccessorTable = new
    +      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
    +        internal_static_google_cloud_orchestration_airflow_service_v1_EnvironmentConfig_descriptor,
    +        new java.lang.String[] { "GkeCluster", "DagGcsPrefix", "NodeCount", "SoftwareConfig", "NodeConfig", "PrivateEnvironmentConfig", "WebServerNetworkAccessControl", "DatabaseConfig", "WebServerConfig", "EncryptionConfig", "AirflowUri", });
    +    internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_descriptor =
    +      getDescriptor().getMessageTypes().get(7);
    +    internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_fieldAccessorTable = new
    +      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
    +        internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_descriptor,
    +        new java.lang.String[] { "AllowedIpRanges", });
    +    internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_AllowedIpRange_descriptor =
    +      internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_descriptor.getNestedTypes().get(0);
    +    internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_AllowedIpRange_fieldAccessorTable = new
    +      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
    +        internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_AllowedIpRange_descriptor,
    +        new java.lang.String[] { "Value", "Description", });
    +    internal_static_google_cloud_orchestration_airflow_service_v1_DatabaseConfig_descriptor =
    +      getDescriptor().getMessageTypes().get(8);
    +    internal_static_google_cloud_orchestration_airflow_service_v1_DatabaseConfig_fieldAccessorTable = new
    +      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
    +        internal_static_google_cloud_orchestration_airflow_service_v1_DatabaseConfig_descriptor,
    +        new java.lang.String[] { "MachineType", });
    +    internal_static_google_cloud_orchestration_airflow_service_v1_WebServerConfig_descriptor =
    +      getDescriptor().getMessageTypes().get(9);
    +    internal_static_google_cloud_orchestration_airflow_service_v1_WebServerConfig_fieldAccessorTable = new
    +      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
    +        internal_static_google_cloud_orchestration_airflow_service_v1_WebServerConfig_descriptor,
    +        new java.lang.String[] { "MachineType", });
    +    internal_static_google_cloud_orchestration_airflow_service_v1_EncryptionConfig_descriptor =
    +      getDescriptor().getMessageTypes().get(10);
    +    internal_static_google_cloud_orchestration_airflow_service_v1_EncryptionConfig_fieldAccessorTable = new
    +      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
    +        internal_static_google_cloud_orchestration_airflow_service_v1_EncryptionConfig_descriptor,
    +        new java.lang.String[] { "KmsKeyName", });
    +    internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_descriptor =
    +      getDescriptor().getMessageTypes().get(11);
    +    internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_fieldAccessorTable = new
    +      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
    +        internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_descriptor,
    +        new java.lang.String[] { "ImageVersion", "AirflowConfigOverrides", "PypiPackages", "EnvVariables", "PythonVersion", });
    +    internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_AirflowConfigOverridesEntry_descriptor =
    +      internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_descriptor.getNestedTypes().get(0);
    +    internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_AirflowConfigOverridesEntry_fieldAccessorTable = new
    +      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
    +        internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_AirflowConfigOverridesEntry_descriptor,
    +        new java.lang.String[] { "Key", "Value", });
    +    internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_PypiPackagesEntry_descriptor =
    +      internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_descriptor.getNestedTypes().get(1);
    +    internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_PypiPackagesEntry_fieldAccessorTable = new
    +      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
    +        internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_PypiPackagesEntry_descriptor,
    +        new java.lang.String[] { "Key", "Value", });
    +    internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_EnvVariablesEntry_descriptor =
    +      internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_descriptor.getNestedTypes().get(2);
    +    internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_EnvVariablesEntry_fieldAccessorTable = new
    +      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
    +        internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_EnvVariablesEntry_descriptor,
    +        new java.lang.String[] { "Key", "Value", });
    +    internal_static_google_cloud_orchestration_airflow_service_v1_IPAllocationPolicy_descriptor =
    +      getDescriptor().getMessageTypes().get(12);
    +    internal_static_google_cloud_orchestration_airflow_service_v1_IPAllocationPolicy_fieldAccessorTable = new
    +      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
    +        internal_static_google_cloud_orchestration_airflow_service_v1_IPAllocationPolicy_descriptor,
    +        new java.lang.String[] { "UseIpAliases", "ClusterSecondaryRangeName", "ClusterIpv4CidrBlock", "ServicesSecondaryRangeName", "ServicesIpv4CidrBlock", "ClusterIpAllocation", "ServicesIpAllocation", });
    +    internal_static_google_cloud_orchestration_airflow_service_v1_NodeConfig_descriptor =
    +      getDescriptor().getMessageTypes().get(13);
    +    internal_static_google_cloud_orchestration_airflow_service_v1_NodeConfig_fieldAccessorTable = new
    +      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
    +        internal_static_google_cloud_orchestration_airflow_service_v1_NodeConfig_descriptor,
    +        new java.lang.String[] { "Location", "MachineType", "Network", "Subnetwork", "DiskSizeGb", "OauthScopes", "ServiceAccount", "Tags", "IpAllocationPolicy", });
    +    internal_static_google_cloud_orchestration_airflow_service_v1_PrivateClusterConfig_descriptor =
    +      getDescriptor().getMessageTypes().get(14);
    +    internal_static_google_cloud_orchestration_airflow_service_v1_PrivateClusterConfig_fieldAccessorTable = new
    +      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
    +        internal_static_google_cloud_orchestration_airflow_service_v1_PrivateClusterConfig_descriptor,
    +        new java.lang.String[] { "EnablePrivateEndpoint", "MasterIpv4CidrBlock", "MasterIpv4ReservedRange", });
    +    internal_static_google_cloud_orchestration_airflow_service_v1_PrivateEnvironmentConfig_descriptor =
    +      getDescriptor().getMessageTypes().get(15);
    +    internal_static_google_cloud_orchestration_airflow_service_v1_PrivateEnvironmentConfig_fieldAccessorTable = new
    +      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
    +        internal_static_google_cloud_orchestration_airflow_service_v1_PrivateEnvironmentConfig_descriptor,
    +        new java.lang.String[] { "EnablePrivateEnvironment", "PrivateClusterConfig", "WebServerIpv4CidrBlock", "CloudSqlIpv4CidrBlock", "WebServerIpv4ReservedRange", });
    +    internal_static_google_cloud_orchestration_airflow_service_v1_Environment_descriptor =
    +      getDescriptor().getMessageTypes().get(16);
    +    internal_static_google_cloud_orchestration_airflow_service_v1_Environment_fieldAccessorTable = new
    +      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
    +        internal_static_google_cloud_orchestration_airflow_service_v1_Environment_descriptor,
    +        new java.lang.String[] { "Name", "Config", "Uuid", "State", "CreateTime", "UpdateTime", "Labels", });
    +    internal_static_google_cloud_orchestration_airflow_service_v1_Environment_LabelsEntry_descriptor =
    +      internal_static_google_cloud_orchestration_airflow_service_v1_Environment_descriptor.getNestedTypes().get(0);
    +    internal_static_google_cloud_orchestration_airflow_service_v1_Environment_LabelsEntry_fieldAccessorTable = new
    +      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
    +        internal_static_google_cloud_orchestration_airflow_service_v1_Environment_LabelsEntry_descriptor,
    +        new java.lang.String[] { "Key", "Value", });
    +    internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_descriptor =
    +      getDescriptor().getMessageTypes().get(17);
    +    internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_fieldAccessorTable = new
    +      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
    +        internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_descriptor,
    +        new java.lang.String[] { "BuildLogUri", "ContainsPypiModulesConflict", "PypiConflictBuildLogExtract", "ImageVersion", "PypiDependencies", });
    +    internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_PypiDependenciesEntry_descriptor =
    +      internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_descriptor.getNestedTypes().get(0);
    +    internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_PypiDependenciesEntry_fieldAccessorTable = new
    +      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
    +        internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_PypiDependenciesEntry_descriptor,
    +        new java.lang.String[] { "Key", "Value", });
    +    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.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.longrunning.OperationsProto.getDescriptor();
    +    com.google.protobuf.FieldMaskProto.getDescriptor();
    +    com.google.protobuf.TimestampProto.getDescriptor();
    +  }
    +
    +  // @@protoc_insertion_point(outer_class_scope)
    +}
    diff --git a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/GetEnvironmentRequest.java b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/GetEnvironmentRequest.java
    similarity index 64%
    rename from proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/GetEnvironmentRequest.java
    rename to owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/GetEnvironmentRequest.java
    index e1495aab..378dafcf 100644
    --- a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/GetEnvironmentRequest.java
    +++ b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/GetEnvironmentRequest.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/orchestration/airflow/service/v1/environments.proto
     
     package com.google.cloud.orchestration.airflow.service.v1;
     
     /**
    - *
    - *
      * 
      * Get an environment.
      * 
    * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest} */ -public final class GetEnvironmentRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetEnvironmentRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest) GetEnvironmentRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetEnvironmentRequest.newBuilder() to construct. private GetEnvironmentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetEnvironmentRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetEnvironmentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetEnvironmentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetEnvironmentRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,40 +73,35 @@ private GetEnvironmentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_GetEnvironmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_GetEnvironmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_GetEnvironmentRequest_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_GetEnvironmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest.class, - com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest.Builder.class); + com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest.class, com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
        * The resource name of the environment to get, in the form:
        * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
        * 
    * * string name = 1; - * * @return The name. */ @java.lang.Override @@ -133,30 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
        * The resource name of the environment to get, in the form:
        * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
        * 
    * * 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 { @@ -165,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -177,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -201,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest other = - (com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest) obj; + com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest other = (com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -229,146 +206,134 @@ public int hashCode() { } public static com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest 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.orchestration.airflow.service.v1.GetEnvironmentRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest - 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.orchestration.airflow.service.v1.GetEnvironmentRequest 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.orchestration.airflow.service.v1.GetEnvironmentRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest prototype) { + public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
        * Get an environment.
        * 
    * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest) com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_GetEnvironmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_GetEnvironmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_GetEnvironmentRequest_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_GetEnvironmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest.class, - com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest.Builder - .class); + com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest.class, com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest.Builder.class); } - // Construct using - // com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest.newBuilder() + // Construct using com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -378,22 +343,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_GetEnvironmentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_GetEnvironmentRequest_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest - getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest - .getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest.getDefaultInstance(); } @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest build() { - com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest result = - buildPartial(); + com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -402,8 +364,7 @@ public com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest b @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest buildPartial() { - com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest result = - new com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest(this); + com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest result = new com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest(this); result.name_ = name_; onBuilt(); return result; @@ -413,52 +374,46 @@ public com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest b public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest) { - return mergeFrom( - (com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest) other); + if (other instanceof com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest) { + return mergeFrom((com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest other) { - if (other - == com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest other) { + if (other == com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -482,9 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -496,21 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
          * The resource name of the environment to get, in the form:
          * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
          * 
    * * 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; @@ -519,22 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
          * The resource name of the environment to get, in the form:
          * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
          * 
    * * 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 { @@ -542,71 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
          * The resource name of the environment to get, in the form:
          * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
          * 
    * * 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 resource name of the environment to get, in the form:
          * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
          * 
    * * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
          * The resource name of the environment to get, in the form:
          * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
          * 
    * * 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); } @@ -616,33 +559,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest) - private static final com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest(); + DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest(); } - public static com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest - getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetEnvironmentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetEnvironmentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetEnvironmentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetEnvironmentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -654,8 +594,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest - getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/GetEnvironmentRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/GetEnvironmentRequestOrBuilder.java similarity index 54% rename from proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/GetEnvironmentRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/GetEnvironmentRequestOrBuilder.java index 8bc6f82e..f14ff887 100644 --- a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/GetEnvironmentRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/GetEnvironmentRequestOrBuilder.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/orchestration/airflow/service/v1/environments.proto package com.google.cloud.orchestration.airflow.service.v1; -public interface GetEnvironmentRequestOrBuilder - extends +public interface GetEnvironmentRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * The resource name of the environment to get, in the form:
        * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
        * 
    * * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
        * The resource name of the environment to get, in the form:
        * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
        * 
    * * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/IPAllocationPolicy.java b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/IPAllocationPolicy.java similarity index 76% rename from proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/IPAllocationPolicy.java rename to owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/IPAllocationPolicy.java index 9a212045..d6a39c51 100644 --- a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/IPAllocationPolicy.java +++ b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/IPAllocationPolicy.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/orchestration/airflow/service/v1/environments.proto package com.google.cloud.orchestration.airflow.service.v1; /** - * - * *
      * Configuration for controlling how IPs are allocated in the
      * GKE cluster running the Apache Airflow software.
    @@ -28,29 +11,30 @@
      *
      * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy}
      */
    -public final class IPAllocationPolicy extends com.google.protobuf.GeneratedMessageV3
    -    implements
    +public final class IPAllocationPolicy extends
    +    com.google.protobuf.GeneratedMessageV3 implements
         // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy)
         IPAllocationPolicyOrBuilder {
    -  private static final long serialVersionUID = 0L;
    +private static final long serialVersionUID = 0L;
       // Use IPAllocationPolicy.newBuilder() to construct.
       private IPAllocationPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
    -
    -  private IPAllocationPolicy() {}
    +  private IPAllocationPolicy() {
    +  }
     
       @java.lang.Override
       @SuppressWarnings({"unused"})
    -  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
    +  protected java.lang.Object newInstance(
    +      UnusedPrivateParameter unused) {
         return new IPAllocationPolicy();
       }
     
       @java.lang.Override
    -  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
    +  public final com.google.protobuf.UnknownFieldSet
    +  getUnknownFields() {
         return this.unknownFields;
       }
    -
       private IPAllocationPolicy(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    @@ -69,46 +53,42 @@ private IPAllocationPolicy(
               case 0:
                 done = true;
                 break;
    -          case 8:
    -            {
    -              useIpAliases_ = input.readBool();
    -              break;
    -            }
    -          case 18:
    -            {
    -              java.lang.String s = input.readStringRequireUtf8();
    -              clusterIpAllocationCase_ = 2;
    -              clusterIpAllocation_ = s;
    -              break;
    -            }
    -          case 26:
    -            {
    -              java.lang.String s = input.readStringRequireUtf8();
    -              servicesIpAllocationCase_ = 3;
    -              servicesIpAllocation_ = s;
    -              break;
    -            }
    -          case 34:
    -            {
    -              java.lang.String s = input.readStringRequireUtf8();
    -              clusterIpAllocationCase_ = 4;
    -              clusterIpAllocation_ = s;
    -              break;
    -            }
    -          case 42:
    -            {
    -              java.lang.String s = input.readStringRequireUtf8();
    -              servicesIpAllocationCase_ = 5;
    -              servicesIpAllocation_ = s;
    -              break;
    -            }
    -          default:
    -            {
    -              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
    -                done = true;
    -              }
    -              break;
    +          case 8: {
    +
    +            useIpAliases_ = input.readBool();
    +            break;
    +          }
    +          case 18: {
    +            java.lang.String s = input.readStringRequireUtf8();
    +            clusterIpAllocationCase_ = 2;
    +            clusterIpAllocation_ = s;
    +            break;
    +          }
    +          case 26: {
    +            java.lang.String s = input.readStringRequireUtf8();
    +            servicesIpAllocationCase_ = 3;
    +            servicesIpAllocation_ = s;
    +            break;
    +          }
    +          case 34: {
    +            java.lang.String s = input.readStringRequireUtf8();
    +            clusterIpAllocationCase_ = 4;
    +            clusterIpAllocation_ = s;
    +            break;
    +          }
    +          case 42: {
    +            java.lang.String s = input.readStringRequireUtf8();
    +            servicesIpAllocationCase_ = 5;
    +            servicesIpAllocation_ = s;
    +            break;
    +          }
    +          default: {
    +            if (!parseUnknownField(
    +                input, unknownFields, extensionRegistry, tag)) {
    +              done = true;
                 }
    +            break;
    +          }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
    @@ -116,40 +96,35 @@ private IPAllocationPolicy(
         } catch (com.google.protobuf.UninitializedMessageException e) {
           throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
    -      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
    +      throw new com.google.protobuf.InvalidProtocolBufferException(
    +          e).setUnfinishedMessage(this);
         } finally {
           this.unknownFields = unknownFields.build();
           makeExtensionsImmutable();
         }
       }
    -
    -  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    -    return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
    -        .internal_static_google_cloud_orchestration_airflow_service_v1_IPAllocationPolicy_descriptor;
    +  public static final com.google.protobuf.Descriptors.Descriptor
    +      getDescriptor() {
    +    return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_IPAllocationPolicy_descriptor;
       }
     
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
    -    return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
    -        .internal_static_google_cloud_orchestration_airflow_service_v1_IPAllocationPolicy_fieldAccessorTable
    +    return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_IPAllocationPolicy_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
    -            com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.class,
    -            com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.Builder.class);
    +            com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.class, com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.Builder.class);
       }
     
       private int clusterIpAllocationCase_ = 0;
       private java.lang.Object clusterIpAllocation_;
    -
       public enum ClusterIpAllocationCase
    -      implements
    -          com.google.protobuf.Internal.EnumLite,
    +      implements com.google.protobuf.Internal.EnumLite,
               com.google.protobuf.AbstractMessage.InternalOneOfEnum {
         CLUSTER_SECONDARY_RANGE_NAME(2),
         CLUSTER_IPV4_CIDR_BLOCK(4),
         CLUSTERIPALLOCATION_NOT_SET(0);
         private final int value;
    -
         private ClusterIpAllocationCase(int value) {
           this.value = value;
         }
    @@ -165,38 +140,32 @@ public static ClusterIpAllocationCase valueOf(int value) {
     
         public static ClusterIpAllocationCase forNumber(int value) {
           switch (value) {
    -        case 2:
    -          return CLUSTER_SECONDARY_RANGE_NAME;
    -        case 4:
    -          return CLUSTER_IPV4_CIDR_BLOCK;
    -        case 0:
    -          return CLUSTERIPALLOCATION_NOT_SET;
    -        default:
    -          return null;
    +        case 2: return CLUSTER_SECONDARY_RANGE_NAME;
    +        case 4: return CLUSTER_IPV4_CIDR_BLOCK;
    +        case 0: return CLUSTERIPALLOCATION_NOT_SET;
    +        default: return null;
           }
         }
    -
         public int getNumber() {
           return this.value;
         }
       };
     
    -  public ClusterIpAllocationCase getClusterIpAllocationCase() {
    -    return ClusterIpAllocationCase.forNumber(clusterIpAllocationCase_);
    +  public ClusterIpAllocationCase
    +  getClusterIpAllocationCase() {
    +    return ClusterIpAllocationCase.forNumber(
    +        clusterIpAllocationCase_);
       }
     
       private int servicesIpAllocationCase_ = 0;
       private java.lang.Object servicesIpAllocation_;
    -
       public enum ServicesIpAllocationCase
    -      implements
    -          com.google.protobuf.Internal.EnumLite,
    +      implements com.google.protobuf.Internal.EnumLite,
               com.google.protobuf.AbstractMessage.InternalOneOfEnum {
         SERVICES_SECONDARY_RANGE_NAME(3),
         SERVICES_IPV4_CIDR_BLOCK(5),
         SERVICESIPALLOCATION_NOT_SET(0);
         private final int value;
    -
         private ServicesIpAllocationCase(int value) {
           this.value = value;
         }
    @@ -212,38 +181,32 @@ public static ServicesIpAllocationCase valueOf(int value) {
     
         public static ServicesIpAllocationCase forNumber(int value) {
           switch (value) {
    -        case 3:
    -          return SERVICES_SECONDARY_RANGE_NAME;
    -        case 5:
    -          return SERVICES_IPV4_CIDR_BLOCK;
    -        case 0:
    -          return SERVICESIPALLOCATION_NOT_SET;
    -        default:
    -          return null;
    +        case 3: return SERVICES_SECONDARY_RANGE_NAME;
    +        case 5: return SERVICES_IPV4_CIDR_BLOCK;
    +        case 0: return SERVICESIPALLOCATION_NOT_SET;
    +        default: return null;
           }
         }
    -
         public int getNumber() {
           return this.value;
         }
       };
     
    -  public ServicesIpAllocationCase getServicesIpAllocationCase() {
    -    return ServicesIpAllocationCase.forNumber(servicesIpAllocationCase_);
    +  public ServicesIpAllocationCase
    +  getServicesIpAllocationCase() {
    +    return ServicesIpAllocationCase.forNumber(
    +        servicesIpAllocationCase_);
       }
     
       public static final int USE_IP_ALIASES_FIELD_NUMBER = 1;
       private boolean useIpAliases_;
       /**
    -   *
    -   *
        * 
        * Optional. Whether or not to enable Alias IPs in the GKE cluster.
        * If `true`, a VPC-native cluster is created.
        * 
    * * bool use_ip_aliases = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The useIpAliases. */ @java.lang.Override @@ -253,8 +216,6 @@ public boolean getUseIpAliases() { public static final int CLUSTER_SECONDARY_RANGE_NAME_FIELD_NUMBER = 2; /** - * - * *
        * Optional. The name of the GKE cluster's secondary range used to allocate
        * IP addresses to pods.
    @@ -262,15 +223,12 @@ public boolean getUseIpAliases() {
        * 
    * * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return Whether the clusterSecondaryRangeName field is set. */ public boolean hasClusterSecondaryRangeName() { return clusterIpAllocationCase_ == 2; } /** - * - * *
        * Optional. The name of the GKE cluster's secondary range used to allocate
        * IP addresses to pods.
    @@ -278,7 +236,6 @@ public boolean hasClusterSecondaryRangeName() {
        * 
    * * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The clusterSecondaryRangeName. */ public java.lang.String getClusterSecondaryRangeName() { @@ -289,7 +246,8 @@ public java.lang.String getClusterSecondaryRangeName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (clusterIpAllocationCase_ == 2) { clusterIpAllocation_ = s; @@ -298,8 +256,6 @@ public java.lang.String getClusterSecondaryRangeName() { } } /** - * - * *
        * Optional. The name of the GKE cluster's secondary range used to allocate
        * IP addresses to pods.
    @@ -307,17 +263,18 @@ public java.lang.String getClusterSecondaryRangeName() {
        * 
    * * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for clusterSecondaryRangeName. */ - public com.google.protobuf.ByteString getClusterSecondaryRangeNameBytes() { + public com.google.protobuf.ByteString + getClusterSecondaryRangeNameBytes() { java.lang.Object ref = ""; if (clusterIpAllocationCase_ == 2) { ref = clusterIpAllocation_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (clusterIpAllocationCase_ == 2) { clusterIpAllocation_ = b; } @@ -329,8 +286,6 @@ public com.google.protobuf.ByteString getClusterSecondaryRangeNameBytes() { public static final int CLUSTER_IPV4_CIDR_BLOCK_FIELD_NUMBER = 4; /** - * - * *
        * Optional. The IP address range used to allocate IP addresses to pods in
        * the GKE cluster.
    @@ -346,15 +301,12 @@ public com.google.protobuf.ByteString getClusterSecondaryRangeNameBytes() {
        * 
    * * string cluster_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return Whether the clusterIpv4CidrBlock field is set. */ public boolean hasClusterIpv4CidrBlock() { return clusterIpAllocationCase_ == 4; } /** - * - * *
        * Optional. The IP address range used to allocate IP addresses to pods in
        * the GKE cluster.
    @@ -370,7 +322,6 @@ public boolean hasClusterIpv4CidrBlock() {
        * 
    * * string cluster_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The clusterIpv4CidrBlock. */ public java.lang.String getClusterIpv4CidrBlock() { @@ -381,7 +332,8 @@ public java.lang.String getClusterIpv4CidrBlock() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (clusterIpAllocationCase_ == 4) { clusterIpAllocation_ = s; @@ -390,8 +342,6 @@ public java.lang.String getClusterIpv4CidrBlock() { } } /** - * - * *
        * Optional. The IP address range used to allocate IP addresses to pods in
        * the GKE cluster.
    @@ -407,17 +357,18 @@ public java.lang.String getClusterIpv4CidrBlock() {
        * 
    * * string cluster_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for clusterIpv4CidrBlock. */ - public com.google.protobuf.ByteString getClusterIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString + getClusterIpv4CidrBlockBytes() { java.lang.Object ref = ""; if (clusterIpAllocationCase_ == 4) { ref = clusterIpAllocation_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (clusterIpAllocationCase_ == 4) { clusterIpAllocation_ = b; } @@ -429,34 +380,26 @@ public com.google.protobuf.ByteString getClusterIpv4CidrBlockBytes() { public static final int SERVICES_SECONDARY_RANGE_NAME_FIELD_NUMBER = 3; /** - * - * *
        * Optional. The name of the services' secondary range used to allocate
        * IP addresses to the GKE cluster.
        * This field is applicable only when `use_ip_aliases` is true.
        * 
    * - * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the servicesSecondaryRangeName field is set. */ public boolean hasServicesSecondaryRangeName() { return servicesIpAllocationCase_ == 3; } /** - * - * *
        * Optional. The name of the services' secondary range used to allocate
        * IP addresses to the GKE cluster.
        * This field is applicable only when `use_ip_aliases` is true.
        * 
    * - * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The servicesSecondaryRangeName. */ public java.lang.String getServicesSecondaryRangeName() { @@ -467,7 +410,8 @@ public java.lang.String getServicesSecondaryRangeName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (servicesIpAllocationCase_ == 3) { servicesIpAllocation_ = s; @@ -476,27 +420,25 @@ public java.lang.String getServicesSecondaryRangeName() { } } /** - * - * *
        * Optional. The name of the services' secondary range used to allocate
        * IP addresses to the GKE cluster.
        * This field is applicable only when `use_ip_aliases` is true.
        * 
    * - * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The bytes for servicesSecondaryRangeName. */ - public com.google.protobuf.ByteString getServicesSecondaryRangeNameBytes() { + public com.google.protobuf.ByteString + getServicesSecondaryRangeNameBytes() { java.lang.Object ref = ""; if (servicesIpAllocationCase_ == 3) { ref = servicesIpAllocation_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (servicesIpAllocationCase_ == 3) { servicesIpAllocation_ = b; } @@ -508,8 +450,6 @@ public com.google.protobuf.ByteString getServicesSecondaryRangeNameBytes() { public static final int SERVICES_IPV4_CIDR_BLOCK_FIELD_NUMBER = 5; /** - * - * *
        * Optional. The IP address range of the services IP addresses in this
        * GKE cluster.
    @@ -525,15 +465,12 @@ public com.google.protobuf.ByteString getServicesSecondaryRangeNameBytes() {
        * 
    * * string services_ipv4_cidr_block = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return Whether the servicesIpv4CidrBlock field is set. */ public boolean hasServicesIpv4CidrBlock() { return servicesIpAllocationCase_ == 5; } /** - * - * *
        * Optional. The IP address range of the services IP addresses in this
        * GKE cluster.
    @@ -549,7 +486,6 @@ public boolean hasServicesIpv4CidrBlock() {
        * 
    * * string services_ipv4_cidr_block = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The servicesIpv4CidrBlock. */ public java.lang.String getServicesIpv4CidrBlock() { @@ -560,7 +496,8 @@ public java.lang.String getServicesIpv4CidrBlock() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (servicesIpAllocationCase_ == 5) { servicesIpAllocation_ = s; @@ -569,8 +506,6 @@ public java.lang.String getServicesIpv4CidrBlock() { } } /** - * - * *
        * Optional. The IP address range of the services IP addresses in this
        * GKE cluster.
    @@ -586,17 +521,18 @@ public java.lang.String getServicesIpv4CidrBlock() {
        * 
    * * string services_ipv4_cidr_block = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for servicesIpv4CidrBlock. */ - public com.google.protobuf.ByteString getServicesIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString + getServicesIpv4CidrBlockBytes() { java.lang.Object ref = ""; if (servicesIpAllocationCase_ == 5) { ref = servicesIpAllocation_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (servicesIpAllocationCase_ == 5) { servicesIpAllocation_ = b; } @@ -607,7 +543,6 @@ public com.google.protobuf.ByteString getServicesIpv4CidrBlockBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -619,7 +554,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 (useIpAliases_ != false) { output.writeBool(1, useIpAliases_); } @@ -645,7 +581,8 @@ public int getSerializedSize() { size = 0; if (useIpAliases_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, useIpAliases_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, useIpAliases_); } if (clusterIpAllocationCase_ == 2) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, clusterIpAllocation_); @@ -667,23 +604,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy other = - (com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy) obj; + com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy other = (com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy) obj; - if (getUseIpAliases() != other.getUseIpAliases()) return false; + if (getUseIpAliases() + != other.getUseIpAliases()) return false; if (!getClusterIpAllocationCase().equals(other.getClusterIpAllocationCase())) return false; switch (clusterIpAllocationCase_) { case 2: - if (!getClusterSecondaryRangeName().equals(other.getClusterSecondaryRangeName())) - return false; + if (!getClusterSecondaryRangeName() + .equals(other.getClusterSecondaryRangeName())) return false; break; case 4: - if (!getClusterIpv4CidrBlock().equals(other.getClusterIpv4CidrBlock())) return false; + if (!getClusterIpv4CidrBlock() + .equals(other.getClusterIpv4CidrBlock())) return false; break; case 0: default: @@ -691,11 +629,12 @@ public boolean equals(final java.lang.Object obj) { if (!getServicesIpAllocationCase().equals(other.getServicesIpAllocationCase())) return false; switch (servicesIpAllocationCase_) { case 3: - if (!getServicesSecondaryRangeName().equals(other.getServicesSecondaryRangeName())) - return false; + if (!getServicesSecondaryRangeName() + .equals(other.getServicesSecondaryRangeName())) return false; break; case 5: - if (!getServicesIpv4CidrBlock().equals(other.getServicesIpv4CidrBlock())) return false; + if (!getServicesIpv4CidrBlock() + .equals(other.getServicesIpv4CidrBlock())) return false; break; case 0: default: @@ -712,7 +651,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + USE_IP_ALIASES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUseIpAliases()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getUseIpAliases()); switch (clusterIpAllocationCase_) { case 2: hash = (37 * hash) + CLUSTER_SECONDARY_RANGE_NAME_FIELD_NUMBER; @@ -743,105 +683,96 @@ public int hashCode() { } public static com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy 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.orchestration.airflow.service.v1.IPAllocationPolicy parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy - 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.orchestration.airflow.service.v1.IPAllocationPolicy 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.orchestration.airflow.service.v1.IPAllocationPolicy parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy prototype) { + public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
        * Configuration for controlling how IPs are allocated in the
        * GKE cluster running the Apache Airflow software.
    @@ -849,40 +780,38 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
        *
        * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy}
        */
    -  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
    -      implements
    +  public static final class Builder extends
    +      com.google.protobuf.GeneratedMessageV3.Builder implements
           // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy)
           com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicyOrBuilder {
    -    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    -      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
    -          .internal_static_google_cloud_orchestration_airflow_service_v1_IPAllocationPolicy_descriptor;
    +    public static final com.google.protobuf.Descriptors.Descriptor
    +        getDescriptor() {
    +      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_IPAllocationPolicy_descriptor;
         }
     
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
    -      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
    -          .internal_static_google_cloud_orchestration_airflow_service_v1_IPAllocationPolicy_fieldAccessorTable
    +      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_IPAllocationPolicy_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
    -              com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.class,
    -              com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.Builder.class);
    +              com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.class, com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.Builder.class);
         }
     
    -    // Construct using
    -    // com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.newBuilder()
    +    // Construct using com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.newBuilder()
         private Builder() {
           maybeForceBuilderInitialization();
         }
     
    -    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    +    private Builder(
    +        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
           super(parent);
           maybeForceBuilderInitialization();
         }
    -
         private void maybeForceBuilderInitialization() {
    -      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
    +      if (com.google.protobuf.GeneratedMessageV3
    +              .alwaysUseFieldBuilders) {
    +      }
         }
    -
         @java.lang.Override
         public Builder clear() {
           super.clear();
    @@ -896,16 +825,14 @@ public Builder clear() {
         }
     
         @java.lang.Override
    -    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
    -      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
    -          .internal_static_google_cloud_orchestration_airflow_service_v1_IPAllocationPolicy_descriptor;
    +    public com.google.protobuf.Descriptors.Descriptor
    +        getDescriptorForType() {
    +      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_IPAllocationPolicy_descriptor;
         }
     
         @java.lang.Override
    -    public com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy
    -        getDefaultInstanceForType() {
    -      return com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy
    -          .getDefaultInstance();
    +    public com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy getDefaultInstanceForType() {
    +      return com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.getDefaultInstance();
         }
     
         @java.lang.Override
    @@ -919,8 +846,7 @@ public com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy buil
     
         @java.lang.Override
         public com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy buildPartial() {
    -      com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy result =
    -          new com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy(this);
    +      com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy result = new com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy(this);
           result.useIpAliases_ = useIpAliases_;
           if (clusterIpAllocationCase_ == 2) {
             result.clusterIpAllocation_ = clusterIpAllocation_;
    @@ -944,93 +870,82 @@ public com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy buil
         public Builder clone() {
           return super.clone();
         }
    -
         @java.lang.Override
         public Builder setField(
    -        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
    +        com.google.protobuf.Descriptors.FieldDescriptor field,
    +        java.lang.Object value) {
           return super.setField(field, value);
         }
    -
         @java.lang.Override
    -    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
    +    public Builder clearField(
    +        com.google.protobuf.Descriptors.FieldDescriptor field) {
           return super.clearField(field);
         }
    -
         @java.lang.Override
    -    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
    +    public Builder clearOneof(
    +        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
           return super.clearOneof(oneof);
         }
    -
         @java.lang.Override
         public Builder setRepeatedField(
    -        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
    +        com.google.protobuf.Descriptors.FieldDescriptor field,
    +        int index, java.lang.Object value) {
           return super.setRepeatedField(field, index, value);
         }
    -
         @java.lang.Override
         public Builder addRepeatedField(
    -        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
    +        com.google.protobuf.Descriptors.FieldDescriptor field,
    +        java.lang.Object value) {
           return super.addRepeatedField(field, value);
         }
    -
         @java.lang.Override
         public Builder mergeFrom(com.google.protobuf.Message other) {
           if (other instanceof com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy) {
    -        return mergeFrom(
    -            (com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy) other);
    +        return mergeFrom((com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy)other);
           } else {
             super.mergeFrom(other);
             return this;
           }
         }
     
    -    public Builder mergeFrom(
    -        com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy other) {
    -      if (other
    -          == com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy
    -              .getDefaultInstance()) return this;
    +    public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy other) {
    +      if (other == com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.getDefaultInstance()) return this;
           if (other.getUseIpAliases() != false) {
             setUseIpAliases(other.getUseIpAliases());
           }
           switch (other.getClusterIpAllocationCase()) {
    -        case CLUSTER_SECONDARY_RANGE_NAME:
    -          {
    -            clusterIpAllocationCase_ = 2;
    -            clusterIpAllocation_ = other.clusterIpAllocation_;
    -            onChanged();
    -            break;
    -          }
    -        case CLUSTER_IPV4_CIDR_BLOCK:
    -          {
    -            clusterIpAllocationCase_ = 4;
    -            clusterIpAllocation_ = other.clusterIpAllocation_;
    -            onChanged();
    -            break;
    -          }
    -        case CLUSTERIPALLOCATION_NOT_SET:
    -          {
    -            break;
    -          }
    +        case CLUSTER_SECONDARY_RANGE_NAME: {
    +          clusterIpAllocationCase_ = 2;
    +          clusterIpAllocation_ = other.clusterIpAllocation_;
    +          onChanged();
    +          break;
    +        }
    +        case CLUSTER_IPV4_CIDR_BLOCK: {
    +          clusterIpAllocationCase_ = 4;
    +          clusterIpAllocation_ = other.clusterIpAllocation_;
    +          onChanged();
    +          break;
    +        }
    +        case CLUSTERIPALLOCATION_NOT_SET: {
    +          break;
    +        }
           }
           switch (other.getServicesIpAllocationCase()) {
    -        case SERVICES_SECONDARY_RANGE_NAME:
    -          {
    -            servicesIpAllocationCase_ = 3;
    -            servicesIpAllocation_ = other.servicesIpAllocation_;
    -            onChanged();
    -            break;
    -          }
    -        case SERVICES_IPV4_CIDR_BLOCK:
    -          {
    -            servicesIpAllocationCase_ = 5;
    -            servicesIpAllocation_ = other.servicesIpAllocation_;
    -            onChanged();
    -            break;
    -          }
    -        case SERVICESIPALLOCATION_NOT_SET:
    -          {
    -            break;
    -          }
    +        case SERVICES_SECONDARY_RANGE_NAME: {
    +          servicesIpAllocationCase_ = 3;
    +          servicesIpAllocation_ = other.servicesIpAllocation_;
    +          onChanged();
    +          break;
    +        }
    +        case SERVICES_IPV4_CIDR_BLOCK: {
    +          servicesIpAllocationCase_ = 5;
    +          servicesIpAllocation_ = other.servicesIpAllocation_;
    +          onChanged();
    +          break;
    +        }
    +        case SERVICESIPALLOCATION_NOT_SET: {
    +          break;
    +        }
           }
           this.mergeUnknownFields(other.unknownFields);
           onChanged();
    @@ -1051,9 +966,7 @@ public Builder mergeFrom(
           try {
             parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
    -        parsedMessage =
    -            (com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy)
    -                e.getUnfinishedMessage();
    +        parsedMessage = (com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy) e.getUnfinishedMessage();
             throw e.unwrapIOException();
           } finally {
             if (parsedMessage != null) {
    @@ -1062,12 +975,12 @@ public Builder mergeFrom(
           }
           return this;
         }
    -
         private int clusterIpAllocationCase_ = 0;
         private java.lang.Object clusterIpAllocation_;
    -
    -    public ClusterIpAllocationCase getClusterIpAllocationCase() {
    -      return ClusterIpAllocationCase.forNumber(clusterIpAllocationCase_);
    +    public ClusterIpAllocationCase
    +        getClusterIpAllocationCase() {
    +      return ClusterIpAllocationCase.forNumber(
    +          clusterIpAllocationCase_);
         }
     
         public Builder clearClusterIpAllocation() {
    @@ -1079,9 +992,10 @@ public Builder clearClusterIpAllocation() {
     
         private int servicesIpAllocationCase_ = 0;
         private java.lang.Object servicesIpAllocation_;
    -
    -    public ServicesIpAllocationCase getServicesIpAllocationCase() {
    -      return ServicesIpAllocationCase.forNumber(servicesIpAllocationCase_);
    +    public ServicesIpAllocationCase
    +        getServicesIpAllocationCase() {
    +      return ServicesIpAllocationCase.forNumber(
    +          servicesIpAllocationCase_);
         }
     
         public Builder clearServicesIpAllocation() {
    @@ -1091,17 +1005,15 @@ public Builder clearServicesIpAllocation() {
           return this;
         }
     
    -    private boolean useIpAliases_;
    +
    +    private boolean useIpAliases_ ;
         /**
    -     *
    -     *
          * 
          * Optional. Whether or not to enable Alias IPs in the GKE cluster.
          * If `true`, a VPC-native cluster is created.
          * 
    * * bool use_ip_aliases = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The useIpAliases. */ @java.lang.Override @@ -1109,55 +1021,45 @@ public boolean getUseIpAliases() { return useIpAliases_; } /** - * - * *
          * Optional. Whether or not to enable Alias IPs in the GKE cluster.
          * If `true`, a VPC-native cluster is created.
          * 
    * * bool use_ip_aliases = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The useIpAliases to set. * @return This builder for chaining. */ public Builder setUseIpAliases(boolean value) { - + useIpAliases_ = value; onChanged(); return this; } /** - * - * *
          * Optional. Whether or not to enable Alias IPs in the GKE cluster.
          * If `true`, a VPC-native cluster is created.
          * 
    * * bool use_ip_aliases = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearUseIpAliases() { - + useIpAliases_ = false; onChanged(); return this; } /** - * - * *
          * Optional. The name of the GKE cluster's secondary range used to allocate
          * IP addresses to pods.
          * This field is applicable only when `use_ip_aliases` is true.
          * 
    * - * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the clusterSecondaryRangeName field is set. */ @java.lang.Override @@ -1165,17 +1067,13 @@ public boolean hasClusterSecondaryRangeName() { return clusterIpAllocationCase_ == 2; } /** - * - * *
          * Optional. The name of the GKE cluster's secondary range used to allocate
          * IP addresses to pods.
          * This field is applicable only when `use_ip_aliases` is true.
          * 
    * - * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The clusterSecondaryRangeName. */ @java.lang.Override @@ -1185,7 +1083,8 @@ public java.lang.String getClusterSecondaryRangeName() { ref = clusterIpAllocation_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (clusterIpAllocationCase_ == 2) { clusterIpAllocation_ = s; @@ -1196,28 +1095,26 @@ public java.lang.String getClusterSecondaryRangeName() { } } /** - * - * *
          * Optional. The name of the GKE cluster's secondary range used to allocate
          * IP addresses to pods.
          * This field is applicable only when `use_ip_aliases` is true.
          * 
    * - * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The bytes for clusterSecondaryRangeName. */ @java.lang.Override - public com.google.protobuf.ByteString getClusterSecondaryRangeNameBytes() { + public com.google.protobuf.ByteString + getClusterSecondaryRangeNameBytes() { java.lang.Object ref = ""; if (clusterIpAllocationCase_ == 2) { ref = clusterIpAllocation_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (clusterIpAllocationCase_ == 2) { clusterIpAllocation_ = b; } @@ -1227,41 +1124,34 @@ public com.google.protobuf.ByteString getClusterSecondaryRangeNameBytes() { } } /** - * - * *
          * Optional. The name of the GKE cluster's secondary range used to allocate
          * IP addresses to pods.
          * This field is applicable only when `use_ip_aliases` is true.
          * 
    * - * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param value The clusterSecondaryRangeName to set. * @return This builder for chaining. */ - public Builder setClusterSecondaryRangeName(java.lang.String value) { + public Builder setClusterSecondaryRangeName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - clusterIpAllocationCase_ = 2; + throw new NullPointerException(); + } + clusterIpAllocationCase_ = 2; clusterIpAllocation_ = value; onChanged(); return this; } /** - * - * *
          * Optional. The name of the GKE cluster's secondary range used to allocate
          * IP addresses to pods.
          * This field is applicable only when `use_ip_aliases` is true.
          * 
    * - * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearClusterSecondaryRangeName() { @@ -1273,25 +1163,22 @@ public Builder clearClusterSecondaryRangeName() { return this; } /** - * - * *
          * Optional. The name of the GKE cluster's secondary range used to allocate
          * IP addresses to pods.
          * This field is applicable only when `use_ip_aliases` is true.
          * 
    * - * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param value The bytes for clusterSecondaryRangeName to set. * @return This builder for chaining. */ - public Builder setClusterSecondaryRangeNameBytes(com.google.protobuf.ByteString value) { + public Builder setClusterSecondaryRangeNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); clusterIpAllocationCase_ = 2; clusterIpAllocation_ = value; onChanged(); @@ -1299,8 +1186,6 @@ public Builder setClusterSecondaryRangeNameBytes(com.google.protobuf.ByteString } /** - * - * *
          * Optional. The IP address range used to allocate IP addresses to pods in
          * the GKE cluster.
    @@ -1316,7 +1201,6 @@ public Builder setClusterSecondaryRangeNameBytes(com.google.protobuf.ByteString
          * 
    * * string cluster_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return Whether the clusterIpv4CidrBlock field is set. */ @java.lang.Override @@ -1324,8 +1208,6 @@ public boolean hasClusterIpv4CidrBlock() { return clusterIpAllocationCase_ == 4; } /** - * - * *
          * Optional. The IP address range used to allocate IP addresses to pods in
          * the GKE cluster.
    @@ -1341,7 +1223,6 @@ public boolean hasClusterIpv4CidrBlock() {
          * 
    * * string cluster_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The clusterIpv4CidrBlock. */ @java.lang.Override @@ -1351,7 +1232,8 @@ public java.lang.String getClusterIpv4CidrBlock() { ref = clusterIpAllocation_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (clusterIpAllocationCase_ == 4) { clusterIpAllocation_ = s; @@ -1362,8 +1244,6 @@ public java.lang.String getClusterIpv4CidrBlock() { } } /** - * - * *
          * Optional. The IP address range used to allocate IP addresses to pods in
          * the GKE cluster.
    @@ -1379,18 +1259,19 @@ public java.lang.String getClusterIpv4CidrBlock() {
          * 
    * * string cluster_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for clusterIpv4CidrBlock. */ @java.lang.Override - public com.google.protobuf.ByteString getClusterIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString + getClusterIpv4CidrBlockBytes() { java.lang.Object ref = ""; if (clusterIpAllocationCase_ == 4) { ref = clusterIpAllocation_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (clusterIpAllocationCase_ == 4) { clusterIpAllocation_ = b; } @@ -1400,8 +1281,6 @@ public com.google.protobuf.ByteString getClusterIpv4CidrBlockBytes() { } } /** - * - * *
          * Optional. The IP address range used to allocate IP addresses to pods in
          * the GKE cluster.
    @@ -1417,22 +1296,20 @@ public com.google.protobuf.ByteString getClusterIpv4CidrBlockBytes() {
          * 
    * * string cluster_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The clusterIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setClusterIpv4CidrBlock(java.lang.String value) { + public Builder setClusterIpv4CidrBlock( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - clusterIpAllocationCase_ = 4; + throw new NullPointerException(); + } + clusterIpAllocationCase_ = 4; clusterIpAllocation_ = value; onChanged(); return this; } /** - * - * *
          * Optional. The IP address range used to allocate IP addresses to pods in
          * the GKE cluster.
    @@ -1448,7 +1325,6 @@ public Builder setClusterIpv4CidrBlock(java.lang.String value) {
          * 
    * * string cluster_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearClusterIpv4CidrBlock() { @@ -1460,8 +1336,6 @@ public Builder clearClusterIpv4CidrBlock() { return this; } /** - * - * *
          * Optional. The IP address range used to allocate IP addresses to pods in
          * the GKE cluster.
    @@ -1477,15 +1351,15 @@ public Builder clearClusterIpv4CidrBlock() {
          * 
    * * string cluster_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for clusterIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setClusterIpv4CidrBlockBytes(com.google.protobuf.ByteString value) { + public Builder setClusterIpv4CidrBlockBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); clusterIpAllocationCase_ = 4; clusterIpAllocation_ = value; onChanged(); @@ -1493,17 +1367,13 @@ public Builder setClusterIpv4CidrBlockBytes(com.google.protobuf.ByteString value } /** - * - * *
          * Optional. The name of the services' secondary range used to allocate
          * IP addresses to the GKE cluster.
          * This field is applicable only when `use_ip_aliases` is true.
          * 
    * - * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the servicesSecondaryRangeName field is set. */ @java.lang.Override @@ -1511,17 +1381,13 @@ public boolean hasServicesSecondaryRangeName() { return servicesIpAllocationCase_ == 3; } /** - * - * *
          * Optional. The name of the services' secondary range used to allocate
          * IP addresses to the GKE cluster.
          * This field is applicable only when `use_ip_aliases` is true.
          * 
    * - * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The servicesSecondaryRangeName. */ @java.lang.Override @@ -1531,7 +1397,8 @@ public java.lang.String getServicesSecondaryRangeName() { ref = servicesIpAllocation_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (servicesIpAllocationCase_ == 3) { servicesIpAllocation_ = s; @@ -1542,28 +1409,26 @@ public java.lang.String getServicesSecondaryRangeName() { } } /** - * - * *
          * Optional. The name of the services' secondary range used to allocate
          * IP addresses to the GKE cluster.
          * This field is applicable only when `use_ip_aliases` is true.
          * 
    * - * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The bytes for servicesSecondaryRangeName. */ @java.lang.Override - public com.google.protobuf.ByteString getServicesSecondaryRangeNameBytes() { + public com.google.protobuf.ByteString + getServicesSecondaryRangeNameBytes() { java.lang.Object ref = ""; if (servicesIpAllocationCase_ == 3) { ref = servicesIpAllocation_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (servicesIpAllocationCase_ == 3) { servicesIpAllocation_ = b; } @@ -1573,41 +1438,34 @@ public com.google.protobuf.ByteString getServicesSecondaryRangeNameBytes() { } } /** - * - * *
          * Optional. The name of the services' secondary range used to allocate
          * IP addresses to the GKE cluster.
          * This field is applicable only when `use_ip_aliases` is true.
          * 
    * - * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param value The servicesSecondaryRangeName to set. * @return This builder for chaining. */ - public Builder setServicesSecondaryRangeName(java.lang.String value) { + public Builder setServicesSecondaryRangeName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - servicesIpAllocationCase_ = 3; + throw new NullPointerException(); + } + servicesIpAllocationCase_ = 3; servicesIpAllocation_ = value; onChanged(); return this; } /** - * - * *
          * Optional. The name of the services' secondary range used to allocate
          * IP addresses to the GKE cluster.
          * This field is applicable only when `use_ip_aliases` is true.
          * 
    * - * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearServicesSecondaryRangeName() { @@ -1619,25 +1477,22 @@ public Builder clearServicesSecondaryRangeName() { return this; } /** - * - * *
          * Optional. The name of the services' secondary range used to allocate
          * IP addresses to the GKE cluster.
          * This field is applicable only when `use_ip_aliases` is true.
          * 
    * - * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param value The bytes for servicesSecondaryRangeName to set. * @return This builder for chaining. */ - public Builder setServicesSecondaryRangeNameBytes(com.google.protobuf.ByteString value) { + public Builder setServicesSecondaryRangeNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); servicesIpAllocationCase_ = 3; servicesIpAllocation_ = value; onChanged(); @@ -1645,8 +1500,6 @@ public Builder setServicesSecondaryRangeNameBytes(com.google.protobuf.ByteString } /** - * - * *
          * Optional. The IP address range of the services IP addresses in this
          * GKE cluster.
    @@ -1662,7 +1515,6 @@ public Builder setServicesSecondaryRangeNameBytes(com.google.protobuf.ByteString
          * 
    * * string services_ipv4_cidr_block = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return Whether the servicesIpv4CidrBlock field is set. */ @java.lang.Override @@ -1670,8 +1522,6 @@ public boolean hasServicesIpv4CidrBlock() { return servicesIpAllocationCase_ == 5; } /** - * - * *
          * Optional. The IP address range of the services IP addresses in this
          * GKE cluster.
    @@ -1687,7 +1537,6 @@ public boolean hasServicesIpv4CidrBlock() {
          * 
    * * string services_ipv4_cidr_block = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The servicesIpv4CidrBlock. */ @java.lang.Override @@ -1697,7 +1546,8 @@ public java.lang.String getServicesIpv4CidrBlock() { ref = servicesIpAllocation_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (servicesIpAllocationCase_ == 5) { servicesIpAllocation_ = s; @@ -1708,8 +1558,6 @@ public java.lang.String getServicesIpv4CidrBlock() { } } /** - * - * *
          * Optional. The IP address range of the services IP addresses in this
          * GKE cluster.
    @@ -1725,18 +1573,19 @@ public java.lang.String getServicesIpv4CidrBlock() {
          * 
    * * string services_ipv4_cidr_block = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for servicesIpv4CidrBlock. */ @java.lang.Override - public com.google.protobuf.ByteString getServicesIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString + getServicesIpv4CidrBlockBytes() { java.lang.Object ref = ""; if (servicesIpAllocationCase_ == 5) { ref = servicesIpAllocation_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (servicesIpAllocationCase_ == 5) { servicesIpAllocation_ = b; } @@ -1746,8 +1595,6 @@ public com.google.protobuf.ByteString getServicesIpv4CidrBlockBytes() { } } /** - * - * *
          * Optional. The IP address range of the services IP addresses in this
          * GKE cluster.
    @@ -1763,22 +1610,20 @@ public com.google.protobuf.ByteString getServicesIpv4CidrBlockBytes() {
          * 
    * * string services_ipv4_cidr_block = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The servicesIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setServicesIpv4CidrBlock(java.lang.String value) { + public Builder setServicesIpv4CidrBlock( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - servicesIpAllocationCase_ = 5; + throw new NullPointerException(); + } + servicesIpAllocationCase_ = 5; servicesIpAllocation_ = value; onChanged(); return this; } /** - * - * *
          * Optional. The IP address range of the services IP addresses in this
          * GKE cluster.
    @@ -1794,7 +1639,6 @@ public Builder setServicesIpv4CidrBlock(java.lang.String value) {
          * 
    * * string services_ipv4_cidr_block = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearServicesIpv4CidrBlock() { @@ -1806,8 +1650,6 @@ public Builder clearServicesIpv4CidrBlock() { return this; } /** - * - * *
          * Optional. The IP address range of the services IP addresses in this
          * GKE cluster.
    @@ -1823,23 +1665,23 @@ public Builder clearServicesIpv4CidrBlock() {
          * 
    * * string services_ipv4_cidr_block = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for servicesIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setServicesIpv4CidrBlockBytes(com.google.protobuf.ByteString value) { + public Builder setServicesIpv4CidrBlockBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); servicesIpAllocationCase_ = 5; servicesIpAllocation_ = 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); } @@ -1849,32 +1691,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy) - private static final com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy - DEFAULT_INSTANCE; - + private static final com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy(); } - public static com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy - getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IPAllocationPolicy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new IPAllocationPolicy(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IPAllocationPolicy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IPAllocationPolicy(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1886,8 +1726,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy - getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/IPAllocationPolicyOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/IPAllocationPolicyOrBuilder.java similarity index 84% rename from proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/IPAllocationPolicyOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/IPAllocationPolicyOrBuilder.java index 95501b66..75cd3da5 100644 --- a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/IPAllocationPolicyOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/IPAllocationPolicyOrBuilder.java @@ -1,45 +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/orchestration/airflow/service/v1/environments.proto package com.google.cloud.orchestration.airflow.service.v1; -public interface IPAllocationPolicyOrBuilder - extends +public interface IPAllocationPolicyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * Optional. Whether or not to enable Alias IPs in the GKE cluster.
        * If `true`, a VPC-native cluster is created.
        * 
    * * bool use_ip_aliases = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The useIpAliases. */ boolean getUseIpAliases(); /** - * - * *
        * Optional. The name of the GKE cluster's secondary range used to allocate
        * IP addresses to pods.
    @@ -47,13 +26,10 @@ public interface IPAllocationPolicyOrBuilder
        * 
    * * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return Whether the clusterSecondaryRangeName field is set. */ boolean hasClusterSecondaryRangeName(); /** - * - * *
        * Optional. The name of the GKE cluster's secondary range used to allocate
        * IP addresses to pods.
    @@ -61,13 +37,10 @@ public interface IPAllocationPolicyOrBuilder
        * 
    * * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The clusterSecondaryRangeName. */ java.lang.String getClusterSecondaryRangeName(); /** - * - * *
        * Optional. The name of the GKE cluster's secondary range used to allocate
        * IP addresses to pods.
    @@ -75,14 +48,12 @@ public interface IPAllocationPolicyOrBuilder
        * 
    * * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for clusterSecondaryRangeName. */ - com.google.protobuf.ByteString getClusterSecondaryRangeNameBytes(); + com.google.protobuf.ByteString + getClusterSecondaryRangeNameBytes(); /** - * - * *
        * Optional. The IP address range used to allocate IP addresses to pods in
        * the GKE cluster.
    @@ -98,13 +69,10 @@ public interface IPAllocationPolicyOrBuilder
        * 
    * * string cluster_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return Whether the clusterIpv4CidrBlock field is set. */ boolean hasClusterIpv4CidrBlock(); /** - * - * *
        * Optional. The IP address range used to allocate IP addresses to pods in
        * the GKE cluster.
    @@ -120,13 +88,10 @@ public interface IPAllocationPolicyOrBuilder
        * 
    * * string cluster_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The clusterIpv4CidrBlock. */ java.lang.String getClusterIpv4CidrBlock(); /** - * - * *
        * Optional. The IP address range used to allocate IP addresses to pods in
        * the GKE cluster.
    @@ -142,60 +107,47 @@ public interface IPAllocationPolicyOrBuilder
        * 
    * * string cluster_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for clusterIpv4CidrBlock. */ - com.google.protobuf.ByteString getClusterIpv4CidrBlockBytes(); + com.google.protobuf.ByteString + getClusterIpv4CidrBlockBytes(); /** - * - * *
        * Optional. The name of the services' secondary range used to allocate
        * IP addresses to the GKE cluster.
        * This field is applicable only when `use_ip_aliases` is true.
        * 
    * - * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the servicesSecondaryRangeName field is set. */ boolean hasServicesSecondaryRangeName(); /** - * - * *
        * Optional. The name of the services' secondary range used to allocate
        * IP addresses to the GKE cluster.
        * This field is applicable only when `use_ip_aliases` is true.
        * 
    * - * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The servicesSecondaryRangeName. */ java.lang.String getServicesSecondaryRangeName(); /** - * - * *
        * Optional. The name of the services' secondary range used to allocate
        * IP addresses to the GKE cluster.
        * This field is applicable only when `use_ip_aliases` is true.
        * 
    * - * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The bytes for servicesSecondaryRangeName. */ - com.google.protobuf.ByteString getServicesSecondaryRangeNameBytes(); + com.google.protobuf.ByteString + getServicesSecondaryRangeNameBytes(); /** - * - * *
        * Optional. The IP address range of the services IP addresses in this
        * GKE cluster.
    @@ -211,13 +163,10 @@ public interface IPAllocationPolicyOrBuilder
        * 
    * * string services_ipv4_cidr_block = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return Whether the servicesIpv4CidrBlock field is set. */ boolean hasServicesIpv4CidrBlock(); /** - * - * *
        * Optional. The IP address range of the services IP addresses in this
        * GKE cluster.
    @@ -233,13 +182,10 @@ public interface IPAllocationPolicyOrBuilder
        * 
    * * string services_ipv4_cidr_block = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The servicesIpv4CidrBlock. */ java.lang.String getServicesIpv4CidrBlock(); /** - * - * *
        * Optional. The IP address range of the services IP addresses in this
        * GKE cluster.
    @@ -255,16 +201,12 @@ public interface IPAllocationPolicyOrBuilder
        * 
    * * string services_ipv4_cidr_block = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for servicesIpv4CidrBlock. */ - com.google.protobuf.ByteString getServicesIpv4CidrBlockBytes(); + com.google.protobuf.ByteString + getServicesIpv4CidrBlockBytes(); - public com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy - .ClusterIpAllocationCase - getClusterIpAllocationCase(); + public com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.ClusterIpAllocationCase getClusterIpAllocationCase(); - public com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy - .ServicesIpAllocationCase - getServicesIpAllocationCase(); + public com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.ServicesIpAllocationCase getServicesIpAllocationCase(); } diff --git a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersion.java b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersion.java similarity index 73% rename from proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersion.java rename to owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersion.java index b111e06e..4b292245 100644 --- a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersion.java +++ b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersion.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/orchestration/airflow/service/v1/image_versions.proto package com.google.cloud.orchestration.airflow.service.v1; /** - * - * *
      * ImageVersion information
      * 
    * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.ImageVersion} */ -public final class ImageVersion extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImageVersion extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1.ImageVersion) ImageVersionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImageVersion.newBuilder() to construct. private ImageVersion(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImageVersion() { imageVersionId_ = ""; supportedPythonVersions_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -44,15 +26,16 @@ private ImageVersion() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImageVersion(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImageVersion( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,59 +55,56 @@ private ImageVersion( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - imageVersionId_ = s; - break; - } - case 16: - { - isDefault_ = input.readBool(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - supportedPythonVersions_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - supportedPythonVersions_.add(s); - break; - } - case 34: - { - com.google.type.Date.Builder subBuilder = null; - if (releaseDate_ != null) { - subBuilder = releaseDate_.toBuilder(); - } - releaseDate_ = input.readMessage(com.google.type.Date.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(releaseDate_); - releaseDate_ = subBuilder.buildPartial(); - } + imageVersionId_ = s; + break; + } + case 16: { - break; + isDefault_ = input.readBool(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + supportedPythonVersions_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 40: - { - creationDisabled_ = input.readBool(); - break; + supportedPythonVersions_.add(s); + break; + } + case 34: { + com.google.type.Date.Builder subBuilder = null; + if (releaseDate_ != null) { + subBuilder = releaseDate_.toBuilder(); } - case 48: - { - upgradeDisabled_ = input.readBool(); - break; + releaseDate_ = input.readMessage(com.google.type.Date.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(releaseDate_); + releaseDate_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 40: { + + creationDisabled_ = input.readBool(); + break; + } + case 48: { + + upgradeDisabled_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -132,7 +112,8 @@ private ImageVersion( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { supportedPythonVersions_ = supportedPythonVersions_.getUnmodifiableView(); @@ -141,34 +122,28 @@ private ImageVersion( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.ImageVersionsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_ImageVersion_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.ImageVersionsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_ImageVersion_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1.ImageVersionsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_ImageVersion_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1.ImageVersionsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_ImageVersion_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1.ImageVersion.class, - com.google.cloud.orchestration.airflow.service.v1.ImageVersion.Builder.class); + com.google.cloud.orchestration.airflow.service.v1.ImageVersion.class, com.google.cloud.orchestration.airflow.service.v1.ImageVersion.Builder.class); } public static final int IMAGE_VERSION_ID_FIELD_NUMBER = 1; private volatile java.lang.Object imageVersionId_; /** - * - * *
        * The string identifier of the ImageVersion, in the form:
        * "composer-x.y.z-airflow-a.b(.c)"
        * 
    * * string image_version_id = 1; - * * @return The imageVersionId. */ @java.lang.Override @@ -177,30 +152,30 @@ public java.lang.String getImageVersionId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageVersionId_ = s; return s; } } /** - * - * *
        * The string identifier of the ImageVersion, in the form:
        * "composer-x.y.z-airflow-a.b(.c)"
        * 
    * * string image_version_id = 1; - * * @return The bytes for imageVersionId. */ @java.lang.Override - public com.google.protobuf.ByteString getImageVersionIdBytes() { + public com.google.protobuf.ByteString + getImageVersionIdBytes() { java.lang.Object ref = imageVersionId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); imageVersionId_ = b; return b; } else { @@ -211,15 +186,12 @@ public com.google.protobuf.ByteString getImageVersionIdBytes() { public static final int IS_DEFAULT_FIELD_NUMBER = 2; private boolean isDefault_; /** - * - * *
        * Whether this is the default ImageVersion used by Composer during
        * environment creation if no input ImageVersion is specified.
        * 
    * * bool is_default = 2; - * * @return The isDefault. */ @java.lang.Override @@ -230,42 +202,34 @@ public boolean getIsDefault() { public static final int SUPPORTED_PYTHON_VERSIONS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList supportedPythonVersions_; /** - * - * *
        * supported python versions
        * 
    * * repeated string supported_python_versions = 3; - * * @return A list containing the supportedPythonVersions. */ - public com.google.protobuf.ProtocolStringList getSupportedPythonVersionsList() { + public com.google.protobuf.ProtocolStringList + getSupportedPythonVersionsList() { return supportedPythonVersions_; } /** - * - * *
        * supported python versions
        * 
    * * repeated string supported_python_versions = 3; - * * @return The count of supportedPythonVersions. */ public int getSupportedPythonVersionsCount() { return supportedPythonVersions_.size(); } /** - * - * *
        * supported python versions
        * 
    * * repeated string supported_python_versions = 3; - * * @param index The index of the element to return. * @return The supportedPythonVersions at the given index. */ @@ -273,32 +237,27 @@ public java.lang.String getSupportedPythonVersions(int index) { return supportedPythonVersions_.get(index); } /** - * - * *
        * supported python versions
        * 
    * * repeated string supported_python_versions = 3; - * * @param index The index of the value to return. * @return The bytes of the supportedPythonVersions at the given index. */ - public com.google.protobuf.ByteString getSupportedPythonVersionsBytes(int index) { + public com.google.protobuf.ByteString + getSupportedPythonVersionsBytes(int index) { return supportedPythonVersions_.getByteString(index); } public static final int RELEASE_DATE_FIELD_NUMBER = 4; private com.google.type.Date releaseDate_; /** - * - * *
        * The date of the version release.
        * 
    * * .google.type.Date release_date = 4; - * * @return Whether the releaseDate field is set. */ @java.lang.Override @@ -306,14 +265,11 @@ public boolean hasReleaseDate() { return releaseDate_ != null; } /** - * - * *
        * The date of the version release.
        * 
    * * .google.type.Date release_date = 4; - * * @return The releaseDate. */ @java.lang.Override @@ -321,8 +277,6 @@ public com.google.type.Date getReleaseDate() { return releaseDate_ == null ? com.google.type.Date.getDefaultInstance() : releaseDate_; } /** - * - * *
        * The date of the version release.
        * 
    @@ -337,14 +291,11 @@ public com.google.type.DateOrBuilder getReleaseDateOrBuilder() { public static final int CREATION_DISABLED_FIELD_NUMBER = 5; private boolean creationDisabled_; /** - * - * *
        * Whether it is impossible to create an environment with the image version.
        * 
    * * bool creation_disabled = 5; - * * @return The creationDisabled. */ @java.lang.Override @@ -355,15 +306,12 @@ public boolean getCreationDisabled() { public static final int UPGRADE_DISABLED_FIELD_NUMBER = 6; private boolean upgradeDisabled_; /** - * - * *
        * Whether it is impossible to upgrade an environment running with the image
        * version.
        * 
    * * bool upgrade_disabled = 6; - * * @return The upgradeDisabled. */ @java.lang.Override @@ -372,7 +320,6 @@ public boolean getUpgradeDisabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -384,7 +331,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageVersionId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, imageVersionId_); } @@ -392,8 +340,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeBool(2, isDefault_); } for (int i = 0; i < supportedPythonVersions_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 3, supportedPythonVersions_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, supportedPythonVersions_.getRaw(i)); } if (releaseDate_ != null) { output.writeMessage(4, getReleaseDate()); @@ -417,7 +364,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, imageVersionId_); } if (isDefault_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, isDefault_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, isDefault_); } { int dataSize = 0; @@ -428,13 +376,16 @@ public int getSerializedSize() { size += 1 * getSupportedPythonVersionsList().size(); } if (releaseDate_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getReleaseDate()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getReleaseDate()); } if (creationDisabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, creationDisabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, creationDisabled_); } if (upgradeDisabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, upgradeDisabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, upgradeDisabled_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -444,24 +395,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.orchestration.airflow.service.v1.ImageVersion)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1.ImageVersion other = - (com.google.cloud.orchestration.airflow.service.v1.ImageVersion) obj; + com.google.cloud.orchestration.airflow.service.v1.ImageVersion other = (com.google.cloud.orchestration.airflow.service.v1.ImageVersion) obj; - if (!getImageVersionId().equals(other.getImageVersionId())) return false; - if (getIsDefault() != other.getIsDefault()) return false; - if (!getSupportedPythonVersionsList().equals(other.getSupportedPythonVersionsList())) - return false; + if (!getImageVersionId() + .equals(other.getImageVersionId())) return false; + if (getIsDefault() + != other.getIsDefault()) return false; + if (!getSupportedPythonVersionsList() + .equals(other.getSupportedPythonVersionsList())) return false; if (hasReleaseDate() != other.hasReleaseDate()) return false; if (hasReleaseDate()) { - if (!getReleaseDate().equals(other.getReleaseDate())) return false; + if (!getReleaseDate() + .equals(other.getReleaseDate())) return false; } - if (getCreationDisabled() != other.getCreationDisabled()) return false; - if (getUpgradeDisabled() != other.getUpgradeDisabled()) return false; + if (getCreationDisabled() + != other.getCreationDisabled()) return false; + if (getUpgradeDisabled() + != other.getUpgradeDisabled()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -476,7 +431,8 @@ public int hashCode() { hash = (37 * hash) + IMAGE_VERSION_ID_FIELD_NUMBER; hash = (53 * hash) + getImageVersionId().hashCode(); hash = (37 * hash) + IS_DEFAULT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsDefault()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIsDefault()); if (getSupportedPythonVersionsCount() > 0) { hash = (37 * hash) + SUPPORTED_PYTHON_VERSIONS_FIELD_NUMBER; hash = (53 * hash) + getSupportedPythonVersionsList().hashCode(); @@ -486,136 +442,128 @@ public int hashCode() { hash = (53 * hash) + getReleaseDate().hashCode(); } hash = (37 * hash) + CREATION_DISABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCreationDisabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getCreationDisabled()); hash = (37 * hash) + UPGRADE_DISABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUpgradeDisabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getUpgradeDisabled()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.orchestration.airflow.service.v1.ImageVersion 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.orchestration.airflow.service.v1.ImageVersion parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.ImageVersion parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1.ImageVersion parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1.ImageVersion parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1.ImageVersion parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1.ImageVersion parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1.ImageVersion parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1.ImageVersion parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1.ImageVersion parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1.ImageVersion parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1.ImageVersion parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1.ImageVersion parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.ImageVersion parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1.ImageVersion parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.orchestration.airflow.service.v1.ImageVersion prototype) { + public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1.ImageVersion prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
        * ImageVersion information
        * 
    * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.ImageVersion} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1.ImageVersion) com.google.cloud.orchestration.airflow.service.v1.ImageVersionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.ImageVersionsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_ImageVersion_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.ImageVersionsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_ImageVersion_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1.ImageVersionsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_ImageVersion_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1.ImageVersionsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_ImageVersion_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1.ImageVersion.class, - com.google.cloud.orchestration.airflow.service.v1.ImageVersion.Builder.class); + com.google.cloud.orchestration.airflow.service.v1.ImageVersion.class, com.google.cloud.orchestration.airflow.service.v1.ImageVersion.Builder.class); } // Construct using com.google.cloud.orchestration.airflow.service.v1.ImageVersion.newBuilder() @@ -623,15 +571,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(); @@ -655,14 +604,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1.ImageVersionsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_ImageVersion_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1.ImageVersionsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_ImageVersion_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.ImageVersion - getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1.ImageVersion getDefaultInstanceForType() { return com.google.cloud.orchestration.airflow.service.v1.ImageVersion.getDefaultInstance(); } @@ -677,8 +625,7 @@ public com.google.cloud.orchestration.airflow.service.v1.ImageVersion build() { @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1.ImageVersion buildPartial() { - com.google.cloud.orchestration.airflow.service.v1.ImageVersion result = - new com.google.cloud.orchestration.airflow.service.v1.ImageVersion(this); + com.google.cloud.orchestration.airflow.service.v1.ImageVersion result = new com.google.cloud.orchestration.airflow.service.v1.ImageVersion(this); int from_bitField0_ = bitField0_; result.imageVersionId_ = imageVersionId_; result.isDefault_ = isDefault_; @@ -702,39 +649,38 @@ public com.google.cloud.orchestration.airflow.service.v1.ImageVersion buildParti public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.orchestration.airflow.service.v1.ImageVersion) { - return mergeFrom((com.google.cloud.orchestration.airflow.service.v1.ImageVersion) other); + return mergeFrom((com.google.cloud.orchestration.airflow.service.v1.ImageVersion)other); } else { super.mergeFrom(other); return this; @@ -742,9 +688,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1.ImageVersion other) { - if (other - == com.google.cloud.orchestration.airflow.service.v1.ImageVersion.getDefaultInstance()) - return this; + if (other == com.google.cloud.orchestration.airflow.service.v1.ImageVersion.getDefaultInstance()) return this; if (!other.getImageVersionId().isEmpty()) { imageVersionId_ = other.imageVersionId_; onChanged(); @@ -790,9 +734,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.orchestration.airflow.service.v1.ImageVersion) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.orchestration.airflow.service.v1.ImageVersion) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -801,26 +743,23 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object imageVersionId_ = ""; /** - * - * *
          * The string identifier of the ImageVersion, in the form:
          * "composer-x.y.z-airflow-a.b(.c)"
          * 
    * * string image_version_id = 1; - * * @return The imageVersionId. */ public java.lang.String getImageVersionId() { java.lang.Object ref = imageVersionId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageVersionId_ = s; return s; @@ -829,22 +768,21 @@ public java.lang.String getImageVersionId() { } } /** - * - * *
          * The string identifier of the ImageVersion, in the form:
          * "composer-x.y.z-airflow-a.b(.c)"
          * 
    * * string image_version_id = 1; - * * @return The bytes for imageVersionId. */ - public com.google.protobuf.ByteString getImageVersionIdBytes() { + public com.google.protobuf.ByteString + getImageVersionIdBytes() { java.lang.Object ref = imageVersionId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); imageVersionId_ = b; return b; } else { @@ -852,80 +790,70 @@ public com.google.protobuf.ByteString getImageVersionIdBytes() { } } /** - * - * *
          * The string identifier of the ImageVersion, in the form:
          * "composer-x.y.z-airflow-a.b(.c)"
          * 
    * * string image_version_id = 1; - * * @param value The imageVersionId to set. * @return This builder for chaining. */ - public Builder setImageVersionId(java.lang.String value) { + public Builder setImageVersionId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + imageVersionId_ = value; onChanged(); return this; } /** - * - * *
          * The string identifier of the ImageVersion, in the form:
          * "composer-x.y.z-airflow-a.b(.c)"
          * 
    * * string image_version_id = 1; - * * @return This builder for chaining. */ public Builder clearImageVersionId() { - + imageVersionId_ = getDefaultInstance().getImageVersionId(); onChanged(); return this; } /** - * - * *
          * The string identifier of the ImageVersion, in the form:
          * "composer-x.y.z-airflow-a.b(.c)"
          * 
    * * string image_version_id = 1; - * * @param value The bytes for imageVersionId to set. * @return This builder for chaining. */ - public Builder setImageVersionIdBytes(com.google.protobuf.ByteString value) { + public Builder setImageVersionIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + imageVersionId_ = value; onChanged(); return this; } - private boolean isDefault_; + private boolean isDefault_ ; /** - * - * *
          * Whether this is the default ImageVersion used by Composer during
          * environment creation if no input ImageVersion is specified.
          * 
    * * bool is_default = 2; - * * @return The isDefault. */ @java.lang.Override @@ -933,90 +861,73 @@ public boolean getIsDefault() { return isDefault_; } /** - * - * *
          * Whether this is the default ImageVersion used by Composer during
          * environment creation if no input ImageVersion is specified.
          * 
    * * bool is_default = 2; - * * @param value The isDefault to set. * @return This builder for chaining. */ public Builder setIsDefault(boolean value) { - + isDefault_ = value; onChanged(); return this; } /** - * - * *
          * Whether this is the default ImageVersion used by Composer during
          * environment creation if no input ImageVersion is specified.
          * 
    * * bool is_default = 2; - * * @return This builder for chaining. */ public Builder clearIsDefault() { - + isDefault_ = false; onChanged(); return this; } - private com.google.protobuf.LazyStringList supportedPythonVersions_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList supportedPythonVersions_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureSupportedPythonVersionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - supportedPythonVersions_ = - new com.google.protobuf.LazyStringArrayList(supportedPythonVersions_); + supportedPythonVersions_ = new com.google.protobuf.LazyStringArrayList(supportedPythonVersions_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
          * supported python versions
          * 
    * * repeated string supported_python_versions = 3; - * * @return A list containing the supportedPythonVersions. */ - public com.google.protobuf.ProtocolStringList getSupportedPythonVersionsList() { + public com.google.protobuf.ProtocolStringList + getSupportedPythonVersionsList() { return supportedPythonVersions_.getUnmodifiableView(); } /** - * - * *
          * supported python versions
          * 
    * * repeated string supported_python_versions = 3; - * * @return The count of supportedPythonVersions. */ public int getSupportedPythonVersionsCount() { return supportedPythonVersions_.size(); } /** - * - * *
          * supported python versions
          * 
    * * repeated string supported_python_versions = 3; - * * @param index The index of the element to return. * @return The supportedPythonVersions at the given index. */ @@ -1024,90 +935,80 @@ public java.lang.String getSupportedPythonVersions(int index) { return supportedPythonVersions_.get(index); } /** - * - * *
          * supported python versions
          * 
    * * repeated string supported_python_versions = 3; - * * @param index The index of the value to return. * @return The bytes of the supportedPythonVersions at the given index. */ - public com.google.protobuf.ByteString getSupportedPythonVersionsBytes(int index) { + public com.google.protobuf.ByteString + getSupportedPythonVersionsBytes(int index) { return supportedPythonVersions_.getByteString(index); } /** - * - * *
          * supported python versions
          * 
    * * repeated string supported_python_versions = 3; - * * @param index The index to set the value at. * @param value The supportedPythonVersions to set. * @return This builder for chaining. */ - public Builder setSupportedPythonVersions(int index, java.lang.String value) { + public Builder setSupportedPythonVersions( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureSupportedPythonVersionsIsMutable(); + throw new NullPointerException(); + } + ensureSupportedPythonVersionsIsMutable(); supportedPythonVersions_.set(index, value); onChanged(); return this; } /** - * - * *
          * supported python versions
          * 
    * * repeated string supported_python_versions = 3; - * * @param value The supportedPythonVersions to add. * @return This builder for chaining. */ - public Builder addSupportedPythonVersions(java.lang.String value) { + public Builder addSupportedPythonVersions( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureSupportedPythonVersionsIsMutable(); + throw new NullPointerException(); + } + ensureSupportedPythonVersionsIsMutable(); supportedPythonVersions_.add(value); onChanged(); return this; } /** - * - * *
          * supported python versions
          * 
    * * repeated string supported_python_versions = 3; - * * @param values The supportedPythonVersions to add. * @return This builder for chaining. */ - public Builder addAllSupportedPythonVersions(java.lang.Iterable values) { + public Builder addAllSupportedPythonVersions( + java.lang.Iterable values) { ensureSupportedPythonVersionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, supportedPythonVersions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, supportedPythonVersions_); onChanged(); return this; } /** - * - * *
          * supported python versions
          * 
    * * repeated string supported_python_versions = 3; - * * @return This builder for chaining. */ public Builder clearSupportedPythonVersions() { @@ -1117,22 +1018,20 @@ public Builder clearSupportedPythonVersions() { return this; } /** - * - * *
          * supported python versions
          * 
    * * repeated string supported_python_versions = 3; - * * @param value The bytes of the supportedPythonVersions to add. * @return This builder for chaining. */ - public Builder addSupportedPythonVersionsBytes(com.google.protobuf.ByteString value) { + public Builder addSupportedPythonVersionsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureSupportedPythonVersionsIsMutable(); supportedPythonVersions_.add(value); onChanged(); @@ -1141,31 +1040,24 @@ public Builder addSupportedPythonVersionsBytes(com.google.protobuf.ByteString va private com.google.type.Date releaseDate_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> - releaseDateBuilder_; + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> releaseDateBuilder_; /** - * - * *
          * The date of the version release.
          * 
    * * .google.type.Date release_date = 4; - * * @return Whether the releaseDate field is set. */ public boolean hasReleaseDate() { return releaseDateBuilder_ != null || releaseDate_ != null; } /** - * - * *
          * The date of the version release.
          * 
    * * .google.type.Date release_date = 4; - * * @return The releaseDate. */ public com.google.type.Date getReleaseDate() { @@ -1176,8 +1068,6 @@ public com.google.type.Date getReleaseDate() { } } /** - * - * *
          * The date of the version release.
          * 
    @@ -1198,15 +1088,14 @@ public Builder setReleaseDate(com.google.type.Date value) { return this; } /** - * - * *
          * The date of the version release.
          * 
    * * .google.type.Date release_date = 4; */ - public Builder setReleaseDate(com.google.type.Date.Builder builderForValue) { + public Builder setReleaseDate( + com.google.type.Date.Builder builderForValue) { if (releaseDateBuilder_ == null) { releaseDate_ = builderForValue.build(); onChanged(); @@ -1217,8 +1106,6 @@ public Builder setReleaseDate(com.google.type.Date.Builder builderForValue) { return this; } /** - * - * *
          * The date of the version release.
          * 
    @@ -1229,7 +1116,7 @@ public Builder mergeReleaseDate(com.google.type.Date value) { if (releaseDateBuilder_ == null) { if (releaseDate_ != null) { releaseDate_ = - com.google.type.Date.newBuilder(releaseDate_).mergeFrom(value).buildPartial(); + com.google.type.Date.newBuilder(releaseDate_).mergeFrom(value).buildPartial(); } else { releaseDate_ = value; } @@ -1241,8 +1128,6 @@ public Builder mergeReleaseDate(com.google.type.Date value) { return this; } /** - * - * *
          * The date of the version release.
          * 
    @@ -1261,8 +1146,6 @@ public Builder clearReleaseDate() { return this; } /** - * - * *
          * The date of the version release.
          * 
    @@ -1270,13 +1153,11 @@ public Builder clearReleaseDate() { * .google.type.Date release_date = 4; */ public com.google.type.Date.Builder getReleaseDateBuilder() { - + onChanged(); return getReleaseDateFieldBuilder().getBuilder(); } /** - * - * *
          * The date of the version release.
          * 
    @@ -1287,12 +1168,11 @@ public com.google.type.DateOrBuilder getReleaseDateOrBuilder() { if (releaseDateBuilder_ != null) { return releaseDateBuilder_.getMessageOrBuilder(); } else { - return releaseDate_ == null ? com.google.type.Date.getDefaultInstance() : releaseDate_; + return releaseDate_ == null ? + com.google.type.Date.getDefaultInstance() : releaseDate_; } } /** - * - * *
          * The date of the version release.
          * 
    @@ -1300,28 +1180,26 @@ public com.google.type.DateOrBuilder getReleaseDateOrBuilder() { * .google.type.Date release_date = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> getReleaseDateFieldBuilder() { if (releaseDateBuilder_ == null) { - releaseDateBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>( - getReleaseDate(), getParentForChildren(), isClean()); + releaseDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>( + getReleaseDate(), + getParentForChildren(), + isClean()); releaseDate_ = null; } return releaseDateBuilder_; } - private boolean creationDisabled_; + private boolean creationDisabled_ ; /** - * - * *
          * Whether it is impossible to create an environment with the image version.
          * 
    * * bool creation_disabled = 5; - * * @return The creationDisabled. */ @java.lang.Override @@ -1329,52 +1207,43 @@ public boolean getCreationDisabled() { return creationDisabled_; } /** - * - * *
          * Whether it is impossible to create an environment with the image version.
          * 
    * * bool creation_disabled = 5; - * * @param value The creationDisabled to set. * @return This builder for chaining. */ public Builder setCreationDisabled(boolean value) { - + creationDisabled_ = value; onChanged(); return this; } /** - * - * *
          * Whether it is impossible to create an environment with the image version.
          * 
    * * bool creation_disabled = 5; - * * @return This builder for chaining. */ public Builder clearCreationDisabled() { - + creationDisabled_ = false; onChanged(); return this; } - private boolean upgradeDisabled_; + private boolean upgradeDisabled_ ; /** - * - * *
          * Whether it is impossible to upgrade an environment running with the image
          * version.
          * 
    * * bool upgrade_disabled = 6; - * * @return The upgradeDisabled. */ @java.lang.Override @@ -1382,45 +1251,39 @@ public boolean getUpgradeDisabled() { return upgradeDisabled_; } /** - * - * *
          * Whether it is impossible to upgrade an environment running with the image
          * version.
          * 
    * * bool upgrade_disabled = 6; - * * @param value The upgradeDisabled to set. * @return This builder for chaining. */ public Builder setUpgradeDisabled(boolean value) { - + upgradeDisabled_ = value; onChanged(); return this; } /** - * - * *
          * Whether it is impossible to upgrade an environment running with the image
          * version.
          * 
    * * bool upgrade_disabled = 6; - * * @return This builder for chaining. */ public Builder clearUpgradeDisabled() { - + upgradeDisabled_ = 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); } @@ -1430,32 +1293,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1.ImageVersion) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1.ImageVersion) - private static final com.google.cloud.orchestration.airflow.service.v1.ImageVersion - DEFAULT_INSTANCE; - + private static final com.google.cloud.orchestration.airflow.service.v1.ImageVersion DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1.ImageVersion(); } - public static com.google.cloud.orchestration.airflow.service.v1.ImageVersion - getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1.ImageVersion getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImageVersion parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImageVersion(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImageVersion parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImageVersion(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1467,8 +1328,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.ImageVersion - getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1.ImageVersion getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionOrBuilder.java similarity index 75% rename from proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionOrBuilder.java index b978b4a5..eb983624 100644 --- a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionOrBuilder.java @@ -1,147 +1,105 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/orchestration/airflow/service/v1/image_versions.proto package com.google.cloud.orchestration.airflow.service.v1; -public interface ImageVersionOrBuilder - extends +public interface ImageVersionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1.ImageVersion) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * The string identifier of the ImageVersion, in the form:
        * "composer-x.y.z-airflow-a.b(.c)"
        * 
    * * string image_version_id = 1; - * * @return The imageVersionId. */ java.lang.String getImageVersionId(); /** - * - * *
        * The string identifier of the ImageVersion, in the form:
        * "composer-x.y.z-airflow-a.b(.c)"
        * 
    * * string image_version_id = 1; - * * @return The bytes for imageVersionId. */ - com.google.protobuf.ByteString getImageVersionIdBytes(); + com.google.protobuf.ByteString + getImageVersionIdBytes(); /** - * - * *
        * Whether this is the default ImageVersion used by Composer during
        * environment creation if no input ImageVersion is specified.
        * 
    * * bool is_default = 2; - * * @return The isDefault. */ boolean getIsDefault(); /** - * - * *
        * supported python versions
        * 
    * * repeated string supported_python_versions = 3; - * * @return A list containing the supportedPythonVersions. */ - java.util.List getSupportedPythonVersionsList(); + java.util.List + getSupportedPythonVersionsList(); /** - * - * *
        * supported python versions
        * 
    * * repeated string supported_python_versions = 3; - * * @return The count of supportedPythonVersions. */ int getSupportedPythonVersionsCount(); /** - * - * *
        * supported python versions
        * 
    * * repeated string supported_python_versions = 3; - * * @param index The index of the element to return. * @return The supportedPythonVersions at the given index. */ java.lang.String getSupportedPythonVersions(int index); /** - * - * *
        * supported python versions
        * 
    * * repeated string supported_python_versions = 3; - * * @param index The index of the value to return. * @return The bytes of the supportedPythonVersions at the given index. */ - com.google.protobuf.ByteString getSupportedPythonVersionsBytes(int index); + com.google.protobuf.ByteString + getSupportedPythonVersionsBytes(int index); /** - * - * *
        * The date of the version release.
        * 
    * * .google.type.Date release_date = 4; - * * @return Whether the releaseDate field is set. */ boolean hasReleaseDate(); /** - * - * *
        * The date of the version release.
        * 
    * * .google.type.Date release_date = 4; - * * @return The releaseDate. */ com.google.type.Date getReleaseDate(); /** - * - * *
        * The date of the version release.
        * 
    @@ -151,28 +109,22 @@ public interface ImageVersionOrBuilder com.google.type.DateOrBuilder getReleaseDateOrBuilder(); /** - * - * *
        * Whether it is impossible to create an environment with the image version.
        * 
    * * bool creation_disabled = 5; - * * @return The creationDisabled. */ boolean getCreationDisabled(); /** - * - * *
        * Whether it is impossible to upgrade an environment running with the image
        * version.
        * 
    * * bool upgrade_disabled = 6; - * * @return The upgradeDisabled. */ boolean getUpgradeDisabled(); diff --git a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsOuterClass.java b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsOuterClass.java new file mode 100644 index 00000000..dafb542e --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsOuterClass.java @@ -0,0 +1,110 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/orchestration/airflow/service/v1/image_versions.proto + +package com.google.cloud.orchestration.airflow.service.v1; + +public final class ImageVersionsOuterClass { + private ImageVersionsOuterClass() {} + 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_orchestration_airflow_service_v1_ListImageVersionsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_orchestration_airflow_service_v1_ImageVersion_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_orchestration_airflow_service_v1_ImageVersion_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\nBgoogle/cloud/orchestration/airflow/ser" + + "vice/v1/image_versions.proto\022-google.clo" + + "ud.orchestration.airflow.service.v1\032\034goo" + + "gle/api/annotations.proto\032\027google/api/cl" + + "ient.proto\032\026google/type/date.proto\"p\n\030Li" + + "stImageVersionsRequest\022\016\n\006parent\030\001 \001(\t\022\021" + + "\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\035\n" + + "\025include_past_releases\030\004 \001(\010\"\211\001\n\031ListIma" + + "geVersionsResponse\022S\n\016image_versions\030\001 \003" + + "(\0132;.google.cloud.orchestration.airflow." + + "service.v1.ImageVersion\022\027\n\017next_page_tok" + + "en\030\002 \001(\t\"\275\001\n\014ImageVersion\022\030\n\020image_versi" + + "on_id\030\001 \001(\t\022\022\n\nis_default\030\002 \001(\010\022!\n\031suppo" + + "rted_python_versions\030\003 \003(\t\022\'\n\014release_da" + + "te\030\004 \001(\0132\021.google.type.Date\022\031\n\021creation_" + + "disabled\030\005 \001(\010\022\030\n\020upgrade_disabled\030\006 \001(\010" + + "2\311\002\n\rImageVersions\022\352\001\n\021ListImageVersions" + + "\022G.google.cloud.orchestration.airflow.se" + + "rvice.v1.ListImageVersionsRequest\032H.goog" + + "le.cloud.orchestration.airflow.service.v" + + "1.ListImageVersionsResponse\"B\202\323\344\223\0023\0221/v1" + + "/{parent=projects/*/locations/*}/imageVe" + + "rsions\332A\006parent\032K\312A\027composer.googleapis." + + "com\322A.https://www.googleapis.com/auth/cl" + + "oud-platformB\213\001\n1com.google.cloud.orches" + + "tration.airflow.service.v1P\001ZTgoogle.gol" + + "ang.org/genproto/googleapis/cloud/orches" + + "tration/airflow/service/v1;serviceb\006prot" + + "o3" + }; + 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.type.DateProto.getDescriptor(), + }); + internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", "IncludePastReleases", }); + internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsResponse_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsResponse_descriptor, + new java.lang.String[] { "ImageVersions", "NextPageToken", }); + internal_static_google_cloud_orchestration_airflow_service_v1_ImageVersion_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_orchestration_airflow_service_v1_ImageVersion_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_orchestration_airflow_service_v1_ImageVersion_descriptor, + new java.lang.String[] { "ImageVersionId", "IsDefault", "SupportedPythonVersions", "ReleaseDate", "CreationDisabled", "UpgradeDisabled", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.type.DateProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListEnvironmentsRequest.java b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListEnvironmentsRequest.java similarity index 66% rename from proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListEnvironmentsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListEnvironmentsRequest.java index ba442c3f..717931bb 100644 --- a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListEnvironmentsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListEnvironmentsRequest.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/orchestration/airflow/service/v1/environments.proto package com.google.cloud.orchestration.airflow.service.v1; /** - * - * *
      * List environments in a project and location.
      * 
    * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest} */ -public final class ListEnvironmentsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListEnvironmentsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest) ListEnvironmentsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListEnvironmentsRequest.newBuilder() to construct. private ListEnvironmentsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListEnvironmentsRequest() { parent_ = ""; pageToken_ = ""; @@ -44,15 +26,16 @@ private ListEnvironmentsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListEnvironmentsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListEnvironmentsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,32 +54,30 @@ private ListEnvironmentsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,41 +85,35 @@ private ListEnvironmentsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsRequest_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest.class, - com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest.Builder - .class); + com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest.class, com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
        * List environments in the given project and location, in the form:
        * "projects/{projectId}/locations/{locationId}"
        * 
    * * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -147,30 +122,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; } } /** - * - * *
        * List environments in the given project and location, in the form:
        * "projects/{projectId}/locations/{locationId}"
        * 
    * * 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 { @@ -181,14 +156,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
        * The maximum number of environments to return.
        * 
    * * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -199,14 +171,11 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
        * The next_page_token value returned from a previous List request, if any.
        * 
    * * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -215,29 +184,29 @@ 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 returned from a previous List request, if any.
        * 
    * * 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 { @@ -246,7 +215,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -258,7 +226,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -281,7 +250,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -294,18 +264,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest)) { + if (!(obj instanceof com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest other = - (com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest) obj; + com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest other = (com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest) 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,146 +300,134 @@ public int hashCode() { } public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest 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.orchestration.airflow.service.v1.ListEnvironmentsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest - 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.orchestration.airflow.service.v1.ListEnvironmentsRequest 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.orchestration.airflow.service.v1.ListEnvironmentsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest prototype) { + public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 environments in a project and location.
        * 
    * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest) com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsRequest_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest.class, - com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest.Builder - .class); + com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest.class, com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest.Builder.class); } - // Construct using - // com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest.newBuilder() + // Construct using com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -482,22 +441,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsRequest_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest - getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest - .getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest.getDefaultInstance(); } @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest build() { - com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest result = - buildPartial(); + com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -505,10 +461,8 @@ public com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest - buildPartial() { - com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest result = - new com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest(this); + public com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest buildPartial() { + com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest result = new com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -520,52 +474,46 @@ public com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest) { - return mergeFrom( - (com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest) other); + if (other instanceof com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest) { + return mergeFrom((com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest other) { - if (other - == com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest other) { + if (other == com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -592,14 +540,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest parsedMessage = - null; + com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -611,21 +556,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
          * List environments in the given project and location, in the form:
          * "projects/{projectId}/locations/{locationId}"
          * 
    * * 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; @@ -634,22 +577,21 @@ public java.lang.String getParent() { } } /** - * - * *
          * List environments in the given project and location, in the form:
          * "projects/{projectId}/locations/{locationId}"
          * 
    * * 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 { @@ -657,79 +599,69 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
          * List environments in the given project and location, in the form:
          * "projects/{projectId}/locations/{locationId}"
          * 
    * * 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; } /** - * - * *
          * List environments in the given project and location, in the form:
          * "projects/{projectId}/locations/{locationId}"
          * 
    * * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
          * List environments in the given project and location, in the form:
          * "projects/{projectId}/locations/{locationId}"
          * 
    * * 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 environments to return.
          * 
    * * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -737,36 +669,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
          * The maximum number of environments 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 environments to return.
          * 
    * * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -774,20 +700,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
          * The next_page_token value returned from a previous List request, if any.
          * 
    * * 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; @@ -796,21 +720,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
          * The next_page_token value returned from a previous List request, if any.
          * 
    * * 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 { @@ -818,68 +741,61 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
          * The next_page_token value returned from a previous List request, if any.
          * 
    * * 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 returned from a previous List request, if any.
          * 
    * * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
          * The next_page_token value returned from a previous List request, if any.
          * 
    * * 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); } @@ -889,33 +805,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest) - private static final com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest(); + DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest(); } - public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest - getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListEnvironmentsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListEnvironmentsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListEnvironmentsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListEnvironmentsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -927,8 +840,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest - getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListEnvironmentsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListEnvironmentsRequestOrBuilder.java similarity index 63% rename from proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListEnvironmentsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListEnvironmentsRequestOrBuilder.java index e937ef0e..30c7c78b 100644 --- a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListEnvironmentsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListEnvironmentsRequestOrBuilder.java @@ -1,90 +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/orchestration/airflow/service/v1/environments.proto package com.google.cloud.orchestration.airflow.service.v1; -public interface ListEnvironmentsRequestOrBuilder - extends +public interface ListEnvironmentsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * List environments in the given project and location, in the form:
        * "projects/{projectId}/locations/{locationId}"
        * 
    * * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
        * List environments in the given project and location, in the form:
        * "projects/{projectId}/locations/{locationId}"
        * 
    * * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
        * The maximum number of environments to return.
        * 
    * * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
        * The next_page_token value returned from a previous List request, if any.
        * 
    * * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
        * The next_page_token value returned from a previous List request, if any.
        * 
    * * 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-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListEnvironmentsResponse.java b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListEnvironmentsResponse.java similarity index 64% rename from proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListEnvironmentsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListEnvironmentsResponse.java index 01df7e88..2b8c9e90 100644 --- a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListEnvironmentsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListEnvironmentsResponse.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/orchestration/airflow/service/v1/environments.proto package com.google.cloud.orchestration.airflow.service.v1; /** - * - * *
      * The environments in a project and location.
      * 
    * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse} */ -public final class ListEnvironmentsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListEnvironmentsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse) ListEnvironmentsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListEnvironmentsResponse.newBuilder() to construct. private ListEnvironmentsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListEnvironmentsResponse() { environments_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListEnvironmentsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListEnvironmentsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListEnvironmentsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,34 +55,28 @@ private ListEnvironmentsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - environments_ = - new java.util.ArrayList< - com.google.cloud.orchestration.airflow.service.v1.Environment>(); - mutable_bitField0_ |= 0x00000001; - } - environments_.add( - input.readMessage( - com.google.cloud.orchestration.airflow.service.v1.Environment.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + environments_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + environments_.add( + input.readMessage(com.google.cloud.orchestration.airflow.service.v1.Environment.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -107,7 +84,8 @@ private ListEnvironmentsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { environments_ = java.util.Collections.unmodifiableList(environments_); @@ -116,112 +94,87 @@ private ListEnvironmentsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsResponse_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse.class, - com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse.Builder - .class); + com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse.class, com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse.Builder.class); } public static final int ENVIRONMENTS_FIELD_NUMBER = 1; - private java.util.List - environments_; + private java.util.List environments_; /** - * - * *
        * The list of environments returned by a ListEnvironmentsRequest.
        * 
    * - * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; */ @java.lang.Override - public java.util.List - getEnvironmentsList() { + public java.util.List getEnvironmentsList() { return environments_; } /** - * - * *
        * The list of environments returned by a ListEnvironmentsRequest.
        * 
    * - * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder> + public java.util.List getEnvironmentsOrBuilderList() { return environments_; } /** - * - * *
        * The list of environments returned by a ListEnvironmentsRequest.
        * 
    * - * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; */ @java.lang.Override public int getEnvironmentsCount() { return environments_.size(); } /** - * - * *
        * The list of environments returned by a ListEnvironmentsRequest.
        * 
    * - * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; */ @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1.Environment getEnvironments(int index) { return environments_.get(index); } /** - * - * *
        * The list of environments returned by a ListEnvironmentsRequest.
        * 
    * - * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder - getEnvironmentsOrBuilder(int index) { + public com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder getEnvironmentsOrBuilder( + int index) { return environments_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
        * The page token used to query for the next page if one exists.
        * 
    * * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -230,29 +183,29 @@ 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; } } /** - * - * *
        * The page token used to query for the next page if one exists.
        * 
    * * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -261,7 +214,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -273,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 < environments_.size(); i++) { output.writeMessage(1, environments_.get(i)); } @@ -290,7 +243,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < environments_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, environments_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, environments_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -303,17 +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.orchestration.airflow.service.v1.ListEnvironmentsResponse)) { + if (!(obj instanceof com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse other = - (com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse) obj; + com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse other = (com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse) obj; - if (!getEnvironmentsList().equals(other.getEnvironmentsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getEnvironmentsList() + .equals(other.getEnvironmentsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -336,154 +290,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse - 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.orchestration.airflow.service.v1.ListEnvironmentsResponse 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.orchestration.airflow.service.v1.ListEnvironmentsResponse - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse prototype) { + public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 environments in a project and location.
        * 
    * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse) com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsResponse_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse.class, - com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse.Builder - .class); + com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse.class, com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse.Builder.class); } - // Construct using - // com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse.newBuilder() + // Construct using com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse.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) { getEnvironmentsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -499,22 +435,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsResponse_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse - getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse - .getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse.getDefaultInstance(); } @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse build() { - com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse result = - buildPartial(); + com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -522,10 +455,8 @@ public com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRespons } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse - buildPartial() { - com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse result = - new com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse(this); + public com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse buildPartial() { + com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse result = new com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse(this); int from_bitField0_ = bitField0_; if (environmentsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -545,52 +476,46 @@ public com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRespons public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse) { - return mergeFrom( - (com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse) other); + if (other instanceof com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse) { + return mergeFrom((com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse other) { - if (other - == com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse other) { + if (other == com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse.getDefaultInstance()) return this; if (environmentsBuilder_ == null) { if (!other.environments_.isEmpty()) { if (environments_.isEmpty()) { @@ -609,10 +534,9 @@ public Builder mergeFrom( environmentsBuilder_ = null; environments_ = other.environments_; bitField0_ = (bitField0_ & ~0x00000001); - environmentsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getEnvironmentsFieldBuilder() - : null; + environmentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getEnvironmentsFieldBuilder() : null; } else { environmentsBuilder_.addAllMessages(other.environments_); } @@ -637,14 +561,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse parsedMessage = - null; + com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -653,39 +574,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private java.util.List - environments_ = java.util.Collections.emptyList(); - + private java.util.List environments_ = + java.util.Collections.emptyList(); private void ensureEnvironmentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - environments_ = - new java.util.ArrayList( - environments_); + environments_ = new java.util.ArrayList(environments_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.Environment, - com.google.cloud.orchestration.airflow.service.v1.Environment.Builder, - com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder> - environmentsBuilder_; + com.google.cloud.orchestration.airflow.service.v1.Environment, com.google.cloud.orchestration.airflow.service.v1.Environment.Builder, com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder> environmentsBuilder_; /** - * - * *
          * The list of environments returned by a ListEnvironmentsRequest.
          * 
    * - * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; */ - public java.util.List - getEnvironmentsList() { + public java.util.List getEnvironmentsList() { if (environmentsBuilder_ == null) { return java.util.Collections.unmodifiableList(environments_); } else { @@ -693,14 +603,11 @@ private void ensureEnvironmentsIsMutable() { } } /** - * - * *
          * The list of environments returned by a ListEnvironmentsRequest.
          * 
    * - * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; */ public int getEnvironmentsCount() { if (environmentsBuilder_ == null) { @@ -710,17 +617,13 @@ public int getEnvironmentsCount() { } } /** - * - * *
          * The list of environments returned by a ListEnvironmentsRequest.
          * 
    * - * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; */ - public com.google.cloud.orchestration.airflow.service.v1.Environment getEnvironments( - int index) { + public com.google.cloud.orchestration.airflow.service.v1.Environment getEnvironments(int index) { if (environmentsBuilder_ == null) { return environments_.get(index); } else { @@ -728,14 +631,11 @@ public com.google.cloud.orchestration.airflow.service.v1.Environment getEnvironm } } /** - * - * *
          * The list of environments returned by a ListEnvironmentsRequest.
          * 
    * - * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; */ public Builder setEnvironments( int index, com.google.cloud.orchestration.airflow.service.v1.Environment value) { @@ -752,18 +652,14 @@ public Builder setEnvironments( return this; } /** - * - * *
          * The list of environments returned by a ListEnvironmentsRequest.
          * 
    * - * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; */ public Builder setEnvironments( - int index, - com.google.cloud.orchestration.airflow.service.v1.Environment.Builder builderForValue) { + int index, com.google.cloud.orchestration.airflow.service.v1.Environment.Builder builderForValue) { if (environmentsBuilder_ == null) { ensureEnvironmentsIsMutable(); environments_.set(index, builderForValue.build()); @@ -774,17 +670,13 @@ public Builder setEnvironments( return this; } /** - * - * *
          * The list of environments returned by a ListEnvironmentsRequest.
          * 
    * - * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; */ - public Builder addEnvironments( - com.google.cloud.orchestration.airflow.service.v1.Environment value) { + public Builder addEnvironments(com.google.cloud.orchestration.airflow.service.v1.Environment value) { if (environmentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -798,14 +690,11 @@ public Builder addEnvironments( return this; } /** - * - * *
          * The list of environments returned by a ListEnvironmentsRequest.
          * 
    * - * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; */ public Builder addEnvironments( int index, com.google.cloud.orchestration.airflow.service.v1.Environment value) { @@ -822,14 +711,11 @@ public Builder addEnvironments( return this; } /** - * - * *
          * The list of environments returned by a ListEnvironmentsRequest.
          * 
    * - * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; */ public Builder addEnvironments( com.google.cloud.orchestration.airflow.service.v1.Environment.Builder builderForValue) { @@ -843,18 +729,14 @@ public Builder addEnvironments( return this; } /** - * - * *
          * The list of environments returned by a ListEnvironmentsRequest.
          * 
    * - * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; */ public Builder addEnvironments( - int index, - com.google.cloud.orchestration.airflow.service.v1.Environment.Builder builderForValue) { + int index, com.google.cloud.orchestration.airflow.service.v1.Environment.Builder builderForValue) { if (environmentsBuilder_ == null) { ensureEnvironmentsIsMutable(); environments_.add(index, builderForValue.build()); @@ -865,21 +747,18 @@ public Builder addEnvironments( return this; } /** - * - * *
          * The list of environments returned by a ListEnvironmentsRequest.
          * 
    * - * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; */ public Builder addAllEnvironments( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (environmentsBuilder_ == null) { ensureEnvironmentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, environments_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, environments_); onChanged(); } else { environmentsBuilder_.addAllMessages(values); @@ -887,14 +766,11 @@ public Builder addAllEnvironments( return this; } /** - * - * *
          * The list of environments returned by a ListEnvironmentsRequest.
          * 
    * - * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; */ public Builder clearEnvironments() { if (environmentsBuilder_ == null) { @@ -907,14 +783,11 @@ public Builder clearEnvironments() { return this; } /** - * - * *
          * The list of environments returned by a ListEnvironmentsRequest.
          * 
    * - * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; */ public Builder removeEnvironments(int index) { if (environmentsBuilder_ == null) { @@ -927,50 +800,39 @@ public Builder removeEnvironments(int index) { return this; } /** - * - * *
          * The list of environments returned by a ListEnvironmentsRequest.
          * 
    * - * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; */ - public com.google.cloud.orchestration.airflow.service.v1.Environment.Builder - getEnvironmentsBuilder(int index) { + public com.google.cloud.orchestration.airflow.service.v1.Environment.Builder getEnvironmentsBuilder( + int index) { return getEnvironmentsFieldBuilder().getBuilder(index); } /** - * - * *
          * The list of environments returned by a ListEnvironmentsRequest.
          * 
    * - * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; */ - public com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder - getEnvironmentsOrBuilder(int index) { + public com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder getEnvironmentsOrBuilder( + int index) { if (environmentsBuilder_ == null) { - return environments_.get(index); - } else { + return environments_.get(index); } else { return environmentsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
          * The list of environments returned by a ListEnvironmentsRequest.
          * 
    * - * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; */ - public java.util.List< - ? extends com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder> - getEnvironmentsOrBuilderList() { + public java.util.List + getEnvironmentsOrBuilderList() { if (environmentsBuilder_ != null) { return environmentsBuilder_.getMessageOrBuilderList(); } else { @@ -978,65 +840,49 @@ public Builder removeEnvironments(int index) { } } /** - * - * *
          * The list of environments returned by a ListEnvironmentsRequest.
          * 
    * - * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; */ - public com.google.cloud.orchestration.airflow.service.v1.Environment.Builder - addEnvironmentsBuilder() { - return getEnvironmentsFieldBuilder() - .addBuilder( - com.google.cloud.orchestration.airflow.service.v1.Environment.getDefaultInstance()); + public com.google.cloud.orchestration.airflow.service.v1.Environment.Builder addEnvironmentsBuilder() { + return getEnvironmentsFieldBuilder().addBuilder( + com.google.cloud.orchestration.airflow.service.v1.Environment.getDefaultInstance()); } /** - * - * *
          * The list of environments returned by a ListEnvironmentsRequest.
          * 
    * - * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; */ - public com.google.cloud.orchestration.airflow.service.v1.Environment.Builder - addEnvironmentsBuilder(int index) { - return getEnvironmentsFieldBuilder() - .addBuilder( - index, - com.google.cloud.orchestration.airflow.service.v1.Environment.getDefaultInstance()); + public com.google.cloud.orchestration.airflow.service.v1.Environment.Builder addEnvironmentsBuilder( + int index) { + return getEnvironmentsFieldBuilder().addBuilder( + index, com.google.cloud.orchestration.airflow.service.v1.Environment.getDefaultInstance()); } /** - * - * *
          * The list of environments returned by a ListEnvironmentsRequest.
          * 
    * - * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; */ - public java.util.List - getEnvironmentsBuilderList() { + public java.util.List + getEnvironmentsBuilderList() { return getEnvironmentsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.Environment, - com.google.cloud.orchestration.airflow.service.v1.Environment.Builder, - com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder> + com.google.cloud.orchestration.airflow.service.v1.Environment, com.google.cloud.orchestration.airflow.service.v1.Environment.Builder, com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder> getEnvironmentsFieldBuilder() { if (environmentsBuilder_ == null) { - environmentsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.Environment, - com.google.cloud.orchestration.airflow.service.v1.Environment.Builder, - com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder>( - environments_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + environmentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.orchestration.airflow.service.v1.Environment, com.google.cloud.orchestration.airflow.service.v1.Environment.Builder, com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder>( + environments_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); environments_ = null; } return environmentsBuilder_; @@ -1044,20 +890,18 @@ public Builder removeEnvironments(int index) { private java.lang.Object nextPageToken_ = ""; /** - * - * *
          * The page token used to query for the next page if one exists.
          * 
    * * 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; @@ -1066,21 +910,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
          * The page token used to query for the next page if one exists.
          * 
    * * 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 { @@ -1088,68 +931,61 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
          * The page token used to query for the next page if one exists.
          * 
    * * 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; } /** - * - * *
          * The page token used to query for the next page if one exists.
          * 
    * * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
          * The page token used to query for the next page if one exists.
          * 
    * * 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); } @@ -1159,33 +995,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse) - private static final com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse(); + DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse(); } - public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse - getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListEnvironmentsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListEnvironmentsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListEnvironmentsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListEnvironmentsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1197,8 +1030,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse - getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListEnvironmentsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListEnvironmentsResponseOrBuilder.java similarity index 65% rename from proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListEnvironmentsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListEnvironmentsResponseOrBuilder.java index ec86ac5f..b3fe0bf1 100644 --- a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListEnvironmentsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListEnvironmentsResponseOrBuilder.java @@ -1,109 +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/orchestration/airflow/service/v1/environments.proto package com.google.cloud.orchestration.airflow.service.v1; -public interface ListEnvironmentsResponseOrBuilder - extends +public interface ListEnvironmentsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * The list of environments returned by a ListEnvironmentsRequest.
        * 
    * - * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; */ - java.util.List + java.util.List getEnvironmentsList(); /** - * - * *
        * The list of environments returned by a ListEnvironmentsRequest.
        * 
    * - * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; */ com.google.cloud.orchestration.airflow.service.v1.Environment getEnvironments(int index); /** - * - * *
        * The list of environments returned by a ListEnvironmentsRequest.
        * 
    * - * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; */ int getEnvironmentsCount(); /** - * - * *
        * The list of environments returned by a ListEnvironmentsRequest.
        * 
    * - * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; */ - java.util.List + java.util.List getEnvironmentsOrBuilderList(); /** - * - * *
        * The list of environments returned by a ListEnvironmentsRequest.
        * 
    * - * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; */ com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder getEnvironmentsOrBuilder( int index); /** - * - * *
        * The page token used to query for the next page if one exists.
        * 
    * * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
        * The page token used to query for the next page if one exists.
        * 
    * * 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-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListImageVersionsRequest.java b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListImageVersionsRequest.java similarity index 64% rename from proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListImageVersionsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListImageVersionsRequest.java index 521cc457..afc796ca 100644 --- a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListImageVersionsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListImageVersionsRequest.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/orchestration/airflow/service/v1/image_versions.proto package com.google.cloud.orchestration.airflow.service.v1; /** - * - * *
      * List ImageVersions in a project and location.
      * 
    * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest} */ -public final class ListImageVersionsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListImageVersionsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest) ListImageVersionsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListImageVersionsRequest.newBuilder() to construct. private ListImageVersionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListImageVersionsRequest() { parent_ = ""; pageToken_ = ""; @@ -44,15 +26,16 @@ private ListImageVersionsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListImageVersionsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListImageVersionsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,37 +54,35 @@ private ListImageVersionsRequest( 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: - { - includePastReleases_ = 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: { + + includePastReleases_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -109,41 +90,35 @@ private ListImageVersionsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.ImageVersionsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.ImageVersionsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1.ImageVersionsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsRequest_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1.ImageVersionsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest.class, - com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest.Builder - .class); + com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest.class, com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
        * List ImageVersions in the given project and location, in the form:
        * "projects/{projectId}/locations/{locationId}"
        * 
    * * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -152,30 +127,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
        * List ImageVersions in the given project and location, in the form:
        * "projects/{projectId}/locations/{locationId}"
        * 
    * * 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 { @@ -186,14 +161,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
        * The maximum number of image_versions to return.
        * 
    * * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -204,14 +176,11 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
        * The next_page_token value returned from a previous List request, if any.
        * 
    * * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -220,29 +189,29 @@ 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 returned from a previous List request, if any.
        * 
    * * 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 { @@ -253,14 +222,11 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int INCLUDE_PAST_RELEASES_FIELD_NUMBER = 4; private boolean includePastReleases_; /** - * - * *
        * Whether or not image versions from old releases should be included.
        * 
    * * bool include_past_releases = 4; - * * @return The includePastReleases. */ @java.lang.Override @@ -269,7 +235,6 @@ public boolean getIncludePastReleases() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -281,7 +246,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -307,13 +273,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } if (includePastReleases_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, includePastReleases_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, includePastReleases_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -323,19 +291,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.orchestration.airflow.service.v1.ListImageVersionsRequest)) { + if (!(obj instanceof com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest other = - (com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest) obj; + com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest other = (com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (getIncludePastReleases() != other.getIncludePastReleases()) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (getIncludePastReleases() + != other.getIncludePastReleases()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -354,158 +324,142 @@ public int hashCode() { hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getPageToken().hashCode(); hash = (37 * hash) + INCLUDE_PAST_RELEASES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIncludePastReleases()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIncludePastReleases()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest - 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.orchestration.airflow.service.v1.ListImageVersionsRequest 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.orchestration.airflow.service.v1.ListImageVersionsRequest - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest prototype) { + public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 ImageVersions in a project and location.
        * 
    * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest) com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.ImageVersionsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.ImageVersionsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1.ImageVersionsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsRequest_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1.ImageVersionsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest.class, - com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest.Builder - .class); + com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest.class, com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest.Builder.class); } - // Construct using - // com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest.newBuilder() + // Construct using com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -521,22 +475,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1.ImageVersionsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1.ImageVersionsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsRequest_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest - getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest - .getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest.getDefaultInstance(); } @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest build() { - com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest result = - buildPartial(); + com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -544,10 +495,8 @@ public com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsReques } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest - buildPartial() { - com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest result = - new com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest(this); + public com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest buildPartial() { + com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest result = new com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -560,52 +509,46 @@ public com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsReques public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest) { - return mergeFrom( - (com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest) other); + if (other instanceof com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest) { + return mergeFrom((com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest other) { - if (other - == com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest other) { + if (other == com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -635,14 +578,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest parsedMessage = - null; + com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -654,21 +594,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
          * List ImageVersions in the given project and location, in the form:
          * "projects/{projectId}/locations/{locationId}"
          * 
    * * 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; @@ -677,22 +615,21 @@ public java.lang.String getParent() { } } /** - * - * *
          * List ImageVersions in the given project and location, in the form:
          * "projects/{projectId}/locations/{locationId}"
          * 
    * * 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 { @@ -700,79 +637,69 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
          * List ImageVersions in the given project and location, in the form:
          * "projects/{projectId}/locations/{locationId}"
          * 
    * * 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; } /** - * - * *
          * List ImageVersions in the given project and location, in the form:
          * "projects/{projectId}/locations/{locationId}"
          * 
    * * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
          * List ImageVersions in the given project and location, in the form:
          * "projects/{projectId}/locations/{locationId}"
          * 
    * * 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 image_versions to return.
          * 
    * * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -780,36 +707,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
          * The maximum number of image_versions 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 image_versions to return.
          * 
    * * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -817,20 +738,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
          * The next_page_token value returned from a previous List request, if any.
          * 
    * * 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; @@ -839,21 +758,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
          * The next_page_token value returned from a previous List request, if any.
          * 
    * * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -861,76 +779,66 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
          * The next_page_token value returned from a previous List request, if any.
          * 
    * * 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 returned from a previous List request, if any.
          * 
    * * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
          * The next_page_token value returned from a previous List request, if any.
          * 
    * * 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 includePastReleases_; + private boolean includePastReleases_ ; /** - * - * *
          * Whether or not image versions from old releases should be included.
          * 
    * * bool include_past_releases = 4; - * * @return The includePastReleases. */ @java.lang.Override @@ -938,43 +846,37 @@ public boolean getIncludePastReleases() { return includePastReleases_; } /** - * - * *
          * Whether or not image versions from old releases should be included.
          * 
    * * bool include_past_releases = 4; - * * @param value The includePastReleases to set. * @return This builder for chaining. */ public Builder setIncludePastReleases(boolean value) { - + includePastReleases_ = value; onChanged(); return this; } /** - * - * *
          * Whether or not image versions from old releases should be included.
          * 
    * * bool include_past_releases = 4; - * * @return This builder for chaining. */ public Builder clearIncludePastReleases() { - + includePastReleases_ = 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); } @@ -984,33 +886,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest) - private static final com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest(); + DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest(); } - public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest - getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListImageVersionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListImageVersionsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListImageVersionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListImageVersionsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1022,8 +921,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest - getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListImageVersionsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListImageVersionsRequestOrBuilder.java similarity index 66% rename from proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListImageVersionsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListImageVersionsRequestOrBuilder.java index 5b65b32b..52938646 100644 --- a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListImageVersionsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListImageVersionsRequestOrBuilder.java @@ -1,102 +1,70 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/orchestration/airflow/service/v1/image_versions.proto package com.google.cloud.orchestration.airflow.service.v1; -public interface ListImageVersionsRequestOrBuilder - extends +public interface ListImageVersionsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * List ImageVersions in the given project and location, in the form:
        * "projects/{projectId}/locations/{locationId}"
        * 
    * * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
        * List ImageVersions in the given project and location, in the form:
        * "projects/{projectId}/locations/{locationId}"
        * 
    * * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
        * The maximum number of image_versions to return.
        * 
    * * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
        * The next_page_token value returned from a previous List request, if any.
        * 
    * * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
        * The next_page_token value returned from a previous List request, if any.
        * 
    * * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
        * Whether or not image versions from old releases should be included.
        * 
    * * bool include_past_releases = 4; - * * @return The includePastReleases. */ boolean getIncludePastReleases(); diff --git a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListImageVersionsResponse.java b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListImageVersionsResponse.java similarity index 60% rename from proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListImageVersionsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListImageVersionsResponse.java index 346a41b4..d40d6245 100644 --- a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListImageVersionsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListImageVersionsResponse.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/orchestration/airflow/service/v1/image_versions.proto package com.google.cloud.orchestration.airflow.service.v1; /** - * - * *
      * The ImageVersions in a project and location.
      * 
    * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse} */ -public final class ListImageVersionsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListImageVersionsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse) ListImageVersionsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListImageVersionsResponse.newBuilder() to construct. private ListImageVersionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListImageVersionsResponse() { imageVersions_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListImageVersionsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListImageVersionsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListImageVersionsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,34 +55,28 @@ private ListImageVersionsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - imageVersions_ = - new java.util.ArrayList< - com.google.cloud.orchestration.airflow.service.v1.ImageVersion>(); - mutable_bitField0_ |= 0x00000001; - } - imageVersions_.add( - input.readMessage( - com.google.cloud.orchestration.airflow.service.v1.ImageVersion.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + imageVersions_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + imageVersions_.add( + input.readMessage(com.google.cloud.orchestration.airflow.service.v1.ImageVersion.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -107,7 +84,8 @@ private ListImageVersionsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { imageVersions_ = java.util.Collections.unmodifiableList(imageVersions_); @@ -116,113 +94,87 @@ private ListImageVersionsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.ImageVersionsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.ImageVersionsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1.ImageVersionsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsResponse_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1.ImageVersionsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse.class, - com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse.Builder - .class); + com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse.class, com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse.Builder.class); } public static final int IMAGE_VERSIONS_FIELD_NUMBER = 1; - private java.util.List - imageVersions_; + private java.util.List imageVersions_; /** - * - * *
        * The list of supported ImageVersions in a location.
        * 
    * - * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; */ @java.lang.Override - public java.util.List - getImageVersionsList() { + public java.util.List getImageVersionsList() { return imageVersions_; } /** - * - * *
        * The list of supported ImageVersions in a location.
        * 
    * - * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.orchestration.airflow.service.v1.ImageVersionOrBuilder> + public java.util.List getImageVersionsOrBuilderList() { return imageVersions_; } /** - * - * *
        * The list of supported ImageVersions in a location.
        * 
    * - * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; */ @java.lang.Override public int getImageVersionsCount() { return imageVersions_.size(); } /** - * - * *
        * The list of supported ImageVersions in a location.
        * 
    * - * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.ImageVersion getImageVersions( - int index) { + public com.google.cloud.orchestration.airflow.service.v1.ImageVersion getImageVersions(int index) { return imageVersions_.get(index); } /** - * - * *
        * The list of supported ImageVersions in a location.
        * 
    * - * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.ImageVersionOrBuilder - getImageVersionsOrBuilder(int index) { + public com.google.cloud.orchestration.airflow.service.v1.ImageVersionOrBuilder getImageVersionsOrBuilder( + int index) { return imageVersions_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
        * The page token used to query for the next page if one exists.
        * 
    * * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -231,29 +183,29 @@ 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; } } /** - * - * *
        * The page token used to query for the next page if one exists.
        * 
    * * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -262,7 +214,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -274,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 < imageVersions_.size(); i++) { output.writeMessage(1, imageVersions_.get(i)); } @@ -291,7 +243,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < imageVersions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, imageVersions_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, imageVersions_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -304,17 +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.orchestration.airflow.service.v1.ListImageVersionsResponse)) { + if (!(obj instanceof com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse other = - (com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse) obj; + com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse other = (com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse) obj; - if (!getImageVersionsList().equals(other.getImageVersionsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getImageVersionsList() + .equals(other.getImageVersionsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -337,154 +290,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse - 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.orchestration.airflow.service.v1.ListImageVersionsResponse 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.orchestration.airflow.service.v1.ListImageVersionsResponse - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse prototype) { + public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 ImageVersions in a project and location.
        * 
    * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse) com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.ImageVersionsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.ImageVersionsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1.ImageVersionsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsResponse_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1.ImageVersionsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse.class, - com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse.Builder - .class); + com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse.class, com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse.Builder.class); } - // Construct using - // com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse.newBuilder() + // Construct using com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse.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) { getImageVersionsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -500,22 +435,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1.ImageVersionsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1.ImageVersionsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsResponse_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse - getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse - .getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse.getDefaultInstance(); } @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse build() { - com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse result = - buildPartial(); + com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -523,10 +455,8 @@ public com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRespon } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse - buildPartial() { - com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse result = - new com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse(this); + public com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse buildPartial() { + com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse result = new com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse(this); int from_bitField0_ = bitField0_; if (imageVersionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -546,52 +476,46 @@ public com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRespon public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse) { - return mergeFrom( - (com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse) other); + if (other instanceof com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse) { + return mergeFrom((com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse other) { - if (other - == com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse other) { + if (other == com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse.getDefaultInstance()) return this; if (imageVersionsBuilder_ == null) { if (!other.imageVersions_.isEmpty()) { if (imageVersions_.isEmpty()) { @@ -610,10 +534,9 @@ public Builder mergeFrom( imageVersionsBuilder_ = null; imageVersions_ = other.imageVersions_; bitField0_ = (bitField0_ & ~0x00000001); - imageVersionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getImageVersionsFieldBuilder() - : null; + imageVersionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getImageVersionsFieldBuilder() : null; } else { imageVersionsBuilder_.addAllMessages(other.imageVersions_); } @@ -638,14 +561,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse parsedMessage = - null; + com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -654,40 +574,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private java.util.List - imageVersions_ = java.util.Collections.emptyList(); - + private java.util.List imageVersions_ = + java.util.Collections.emptyList(); private void ensureImageVersionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - imageVersions_ = - new java.util.ArrayList( - imageVersions_); + imageVersions_ = new java.util.ArrayList(imageVersions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.ImageVersion, - com.google.cloud.orchestration.airflow.service.v1.ImageVersion.Builder, - com.google.cloud.orchestration.airflow.service.v1.ImageVersionOrBuilder> - imageVersionsBuilder_; + com.google.cloud.orchestration.airflow.service.v1.ImageVersion, com.google.cloud.orchestration.airflow.service.v1.ImageVersion.Builder, com.google.cloud.orchestration.airflow.service.v1.ImageVersionOrBuilder> imageVersionsBuilder_; /** - * - * *
          * The list of supported ImageVersions in a location.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; */ - public java.util.List - getImageVersionsList() { + public java.util.List getImageVersionsList() { if (imageVersionsBuilder_ == null) { return java.util.Collections.unmodifiableList(imageVersions_); } else { @@ -695,15 +603,11 @@ private void ensureImageVersionsIsMutable() { } } /** - * - * *
          * The list of supported ImageVersions in a location.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; */ public int getImageVersionsCount() { if (imageVersionsBuilder_ == null) { @@ -713,18 +617,13 @@ public int getImageVersionsCount() { } } /** - * - * *
          * The list of supported ImageVersions in a location.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; */ - public com.google.cloud.orchestration.airflow.service.v1.ImageVersion getImageVersions( - int index) { + public com.google.cloud.orchestration.airflow.service.v1.ImageVersion getImageVersions(int index) { if (imageVersionsBuilder_ == null) { return imageVersions_.get(index); } else { @@ -732,15 +631,11 @@ public com.google.cloud.orchestration.airflow.service.v1.ImageVersion getImageVe } } /** - * - * *
          * The list of supported ImageVersions in a location.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; */ public Builder setImageVersions( int index, com.google.cloud.orchestration.airflow.service.v1.ImageVersion value) { @@ -757,19 +652,14 @@ public Builder setImageVersions( return this; } /** - * - * *
          * The list of supported ImageVersions in a location.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; */ public Builder setImageVersions( - int index, - com.google.cloud.orchestration.airflow.service.v1.ImageVersion.Builder builderForValue) { + int index, com.google.cloud.orchestration.airflow.service.v1.ImageVersion.Builder builderForValue) { if (imageVersionsBuilder_ == null) { ensureImageVersionsIsMutable(); imageVersions_.set(index, builderForValue.build()); @@ -780,18 +670,13 @@ public Builder setImageVersions( return this; } /** - * - * *
          * The list of supported ImageVersions in a location.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; */ - public Builder addImageVersions( - com.google.cloud.orchestration.airflow.service.v1.ImageVersion value) { + public Builder addImageVersions(com.google.cloud.orchestration.airflow.service.v1.ImageVersion value) { if (imageVersionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -805,15 +690,11 @@ public Builder addImageVersions( return this; } /** - * - * *
          * The list of supported ImageVersions in a location.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; */ public Builder addImageVersions( int index, com.google.cloud.orchestration.airflow.service.v1.ImageVersion value) { @@ -830,15 +711,11 @@ public Builder addImageVersions( return this; } /** - * - * *
          * The list of supported ImageVersions in a location.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; */ public Builder addImageVersions( com.google.cloud.orchestration.airflow.service.v1.ImageVersion.Builder builderForValue) { @@ -852,19 +729,14 @@ public Builder addImageVersions( return this; } /** - * - * *
          * The list of supported ImageVersions in a location.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; */ public Builder addImageVersions( - int index, - com.google.cloud.orchestration.airflow.service.v1.ImageVersion.Builder builderForValue) { + int index, com.google.cloud.orchestration.airflow.service.v1.ImageVersion.Builder builderForValue) { if (imageVersionsBuilder_ == null) { ensureImageVersionsIsMutable(); imageVersions_.add(index, builderForValue.build()); @@ -875,22 +747,18 @@ public Builder addImageVersions( return this; } /** - * - * *
          * The list of supported ImageVersions in a location.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; */ public Builder addAllImageVersions( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (imageVersionsBuilder_ == null) { ensureImageVersionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, imageVersions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, imageVersions_); onChanged(); } else { imageVersionsBuilder_.addAllMessages(values); @@ -898,15 +766,11 @@ public Builder addAllImageVersions( return this; } /** - * - * *
          * The list of supported ImageVersions in a location.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; */ public Builder clearImageVersions() { if (imageVersionsBuilder_ == null) { @@ -919,15 +783,11 @@ public Builder clearImageVersions() { return this; } /** - * - * *
          * The list of supported ImageVersions in a location.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; */ public Builder removeImageVersions(int index) { if (imageVersionsBuilder_ == null) { @@ -940,53 +800,39 @@ public Builder removeImageVersions(int index) { return this; } /** - * - * *
          * The list of supported ImageVersions in a location.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; */ - public com.google.cloud.orchestration.airflow.service.v1.ImageVersion.Builder - getImageVersionsBuilder(int index) { + public com.google.cloud.orchestration.airflow.service.v1.ImageVersion.Builder getImageVersionsBuilder( + int index) { return getImageVersionsFieldBuilder().getBuilder(index); } /** - * - * *
          * The list of supported ImageVersions in a location.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; */ - public com.google.cloud.orchestration.airflow.service.v1.ImageVersionOrBuilder - getImageVersionsOrBuilder(int index) { + public com.google.cloud.orchestration.airflow.service.v1.ImageVersionOrBuilder getImageVersionsOrBuilder( + int index) { if (imageVersionsBuilder_ == null) { - return imageVersions_.get(index); - } else { + return imageVersions_.get(index); } else { return imageVersionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
          * The list of supported ImageVersions in a location.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; */ - public java.util.List< - ? extends com.google.cloud.orchestration.airflow.service.v1.ImageVersionOrBuilder> - getImageVersionsOrBuilderList() { + public java.util.List + getImageVersionsOrBuilderList() { if (imageVersionsBuilder_ != null) { return imageVersionsBuilder_.getMessageOrBuilderList(); } else { @@ -994,67 +840,45 @@ public Builder removeImageVersions(int index) { } } /** - * - * *
          * The list of supported ImageVersions in a location.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; */ - public com.google.cloud.orchestration.airflow.service.v1.ImageVersion.Builder - addImageVersionsBuilder() { - return getImageVersionsFieldBuilder() - .addBuilder( - com.google.cloud.orchestration.airflow.service.v1.ImageVersion.getDefaultInstance()); + public com.google.cloud.orchestration.airflow.service.v1.ImageVersion.Builder addImageVersionsBuilder() { + return getImageVersionsFieldBuilder().addBuilder( + com.google.cloud.orchestration.airflow.service.v1.ImageVersion.getDefaultInstance()); } /** - * - * *
          * The list of supported ImageVersions in a location.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; */ - public com.google.cloud.orchestration.airflow.service.v1.ImageVersion.Builder - addImageVersionsBuilder(int index) { - return getImageVersionsFieldBuilder() - .addBuilder( - index, - com.google.cloud.orchestration.airflow.service.v1.ImageVersion.getDefaultInstance()); + public com.google.cloud.orchestration.airflow.service.v1.ImageVersion.Builder addImageVersionsBuilder( + int index) { + return getImageVersionsFieldBuilder().addBuilder( + index, com.google.cloud.orchestration.airflow.service.v1.ImageVersion.getDefaultInstance()); } /** - * - * *
          * The list of supported ImageVersions in a location.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; */ - public java.util.List - getImageVersionsBuilderList() { + public java.util.List + getImageVersionsBuilderList() { return getImageVersionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.ImageVersion, - com.google.cloud.orchestration.airflow.service.v1.ImageVersion.Builder, - com.google.cloud.orchestration.airflow.service.v1.ImageVersionOrBuilder> + com.google.cloud.orchestration.airflow.service.v1.ImageVersion, com.google.cloud.orchestration.airflow.service.v1.ImageVersion.Builder, com.google.cloud.orchestration.airflow.service.v1.ImageVersionOrBuilder> getImageVersionsFieldBuilder() { if (imageVersionsBuilder_ == null) { - imageVersionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.ImageVersion, - com.google.cloud.orchestration.airflow.service.v1.ImageVersion.Builder, - com.google.cloud.orchestration.airflow.service.v1.ImageVersionOrBuilder>( + imageVersionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.orchestration.airflow.service.v1.ImageVersion, com.google.cloud.orchestration.airflow.service.v1.ImageVersion.Builder, com.google.cloud.orchestration.airflow.service.v1.ImageVersionOrBuilder>( imageVersions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1066,20 +890,18 @@ public Builder removeImageVersions(int index) { private java.lang.Object nextPageToken_ = ""; /** - * - * *
          * The page token used to query for the next page if one exists.
          * 
    * * 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; @@ -1088,21 +910,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
          * The page token used to query for the next page if one exists.
          * 
    * * 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 { @@ -1110,68 +931,61 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
          * The page token used to query for the next page if one exists.
          * 
    * * 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; } /** - * - * *
          * The page token used to query for the next page if one exists.
          * 
    * * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
          * The page token used to query for the next page if one exists.
          * 
    * * 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); } @@ -1181,33 +995,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse) - private static final com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse(); + DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse(); } - public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse - getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListImageVersionsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListImageVersionsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListImageVersionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListImageVersionsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1219,8 +1030,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse - getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListImageVersionsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListImageVersionsResponseOrBuilder.java similarity index 64% rename from proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListImageVersionsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListImageVersionsResponseOrBuilder.java index 6e1c1557..6f79e02d 100644 --- a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListImageVersionsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListImageVersionsResponseOrBuilder.java @@ -1,109 +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/orchestration/airflow/service/v1/image_versions.proto package com.google.cloud.orchestration.airflow.service.v1; -public interface ListImageVersionsResponseOrBuilder - extends +public interface ListImageVersionsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * The list of supported ImageVersions in a location.
        * 
    * - * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; */ - java.util.List + java.util.List getImageVersionsList(); /** - * - * *
        * The list of supported ImageVersions in a location.
        * 
    * - * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; */ com.google.cloud.orchestration.airflow.service.v1.ImageVersion getImageVersions(int index); /** - * - * *
        * The list of supported ImageVersions in a location.
        * 
    * - * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; */ int getImageVersionsCount(); /** - * - * *
        * The list of supported ImageVersions in a location.
        * 
    * - * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; */ - java.util.List + java.util.List getImageVersionsOrBuilderList(); /** - * - * *
        * The list of supported ImageVersions in a location.
        * 
    * - * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; */ com.google.cloud.orchestration.airflow.service.v1.ImageVersionOrBuilder getImageVersionsOrBuilder( int index); /** - * - * *
        * The page token used to query for the next page if one exists.
        * 
    * * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
        * The page token used to query for the next page if one exists.
        * 
    * * 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-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/NodeConfig.java b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/NodeConfig.java similarity index 78% rename from proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/NodeConfig.java rename to owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/NodeConfig.java index 9d0a6dca..48d0bd25 100644 --- a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/NodeConfig.java +++ b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/NodeConfig.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/orchestration/airflow/service/v1/environments.proto package com.google.cloud.orchestration.airflow.service.v1; /** - * - * *
      * The configuration information for the Kubernetes Engine nodes running
      * the Apache Airflow software.
    @@ -28,16 +11,15 @@
      *
      * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.NodeConfig}
      */
    -public final class NodeConfig extends com.google.protobuf.GeneratedMessageV3
    -    implements
    +public final class NodeConfig extends
    +    com.google.protobuf.GeneratedMessageV3 implements
         // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1.NodeConfig)
         NodeConfigOrBuilder {
    -  private static final long serialVersionUID = 0L;
    +private static final long serialVersionUID = 0L;
       // Use NodeConfig.newBuilder() to construct.
       private NodeConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
    -
       private NodeConfig() {
         location_ = "";
         machineType_ = "";
    @@ -50,15 +32,16 @@ private NodeConfig() {
     
       @java.lang.Override
       @SuppressWarnings({"unused"})
    -  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
    +  protected java.lang.Object newInstance(
    +      UnusedPrivateParameter unused) {
         return new NodeConfig();
       }
     
       @java.lang.Override
    -  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
    +  public final com.google.protobuf.UnknownFieldSet
    +  getUnknownFields() {
         return this.unknownFields;
       }
    -
       private NodeConfig(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    @@ -78,91 +61,79 @@ private NodeConfig(
               case 0:
                 done = true;
                 break;
    -          case 10:
    -            {
    -              java.lang.String s = input.readStringRequireUtf8();
    +          case 10: {
    +            java.lang.String s = input.readStringRequireUtf8();
     
    -              location_ = s;
    -              break;
    -            }
    -          case 18:
    -            {
    -              java.lang.String s = input.readStringRequireUtf8();
    +            location_ = s;
    +            break;
    +          }
    +          case 18: {
    +            java.lang.String s = input.readStringRequireUtf8();
     
    -              machineType_ = s;
    -              break;
    -            }
    -          case 26:
    -            {
    -              java.lang.String s = input.readStringRequireUtf8();
    +            machineType_ = s;
    +            break;
    +          }
    +          case 26: {
    +            java.lang.String s = input.readStringRequireUtf8();
     
    -              network_ = s;
    -              break;
    -            }
    -          case 34:
    -            {
    -              java.lang.String s = input.readStringRequireUtf8();
    +            network_ = s;
    +            break;
    +          }
    +          case 34: {
    +            java.lang.String s = input.readStringRequireUtf8();
     
    -              subnetwork_ = s;
    -              break;
    -            }
    -          case 40:
    -            {
    -              diskSizeGb_ = input.readInt32();
    -              break;
    -            }
    -          case 50:
    -            {
    -              java.lang.String s = input.readStringRequireUtf8();
    -              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
    -                oauthScopes_ = new com.google.protobuf.LazyStringArrayList();
    -                mutable_bitField0_ |= 0x00000001;
    -              }
    -              oauthScopes_.add(s);
    -              break;
    +            subnetwork_ = s;
    +            break;
    +          }
    +          case 40: {
    +
    +            diskSizeGb_ = input.readInt32();
    +            break;
    +          }
    +          case 50: {
    +            java.lang.String s = input.readStringRequireUtf8();
    +            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
    +              oauthScopes_ = new com.google.protobuf.LazyStringArrayList();
    +              mutable_bitField0_ |= 0x00000001;
                 }
    -          case 58:
    -            {
    -              java.lang.String s = input.readStringRequireUtf8();
    +            oauthScopes_.add(s);
    +            break;
    +          }
    +          case 58: {
    +            java.lang.String s = input.readStringRequireUtf8();
     
    -              serviceAccount_ = s;
    -              break;
    +            serviceAccount_ = s;
    +            break;
    +          }
    +          case 66: {
    +            java.lang.String s = input.readStringRequireUtf8();
    +            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
    +              tags_ = new com.google.protobuf.LazyStringArrayList();
    +              mutable_bitField0_ |= 0x00000002;
                 }
    -          case 66:
    -            {
    -              java.lang.String s = input.readStringRequireUtf8();
    -              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
    -                tags_ = new com.google.protobuf.LazyStringArrayList();
    -                mutable_bitField0_ |= 0x00000002;
    -              }
    -              tags_.add(s);
    -              break;
    +            tags_.add(s);
    +            break;
    +          }
    +          case 74: {
    +            com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.Builder subBuilder = null;
    +            if (ipAllocationPolicy_ != null) {
    +              subBuilder = ipAllocationPolicy_.toBuilder();
                 }
    -          case 74:
    -            {
    -              com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.Builder
    -                  subBuilder = null;
    -              if (ipAllocationPolicy_ != null) {
    -                subBuilder = ipAllocationPolicy_.toBuilder();
    -              }
    -              ipAllocationPolicy_ =
    -                  input.readMessage(
    -                      com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.parser(),
    -                      extensionRegistry);
    -              if (subBuilder != null) {
    -                subBuilder.mergeFrom(ipAllocationPolicy_);
    -                ipAllocationPolicy_ = subBuilder.buildPartial();
    -              }
    -
    -              break;
    +            ipAllocationPolicy_ = input.readMessage(com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.parser(), extensionRegistry);
    +            if (subBuilder != null) {
    +              subBuilder.mergeFrom(ipAllocationPolicy_);
    +              ipAllocationPolicy_ = 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) {
    @@ -170,7 +141,8 @@ private NodeConfig(
         } catch (com.google.protobuf.UninitializedMessageException e) {
           throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
    -      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
    +      throw new com.google.protobuf.InvalidProtocolBufferException(
    +          e).setUnfinishedMessage(this);
         } finally {
           if (((mutable_bitField0_ & 0x00000001) != 0)) {
             oauthScopes_ = oauthScopes_.getUnmodifiableView();
    @@ -182,27 +154,22 @@ private NodeConfig(
           makeExtensionsImmutable();
         }
       }
    -
    -  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    -    return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
    -        .internal_static_google_cloud_orchestration_airflow_service_v1_NodeConfig_descriptor;
    +  public static final com.google.protobuf.Descriptors.Descriptor
    +      getDescriptor() {
    +    return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_NodeConfig_descriptor;
       }
     
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
    -    return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
    -        .internal_static_google_cloud_orchestration_airflow_service_v1_NodeConfig_fieldAccessorTable
    +    return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_NodeConfig_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
    -            com.google.cloud.orchestration.airflow.service.v1.NodeConfig.class,
    -            com.google.cloud.orchestration.airflow.service.v1.NodeConfig.Builder.class);
    +            com.google.cloud.orchestration.airflow.service.v1.NodeConfig.class, com.google.cloud.orchestration.airflow.service.v1.NodeConfig.Builder.class);
       }
     
       public static final int LOCATION_FIELD_NUMBER = 1;
       private volatile java.lang.Object location_;
       /**
    -   *
    -   *
        * 
        * Optional. The Compute Engine [zone](/compute/docs/regions-zones) in which
        * to deploy the VMs used to run the Apache Airflow software, specified as a
    @@ -220,7 +187,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        * 
    * * string location = 1; - * * @return The location. */ @java.lang.Override @@ -229,15 +195,14 @@ public java.lang.String getLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; } } /** - * - * *
        * Optional. The Compute Engine [zone](/compute/docs/regions-zones) in which
        * to deploy the VMs used to run the Apache Airflow software, specified as a
    @@ -255,15 +220,16 @@ public java.lang.String getLocation() {
        * 
    * * string location = 1; - * * @return The bytes for location. */ @java.lang.Override - public com.google.protobuf.ByteString getLocationBytes() { + public com.google.protobuf.ByteString + getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); location_ = b; return b; } else { @@ -274,8 +240,6 @@ public com.google.protobuf.ByteString getLocationBytes() { public static final int MACHINE_TYPE_FIELD_NUMBER = 2; private volatile java.lang.Object machineType_; /** - * - * *
        * Optional. The Compute Engine
        * [machine type](/compute/docs/machine-types) used for cluster instances,
    @@ -298,7 +262,6 @@ public com.google.protobuf.ByteString getLocationBytes() {
        * 
    * * string machine_type = 2; - * * @return The machineType. */ @java.lang.Override @@ -307,15 +270,14 @@ public java.lang.String getMachineType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); machineType_ = s; return s; } } /** - * - * *
        * Optional. The Compute Engine
        * [machine type](/compute/docs/machine-types) used for cluster instances,
    @@ -338,15 +300,16 @@ public java.lang.String getMachineType() {
        * 
    * * string machine_type = 2; - * * @return The bytes for machineType. */ @java.lang.Override - public com.google.protobuf.ByteString getMachineTypeBytes() { + public com.google.protobuf.ByteString + getMachineTypeBytes() { java.lang.Object ref = machineType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); machineType_ = b; return b; } else { @@ -357,8 +320,6 @@ public com.google.protobuf.ByteString getMachineTypeBytes() { public static final int NETWORK_FIELD_NUMBER = 3; private volatile java.lang.Object network_; /** - * - * *
        * Optional. The Compute Engine network to be used for machine
        * communications, specified as a
    @@ -373,7 +334,6 @@ public com.google.protobuf.ByteString getMachineTypeBytes() {
        * 
    * * string network = 3; - * * @return The network. */ @java.lang.Override @@ -382,15 +342,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; } } /** - * - * *
        * Optional. The Compute Engine network to be used for machine
        * communications, specified as a
    @@ -405,15 +364,16 @@ public java.lang.String getNetwork() {
        * 
    * * string network = 3; - * * @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 { @@ -424,8 +384,6 @@ public com.google.protobuf.ByteString getNetworkBytes() { public static final int SUBNETWORK_FIELD_NUMBER = 4; private volatile java.lang.Object subnetwork_; /** - * - * *
        * Optional. The Compute Engine subnetwork to be used for machine
        * communications, specified as a
    @@ -438,7 +396,6 @@ public com.google.protobuf.ByteString getNetworkBytes() {
        * 
    * * string subnetwork = 4; - * * @return The subnetwork. */ @java.lang.Override @@ -447,15 +404,14 @@ public java.lang.String getSubnetwork() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subnetwork_ = s; return s; } } /** - * - * *
        * Optional. The Compute Engine subnetwork to be used for machine
        * communications, specified as a
    @@ -468,15 +424,16 @@ public java.lang.String getSubnetwork() {
        * 
    * * string subnetwork = 4; - * * @return The bytes for subnetwork. */ @java.lang.Override - public com.google.protobuf.ByteString getSubnetworkBytes() { + public com.google.protobuf.ByteString + getSubnetworkBytes() { java.lang.Object ref = subnetwork_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); subnetwork_ = b; return b; } else { @@ -487,15 +444,12 @@ public com.google.protobuf.ByteString getSubnetworkBytes() { public static final int DISK_SIZE_GB_FIELD_NUMBER = 5; private int diskSizeGb_; /** - * - * *
        * Optional. The disk size in GB used for node VMs. Minimum size is 20GB.
        * If unspecified, defaults to 100GB. Cannot be updated.
        * 
    * * int32 disk_size_gb = 5; - * * @return The diskSizeGb. */ @java.lang.Override @@ -506,8 +460,6 @@ public int getDiskSizeGb() { public static final int OAUTH_SCOPES_FIELD_NUMBER = 6; private com.google.protobuf.LazyStringList oauthScopes_; /** - * - * *
        * Optional. The set of Google API scopes to be made available on all
        * node VMs. If `oauth_scopes` is empty, defaults to
    @@ -515,15 +467,13 @@ public int getDiskSizeGb() {
        * 
    * * repeated string oauth_scopes = 6; - * * @return A list containing the oauthScopes. */ - public com.google.protobuf.ProtocolStringList getOauthScopesList() { + public com.google.protobuf.ProtocolStringList + getOauthScopesList() { return oauthScopes_; } /** - * - * *
        * Optional. The set of Google API scopes to be made available on all
        * node VMs. If `oauth_scopes` is empty, defaults to
    @@ -531,15 +481,12 @@ public com.google.protobuf.ProtocolStringList getOauthScopesList() {
        * 
    * * repeated string oauth_scopes = 6; - * * @return The count of oauthScopes. */ public int getOauthScopesCount() { return oauthScopes_.size(); } /** - * - * *
        * Optional. The set of Google API scopes to be made available on all
        * node VMs. If `oauth_scopes` is empty, defaults to
    @@ -547,7 +494,6 @@ public int getOauthScopesCount() {
        * 
    * * repeated string oauth_scopes = 6; - * * @param index The index of the element to return. * @return The oauthScopes at the given index. */ @@ -555,8 +501,6 @@ public java.lang.String getOauthScopes(int index) { return oauthScopes_.get(index); } /** - * - * *
        * Optional. The set of Google API scopes to be made available on all
        * node VMs. If `oauth_scopes` is empty, defaults to
    @@ -564,19 +508,17 @@ public java.lang.String getOauthScopes(int index) {
        * 
    * * repeated string oauth_scopes = 6; - * * @param index The index of the value to return. * @return The bytes of the oauthScopes at the given index. */ - public com.google.protobuf.ByteString getOauthScopesBytes(int index) { + public com.google.protobuf.ByteString + getOauthScopesBytes(int index) { return oauthScopes_.getByteString(index); } public static final int SERVICE_ACCOUNT_FIELD_NUMBER = 7; private volatile java.lang.Object serviceAccount_; /** - * - * *
        * Optional. The Google Cloud Platform Service Account to be used by the node
        * VMs. If a service account is not specified, the "default" Compute Engine
    @@ -584,7 +526,6 @@ public com.google.protobuf.ByteString getOauthScopesBytes(int index) {
        * 
    * * string service_account = 7; - * * @return The serviceAccount. */ @java.lang.Override @@ -593,15 +534,14 @@ public java.lang.String getServiceAccount() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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; } } /** - * - * *
        * Optional. The Google Cloud Platform Service Account to be used by the node
        * VMs. If a service account is not specified, the "default" Compute Engine
    @@ -609,15 +549,16 @@ public java.lang.String getServiceAccount() {
        * 
    * * string service_account = 7; - * * @return The bytes for serviceAccount. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceAccountBytes() { + 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 { @@ -628,8 +569,6 @@ public com.google.protobuf.ByteString getServiceAccountBytes() { public static final int TAGS_FIELD_NUMBER = 8; private com.google.protobuf.LazyStringList tags_; /** - * - * *
        * Optional. The list of instance tags applied to all node VMs. Tags are used
        * to identify valid sources or targets for network firewalls. Each tag within
    @@ -638,15 +577,13 @@ public com.google.protobuf.ByteString getServiceAccountBytes() {
        * 
    * * repeated string tags = 8; - * * @return A list containing the tags. */ - public com.google.protobuf.ProtocolStringList getTagsList() { + public com.google.protobuf.ProtocolStringList + getTagsList() { return tags_; } /** - * - * *
        * Optional. The list of instance tags applied to all node VMs. Tags are used
        * to identify valid sources or targets for network firewalls. Each tag within
    @@ -655,15 +592,12 @@ public com.google.protobuf.ProtocolStringList getTagsList() {
        * 
    * * repeated string tags = 8; - * * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** - * - * *
        * Optional. The list of instance tags applied to all node VMs. Tags are used
        * to identify valid sources or targets for network firewalls. Each tag within
    @@ -672,7 +606,6 @@ public int getTagsCount() {
        * 
    * * repeated string tags = 8; - * * @param index The index of the element to return. * @return The tags at the given index. */ @@ -680,8 +613,6 @@ public java.lang.String getTags(int index) { return tags_.get(index); } /** - * - * *
        * Optional. The list of instance tags applied to all node VMs. Tags are used
        * to identify valid sources or targets for network firewalls. Each tag within
    @@ -690,27 +621,22 @@ public java.lang.String getTags(int index) {
        * 
    * * repeated string tags = 8; - * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - public com.google.protobuf.ByteString getTagsBytes(int index) { + public com.google.protobuf.ByteString + getTagsBytes(int index) { return tags_.getByteString(index); } public static final int IP_ALLOCATION_POLICY_FIELD_NUMBER = 9; private com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ipAllocationPolicy_; /** - * - * *
        * Optional. The configuration for controlling how IPs are allocated in the GKE cluster.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the ipAllocationPolicy field is set. */ @java.lang.Override @@ -718,44 +644,30 @@ public boolean hasIpAllocationPolicy() { return ipAllocationPolicy_ != null; } /** - * - * *
        * Optional. The configuration for controlling how IPs are allocated in the GKE cluster.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return The ipAllocationPolicy. */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy - getIpAllocationPolicy() { - return ipAllocationPolicy_ == null - ? com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.getDefaultInstance() - : ipAllocationPolicy_; + public com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy getIpAllocationPolicy() { + return ipAllocationPolicy_ == null ? com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.getDefaultInstance() : ipAllocationPolicy_; } /** - * - * *
        * Optional. The configuration for controlling how IPs are allocated in the GKE cluster.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicyOrBuilder - getIpAllocationPolicyOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicyOrBuilder getIpAllocationPolicyOrBuilder() { return getIpAllocationPolicy(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -767,7 +679,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(location_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, location_); } @@ -817,7 +730,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, subnetwork_); } if (diskSizeGb_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, diskSizeGb_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, diskSizeGb_); } { int dataSize = 0; @@ -839,7 +753,8 @@ public int getSerializedSize() { size += 1 * getTagsList().size(); } if (ipAllocationPolicy_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getIpAllocationPolicy()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getIpAllocationPolicy()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -849,25 +764,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.orchestration.airflow.service.v1.NodeConfig)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1.NodeConfig other = - (com.google.cloud.orchestration.airflow.service.v1.NodeConfig) obj; - - if (!getLocation().equals(other.getLocation())) return false; - if (!getMachineType().equals(other.getMachineType())) return false; - if (!getNetwork().equals(other.getNetwork())) return false; - if (!getSubnetwork().equals(other.getSubnetwork())) return false; - if (getDiskSizeGb() != other.getDiskSizeGb()) return false; - if (!getOauthScopesList().equals(other.getOauthScopesList())) return false; - if (!getServiceAccount().equals(other.getServiceAccount())) return false; - if (!getTagsList().equals(other.getTagsList())) return false; + com.google.cloud.orchestration.airflow.service.v1.NodeConfig other = (com.google.cloud.orchestration.airflow.service.v1.NodeConfig) obj; + + if (!getLocation() + .equals(other.getLocation())) return false; + if (!getMachineType() + .equals(other.getMachineType())) return false; + if (!getNetwork() + .equals(other.getNetwork())) return false; + if (!getSubnetwork() + .equals(other.getSubnetwork())) return false; + if (getDiskSizeGb() + != other.getDiskSizeGb()) return false; + if (!getOauthScopesList() + .equals(other.getOauthScopesList())) return false; + if (!getServiceAccount() + .equals(other.getServiceAccount())) return false; + if (!getTagsList() + .equals(other.getTagsList())) return false; if (hasIpAllocationPolicy() != other.hasIpAllocationPolicy()) return false; if (hasIpAllocationPolicy()) { - if (!getIpAllocationPolicy().equals(other.getIpAllocationPolicy())) return false; + if (!getIpAllocationPolicy() + .equals(other.getIpAllocationPolicy())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -910,104 +833,96 @@ public int hashCode() { } public static com.google.cloud.orchestration.airflow.service.v1.NodeConfig 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.orchestration.airflow.service.v1.NodeConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.NodeConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1.NodeConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.NodeConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1.NodeConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1.NodeConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1.NodeConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1.NodeConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1.NodeConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1.NodeConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1.NodeConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.NodeConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1.NodeConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.orchestration.airflow.service.v1.NodeConfig prototype) { + public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1.NodeConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 configuration information for the Kubernetes Engine nodes running
        * the Apache Airflow software.
    @@ -1015,23 +930,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
        *
        * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.NodeConfig}
        */
    -  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
    -      implements
    +  public static final class Builder extends
    +      com.google.protobuf.GeneratedMessageV3.Builder implements
           // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1.NodeConfig)
           com.google.cloud.orchestration.airflow.service.v1.NodeConfigOrBuilder {
    -    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    -      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
    -          .internal_static_google_cloud_orchestration_airflow_service_v1_NodeConfig_descriptor;
    +    public static final com.google.protobuf.Descriptors.Descriptor
    +        getDescriptor() {
    +      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_NodeConfig_descriptor;
         }
     
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
    -      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
    -          .internal_static_google_cloud_orchestration_airflow_service_v1_NodeConfig_fieldAccessorTable
    +      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_NodeConfig_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
    -              com.google.cloud.orchestration.airflow.service.v1.NodeConfig.class,
    -              com.google.cloud.orchestration.airflow.service.v1.NodeConfig.Builder.class);
    +              com.google.cloud.orchestration.airflow.service.v1.NodeConfig.class, com.google.cloud.orchestration.airflow.service.v1.NodeConfig.Builder.class);
         }
     
         // Construct using com.google.cloud.orchestration.airflow.service.v1.NodeConfig.newBuilder()
    @@ -1039,15 +952,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();
    @@ -1077,14 +991,13 @@ public Builder clear() {
         }
     
         @java.lang.Override
    -    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
    -      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
    -          .internal_static_google_cloud_orchestration_airflow_service_v1_NodeConfig_descriptor;
    +    public com.google.protobuf.Descriptors.Descriptor
    +        getDescriptorForType() {
    +      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_NodeConfig_descriptor;
         }
     
         @java.lang.Override
    -    public com.google.cloud.orchestration.airflow.service.v1.NodeConfig
    -        getDefaultInstanceForType() {
    +    public com.google.cloud.orchestration.airflow.service.v1.NodeConfig getDefaultInstanceForType() {
           return com.google.cloud.orchestration.airflow.service.v1.NodeConfig.getDefaultInstance();
         }
     
    @@ -1099,8 +1012,7 @@ public com.google.cloud.orchestration.airflow.service.v1.NodeConfig build() {
     
         @java.lang.Override
         public com.google.cloud.orchestration.airflow.service.v1.NodeConfig buildPartial() {
    -      com.google.cloud.orchestration.airflow.service.v1.NodeConfig result =
    -          new com.google.cloud.orchestration.airflow.service.v1.NodeConfig(this);
    +      com.google.cloud.orchestration.airflow.service.v1.NodeConfig result = new com.google.cloud.orchestration.airflow.service.v1.NodeConfig(this);
           int from_bitField0_ = bitField0_;
           result.location_ = location_;
           result.machineType_ = machineType_;
    @@ -1131,39 +1043,38 @@ public com.google.cloud.orchestration.airflow.service.v1.NodeConfig 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.orchestration.airflow.service.v1.NodeConfig) {
    -        return mergeFrom((com.google.cloud.orchestration.airflow.service.v1.NodeConfig) other);
    +        return mergeFrom((com.google.cloud.orchestration.airflow.service.v1.NodeConfig)other);
           } else {
             super.mergeFrom(other);
             return this;
    @@ -1171,9 +1082,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
         }
     
         public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1.NodeConfig other) {
    -      if (other
    -          == com.google.cloud.orchestration.airflow.service.v1.NodeConfig.getDefaultInstance())
    -        return this;
    +      if (other == com.google.cloud.orchestration.airflow.service.v1.NodeConfig.getDefaultInstance()) return this;
           if (!other.getLocation().isEmpty()) {
             location_ = other.location_;
             onChanged();
    @@ -1239,8 +1148,7 @@ public Builder mergeFrom(
           try {
             parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
    -        parsedMessage =
    -            (com.google.cloud.orchestration.airflow.service.v1.NodeConfig) e.getUnfinishedMessage();
    +        parsedMessage = (com.google.cloud.orchestration.airflow.service.v1.NodeConfig) e.getUnfinishedMessage();
             throw e.unwrapIOException();
           } finally {
             if (parsedMessage != null) {
    @@ -1249,13 +1157,10 @@ public Builder mergeFrom(
           }
           return this;
         }
    -
         private int bitField0_;
     
         private java.lang.Object location_ = "";
         /**
    -     *
    -     *
          * 
          * Optional. The Compute Engine [zone](/compute/docs/regions-zones) in which
          * to deploy the VMs used to run the Apache Airflow software, specified as a
    @@ -1273,13 +1178,13 @@ public Builder mergeFrom(
          * 
    * * string location = 1; - * * @return The location. */ public java.lang.String getLocation() { java.lang.Object ref = location_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; @@ -1288,8 +1193,6 @@ public java.lang.String getLocation() { } } /** - * - * *
          * Optional. The Compute Engine [zone](/compute/docs/regions-zones) in which
          * to deploy the VMs used to run the Apache Airflow software, specified as a
    @@ -1307,14 +1210,15 @@ public java.lang.String getLocation() {
          * 
    * * string location = 1; - * * @return The bytes for location. */ - public com.google.protobuf.ByteString getLocationBytes() { + public com.google.protobuf.ByteString + getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); location_ = b; return b; } else { @@ -1322,8 +1226,6 @@ public com.google.protobuf.ByteString getLocationBytes() { } } /** - * - * *
          * Optional. The Compute Engine [zone](/compute/docs/regions-zones) in which
          * to deploy the VMs used to run the Apache Airflow software, specified as a
    @@ -1341,22 +1243,20 @@ public com.google.protobuf.ByteString getLocationBytes() {
          * 
    * * string location = 1; - * * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation(java.lang.String value) { + public Builder setLocation( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + location_ = value; onChanged(); return this; } /** - * - * *
          * Optional. The Compute Engine [zone](/compute/docs/regions-zones) in which
          * to deploy the VMs used to run the Apache Airflow software, specified as a
    @@ -1374,18 +1274,15 @@ public Builder setLocation(java.lang.String value) {
          * 
    * * string location = 1; - * * @return This builder for chaining. */ public Builder clearLocation() { - + location_ = getDefaultInstance().getLocation(); onChanged(); return this; } /** - * - * *
          * Optional. The Compute Engine [zone](/compute/docs/regions-zones) in which
          * to deploy the VMs used to run the Apache Airflow software, specified as a
    @@ -1403,16 +1300,16 @@ public Builder clearLocation() {
          * 
    * * string location = 1; - * * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes(com.google.protobuf.ByteString value) { + public Builder setLocationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + location_ = value; onChanged(); return this; @@ -1420,8 +1317,6 @@ public Builder setLocationBytes(com.google.protobuf.ByteString value) { private java.lang.Object machineType_ = ""; /** - * - * *
          * Optional. The Compute Engine
          * [machine type](/compute/docs/machine-types) used for cluster instances,
    @@ -1444,13 +1339,13 @@ public Builder setLocationBytes(com.google.protobuf.ByteString value) {
          * 
    * * string machine_type = 2; - * * @return The machineType. */ public java.lang.String getMachineType() { java.lang.Object ref = machineType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); machineType_ = s; return s; @@ -1459,8 +1354,6 @@ public java.lang.String getMachineType() { } } /** - * - * *
          * Optional. The Compute Engine
          * [machine type](/compute/docs/machine-types) used for cluster instances,
    @@ -1483,14 +1376,15 @@ public java.lang.String getMachineType() {
          * 
    * * string machine_type = 2; - * * @return The bytes for machineType. */ - public com.google.protobuf.ByteString getMachineTypeBytes() { + public com.google.protobuf.ByteString + getMachineTypeBytes() { java.lang.Object ref = machineType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); machineType_ = b; return b; } else { @@ -1498,8 +1392,6 @@ public com.google.protobuf.ByteString getMachineTypeBytes() { } } /** - * - * *
          * Optional. The Compute Engine
          * [machine type](/compute/docs/machine-types) used for cluster instances,
    @@ -1522,22 +1414,20 @@ public com.google.protobuf.ByteString getMachineTypeBytes() {
          * 
    * * string machine_type = 2; - * * @param value The machineType to set. * @return This builder for chaining. */ - public Builder setMachineType(java.lang.String value) { + public Builder setMachineType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + machineType_ = value; onChanged(); return this; } /** - * - * *
          * Optional. The Compute Engine
          * [machine type](/compute/docs/machine-types) used for cluster instances,
    @@ -1560,18 +1450,15 @@ public Builder setMachineType(java.lang.String value) {
          * 
    * * string machine_type = 2; - * * @return This builder for chaining. */ public Builder clearMachineType() { - + machineType_ = getDefaultInstance().getMachineType(); onChanged(); return this; } /** - * - * *
          * Optional. The Compute Engine
          * [machine type](/compute/docs/machine-types) used for cluster instances,
    @@ -1594,16 +1481,16 @@ public Builder clearMachineType() {
          * 
    * * string machine_type = 2; - * * @param value The bytes for machineType to set. * @return This builder for chaining. */ - public Builder setMachineTypeBytes(com.google.protobuf.ByteString value) { + public Builder setMachineTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + machineType_ = value; onChanged(); return this; @@ -1611,8 +1498,6 @@ public Builder setMachineTypeBytes(com.google.protobuf.ByteString value) { private java.lang.Object network_ = ""; /** - * - * *
          * Optional. The Compute Engine network to be used for machine
          * communications, specified as a
    @@ -1627,13 +1512,13 @@ public Builder setMachineTypeBytes(com.google.protobuf.ByteString value) {
          * 
    * * string network = 3; - * * @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; @@ -1642,8 +1527,6 @@ public java.lang.String getNetwork() { } } /** - * - * *
          * Optional. The Compute Engine network to be used for machine
          * communications, specified as a
    @@ -1658,14 +1541,15 @@ public java.lang.String getNetwork() {
          * 
    * * string network = 3; - * * @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 { @@ -1673,8 +1557,6 @@ public com.google.protobuf.ByteString getNetworkBytes() { } } /** - * - * *
          * Optional. The Compute Engine network to be used for machine
          * communications, specified as a
    @@ -1689,22 +1571,20 @@ public com.google.protobuf.ByteString getNetworkBytes() {
          * 
    * * string network = 3; - * * @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; } /** - * - * *
          * Optional. The Compute Engine network to be used for machine
          * communications, specified as a
    @@ -1719,18 +1599,15 @@ public Builder setNetwork(java.lang.String value) {
          * 
    * * string network = 3; - * * @return This builder for chaining. */ public Builder clearNetwork() { - + network_ = getDefaultInstance().getNetwork(); onChanged(); return this; } /** - * - * *
          * Optional. The Compute Engine network to be used for machine
          * communications, specified as a
    @@ -1745,16 +1622,16 @@ public Builder clearNetwork() {
          * 
    * * string network = 3; - * * @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; @@ -1762,8 +1639,6 @@ public Builder setNetworkBytes(com.google.protobuf.ByteString value) { private java.lang.Object subnetwork_ = ""; /** - * - * *
          * Optional. The Compute Engine subnetwork to be used for machine
          * communications, specified as a
    @@ -1776,13 +1651,13 @@ public Builder setNetworkBytes(com.google.protobuf.ByteString value) {
          * 
    * * string subnetwork = 4; - * * @return The subnetwork. */ public java.lang.String getSubnetwork() { java.lang.Object ref = subnetwork_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subnetwork_ = s; return s; @@ -1791,8 +1666,6 @@ public java.lang.String getSubnetwork() { } } /** - * - * *
          * Optional. The Compute Engine subnetwork to be used for machine
          * communications, specified as a
    @@ -1805,14 +1678,15 @@ public java.lang.String getSubnetwork() {
          * 
    * * string subnetwork = 4; - * * @return The bytes for subnetwork. */ - public com.google.protobuf.ByteString getSubnetworkBytes() { + public com.google.protobuf.ByteString + getSubnetworkBytes() { java.lang.Object ref = subnetwork_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); subnetwork_ = b; return b; } else { @@ -1820,8 +1694,6 @@ public com.google.protobuf.ByteString getSubnetworkBytes() { } } /** - * - * *
          * Optional. The Compute Engine subnetwork to be used for machine
          * communications, specified as a
    @@ -1834,22 +1706,20 @@ public com.google.protobuf.ByteString getSubnetworkBytes() {
          * 
    * * string subnetwork = 4; - * * @param value The subnetwork to set. * @return This builder for chaining. */ - public Builder setSubnetwork(java.lang.String value) { + public Builder setSubnetwork( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + subnetwork_ = value; onChanged(); return this; } /** - * - * *
          * Optional. The Compute Engine subnetwork to be used for machine
          * communications, specified as a
    @@ -1862,18 +1732,15 @@ public Builder setSubnetwork(java.lang.String value) {
          * 
    * * string subnetwork = 4; - * * @return This builder for chaining. */ public Builder clearSubnetwork() { - + subnetwork_ = getDefaultInstance().getSubnetwork(); onChanged(); return this; } /** - * - * *
          * Optional. The Compute Engine subnetwork to be used for machine
          * communications, specified as a
    @@ -1886,32 +1753,29 @@ public Builder clearSubnetwork() {
          * 
    * * string subnetwork = 4; - * * @param value The bytes for subnetwork to set. * @return This builder for chaining. */ - public Builder setSubnetworkBytes(com.google.protobuf.ByteString value) { + public Builder setSubnetworkBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + subnetwork_ = value; onChanged(); return this; } - private int diskSizeGb_; + private int diskSizeGb_ ; /** - * - * *
          * Optional. The disk size in GB used for node VMs. Minimum size is 20GB.
          * If unspecified, defaults to 100GB. Cannot be updated.
          * 
    * * int32 disk_size_gb = 5; - * * @return The diskSizeGb. */ @java.lang.Override @@ -1919,55 +1783,45 @@ public int getDiskSizeGb() { return diskSizeGb_; } /** - * - * *
          * Optional. The disk size in GB used for node VMs. Minimum size is 20GB.
          * If unspecified, defaults to 100GB. Cannot be updated.
          * 
    * * int32 disk_size_gb = 5; - * * @param value The diskSizeGb to set. * @return This builder for chaining. */ public Builder setDiskSizeGb(int value) { - + diskSizeGb_ = value; onChanged(); return this; } /** - * - * *
          * Optional. The disk size in GB used for node VMs. Minimum size is 20GB.
          * If unspecified, defaults to 100GB. Cannot be updated.
          * 
    * * int32 disk_size_gb = 5; - * * @return This builder for chaining. */ public Builder clearDiskSizeGb() { - + diskSizeGb_ = 0; onChanged(); return this; } - private com.google.protobuf.LazyStringList oauthScopes_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList oauthScopes_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureOauthScopesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { oauthScopes_ = new com.google.protobuf.LazyStringArrayList(oauthScopes_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
          * Optional. The set of Google API scopes to be made available on all
          * node VMs. If `oauth_scopes` is empty, defaults to
    @@ -1975,15 +1829,13 @@ private void ensureOauthScopesIsMutable() {
          * 
    * * repeated string oauth_scopes = 6; - * * @return A list containing the oauthScopes. */ - public com.google.protobuf.ProtocolStringList getOauthScopesList() { + public com.google.protobuf.ProtocolStringList + getOauthScopesList() { return oauthScopes_.getUnmodifiableView(); } /** - * - * *
          * Optional. The set of Google API scopes to be made available on all
          * node VMs. If `oauth_scopes` is empty, defaults to
    @@ -1991,15 +1843,12 @@ public com.google.protobuf.ProtocolStringList getOauthScopesList() {
          * 
    * * repeated string oauth_scopes = 6; - * * @return The count of oauthScopes. */ public int getOauthScopesCount() { return oauthScopes_.size(); } /** - * - * *
          * Optional. The set of Google API scopes to be made available on all
          * node VMs. If `oauth_scopes` is empty, defaults to
    @@ -2007,7 +1856,6 @@ public int getOauthScopesCount() {
          * 
    * * repeated string oauth_scopes = 6; - * * @param index The index of the element to return. * @return The oauthScopes at the given index. */ @@ -2015,8 +1863,6 @@ public java.lang.String getOauthScopes(int index) { return oauthScopes_.get(index); } /** - * - * *
          * Optional. The set of Google API scopes to be made available on all
          * node VMs. If `oauth_scopes` is empty, defaults to
    @@ -2024,16 +1870,14 @@ public java.lang.String getOauthScopes(int index) {
          * 
    * * repeated string oauth_scopes = 6; - * * @param index The index of the value to return. * @return The bytes of the oauthScopes at the given index. */ - public com.google.protobuf.ByteString getOauthScopesBytes(int index) { + public com.google.protobuf.ByteString + getOauthScopesBytes(int index) { return oauthScopes_.getByteString(index); } /** - * - * *
          * Optional. The set of Google API scopes to be made available on all
          * node VMs. If `oauth_scopes` is empty, defaults to
    @@ -2041,23 +1885,21 @@ public com.google.protobuf.ByteString getOauthScopesBytes(int index) {
          * 
    * * repeated string oauth_scopes = 6; - * * @param index The index to set the value at. * @param value The oauthScopes to set. * @return This builder for chaining. */ - public Builder setOauthScopes(int index, java.lang.String value) { + public Builder setOauthScopes( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureOauthScopesIsMutable(); + throw new NullPointerException(); + } + ensureOauthScopesIsMutable(); oauthScopes_.set(index, value); onChanged(); return this; } /** - * - * *
          * Optional. The set of Google API scopes to be made available on all
          * node VMs. If `oauth_scopes` is empty, defaults to
    @@ -2065,22 +1907,20 @@ public Builder setOauthScopes(int index, java.lang.String value) {
          * 
    * * repeated string oauth_scopes = 6; - * * @param value The oauthScopes to add. * @return This builder for chaining. */ - public Builder addOauthScopes(java.lang.String value) { + public Builder addOauthScopes( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureOauthScopesIsMutable(); + throw new NullPointerException(); + } + ensureOauthScopesIsMutable(); oauthScopes_.add(value); onChanged(); return this; } /** - * - * *
          * Optional. The set of Google API scopes to be made available on all
          * node VMs. If `oauth_scopes` is empty, defaults to
    @@ -2088,19 +1928,18 @@ public Builder addOauthScopes(java.lang.String value) {
          * 
    * * repeated string oauth_scopes = 6; - * * @param values The oauthScopes to add. * @return This builder for chaining. */ - public Builder addAllOauthScopes(java.lang.Iterable values) { + public Builder addAllOauthScopes( + java.lang.Iterable values) { ensureOauthScopesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, oauthScopes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, oauthScopes_); onChanged(); return this; } /** - * - * *
          * Optional. The set of Google API scopes to be made available on all
          * node VMs. If `oauth_scopes` is empty, defaults to
    @@ -2108,7 +1947,6 @@ public Builder addAllOauthScopes(java.lang.Iterable values) {
          * 
    * * repeated string oauth_scopes = 6; - * * @return This builder for chaining. */ public Builder clearOauthScopes() { @@ -2118,8 +1956,6 @@ public Builder clearOauthScopes() { return this; } /** - * - * *
          * Optional. The set of Google API scopes to be made available on all
          * node VMs. If `oauth_scopes` is empty, defaults to
    @@ -2127,15 +1963,15 @@ public Builder clearOauthScopes() {
          * 
    * * repeated string oauth_scopes = 6; - * * @param value The bytes of the oauthScopes to add. * @return This builder for chaining. */ - public Builder addOauthScopesBytes(com.google.protobuf.ByteString value) { + public Builder addOauthScopesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureOauthScopesIsMutable(); oauthScopes_.add(value); onChanged(); @@ -2144,8 +1980,6 @@ public Builder addOauthScopesBytes(com.google.protobuf.ByteString value) { private java.lang.Object serviceAccount_ = ""; /** - * - * *
          * Optional. The Google Cloud Platform Service Account to be used by the node
          * VMs. If a service account is not specified, the "default" Compute Engine
    @@ -2153,13 +1987,13 @@ public Builder addOauthScopesBytes(com.google.protobuf.ByteString value) {
          * 
    * * string service_account = 7; - * * @return The serviceAccount. */ 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; @@ -2168,8 +2002,6 @@ public java.lang.String getServiceAccount() { } } /** - * - * *
          * Optional. The Google Cloud Platform Service Account to be used by the node
          * VMs. If a service account is not specified, the "default" Compute Engine
    @@ -2177,14 +2009,15 @@ public java.lang.String getServiceAccount() {
          * 
    * * string service_account = 7; - * * @return The bytes for serviceAccount. */ - public com.google.protobuf.ByteString getServiceAccountBytes() { + 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 { @@ -2192,8 +2025,6 @@ public com.google.protobuf.ByteString getServiceAccountBytes() { } } /** - * - * *
          * Optional. The Google Cloud Platform Service Account to be used by the node
          * VMs. If a service account is not specified, the "default" Compute Engine
    @@ -2201,22 +2032,20 @@ public com.google.protobuf.ByteString getServiceAccountBytes() {
          * 
    * * string service_account = 7; - * * @param value The serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccount(java.lang.String value) { + public Builder setServiceAccount( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceAccount_ = value; onChanged(); return this; } /** - * - * *
          * Optional. The Google Cloud Platform Service Account to be used by the node
          * VMs. If a service account is not specified, the "default" Compute Engine
    @@ -2224,18 +2053,15 @@ public Builder setServiceAccount(java.lang.String value) {
          * 
    * * string service_account = 7; - * * @return This builder for chaining. */ public Builder clearServiceAccount() { - + serviceAccount_ = getDefaultInstance().getServiceAccount(); onChanged(); return this; } /** - * - * *
          * Optional. The Google Cloud Platform Service Account to be used by the node
          * VMs. If a service account is not specified, the "default" Compute Engine
    @@ -2243,33 +2069,29 @@ public Builder clearServiceAccount() {
          * 
    * * string service_account = 7; - * * @param value The bytes for serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { + 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; } - private com.google.protobuf.LazyStringList tags_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureTagsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { tags_ = new com.google.protobuf.LazyStringArrayList(tags_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
          * Optional. The list of instance tags applied to all node VMs. Tags are used
          * to identify valid sources or targets for network firewalls. Each tag within
    @@ -2278,15 +2100,13 @@ private void ensureTagsIsMutable() {
          * 
    * * repeated string tags = 8; - * * @return A list containing the tags. */ - public com.google.protobuf.ProtocolStringList getTagsList() { + public com.google.protobuf.ProtocolStringList + getTagsList() { return tags_.getUnmodifiableView(); } /** - * - * *
          * Optional. The list of instance tags applied to all node VMs. Tags are used
          * to identify valid sources or targets for network firewalls. Each tag within
    @@ -2295,15 +2115,12 @@ public com.google.protobuf.ProtocolStringList getTagsList() {
          * 
    * * repeated string tags = 8; - * * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** - * - * *
          * Optional. The list of instance tags applied to all node VMs. Tags are used
          * to identify valid sources or targets for network firewalls. Each tag within
    @@ -2312,7 +2129,6 @@ public int getTagsCount() {
          * 
    * * repeated string tags = 8; - * * @param index The index of the element to return. * @return The tags at the given index. */ @@ -2320,8 +2136,6 @@ public java.lang.String getTags(int index) { return tags_.get(index); } /** - * - * *
          * Optional. The list of instance tags applied to all node VMs. Tags are used
          * to identify valid sources or targets for network firewalls. Each tag within
    @@ -2330,16 +2144,14 @@ public java.lang.String getTags(int index) {
          * 
    * * repeated string tags = 8; - * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - public com.google.protobuf.ByteString getTagsBytes(int index) { + public com.google.protobuf.ByteString + getTagsBytes(int index) { return tags_.getByteString(index); } /** - * - * *
          * Optional. The list of instance tags applied to all node VMs. Tags are used
          * to identify valid sources or targets for network firewalls. Each tag within
    @@ -2348,23 +2160,21 @@ public com.google.protobuf.ByteString getTagsBytes(int index) {
          * 
    * * repeated string tags = 8; - * * @param index The index to set the value at. * @param value The tags to set. * @return This builder for chaining. */ - public Builder setTags(int index, java.lang.String value) { + public Builder setTags( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); + throw new NullPointerException(); + } + ensureTagsIsMutable(); tags_.set(index, value); onChanged(); return this; } /** - * - * *
          * Optional. The list of instance tags applied to all node VMs. Tags are used
          * to identify valid sources or targets for network firewalls. Each tag within
    @@ -2373,22 +2183,20 @@ public Builder setTags(int index, java.lang.String value) {
          * 
    * * repeated string tags = 8; - * * @param value The tags to add. * @return This builder for chaining. */ - public Builder addTags(java.lang.String value) { + public Builder addTags( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); + throw new NullPointerException(); + } + ensureTagsIsMutable(); tags_.add(value); onChanged(); return this; } /** - * - * *
          * Optional. The list of instance tags applied to all node VMs. Tags are used
          * to identify valid sources or targets for network firewalls. Each tag within
    @@ -2397,19 +2205,18 @@ public Builder addTags(java.lang.String value) {
          * 
    * * repeated string tags = 8; - * * @param values The tags to add. * @return This builder for chaining. */ - public Builder addAllTags(java.lang.Iterable values) { + public Builder addAllTags( + java.lang.Iterable values) { ensureTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, tags_); onChanged(); return this; } /** - * - * *
          * Optional. The list of instance tags applied to all node VMs. Tags are used
          * to identify valid sources or targets for network firewalls. Each tag within
    @@ -2418,7 +2225,6 @@ public Builder addAllTags(java.lang.Iterable values) {
          * 
    * * repeated string tags = 8; - * * @return This builder for chaining. */ public Builder clearTags() { @@ -2428,8 +2234,6 @@ public Builder clearTags() { return this; } /** - * - * *
          * Optional. The list of instance tags applied to all node VMs. Tags are used
          * to identify valid sources or targets for network firewalls. Each tag within
    @@ -2438,81 +2242,58 @@ public Builder clearTags() {
          * 
    * * repeated string tags = 8; - * * @param value The bytes of the tags to add. * @return This builder for chaining. */ - public Builder addTagsBytes(com.google.protobuf.ByteString value) { + public Builder addTagsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureTagsIsMutable(); tags_.add(value); onChanged(); return this; } - private com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy - ipAllocationPolicy_; + private com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ipAllocationPolicy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy, - com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.Builder, - com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicyOrBuilder> - ipAllocationPolicyBuilder_; + com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy, com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.Builder, com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicyOrBuilder> ipAllocationPolicyBuilder_; /** - * - * *
          * Optional. The configuration for controlling how IPs are allocated in the GKE cluster.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the ipAllocationPolicy field is set. */ public boolean hasIpAllocationPolicy() { return ipAllocationPolicyBuilder_ != null || ipAllocationPolicy_ != null; } /** - * - * *
          * Optional. The configuration for controlling how IPs are allocated in the GKE cluster.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return The ipAllocationPolicy. */ - public com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy - getIpAllocationPolicy() { + public com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy getIpAllocationPolicy() { if (ipAllocationPolicyBuilder_ == null) { - return ipAllocationPolicy_ == null - ? com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy - .getDefaultInstance() - : ipAllocationPolicy_; + return ipAllocationPolicy_ == null ? com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.getDefaultInstance() : ipAllocationPolicy_; } else { return ipAllocationPolicyBuilder_.getMessage(); } } /** - * - * *
          * Optional. The configuration for controlling how IPs are allocated in the GKE cluster.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setIpAllocationPolicy( - com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy value) { + public Builder setIpAllocationPolicy(com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy value) { if (ipAllocationPolicyBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2526,19 +2307,14 @@ public Builder setIpAllocationPolicy( return this; } /** - * - * *
          * Optional. The configuration for controlling how IPs are allocated in the GKE cluster.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setIpAllocationPolicy( - com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.Builder - builderForValue) { + com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.Builder builderForValue) { if (ipAllocationPolicyBuilder_ == null) { ipAllocationPolicy_ = builderForValue.build(); onChanged(); @@ -2549,25 +2325,17 @@ public Builder setIpAllocationPolicy( return this; } /** - * - * *
          * Optional. The configuration for controlling how IPs are allocated in the GKE cluster.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergeIpAllocationPolicy( - com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy value) { + public Builder mergeIpAllocationPolicy(com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy value) { if (ipAllocationPolicyBuilder_ == null) { if (ipAllocationPolicy_ != null) { ipAllocationPolicy_ = - com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.newBuilder( - ipAllocationPolicy_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.newBuilder(ipAllocationPolicy_).mergeFrom(value).buildPartial(); } else { ipAllocationPolicy_ = value; } @@ -2579,15 +2347,11 @@ public Builder mergeIpAllocationPolicy( return this; } /** - * - * *
          * Optional. The configuration for controlling how IPs are allocated in the GKE cluster.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearIpAllocationPolicy() { if (ipAllocationPolicyBuilder_ == null) { @@ -2601,74 +2365,55 @@ public Builder clearIpAllocationPolicy() { return this; } /** - * - * *
          * Optional. The configuration for controlling how IPs are allocated in the GKE cluster.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.Builder - getIpAllocationPolicyBuilder() { - + public com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.Builder getIpAllocationPolicyBuilder() { + onChanged(); return getIpAllocationPolicyFieldBuilder().getBuilder(); } /** - * - * *
          * Optional. The configuration for controlling how IPs are allocated in the GKE cluster.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicyOrBuilder - getIpAllocationPolicyOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicyOrBuilder getIpAllocationPolicyOrBuilder() { if (ipAllocationPolicyBuilder_ != null) { return ipAllocationPolicyBuilder_.getMessageOrBuilder(); } else { - return ipAllocationPolicy_ == null - ? com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy - .getDefaultInstance() - : ipAllocationPolicy_; + return ipAllocationPolicy_ == null ? + com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.getDefaultInstance() : ipAllocationPolicy_; } } /** - * - * *
          * Optional. The configuration for controlling how IPs are allocated in the GKE cluster.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy, - com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.Builder, - com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicyOrBuilder> + com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy, com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.Builder, com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicyOrBuilder> getIpAllocationPolicyFieldBuilder() { if (ipAllocationPolicyBuilder_ == null) { - ipAllocationPolicyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy, - com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.Builder, - com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicyOrBuilder>( - getIpAllocationPolicy(), getParentForChildren(), isClean()); + ipAllocationPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy, com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.Builder, com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicyOrBuilder>( + getIpAllocationPolicy(), + getParentForChildren(), + isClean()); ipAllocationPolicy_ = null; } return ipAllocationPolicyBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2678,13 +2423,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1.NodeConfig) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1.NodeConfig) - private static final com.google.cloud.orchestration.airflow.service.v1.NodeConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.orchestration.airflow.service.v1.NodeConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1.NodeConfig(); } @@ -2693,16 +2437,16 @@ public static com.google.cloud.orchestration.airflow.service.v1.NodeConfig getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodeConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NodeConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NodeConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new NodeConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2717,4 +2461,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.orchestration.airflow.service.v1.NodeConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/NodeConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/NodeConfigOrBuilder.java similarity index 85% rename from proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/NodeConfigOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/NodeConfigOrBuilder.java index 3837419c..75c713c3 100644 --- a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/NodeConfigOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/NodeConfigOrBuilder.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/orchestration/airflow/service/v1/environments.proto package com.google.cloud.orchestration.airflow.service.v1; -public interface NodeConfigOrBuilder - extends +public interface NodeConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1.NodeConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * Optional. The Compute Engine [zone](/compute/docs/regions-zones) in which
        * to deploy the VMs used to run the Apache Airflow software, specified as a
    @@ -43,13 +25,10 @@ public interface NodeConfigOrBuilder
        * 
    * * string location = 1; - * * @return The location. */ java.lang.String getLocation(); /** - * - * *
        * Optional. The Compute Engine [zone](/compute/docs/regions-zones) in which
        * to deploy the VMs used to run the Apache Airflow software, specified as a
    @@ -67,14 +46,12 @@ public interface NodeConfigOrBuilder
        * 
    * * string location = 1; - * * @return The bytes for location. */ - com.google.protobuf.ByteString getLocationBytes(); + com.google.protobuf.ByteString + getLocationBytes(); /** - * - * *
        * Optional. The Compute Engine
        * [machine type](/compute/docs/machine-types) used for cluster instances,
    @@ -97,13 +74,10 @@ public interface NodeConfigOrBuilder
        * 
    * * string machine_type = 2; - * * @return The machineType. */ java.lang.String getMachineType(); /** - * - * *
        * Optional. The Compute Engine
        * [machine type](/compute/docs/machine-types) used for cluster instances,
    @@ -126,14 +100,12 @@ public interface NodeConfigOrBuilder
        * 
    * * string machine_type = 2; - * * @return The bytes for machineType. */ - com.google.protobuf.ByteString getMachineTypeBytes(); + com.google.protobuf.ByteString + getMachineTypeBytes(); /** - * - * *
        * Optional. The Compute Engine network to be used for machine
        * communications, specified as a
    @@ -148,13 +120,10 @@ public interface NodeConfigOrBuilder
        * 
    * * string network = 3; - * * @return The network. */ java.lang.String getNetwork(); /** - * - * *
        * Optional. The Compute Engine network to be used for machine
        * communications, specified as a
    @@ -169,14 +138,12 @@ public interface NodeConfigOrBuilder
        * 
    * * string network = 3; - * * @return The bytes for network. */ - com.google.protobuf.ByteString getNetworkBytes(); + com.google.protobuf.ByteString + getNetworkBytes(); /** - * - * *
        * Optional. The Compute Engine subnetwork to be used for machine
        * communications, specified as a
    @@ -189,13 +156,10 @@ public interface NodeConfigOrBuilder
        * 
    * * string subnetwork = 4; - * * @return The subnetwork. */ java.lang.String getSubnetwork(); /** - * - * *
        * Optional. The Compute Engine subnetwork to be used for machine
        * communications, specified as a
    @@ -208,28 +172,23 @@ public interface NodeConfigOrBuilder
        * 
    * * string subnetwork = 4; - * * @return The bytes for subnetwork. */ - com.google.protobuf.ByteString getSubnetworkBytes(); + com.google.protobuf.ByteString + getSubnetworkBytes(); /** - * - * *
        * Optional. The disk size in GB used for node VMs. Minimum size is 20GB.
        * If unspecified, defaults to 100GB. Cannot be updated.
        * 
    * * int32 disk_size_gb = 5; - * * @return The diskSizeGb. */ int getDiskSizeGb(); /** - * - * *
        * Optional. The set of Google API scopes to be made available on all
        * node VMs. If `oauth_scopes` is empty, defaults to
    @@ -237,13 +196,11 @@ public interface NodeConfigOrBuilder
        * 
    * * repeated string oauth_scopes = 6; - * * @return A list containing the oauthScopes. */ - java.util.List getOauthScopesList(); + java.util.List + getOauthScopesList(); /** - * - * *
        * Optional. The set of Google API scopes to be made available on all
        * node VMs. If `oauth_scopes` is empty, defaults to
    @@ -251,13 +208,10 @@ public interface NodeConfigOrBuilder
        * 
    * * repeated string oauth_scopes = 6; - * * @return The count of oauthScopes. */ int getOauthScopesCount(); /** - * - * *
        * Optional. The set of Google API scopes to be made available on all
        * node VMs. If `oauth_scopes` is empty, defaults to
    @@ -265,14 +219,11 @@ public interface NodeConfigOrBuilder
        * 
    * * repeated string oauth_scopes = 6; - * * @param index The index of the element to return. * @return The oauthScopes at the given index. */ java.lang.String getOauthScopes(int index); /** - * - * *
        * Optional. The set of Google API scopes to be made available on all
        * node VMs. If `oauth_scopes` is empty, defaults to
    @@ -280,15 +231,13 @@ public interface NodeConfigOrBuilder
        * 
    * * repeated string oauth_scopes = 6; - * * @param index The index of the value to return. * @return The bytes of the oauthScopes at the given index. */ - com.google.protobuf.ByteString getOauthScopesBytes(int index); + com.google.protobuf.ByteString + getOauthScopesBytes(int index); /** - * - * *
        * Optional. The Google Cloud Platform Service Account to be used by the node
        * VMs. If a service account is not specified, the "default" Compute Engine
    @@ -296,13 +245,10 @@ public interface NodeConfigOrBuilder
        * 
    * * string service_account = 7; - * * @return The serviceAccount. */ java.lang.String getServiceAccount(); /** - * - * *
        * Optional. The Google Cloud Platform Service Account to be used by the node
        * VMs. If a service account is not specified, the "default" Compute Engine
    @@ -310,14 +256,12 @@ public interface NodeConfigOrBuilder
        * 
    * * string service_account = 7; - * * @return The bytes for serviceAccount. */ - com.google.protobuf.ByteString getServiceAccountBytes(); + com.google.protobuf.ByteString + getServiceAccountBytes(); /** - * - * *
        * Optional. The list of instance tags applied to all node VMs. Tags are used
        * to identify valid sources or targets for network firewalls. Each tag within
    @@ -326,13 +270,11 @@ public interface NodeConfigOrBuilder
        * 
    * * repeated string tags = 8; - * * @return A list containing the tags. */ - java.util.List getTagsList(); + java.util.List + getTagsList(); /** - * - * *
        * Optional. The list of instance tags applied to all node VMs. Tags are used
        * to identify valid sources or targets for network firewalls. Each tag within
    @@ -341,13 +283,10 @@ public interface NodeConfigOrBuilder
        * 
    * * repeated string tags = 8; - * * @return The count of tags. */ int getTagsCount(); /** - * - * *
        * Optional. The list of instance tags applied to all node VMs. Tags are used
        * to identify valid sources or targets for network firewalls. Each tag within
    @@ -356,14 +295,11 @@ public interface NodeConfigOrBuilder
        * 
    * * repeated string tags = 8; - * * @param index The index of the element to return. * @return The tags at the given index. */ java.lang.String getTags(int index); /** - * - * *
        * Optional. The list of instance tags applied to all node VMs. Tags are used
        * to identify valid sources or targets for network firewalls. Each tag within
    @@ -372,51 +308,36 @@ public interface NodeConfigOrBuilder
        * 
    * * repeated string tags = 8; - * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - com.google.protobuf.ByteString getTagsBytes(int index); + com.google.protobuf.ByteString + getTagsBytes(int index); /** - * - * *
        * Optional. The configuration for controlling how IPs are allocated in the GKE cluster.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the ipAllocationPolicy field is set. */ boolean hasIpAllocationPolicy(); /** - * - * *
        * Optional. The configuration for controlling how IPs are allocated in the GKE cluster.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return The ipAllocationPolicy. */ com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy getIpAllocationPolicy(); /** - * - * *
        * Optional. The configuration for controlling how IPs are allocated in the GKE cluster.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicyOrBuilder - getIpAllocationPolicyOrBuilder(); + com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicyOrBuilder getIpAllocationPolicyOrBuilder(); } diff --git a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/OperationMetadata.java b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/OperationMetadata.java similarity index 69% rename from proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/OperationMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/OperationMetadata.java index e27f0dcb..1942544b 100644 --- a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/OperationMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/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/orchestration/airflow/service/v1/operations.proto package com.google.cloud.orchestration.airflow.service.v1; /** - * - * *
      * Metadata describing an operation.
      * 
    * * Protobuf type {@code google.cloud.orchestration.airflow.service.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.orchestration.airflow.service.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() { state_ = 0; operationType_ = 0; @@ -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,71 +56,63 @@ private OperationMetadata( case 0: done = true; break; - case 8: - { - int rawValue = input.readEnum(); + case 8: { + int rawValue = input.readEnum(); - state_ = rawValue; - break; - } - case 16: - { - int rawValue = input.readEnum(); + state_ = rawValue; + break; + } + case 16: { + int rawValue = input.readEnum(); - operationType_ = rawValue; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + operationType_ = rawValue; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - resource_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + resource_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - resourceUuid_ = s; - break; + resourceUuid_ = s; + break; + } + case 42: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 42: - { - 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 50: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); } - case 50: - { - 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; + endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = 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) { @@ -145,41 +120,36 @@ private OperationMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.OperationsProto - .internal_static_google_cloud_orchestration_airflow_service_v1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.OperationsProto.internal_static_google_cloud_orchestration_airflow_service_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1.OperationsProto - .internal_static_google_cloud_orchestration_airflow_service_v1_OperationMetadata_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1.OperationsProto.internal_static_google_cloud_orchestration_airflow_service_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.class, - com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.Builder.class); + com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.class, com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.Builder.class); } /** - * - * *
        * An enum describing the overall state of an operation.
        * 
    * * Protobuf enum {@code google.cloud.orchestration.airflow.service.v1.OperationMetadata.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
          * Unused.
          * 
    @@ -188,8 +158,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0, 0), /** - * - * *
          * The operation has been created but is not yet started.
          * 
    @@ -198,8 +166,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ PENDING(1, 1), /** - * - * *
          * The operation is underway.
          * 
    @@ -208,8 +174,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ RUNNING(2, 2), /** - * - * *
          * The operation completed successfully.
          * 
    @@ -218,8 +182,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ SUCCEEDED(3, 3), /** - * - * *
          * The operation is no longer running but did not succeed.
          * 
    @@ -230,11 +192,11 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1, -1), ; - /** SUCCESSFUL = 3; */ + /** + * SUCCESSFUL = 3; + */ public static final State SUCCESSFUL = SUCCEEDED; /** - * - * *
          * Unused.
          * 
    @@ -243,8 +205,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
          * The operation has been created but is not yet started.
          * 
    @@ -253,8 +213,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PENDING_VALUE = 1; /** - * - * *
          * The operation is underway.
          * 
    @@ -263,8 +221,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RUNNING_VALUE = 2; /** - * - * *
          * The operation completed successfully.
          * 
    @@ -272,11 +228,11 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * SUCCEEDED = 3; */ public static final int SUCCEEDED_VALUE = 3; - /** SUCCESSFUL = 3; */ + /** + * SUCCESSFUL = 3; + */ public static final int SUCCESSFUL_VALUE = 3; /** - * - * *
          * The operation is no longer running but did not succeed.
          * 
    @@ -285,6 +241,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 4; + public final int getNumber() { if (index == -1) { throw new java.lang.IllegalArgumentException( @@ -309,61 +266,55 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: - return STATE_UNSPECIFIED; - case 1: - return PENDING; - case 2: - return RUNNING; - case 3: - return SUCCEEDED; - case 4: - return FAILED; - default: - return null; + case 0: return STATE_UNSPECIFIED; + case 1: return PENDING; + case 2: return RUNNING; + case 3: return SUCCEEDED; + case 4: return FAILED; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + State> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public State findValueByNumber(int number) { - return State.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (index == -1) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(index); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.getDescriptor().getEnumTypes().get(0); } private static final State[] VALUES = getStaticValuesArray(); - private static State[] getStaticValuesArray() { return new State[] { - STATE_UNSPECIFIED, PENDING, RUNNING, SUCCEEDED, SUCCESSFUL, FAILED, + STATE_UNSPECIFIED, PENDING, RUNNING, SUCCEEDED, SUCCESSFUL, FAILED, }; } - - 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; @@ -383,18 +334,15 @@ private State(int index, int value) { } /** - * - * *
        * Type of longrunning operation.
        * 
    * * Protobuf enum {@code google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type} */ - public enum Type implements com.google.protobuf.ProtocolMessageEnum { + public enum Type + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
          * Unused.
          * 
    @@ -403,8 +351,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_UNSPECIFIED(0), /** - * - * *
          * A resource creation operation.
          * 
    @@ -413,8 +359,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ CREATE(1), /** - * - * *
          * A resource deletion operation.
          * 
    @@ -423,8 +367,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ DELETE(2), /** - * - * *
          * A resource update operation.
          * 
    @@ -433,8 +375,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ UPDATE(3), /** - * - * *
          * A resource check operation.
          * 
    @@ -446,8 +386,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
          * Unused.
          * 
    @@ -456,8 +394,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
          * A resource creation operation.
          * 
    @@ -466,8 +402,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CREATE_VALUE = 1; /** - * - * *
          * A resource deletion operation.
          * 
    @@ -476,8 +410,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DELETE_VALUE = 2; /** - * - * *
          * A resource update operation.
          * 
    @@ -486,8 +418,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UPDATE_VALUE = 3; /** - * - * *
          * A resource check operation.
          * 
    @@ -496,6 +426,7 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CHECK_VALUE = 4; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -520,55 +451,51 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: - return TYPE_UNSPECIFIED; - case 1: - return CREATE; - case 2: - return DELETE; - case 3: - return UPDATE; - case 4: - return CHECK; - default: - return null; + case 0: return TYPE_UNSPECIFIED; + case 1: return CREATE; + case 2: return DELETE; + case 3: return UPDATE; + case 4: return CHECK; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Type> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Type findValueByNumber(int number) { + return Type.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Type findValueByNumber(int number) { - return Type.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.getDescriptor() - .getEnumTypes() - .get(1); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.getDescriptor().getEnumTypes().get(1); } 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; @@ -588,95 +515,66 @@ private Type(int value) { public static final int STATE_FIELD_NUMBER = 1; private int state_; /** - * - * *
        * Output only. The current operation state.
        * 
    * * .google.cloud.orchestration.airflow.service.v1.OperationMetadata.State state = 1; - * * @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 operation state.
        * 
    * * .google.cloud.orchestration.airflow.service.v1.OperationMetadata.State state = 1; - * * @return The state. */ - @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.State getState() { + @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.State result = - com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.State.valueOf(state_); - return result == null - ? com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.State.UNRECOGNIZED - : result; + com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.State result = com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.State.valueOf(state_); + return result == null ? com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.State.UNRECOGNIZED : result; } public static final int OPERATION_TYPE_FIELD_NUMBER = 2; private int operationType_; /** - * - * *
        * Output only. The type of operation being performed.
        * 
    * - * .google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type operation_type = 2; - * - * + * .google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type operation_type = 2; * @return The enum numeric value on the wire for operationType. */ - @java.lang.Override - public int getOperationTypeValue() { + @java.lang.Override public int getOperationTypeValue() { return operationType_; } /** - * - * *
        * Output only. The type of operation being performed.
        * 
    * - * .google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type operation_type = 2; - * - * + * .google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type operation_type = 2; * @return The operationType. */ - @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type - getOperationType() { + @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type getOperationType() { @SuppressWarnings("deprecation") - com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type result = - com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type.valueOf( - operationType_); - return result == null - ? com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type.UNRECOGNIZED - : result; + com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type result = com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type.valueOf(operationType_); + return result == null ? com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type.UNRECOGNIZED : result; } public static final int RESOURCE_FIELD_NUMBER = 3; private volatile java.lang.Object resource_; /** - * - * *
        * Output only. The resource being operated on, as a [relative resource name](
        * /apis/design/resource_names#relative_resource_name).
        * 
    * * string resource = 3; - * * @return The resource. */ @java.lang.Override @@ -685,30 +583,30 @@ 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; } } /** - * - * *
        * Output only. The resource being operated on, as a [relative resource name](
        * /apis/design/resource_names#relative_resource_name).
        * 
    * * string resource = 3; - * * @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 { @@ -719,14 +617,11 @@ public com.google.protobuf.ByteString getResourceBytes() { public static final int RESOURCE_UUID_FIELD_NUMBER = 4; private volatile java.lang.Object resourceUuid_; /** - * - * *
        * Output only. The UUID of the resource being operated on.
        * 
    * * string resource_uuid = 4; - * * @return The resourceUuid. */ @java.lang.Override @@ -735,29 +630,29 @@ public java.lang.String getResourceUuid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceUuid_ = s; return s; } } /** - * - * *
        * Output only. The UUID of the resource being operated on.
        * 
    * * string resource_uuid = 4; - * * @return The bytes for resourceUuid. */ @java.lang.Override - public com.google.protobuf.ByteString getResourceUuidBytes() { + public com.google.protobuf.ByteString + getResourceUuidBytes() { java.lang.Object ref = resourceUuid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceUuid_ = b; return b; } else { @@ -768,14 +663,11 @@ public com.google.protobuf.ByteString getResourceUuidBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** - * - * *
        * Output only. The time the operation was submitted to the server.
        * 
    * * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -783,14 +675,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
        * Output only. The time the operation was submitted to the server.
        * 
    * * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ @java.lang.Override @@ -798,8 +687,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
        * Output only. The time the operation was submitted to the server.
        * 
    @@ -814,15 +701,12 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp endTime_; /** - * - * *
        * Output only. The time when the operation terminated, regardless of its success.
        * This field is unset if the operation is still ongoing.
        * 
    * * .google.protobuf.Timestamp end_time = 6; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -830,15 +714,12 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
        * Output only. The time when the operation terminated, regardless of its success.
        * This field is unset if the operation is still ongoing.
        * 
    * * .google.protobuf.Timestamp end_time = 6; - * * @return The endTime. */ @java.lang.Override @@ -846,8 +727,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
        * Output only. The time when the operation terminated, regardless of its success.
        * This field is unset if the operation is still ongoing.
    @@ -861,7 +740,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
       }
     
       private byte memoizedIsInitialized = -1;
    -
       @java.lang.Override
       public final boolean isInitialized() {
         byte isInitialized = memoizedIsInitialized;
    @@ -873,16 +751,12 @@ public final boolean isInitialized() {
       }
     
       @java.lang.Override
    -  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    -    if (state_
    -        != com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.State
    -            .STATE_UNSPECIFIED
    -            .getNumber()) {
    +  public void writeTo(com.google.protobuf.CodedOutputStream output)
    +                      throws java.io.IOException {
    +    if (state_ != com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.State.STATE_UNSPECIFIED.getNumber()) {
           output.writeEnum(1, state_);
         }
    -    if (operationType_
    -        != com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type.TYPE_UNSPECIFIED
    -            .getNumber()) {
    +    if (operationType_ != com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type.TYPE_UNSPECIFIED.getNumber()) {
           output.writeEnum(2, operationType_);
         }
         if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resource_)) {
    @@ -906,16 +780,13 @@ public int getSerializedSize() {
         if (size != -1) return size;
     
         size = 0;
    -    if (state_
    -        != com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.State
    -            .STATE_UNSPECIFIED
    -            .getNumber()) {
    -      size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, state_);
    +    if (state_ != com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.State.STATE_UNSPECIFIED.getNumber()) {
    +      size += com.google.protobuf.CodedOutputStream
    +        .computeEnumSize(1, state_);
         }
    -    if (operationType_
    -        != com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type.TYPE_UNSPECIFIED
    -            .getNumber()) {
    -      size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, operationType_);
    +    if (operationType_ != com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type.TYPE_UNSPECIFIED.getNumber()) {
    +      size += com.google.protobuf.CodedOutputStream
    +        .computeEnumSize(2, operationType_);
         }
         if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resource_)) {
           size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, resource_);
    @@ -924,10 +795,12 @@ public int getSerializedSize() {
           size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, resourceUuid_);
         }
         if (createTime_ != null) {
    -      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime());
    +      size += com.google.protobuf.CodedOutputStream
    +        .computeMessageSize(5, getCreateTime());
         }
         if (endTime_ != null) {
    -      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getEndTime());
    +      size += com.google.protobuf.CodedOutputStream
    +        .computeMessageSize(6, getEndTime());
         }
         size += unknownFields.getSerializedSize();
         memoizedSize = size;
    @@ -937,25 +810,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.orchestration.airflow.service.v1.OperationMetadata)) {
           return super.equals(obj);
         }
    -    com.google.cloud.orchestration.airflow.service.v1.OperationMetadata other =
    -        (com.google.cloud.orchestration.airflow.service.v1.OperationMetadata) obj;
    +    com.google.cloud.orchestration.airflow.service.v1.OperationMetadata other = (com.google.cloud.orchestration.airflow.service.v1.OperationMetadata) obj;
     
         if (state_ != other.state_) return false;
         if (operationType_ != other.operationType_) return false;
    -    if (!getResource().equals(other.getResource())) return false;
    -    if (!getResourceUuid().equals(other.getResourceUuid())) return false;
    +    if (!getResource()
    +        .equals(other.getResource())) return false;
    +    if (!getResourceUuid()
    +        .equals(other.getResourceUuid())) 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 (hasEndTime() != other.hasEndTime()) return false;
         if (hasEndTime()) {
    -      if (!getEndTime().equals(other.getEndTime())) return false;
    +      if (!getEndTime()
    +          .equals(other.getEndTime())) return false;
         }
         if (!unknownFields.equals(other.unknownFields)) return false;
         return true;
    @@ -990,145 +866,134 @@ public int hashCode() {
       }
     
       public static com.google.cloud.orchestration.airflow.service.v1.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.orchestration.airflow.service.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.orchestration.airflow.service.v1.OperationMetadata parseFrom(
           com.google.protobuf.ByteString data)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
    -
       public static com.google.cloud.orchestration.airflow.service.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.orchestration.airflow.service.v1.OperationMetadata parseFrom(
    -      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
    +  public static com.google.cloud.orchestration.airflow.service.v1.OperationMetadata parseFrom(byte[] data)
    +      throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
    -
       public static com.google.cloud.orchestration.airflow.service.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.orchestration.airflow.service.v1.OperationMetadata parseFrom(
    -      java.io.InputStream input) throws java.io.IOException {
    -    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
    +  public static com.google.cloud.orchestration.airflow.service.v1.OperationMetadata parseFrom(java.io.InputStream input)
    +      throws java.io.IOException {
    +    return com.google.protobuf.GeneratedMessageV3
    +        .parseWithIOException(PARSER, input);
       }
    -
       public static com.google.cloud.orchestration.airflow.service.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.orchestration.airflow.service.v1.OperationMetadata
    -      parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
    -    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
    +  public static com.google.cloud.orchestration.airflow.service.v1.OperationMetadata parseDelimitedFrom(java.io.InputStream input)
    +      throws java.io.IOException {
    +    return com.google.protobuf.GeneratedMessageV3
    +        .parseDelimitedWithIOException(PARSER, input);
       }
    -
    -  public static com.google.cloud.orchestration.airflow.service.v1.OperationMetadata
    -      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.orchestration.airflow.service.v1.OperationMetadata 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.orchestration.airflow.service.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.orchestration.airflow.service.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.orchestration.airflow.service.v1.OperationMetadata prototype) {
    +  public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.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;
       }
       /**
    -   *
    -   *
        * 
        * Metadata describing an operation.
        * 
    * * Protobuf type {@code google.cloud.orchestration.airflow.service.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.orchestration.airflow.service.v1.OperationMetadata) com.google.cloud.orchestration.airflow.service.v1.OperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.OperationsProto - .internal_static_google_cloud_orchestration_airflow_service_v1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.OperationsProto.internal_static_google_cloud_orchestration_airflow_service_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1.OperationsProto - .internal_static_google_cloud_orchestration_airflow_service_v1_OperationMetadata_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1.OperationsProto.internal_static_google_cloud_orchestration_airflow_service_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.class, - com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.Builder.class); + com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.class, com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.Builder.class); } - // Construct using - // com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.newBuilder() + // Construct using com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1156,16 +1021,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1.OperationsProto - .internal_static_google_cloud_orchestration_airflow_service_v1_OperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1.OperationsProto.internal_static_google_cloud_orchestration_airflow_service_v1_OperationMetadata_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.OperationMetadata - getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1.OperationMetadata - .getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1.OperationMetadata getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.getDefaultInstance(); } @java.lang.Override @@ -1179,8 +1042,7 @@ public com.google.cloud.orchestration.airflow.service.v1.OperationMetadata build @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1.OperationMetadata buildPartial() { - com.google.cloud.orchestration.airflow.service.v1.OperationMetadata result = - new com.google.cloud.orchestration.airflow.service.v1.OperationMetadata(this); + com.google.cloud.orchestration.airflow.service.v1.OperationMetadata result = new com.google.cloud.orchestration.airflow.service.v1.OperationMetadata(this); result.state_ = state_; result.operationType_ = operationType_; result.resource_ = resource_; @@ -1203,51 +1065,46 @@ public com.google.cloud.orchestration.airflow.service.v1.OperationMetadata build public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.orchestration.airflow.service.v1.OperationMetadata) { - return mergeFrom( - (com.google.cloud.orchestration.airflow.service.v1.OperationMetadata) other); + return mergeFrom((com.google.cloud.orchestration.airflow.service.v1.OperationMetadata)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.orchestration.airflow.service.v1.OperationMetadata other) { - if (other - == com.google.cloud.orchestration.airflow.service.v1.OperationMetadata - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1.OperationMetadata other) { + if (other == com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.getDefaultInstance()) return this; if (other.state_ != 0) { setStateValue(other.getStateValue()); } @@ -1287,9 +1144,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.orchestration.airflow.service.v1.OperationMetadata) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.orchestration.airflow.service.v1.OperationMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1301,98 +1156,73 @@ public Builder mergeFrom( private int state_ = 0; /** - * - * *
          * Output only. The current operation state.
          * 
    * - * .google.cloud.orchestration.airflow.service.v1.OperationMetadata.State state = 1; - * - * + * .google.cloud.orchestration.airflow.service.v1.OperationMetadata.State state = 1; * @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 operation state.
          * 
    * - * .google.cloud.orchestration.airflow.service.v1.OperationMetadata.State state = 1; - * - * + * .google.cloud.orchestration.airflow.service.v1.OperationMetadata.State state = 1; * @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 operation state.
          * 
    * - * .google.cloud.orchestration.airflow.service.v1.OperationMetadata.State state = 1; - * - * + * .google.cloud.orchestration.airflow.service.v1.OperationMetadata.State state = 1; * @return The state. */ @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.State result = - com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.State.valueOf(state_); - return result == null - ? com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.State.UNRECOGNIZED - : result; + com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.State result = com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.State.valueOf(state_); + return result == null ? com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.State.UNRECOGNIZED : result; } /** - * - * *
          * Output only. The current operation state.
          * 
    * - * .google.cloud.orchestration.airflow.service.v1.OperationMetadata.State state = 1; - * - * + * .google.cloud.orchestration.airflow.service.v1.OperationMetadata.State state = 1; * @param value The state to set. * @return This builder for chaining. */ - public Builder setState( - com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.State value) { + public Builder setState(com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
          * Output only. The current operation state.
          * 
    * - * .google.cloud.orchestration.airflow.service.v1.OperationMetadata.State state = 1; - * - * + * .google.cloud.orchestration.airflow.service.v1.OperationMetadata.State state = 1; * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -1400,105 +1230,73 @@ public Builder clearState() { private int operationType_ = 0; /** - * - * *
          * Output only. The type of operation being performed.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type operation_type = 2; - * - * + * .google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type operation_type = 2; * @return The enum numeric value on the wire for operationType. */ - @java.lang.Override - public int getOperationTypeValue() { + @java.lang.Override public int getOperationTypeValue() { return operationType_; } /** - * - * *
          * Output only. The type of operation being performed.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type operation_type = 2; - * - * + * .google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type operation_type = 2; * @param value The enum numeric value on the wire for operationType to set. * @return This builder for chaining. */ public Builder setOperationTypeValue(int value) { - + operationType_ = value; onChanged(); return this; } /** - * - * *
          * Output only. The type of operation being performed.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type operation_type = 2; - * - * + * .google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type operation_type = 2; * @return The operationType. */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type - getOperationType() { + public com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type getOperationType() { @SuppressWarnings("deprecation") - com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type result = - com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type.valueOf( - operationType_); - return result == null - ? com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type.UNRECOGNIZED - : result; + com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type result = com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type.valueOf(operationType_); + return result == null ? com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type.UNRECOGNIZED : result; } /** - * - * *
          * Output only. The type of operation being performed.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type operation_type = 2; - * - * + * .google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type operation_type = 2; * @param value The operationType to set. * @return This builder for chaining. */ - public Builder setOperationType( - com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type value) { + public Builder setOperationType(com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type value) { if (value == null) { throw new NullPointerException(); } - + operationType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
          * Output only. The type of operation being performed.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type operation_type = 2; - * - * + * .google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type operation_type = 2; * @return This builder for chaining. */ public Builder clearOperationType() { - + operationType_ = 0; onChanged(); return this; @@ -1506,21 +1304,19 @@ public Builder clearOperationType() { private java.lang.Object resource_ = ""; /** - * - * *
          * Output only. The resource being operated on, as a [relative resource name](
          * /apis/design/resource_names#relative_resource_name).
          * 
    * * string resource = 3; - * * @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; @@ -1529,22 +1325,21 @@ public java.lang.String getResource() { } } /** - * - * *
          * Output only. The resource being operated on, as a [relative resource name](
          * /apis/design/resource_names#relative_resource_name).
          * 
    * * string resource = 3; - * * @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 { @@ -1552,64 +1347,57 @@ public com.google.protobuf.ByteString getResourceBytes() { } } /** - * - * *
          * Output only. The resource being operated on, as a [relative resource name](
          * /apis/design/resource_names#relative_resource_name).
          * 
    * * string resource = 3; - * * @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; } /** - * - * *
          * Output only. The resource being operated on, as a [relative resource name](
          * /apis/design/resource_names#relative_resource_name).
          * 
    * * string resource = 3; - * * @return This builder for chaining. */ public Builder clearResource() { - + resource_ = getDefaultInstance().getResource(); onChanged(); return this; } /** - * - * *
          * Output only. The resource being operated on, as a [relative resource name](
          * /apis/design/resource_names#relative_resource_name).
          * 
    * * string resource = 3; - * * @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; @@ -1617,20 +1405,18 @@ public Builder setResourceBytes(com.google.protobuf.ByteString value) { private java.lang.Object resourceUuid_ = ""; /** - * - * *
          * Output only. The UUID of the resource being operated on.
          * 
    * * string resource_uuid = 4; - * * @return The resourceUuid. */ public java.lang.String getResourceUuid() { java.lang.Object ref = resourceUuid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceUuid_ = s; return s; @@ -1639,21 +1425,20 @@ public java.lang.String getResourceUuid() { } } /** - * - * *
          * Output only. The UUID of the resource being operated on.
          * 
    * * string resource_uuid = 4; - * * @return The bytes for resourceUuid. */ - public com.google.protobuf.ByteString getResourceUuidBytes() { + public com.google.protobuf.ByteString + getResourceUuidBytes() { java.lang.Object ref = resourceUuid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceUuid_ = b; return b; } else { @@ -1661,61 +1446,54 @@ public com.google.protobuf.ByteString getResourceUuidBytes() { } } /** - * - * *
          * Output only. The UUID of the resource being operated on.
          * 
    * * string resource_uuid = 4; - * * @param value The resourceUuid to set. * @return This builder for chaining. */ - public Builder setResourceUuid(java.lang.String value) { + public Builder setResourceUuid( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + resourceUuid_ = value; onChanged(); return this; } /** - * - * *
          * Output only. The UUID of the resource being operated on.
          * 
    * * string resource_uuid = 4; - * * @return This builder for chaining. */ public Builder clearResourceUuid() { - + resourceUuid_ = getDefaultInstance().getResourceUuid(); onChanged(); return this; } /** - * - * *
          * Output only. The UUID of the resource being operated on.
          * 
    * * string resource_uuid = 4; - * * @param value The bytes for resourceUuid to set. * @return This builder for chaining. */ - public Builder setResourceUuidBytes(com.google.protobuf.ByteString value) { + public Builder setResourceUuidBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resourceUuid_ = value; onChanged(); return this; @@ -1723,47 +1501,34 @@ public Builder setResourceUuidBytes(com.google.protobuf.ByteString value) { 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 operation was submitted to the server.
          * 
    * * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
          * Output only. The time the operation was submitted to the server.
          * 
    * * .google.protobuf.Timestamp create_time = 5; - * * @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 operation was submitted to the server.
          * 
    @@ -1784,15 +1549,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
          * Output only. The time the operation was submitted to the server.
          * 
    * * .google.protobuf.Timestamp create_time = 5; */ - 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(); @@ -1803,8 +1567,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
          * Output only. The time the operation was submitted to the server.
          * 
    @@ -1815,7 +1577,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; } @@ -1827,8 +1589,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
          * Output only. The time the operation was submitted to the server.
          * 
    @@ -1847,8 +1607,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
          * Output only. The time the operation was submitted to the server.
          * 
    @@ -1856,13 +1614,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
          * Output only. The time the operation was submitted to the server.
          * 
    @@ -1873,14 +1629,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_; } } /** - * - * *
          * Output only. The time the operation was submitted to the server.
          * 
    @@ -1888,17 +1641,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 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_; @@ -1906,35 +1656,26 @@ 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_; /** - * - * *
          * Output only. The time when the operation terminated, regardless of its success.
          * This field is unset if the operation is still ongoing.
          * 
    * * .google.protobuf.Timestamp end_time = 6; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** - * - * *
          * Output only. The time when the operation terminated, regardless of its success.
          * This field is unset if the operation is still ongoing.
          * 
    * * .google.protobuf.Timestamp end_time = 6; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1945,8 +1686,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
          * Output only. The time when the operation terminated, regardless of its success.
          * This field is unset if the operation is still ongoing.
    @@ -1968,8 +1707,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
           return this;
         }
         /**
    -     *
    -     *
          * 
          * Output only. The time when the operation terminated, regardless of its success.
          * This field is unset if the operation is still ongoing.
    @@ -1977,7 +1714,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
          *
          * .google.protobuf.Timestamp end_time = 6;
          */
    -    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();
    @@ -1988,8 +1726,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
           return this;
         }
         /**
    -     *
    -     *
          * 
          * Output only. The time when the operation terminated, regardless of its success.
          * This field is unset if the operation is still ongoing.
    @@ -2001,7 +1737,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;
             }
    @@ -2013,8 +1749,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
           return this;
         }
         /**
    -     *
    -     *
          * 
          * Output only. The time when the operation terminated, regardless of its success.
          * This field is unset if the operation is still ongoing.
    @@ -2034,8 +1768,6 @@ public Builder clearEndTime() {
           return this;
         }
         /**
    -     *
    -     *
          * 
          * Output only. The time when the operation terminated, regardless of its success.
          * This field is unset if the operation is still ongoing.
    @@ -2044,13 +1776,11 @@ public Builder clearEndTime() {
          * .google.protobuf.Timestamp end_time = 6;
          */
         public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
    -
    +      
           onChanged();
           return getEndTimeFieldBuilder().getBuilder();
         }
         /**
    -     *
    -     *
          * 
          * Output only. The time when the operation terminated, regardless of its success.
          * This field is unset if the operation is still ongoing.
    @@ -2062,12 +1792,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_;
           }
         }
         /**
    -     *
    -     *
          * 
          * Output only. The time when the operation terminated, regardless of its success.
          * This field is unset if the operation is still ongoing.
    @@ -2076,24 +1805,21 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
          * .google.protobuf.Timestamp end_time = 6;
          */
         private com.google.protobuf.SingleFieldBuilderV3<
    -            com.google.protobuf.Timestamp,
    -            com.google.protobuf.Timestamp.Builder,
    -            com.google.protobuf.TimestampOrBuilder>
    +        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
             getEndTimeFieldBuilder() {
           if (endTimeBuilder_ == null) {
    -        endTimeBuilder_ =
    -            new com.google.protobuf.SingleFieldBuilderV3<
    -                com.google.protobuf.Timestamp,
    -                com.google.protobuf.Timestamp.Builder,
    -                com.google.protobuf.TimestampOrBuilder>(
    -                getEndTime(), getParentForChildren(), isClean());
    +        endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
    +            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
    +                getEndTime(),
    +                getParentForChildren(),
    +                isClean());
             endTime_ = null;
           }
           return endTimeBuilder_;
         }
    -
         @java.lang.Override
    -    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
    +    public final Builder setUnknownFields(
    +        final com.google.protobuf.UnknownFieldSet unknownFields) {
           return super.setUnknownFields(unknownFields);
         }
     
    @@ -2103,32 +1829,30 @@ public final Builder mergeUnknownFields(
           return super.mergeUnknownFields(unknownFields);
         }
     
    +
         // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1.OperationMetadata)
       }
     
       // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1.OperationMetadata)
    -  private static final com.google.cloud.orchestration.airflow.service.v1.OperationMetadata
    -      DEFAULT_INSTANCE;
    -
    +  private static final com.google.cloud.orchestration.airflow.service.v1.OperationMetadata DEFAULT_INSTANCE;
       static {
         DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1.OperationMetadata();
       }
     
    -  public static com.google.cloud.orchestration.airflow.service.v1.OperationMetadata
    -      getDefaultInstance() {
    +  public static com.google.cloud.orchestration.airflow.service.v1.OperationMetadata getDefaultInstance() {
         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;
    @@ -2140,8 +1864,9 @@ public com.google.protobuf.Parser getParserForType() {
       }
     
       @java.lang.Override
    -  public com.google.cloud.orchestration.airflow.service.v1.OperationMetadata
    -      getDefaultInstanceForType() {
    +  public com.google.cloud.orchestration.airflow.service.v1.OperationMetadata getDefaultInstanceForType() {
         return DEFAULT_INSTANCE;
       }
    +
     }
    +
    diff --git a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/OperationMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/OperationMetadataOrBuilder.java
    similarity index 79%
    rename from proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/OperationMetadataOrBuilder.java
    rename to owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/OperationMetadataOrBuilder.java
    index d2a36466..1cb1f64d 100644
    --- a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/OperationMetadataOrBuilder.java
    +++ b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/OperationMetadataOrBuilder.java
    @@ -1,159 +1,111 @@
    -/*
    - * Copyright 2020 Google LLC
    - *
    - * Licensed under the Apache License, Version 2.0 (the "License");
    - * you may not use this file except in compliance with the License.
    - * You may obtain a copy of the License at
    - *
    - *     https://www.apache.org/licenses/LICENSE-2.0
    - *
    - * Unless required by applicable law or agreed to in writing, software
    - * distributed under the License is distributed on an "AS IS" BASIS,
    - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    - * See the License for the specific language governing permissions and
    - * limitations under the License.
    - */
     // Generated by the protocol buffer compiler.  DO NOT EDIT!
     // source: google/cloud/orchestration/airflow/service/v1/operations.proto
     
     package com.google.cloud.orchestration.airflow.service.v1;
     
    -public interface OperationMetadataOrBuilder
    -    extends
    +public interface OperationMetadataOrBuilder extends
         // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1.OperationMetadata)
         com.google.protobuf.MessageOrBuilder {
     
       /**
    -   *
    -   *
        * 
        * Output only. The current operation state.
        * 
    * * .google.cloud.orchestration.airflow.service.v1.OperationMetadata.State state = 1; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
        * Output only. The current operation state.
        * 
    * * .google.cloud.orchestration.airflow.service.v1.OperationMetadata.State state = 1; - * * @return The state. */ com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.State getState(); /** - * - * *
        * Output only. The type of operation being performed.
        * 
    * - * .google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type operation_type = 2; - * - * + * .google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type operation_type = 2; * @return The enum numeric value on the wire for operationType. */ int getOperationTypeValue(); /** - * - * *
        * Output only. The type of operation being performed.
        * 
    * - * .google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type operation_type = 2; - * - * + * .google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type operation_type = 2; * @return The operationType. */ com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type getOperationType(); /** - * - * *
        * Output only. The resource being operated on, as a [relative resource name](
        * /apis/design/resource_names#relative_resource_name).
        * 
    * * string resource = 3; - * * @return The resource. */ java.lang.String getResource(); /** - * - * *
        * Output only. The resource being operated on, as a [relative resource name](
        * /apis/design/resource_names#relative_resource_name).
        * 
    * * string resource = 3; - * * @return The bytes for resource. */ - com.google.protobuf.ByteString getResourceBytes(); + com.google.protobuf.ByteString + getResourceBytes(); /** - * - * *
        * Output only. The UUID of the resource being operated on.
        * 
    * * string resource_uuid = 4; - * * @return The resourceUuid. */ java.lang.String getResourceUuid(); /** - * - * *
        * Output only. The UUID of the resource being operated on.
        * 
    * * string resource_uuid = 4; - * * @return The bytes for resourceUuid. */ - com.google.protobuf.ByteString getResourceUuidBytes(); + com.google.protobuf.ByteString + getResourceUuidBytes(); /** - * - * *
        * Output only. The time the operation was submitted to the server.
        * 
    * * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
        * Output only. The time the operation was submitted to the server.
        * 
    * * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
        * Output only. The time the operation was submitted to the server.
        * 
    @@ -163,34 +115,26 @@ public interface OperationMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
        * Output only. The time when the operation terminated, regardless of its success.
        * This field is unset if the operation is still ongoing.
        * 
    * * .google.protobuf.Timestamp end_time = 6; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
        * Output only. The time when the operation terminated, regardless of its success.
        * This field is unset if the operation is still ongoing.
        * 
    * * .google.protobuf.Timestamp end_time = 6; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
        * Output only. The time when the operation terminated, regardless of its success.
        * This field is unset if the operation is still ongoing.
    diff --git a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/OperationsProto.java b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/OperationsProto.java
    new file mode 100644
    index 00000000..ac28b376
    --- /dev/null
    +++ b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/OperationsProto.java
    @@ -0,0 +1,71 @@
    +// Generated by the protocol buffer compiler.  DO NOT EDIT!
    +// source: google/cloud/orchestration/airflow/service/v1/operations.proto
    +
    +package com.google.cloud.orchestration.airflow.service.v1;
    +
    +public final class OperationsProto {
    +  private OperationsProto() {}
    +  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_orchestration_airflow_service_v1_OperationMetadata_descriptor;
    +  static final 
    +    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
    +      internal_static_google_cloud_orchestration_airflow_service_v1_OperationMetadata_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/orchestration/airflow/ser" +
    +      "vice/v1/operations.proto\022-google.cloud.o" +
    +      "rchestration.airflow.service.v1\032\037google/" +
    +      "protobuf/timestamp.proto\032\034google/api/ann" +
    +      "otations.proto\"\207\004\n\021OperationMetadata\022U\n\005" +
    +      "state\030\001 \001(\0162F.google.cloud.orchestration" +
    +      ".airflow.service.v1.OperationMetadata.St" +
    +      "ate\022]\n\016operation_type\030\002 \001(\0162E.google.clo" +
    +      "ud.orchestration.airflow.service.v1.Oper" +
    +      "ationMetadata.Type\022\020\n\010resource\030\003 \001(\t\022\025\n\r" +
    +      "resource_uuid\030\004 \001(\t\022/\n\013create_time\030\005 \001(\013" +
    +      "2\032.google.protobuf.Timestamp\022,\n\010end_time" +
    +      "\030\006 \001(\0132\032.google.protobuf.Timestamp\"g\n\005St" +
    +      "ate\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007PENDING\020\001\022" +
    +      "\013\n\007RUNNING\020\002\022\r\n\tSUCCEEDED\020\003\022\016\n\nSUCCESSFU" +
    +      "L\020\003\022\n\n\006FAILED\020\004\032\002\020\001\"K\n\004Type\022\024\n\020TYPE_UNSP" +
    +      "ECIFIED\020\000\022\n\n\006CREATE\020\001\022\n\n\006DELETE\020\002\022\n\n\006UPD" +
    +      "ATE\020\003\022\t\n\005CHECK\020\004B\234\001\n1com.google.cloud.or" +
    +      "chestration.airflow.service.v1B\017Operatio" +
    +      "nsProtoP\001ZTgoogle.golang.org/genproto/go" +
    +      "ogleapis/cloud/orchestration/airflow/ser" +
    +      "vice/v1;serviceb\006proto3"
    +    };
    +    descriptor = com.google.protobuf.Descriptors.FileDescriptor
    +      .internalBuildGeneratedFileFrom(descriptorData,
    +        new com.google.protobuf.Descriptors.FileDescriptor[] {
    +          com.google.protobuf.TimestampProto.getDescriptor(),
    +          com.google.api.AnnotationsProto.getDescriptor(),
    +        });
    +    internal_static_google_cloud_orchestration_airflow_service_v1_OperationMetadata_descriptor =
    +      getDescriptor().getMessageTypes().get(0);
    +    internal_static_google_cloud_orchestration_airflow_service_v1_OperationMetadata_fieldAccessorTable = new
    +      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
    +        internal_static_google_cloud_orchestration_airflow_service_v1_OperationMetadata_descriptor,
    +        new java.lang.String[] { "State", "OperationType", "Resource", "ResourceUuid", "CreateTime", "EndTime", });
    +    com.google.protobuf.TimestampProto.getDescriptor();
    +    com.google.api.AnnotationsProto.getDescriptor();
    +  }
    +
    +  // @@protoc_insertion_point(outer_class_scope)
    +}
    diff --git a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateClusterConfig.java b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateClusterConfig.java
    similarity index 71%
    rename from proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateClusterConfig.java
    rename to owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateClusterConfig.java
    index 1c3c35e8..e73f9b21 100644
    --- a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateClusterConfig.java
    +++ b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateClusterConfig.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/orchestration/airflow/service/v1/environments.proto
     
     package com.google.cloud.orchestration.airflow.service.v1;
     
     /**
    - *
    - *
      * 
      * Configuration options for the private GKE cluster in a Cloud Composer
      * environment.
    @@ -28,16 +11,15 @@
      *
      * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig}
      */
    -public final class PrivateClusterConfig extends com.google.protobuf.GeneratedMessageV3
    -    implements
    +public final class PrivateClusterConfig extends
    +    com.google.protobuf.GeneratedMessageV3 implements
         // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig)
         PrivateClusterConfigOrBuilder {
    -  private static final long serialVersionUID = 0L;
    +private static final long serialVersionUID = 0L;
       // Use PrivateClusterConfig.newBuilder() to construct.
       private PrivateClusterConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
    -
       private PrivateClusterConfig() {
         masterIpv4CidrBlock_ = "";
         masterIpv4ReservedRange_ = "";
    @@ -45,15 +27,16 @@ private PrivateClusterConfig() {
     
       @java.lang.Override
       @SuppressWarnings({"unused"})
    -  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
    +  protected java.lang.Object newInstance(
    +      UnusedPrivateParameter unused) {
         return new PrivateClusterConfig();
       }
     
       @java.lang.Override
    -  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
    +  public final com.google.protobuf.UnknownFieldSet
    +  getUnknownFields() {
         return this.unknownFields;
       }
    -
       private PrivateClusterConfig(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    @@ -72,32 +55,30 @@ private PrivateClusterConfig(
               case 0:
                 done = true;
                 break;
    -          case 8:
    -            {
    -              enablePrivateEndpoint_ = input.readBool();
    -              break;
    -            }
    -          case 18:
    -            {
    -              java.lang.String s = input.readStringRequireUtf8();
    +          case 8: {
     
    -              masterIpv4CidrBlock_ = s;
    -              break;
    -            }
    -          case 26:
    -            {
    -              java.lang.String s = input.readStringRequireUtf8();
    +            enablePrivateEndpoint_ = input.readBool();
    +            break;
    +          }
    +          case 18: {
    +            java.lang.String s = input.readStringRequireUtf8();
     
    -              masterIpv4ReservedRange_ = s;
    -              break;
    -            }
    -          default:
    -            {
    -              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
    -                done = true;
    -              }
    -              break;
    +            masterIpv4CidrBlock_ = s;
    +            break;
    +          }
    +          case 26: {
    +            java.lang.String s = input.readStringRequireUtf8();
    +
    +            masterIpv4ReservedRange_ = s;
    +            break;
    +          }
    +          default: {
    +            if (!parseUnknownField(
    +                input, unknownFields, extensionRegistry, tag)) {
    +              done = true;
                 }
    +            break;
    +          }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
    @@ -105,40 +86,35 @@ private PrivateClusterConfig(
         } catch (com.google.protobuf.UninitializedMessageException e) {
           throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
    -      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
    +      throw new com.google.protobuf.InvalidProtocolBufferException(
    +          e).setUnfinishedMessage(this);
         } finally {
           this.unknownFields = unknownFields.build();
           makeExtensionsImmutable();
         }
       }
    -
    -  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    -    return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
    -        .internal_static_google_cloud_orchestration_airflow_service_v1_PrivateClusterConfig_descriptor;
    +  public static final com.google.protobuf.Descriptors.Descriptor
    +      getDescriptor() {
    +    return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_PrivateClusterConfig_descriptor;
       }
     
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
    -    return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
    -        .internal_static_google_cloud_orchestration_airflow_service_v1_PrivateClusterConfig_fieldAccessorTable
    +    return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_PrivateClusterConfig_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
    -            com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig.class,
    -            com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig.Builder.class);
    +            com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig.class, com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig.Builder.class);
       }
     
       public static final int ENABLE_PRIVATE_ENDPOINT_FIELD_NUMBER = 1;
       private boolean enablePrivateEndpoint_;
       /**
    -   *
    -   *
        * 
        * Optional. If `true`, access to the public endpoint of the GKE cluster is
        * denied.
        * 
    * * bool enable_private_endpoint = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The enablePrivateEndpoint. */ @java.lang.Override @@ -149,15 +125,12 @@ public boolean getEnablePrivateEndpoint() { public static final int MASTER_IPV4_CIDR_BLOCK_FIELD_NUMBER = 2; private volatile java.lang.Object masterIpv4CidrBlock_; /** - * - * *
        * Optional. The CIDR block from which IPv4 range for GKE master will be reserved. If
        * left blank, the default value of '172.16.0.0/23' is used.
        * 
    * * string master_ipv4_cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The masterIpv4CidrBlock. */ @java.lang.Override @@ -166,30 +139,30 @@ public java.lang.String getMasterIpv4CidrBlock() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); masterIpv4CidrBlock_ = s; return s; } } /** - * - * *
        * Optional. The CIDR block from which IPv4 range for GKE master will be reserved. If
        * left blank, the default value of '172.16.0.0/23' is used.
        * 
    * * string master_ipv4_cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for masterIpv4CidrBlock. */ @java.lang.Override - public com.google.protobuf.ByteString getMasterIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString + getMasterIpv4CidrBlockBytes() { java.lang.Object ref = masterIpv4CidrBlock_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); masterIpv4CidrBlock_ = b; return b; } else { @@ -200,8 +173,6 @@ public com.google.protobuf.ByteString getMasterIpv4CidrBlockBytes() { public static final int MASTER_IPV4_RESERVED_RANGE_FIELD_NUMBER = 3; private volatile java.lang.Object masterIpv4ReservedRange_; /** - * - * *
        * Output only. The IP range in CIDR notation to use for the hosted master network. This
        * range is used for assigning internal IP addresses to the GKE cluster
    @@ -210,9 +181,7 @@ public com.google.protobuf.ByteString getMasterIpv4CidrBlockBytes() {
        * within the cluster's network.
        * 
    * - * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The masterIpv4ReservedRange. */ @java.lang.Override @@ -221,15 +190,14 @@ public java.lang.String getMasterIpv4ReservedRange() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); masterIpv4ReservedRange_ = s; return s; } } /** - * - * *
        * Output only. The IP range in CIDR notation to use for the hosted master network. This
        * range is used for assigning internal IP addresses to the GKE cluster
    @@ -238,17 +206,17 @@ public java.lang.String getMasterIpv4ReservedRange() {
        * within the cluster's network.
        * 
    * - * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for masterIpv4ReservedRange. */ @java.lang.Override - public com.google.protobuf.ByteString getMasterIpv4ReservedRangeBytes() { + public com.google.protobuf.ByteString + getMasterIpv4ReservedRangeBytes() { java.lang.Object ref = masterIpv4ReservedRange_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); masterIpv4ReservedRange_ = b; return b; } else { @@ -257,7 +225,6 @@ public com.google.protobuf.ByteString getMasterIpv4ReservedRangeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -269,7 +236,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 (enablePrivateEndpoint_ != false) { output.writeBool(1, enablePrivateEndpoint_); } @@ -289,7 +257,8 @@ public int getSerializedSize() { size = 0; if (enablePrivateEndpoint_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enablePrivateEndpoint_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enablePrivateEndpoint_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(masterIpv4CidrBlock_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, masterIpv4CidrBlock_); @@ -305,17 +274,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.orchestration.airflow.service.v1.PrivateClusterConfig)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig other = - (com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig) obj; + com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig other = (com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig) obj; - if (getEnablePrivateEndpoint() != other.getEnablePrivateEndpoint()) return false; - if (!getMasterIpv4CidrBlock().equals(other.getMasterIpv4CidrBlock())) return false; - if (!getMasterIpv4ReservedRange().equals(other.getMasterIpv4ReservedRange())) return false; + if (getEnablePrivateEndpoint() + != other.getEnablePrivateEndpoint()) return false; + if (!getMasterIpv4CidrBlock() + .equals(other.getMasterIpv4CidrBlock())) return false; + if (!getMasterIpv4ReservedRange() + .equals(other.getMasterIpv4ReservedRange())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -328,7 +299,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLE_PRIVATE_ENDPOINT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnablePrivateEndpoint()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnablePrivateEndpoint()); hash = (37 * hash) + MASTER_IPV4_CIDR_BLOCK_FIELD_NUMBER; hash = (53 * hash) + getMasterIpv4CidrBlock().hashCode(); hash = (37 * hash) + MASTER_IPV4_RESERVED_RANGE_FIELD_NUMBER; @@ -339,105 +311,96 @@ public int hashCode() { } public static com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig 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.orchestration.airflow.service.v1.PrivateClusterConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig - 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.orchestration.airflow.service.v1.PrivateClusterConfig 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.orchestration.airflow.service.v1.PrivateClusterConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig prototype) { + public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
        * Configuration options for the private GKE cluster in a Cloud Composer
        * environment.
    @@ -445,40 +408,38 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
        *
        * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig}
        */
    -  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
    -      implements
    +  public static final class Builder extends
    +      com.google.protobuf.GeneratedMessageV3.Builder implements
           // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig)
           com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfigOrBuilder {
    -    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    -      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
    -          .internal_static_google_cloud_orchestration_airflow_service_v1_PrivateClusterConfig_descriptor;
    +    public static final com.google.protobuf.Descriptors.Descriptor
    +        getDescriptor() {
    +      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_PrivateClusterConfig_descriptor;
         }
     
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
    -      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
    -          .internal_static_google_cloud_orchestration_airflow_service_v1_PrivateClusterConfig_fieldAccessorTable
    +      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_PrivateClusterConfig_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
    -              com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig.class,
    -              com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig.Builder.class);
    +              com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig.class, com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig.Builder.class);
         }
     
    -    // Construct using
    -    // com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig.newBuilder()
    +    // Construct using com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig.newBuilder()
         private Builder() {
           maybeForceBuilderInitialization();
         }
     
    -    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    +    private Builder(
    +        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
           super(parent);
           maybeForceBuilderInitialization();
         }
    -
         private void maybeForceBuilderInitialization() {
    -      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
    +      if (com.google.protobuf.GeneratedMessageV3
    +              .alwaysUseFieldBuilders) {
    +      }
         }
    -
         @java.lang.Override
         public Builder clear() {
           super.clear();
    @@ -492,22 +453,19 @@ public Builder clear() {
         }
     
         @java.lang.Override
    -    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
    -      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
    -          .internal_static_google_cloud_orchestration_airflow_service_v1_PrivateClusterConfig_descriptor;
    +    public com.google.protobuf.Descriptors.Descriptor
    +        getDescriptorForType() {
    +      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_PrivateClusterConfig_descriptor;
         }
     
         @java.lang.Override
    -    public com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig
    -        getDefaultInstanceForType() {
    -      return com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig
    -          .getDefaultInstance();
    +    public com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig getDefaultInstanceForType() {
    +      return com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig.getDefaultInstance();
         }
     
         @java.lang.Override
         public com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig build() {
    -      com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig result =
    -          buildPartial();
    +      com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig result = buildPartial();
           if (!result.isInitialized()) {
             throw newUninitializedMessageException(result);
           }
    @@ -516,8 +474,7 @@ public com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig bu
     
         @java.lang.Override
         public com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig buildPartial() {
    -      com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig result =
    -          new com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig(this);
    +      com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig result = new com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig(this);
           result.enablePrivateEndpoint_ = enablePrivateEndpoint_;
           result.masterIpv4CidrBlock_ = masterIpv4CidrBlock_;
           result.masterIpv4ReservedRange_ = masterIpv4ReservedRange_;
    @@ -529,51 +486,46 @@ public com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig bu
         public Builder clone() {
           return super.clone();
         }
    -
         @java.lang.Override
         public Builder setField(
    -        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
    +        com.google.protobuf.Descriptors.FieldDescriptor field,
    +        java.lang.Object value) {
           return super.setField(field, value);
         }
    -
         @java.lang.Override
    -    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
    +    public Builder clearField(
    +        com.google.protobuf.Descriptors.FieldDescriptor field) {
           return super.clearField(field);
         }
    -
         @java.lang.Override
    -    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
    +    public Builder clearOneof(
    +        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
           return super.clearOneof(oneof);
         }
    -
         @java.lang.Override
         public Builder setRepeatedField(
    -        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
    +        com.google.protobuf.Descriptors.FieldDescriptor field,
    +        int index, java.lang.Object value) {
           return super.setRepeatedField(field, index, value);
         }
    -
         @java.lang.Override
         public Builder addRepeatedField(
    -        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
    +        com.google.protobuf.Descriptors.FieldDescriptor field,
    +        java.lang.Object value) {
           return super.addRepeatedField(field, value);
         }
    -
         @java.lang.Override
         public Builder mergeFrom(com.google.protobuf.Message other) {
           if (other instanceof com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig) {
    -        return mergeFrom(
    -            (com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig) other);
    +        return mergeFrom((com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig)other);
           } else {
             super.mergeFrom(other);
             return this;
           }
         }
     
    -    public Builder mergeFrom(
    -        com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig other) {
    -      if (other
    -          == com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig
    -              .getDefaultInstance()) return this;
    +    public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig other) {
    +      if (other == com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig.getDefaultInstance()) return this;
           if (other.getEnablePrivateEndpoint() != false) {
             setEnablePrivateEndpoint(other.getEnablePrivateEndpoint());
           }
    @@ -604,9 +556,7 @@ public Builder mergeFrom(
           try {
             parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
    -        parsedMessage =
    -            (com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig)
    -                e.getUnfinishedMessage();
    +        parsedMessage = (com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig) e.getUnfinishedMessage();
             throw e.unwrapIOException();
           } finally {
             if (parsedMessage != null) {
    @@ -616,17 +566,14 @@ public Builder mergeFrom(
           return this;
         }
     
    -    private boolean enablePrivateEndpoint_;
    +    private boolean enablePrivateEndpoint_ ;
         /**
    -     *
    -     *
          * 
          * Optional. If `true`, access to the public endpoint of the GKE cluster is
          * denied.
          * 
    * * bool enable_private_endpoint = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The enablePrivateEndpoint. */ @java.lang.Override @@ -634,38 +581,32 @@ public boolean getEnablePrivateEndpoint() { return enablePrivateEndpoint_; } /** - * - * *
          * Optional. If `true`, access to the public endpoint of the GKE cluster is
          * denied.
          * 
    * * bool enable_private_endpoint = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The enablePrivateEndpoint to set. * @return This builder for chaining. */ public Builder setEnablePrivateEndpoint(boolean value) { - + enablePrivateEndpoint_ = value; onChanged(); return this; } /** - * - * *
          * Optional. If `true`, access to the public endpoint of the GKE cluster is
          * denied.
          * 
    * * bool enable_private_endpoint = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearEnablePrivateEndpoint() { - + enablePrivateEndpoint_ = false; onChanged(); return this; @@ -673,21 +614,19 @@ public Builder clearEnablePrivateEndpoint() { private java.lang.Object masterIpv4CidrBlock_ = ""; /** - * - * *
          * Optional. The CIDR block from which IPv4 range for GKE master will be reserved. If
          * left blank, the default value of '172.16.0.0/23' is used.
          * 
    * * string master_ipv4_cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The masterIpv4CidrBlock. */ public java.lang.String getMasterIpv4CidrBlock() { java.lang.Object ref = masterIpv4CidrBlock_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); masterIpv4CidrBlock_ = s; return s; @@ -696,22 +635,21 @@ public java.lang.String getMasterIpv4CidrBlock() { } } /** - * - * *
          * Optional. The CIDR block from which IPv4 range for GKE master will be reserved. If
          * left blank, the default value of '172.16.0.0/23' is used.
          * 
    * * string master_ipv4_cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for masterIpv4CidrBlock. */ - public com.google.protobuf.ByteString getMasterIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString + getMasterIpv4CidrBlockBytes() { java.lang.Object ref = masterIpv4CidrBlock_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); masterIpv4CidrBlock_ = b; return b; } else { @@ -719,64 +657,57 @@ public com.google.protobuf.ByteString getMasterIpv4CidrBlockBytes() { } } /** - * - * *
          * Optional. The CIDR block from which IPv4 range for GKE master will be reserved. If
          * left blank, the default value of '172.16.0.0/23' is used.
          * 
    * * string master_ipv4_cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The masterIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setMasterIpv4CidrBlock(java.lang.String value) { + public Builder setMasterIpv4CidrBlock( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + masterIpv4CidrBlock_ = value; onChanged(); return this; } /** - * - * *
          * Optional. The CIDR block from which IPv4 range for GKE master will be reserved. If
          * left blank, the default value of '172.16.0.0/23' is used.
          * 
    * * string master_ipv4_cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearMasterIpv4CidrBlock() { - + masterIpv4CidrBlock_ = getDefaultInstance().getMasterIpv4CidrBlock(); onChanged(); return this; } /** - * - * *
          * Optional. The CIDR block from which IPv4 range for GKE master will be reserved. If
          * left blank, the default value of '172.16.0.0/23' is used.
          * 
    * * string master_ipv4_cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for masterIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setMasterIpv4CidrBlockBytes(com.google.protobuf.ByteString value) { + public Builder setMasterIpv4CidrBlockBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + masterIpv4CidrBlock_ = value; onChanged(); return this; @@ -784,8 +715,6 @@ public Builder setMasterIpv4CidrBlockBytes(com.google.protobuf.ByteString value) private java.lang.Object masterIpv4ReservedRange_ = ""; /** - * - * *
          * Output only. The IP range in CIDR notation to use for the hosted master network. This
          * range is used for assigning internal IP addresses to the GKE cluster
    @@ -794,15 +723,14 @@ public Builder setMasterIpv4CidrBlockBytes(com.google.protobuf.ByteString value)
          * within the cluster's network.
          * 
    * - * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The masterIpv4ReservedRange. */ public java.lang.String getMasterIpv4ReservedRange() { java.lang.Object ref = masterIpv4ReservedRange_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); masterIpv4ReservedRange_ = s; return s; @@ -811,8 +739,6 @@ public java.lang.String getMasterIpv4ReservedRange() { } } /** - * - * *
          * Output only. The IP range in CIDR notation to use for the hosted master network. This
          * range is used for assigning internal IP addresses to the GKE cluster
    @@ -821,16 +747,16 @@ public java.lang.String getMasterIpv4ReservedRange() {
          * within the cluster's network.
          * 
    * - * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for masterIpv4ReservedRange. */ - public com.google.protobuf.ByteString getMasterIpv4ReservedRangeBytes() { + public com.google.protobuf.ByteString + getMasterIpv4ReservedRangeBytes() { java.lang.Object ref = masterIpv4ReservedRange_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); masterIpv4ReservedRange_ = b; return b; } else { @@ -838,8 +764,6 @@ public com.google.protobuf.ByteString getMasterIpv4ReservedRangeBytes() { } } /** - * - * *
          * Output only. The IP range in CIDR notation to use for the hosted master network. This
          * range is used for assigning internal IP addresses to the GKE cluster
    @@ -848,24 +772,21 @@ public com.google.protobuf.ByteString getMasterIpv4ReservedRangeBytes() {
          * within the cluster's network.
          * 
    * - * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The masterIpv4ReservedRange to set. * @return This builder for chaining. */ - public Builder setMasterIpv4ReservedRange(java.lang.String value) { + public Builder setMasterIpv4ReservedRange( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + masterIpv4ReservedRange_ = value; onChanged(); return this; } /** - * - * *
          * Output only. The IP range in CIDR notation to use for the hosted master network. This
          * range is used for assigning internal IP addresses to the GKE cluster
    @@ -874,20 +795,16 @@ public Builder setMasterIpv4ReservedRange(java.lang.String value) {
          * within the cluster's network.
          * 
    * - * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearMasterIpv4ReservedRange() { - + masterIpv4ReservedRange_ = getDefaultInstance().getMasterIpv4ReservedRange(); onChanged(); return this; } /** - * - * *
          * Output only. The IP range in CIDR notation to use for the hosted master network. This
          * range is used for assigning internal IP addresses to the GKE cluster
    @@ -896,25 +813,24 @@ public Builder clearMasterIpv4ReservedRange() {
          * within the cluster's network.
          * 
    * - * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The bytes for masterIpv4ReservedRange to set. * @return This builder for chaining. */ - public Builder setMasterIpv4ReservedRangeBytes(com.google.protobuf.ByteString value) { + public Builder setMasterIpv4ReservedRangeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + masterIpv4ReservedRange_ = 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); } @@ -924,32 +840,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig) - private static final com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig(); } - public static com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig - getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PrivateClusterConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PrivateClusterConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PrivateClusterConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PrivateClusterConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -961,8 +875,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig - getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateClusterConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateClusterConfigOrBuilder.java similarity index 71% rename from proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateClusterConfigOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateClusterConfigOrBuilder.java index c6865b4e..7dcebf7d 100644 --- a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateClusterConfigOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateClusterConfigOrBuilder.java @@ -1,72 +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/orchestration/airflow/service/v1/environments.proto package com.google.cloud.orchestration.airflow.service.v1; -public interface PrivateClusterConfigOrBuilder - extends +public interface PrivateClusterConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * Optional. If `true`, access to the public endpoint of the GKE cluster is
        * denied.
        * 
    * * bool enable_private_endpoint = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The enablePrivateEndpoint. */ boolean getEnablePrivateEndpoint(); /** - * - * *
        * Optional. The CIDR block from which IPv4 range for GKE master will be reserved. If
        * left blank, the default value of '172.16.0.0/23' is used.
        * 
    * * string master_ipv4_cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The masterIpv4CidrBlock. */ java.lang.String getMasterIpv4CidrBlock(); /** - * - * *
        * Optional. The CIDR block from which IPv4 range for GKE master will be reserved. If
        * left blank, the default value of '172.16.0.0/23' is used.
        * 
    * * string master_ipv4_cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for masterIpv4CidrBlock. */ - com.google.protobuf.ByteString getMasterIpv4CidrBlockBytes(); + com.google.protobuf.ByteString + getMasterIpv4CidrBlockBytes(); /** - * - * *
        * Output only. The IP range in CIDR notation to use for the hosted master network. This
        * range is used for assigning internal IP addresses to the GKE cluster
    @@ -75,15 +49,11 @@ public interface PrivateClusterConfigOrBuilder
        * within the cluster's network.
        * 
    * - * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The masterIpv4ReservedRange. */ java.lang.String getMasterIpv4ReservedRange(); /** - * - * *
        * Output only. The IP range in CIDR notation to use for the hosted master network. This
        * range is used for assigning internal IP addresses to the GKE cluster
    @@ -92,10 +62,9 @@ public interface PrivateClusterConfigOrBuilder
        * within the cluster's network.
        * 
    * - * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for masterIpv4ReservedRange. */ - com.google.protobuf.ByteString getMasterIpv4ReservedRangeBytes(); + com.google.protobuf.ByteString + getMasterIpv4ReservedRangeBytes(); } diff --git a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateEnvironmentConfig.java b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateEnvironmentConfig.java similarity index 64% rename from proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateEnvironmentConfig.java rename to owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateEnvironmentConfig.java index b4f2de0a..57b4d16c 100644 --- a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateEnvironmentConfig.java +++ b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateEnvironmentConfig.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/orchestration/airflow/service/v1/environments.proto package com.google.cloud.orchestration.airflow.service.v1; /** - * - * *
      * The configuration information for configuring a Private IP Cloud Composer
      * environment.
    @@ -28,16 +11,15 @@
      *
      * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig}
      */
    -public final class PrivateEnvironmentConfig extends com.google.protobuf.GeneratedMessageV3
    -    implements
    +public final class PrivateEnvironmentConfig extends
    +    com.google.protobuf.GeneratedMessageV3 implements
         // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig)
         PrivateEnvironmentConfigOrBuilder {
    -  private static final long serialVersionUID = 0L;
    +private static final long serialVersionUID = 0L;
       // Use PrivateEnvironmentConfig.newBuilder() to construct.
       private PrivateEnvironmentConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
    -
       private PrivateEnvironmentConfig() {
         webServerIpv4CidrBlock_ = "";
         cloudSqlIpv4CidrBlock_ = "";
    @@ -46,15 +28,16 @@ private PrivateEnvironmentConfig() {
     
       @java.lang.Override
       @SuppressWarnings({"unused"})
    -  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
    +  protected java.lang.Object newInstance(
    +      UnusedPrivateParameter unused) {
         return new PrivateEnvironmentConfig();
       }
     
       @java.lang.Override
    -  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
    +  public final com.google.protobuf.UnknownFieldSet
    +  getUnknownFields() {
         return this.unknownFields;
       }
    -
       private PrivateEnvironmentConfig(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    @@ -73,58 +56,49 @@ private PrivateEnvironmentConfig(
               case 0:
                 done = true;
                 break;
    -          case 8:
    -            {
    -              enablePrivateEnvironment_ = input.readBool();
    -              break;
    -            }
    -          case 18:
    -            {
    -              com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig.Builder
    -                  subBuilder = null;
    -              if (privateClusterConfig_ != null) {
    -                subBuilder = privateClusterConfig_.toBuilder();
    -              }
    -              privateClusterConfig_ =
    -                  input.readMessage(
    -                      com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig
    -                          .parser(),
    -                      extensionRegistry);
    -              if (subBuilder != null) {
    -                subBuilder.mergeFrom(privateClusterConfig_);
    -                privateClusterConfig_ = subBuilder.buildPartial();
    -              }
    +          case 8: {
     
    -              break;
    +            enablePrivateEnvironment_ = input.readBool();
    +            break;
    +          }
    +          case 18: {
    +            com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig.Builder subBuilder = null;
    +            if (privateClusterConfig_ != null) {
    +              subBuilder = privateClusterConfig_.toBuilder();
                 }
    -          case 26:
    -            {
    -              java.lang.String s = input.readStringRequireUtf8();
    -
    -              webServerIpv4CidrBlock_ = s;
    -              break;
    +            privateClusterConfig_ = input.readMessage(com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig.parser(), extensionRegistry);
    +            if (subBuilder != null) {
    +              subBuilder.mergeFrom(privateClusterConfig_);
    +              privateClusterConfig_ = subBuilder.buildPartial();
                 }
    -          case 34:
    -            {
    -              java.lang.String s = input.readStringRequireUtf8();
     
    -              cloudSqlIpv4CidrBlock_ = s;
    -              break;
    -            }
    -          case 42:
    -            {
    -              java.lang.String s = input.readStringRequireUtf8();
    +            break;
    +          }
    +          case 26: {
    +            java.lang.String s = input.readStringRequireUtf8();
     
    -              webServerIpv4ReservedRange_ = s;
    -              break;
    -            }
    -          default:
    -            {
    -              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
    -                done = true;
    -              }
    -              break;
    +            webServerIpv4CidrBlock_ = s;
    +            break;
    +          }
    +          case 34: {
    +            java.lang.String s = input.readStringRequireUtf8();
    +
    +            cloudSqlIpv4CidrBlock_ = s;
    +            break;
    +          }
    +          case 42: {
    +            java.lang.String s = input.readStringRequireUtf8();
    +
    +            webServerIpv4ReservedRange_ = s;
    +            break;
    +          }
    +          default: {
    +            if (!parseUnknownField(
    +                input, unknownFields, extensionRegistry, tag)) {
    +              done = true;
                 }
    +            break;
    +          }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
    @@ -132,34 +106,29 @@ private PrivateEnvironmentConfig(
         } catch (com.google.protobuf.UninitializedMessageException e) {
           throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
    -      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
    +      throw new com.google.protobuf.InvalidProtocolBufferException(
    +          e).setUnfinishedMessage(this);
         } finally {
           this.unknownFields = unknownFields.build();
           makeExtensionsImmutable();
         }
       }
    -
    -  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    -    return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
    -        .internal_static_google_cloud_orchestration_airflow_service_v1_PrivateEnvironmentConfig_descriptor;
    +  public static final com.google.protobuf.Descriptors.Descriptor
    +      getDescriptor() {
    +    return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_PrivateEnvironmentConfig_descriptor;
       }
     
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
    -    return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
    -        .internal_static_google_cloud_orchestration_airflow_service_v1_PrivateEnvironmentConfig_fieldAccessorTable
    +    return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_PrivateEnvironmentConfig_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
    -            com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig.class,
    -            com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig.Builder
    -                .class);
    +            com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig.class, com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig.Builder.class);
       }
     
       public static final int ENABLE_PRIVATE_ENVIRONMENT_FIELD_NUMBER = 1;
       private boolean enablePrivateEnvironment_;
       /**
    -   *
    -   *
        * 
        * Optional. If `true`, a Private IP Cloud Composer environment is created.
        * If this field is set to true, `IPAllocationPolicy.use_ip_aliases` must be
    @@ -167,7 +136,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        * 
    * * bool enable_private_environment = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The enablePrivateEnvironment. */ @java.lang.Override @@ -176,20 +144,14 @@ public boolean getEnablePrivateEnvironment() { } public static final int PRIVATE_CLUSTER_CONFIG_FIELD_NUMBER = 2; - private com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig - privateClusterConfig_; + private com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig privateClusterConfig_; /** - * - * *
        * Optional. Configuration for the private GKE cluster for a Private IP
        * Cloud Composer environment.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the privateClusterConfig field is set. */ @java.lang.Override @@ -197,50 +159,34 @@ public boolean hasPrivateClusterConfig() { return privateClusterConfig_ != null; } /** - * - * *
        * Optional. Configuration for the private GKE cluster for a Private IP
        * Cloud Composer environment.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The privateClusterConfig. */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig - getPrivateClusterConfig() { - return privateClusterConfig_ == null - ? com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig - .getDefaultInstance() - : privateClusterConfig_; + public com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig getPrivateClusterConfig() { + return privateClusterConfig_ == null ? com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig.getDefaultInstance() : privateClusterConfig_; } /** - * - * *
        * Optional. Configuration for the private GKE cluster for a Private IP
        * Cloud Composer environment.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfigOrBuilder - getPrivateClusterConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfigOrBuilder getPrivateClusterConfigOrBuilder() { return getPrivateClusterConfig(); } public static final int WEB_SERVER_IPV4_CIDR_BLOCK_FIELD_NUMBER = 3; private volatile java.lang.Object webServerIpv4CidrBlock_; /** - * - * *
        * Optional. The CIDR block from which IP range for web server will be reserved. Needs
        * to be disjoint from `private_cluster_config.master_ipv4_cidr_block` and
    @@ -248,7 +194,6 @@ public boolean hasPrivateClusterConfig() {
        * 
    * * string web_server_ipv4_cidr_block = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The webServerIpv4CidrBlock. */ @java.lang.Override @@ -257,15 +202,14 @@ public java.lang.String getWebServerIpv4CidrBlock() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); webServerIpv4CidrBlock_ = s; return s; } } /** - * - * *
        * Optional. The CIDR block from which IP range for web server will be reserved. Needs
        * to be disjoint from `private_cluster_config.master_ipv4_cidr_block` and
    @@ -273,15 +217,16 @@ public java.lang.String getWebServerIpv4CidrBlock() {
        * 
    * * string web_server_ipv4_cidr_block = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for webServerIpv4CidrBlock. */ @java.lang.Override - public com.google.protobuf.ByteString getWebServerIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString + getWebServerIpv4CidrBlockBytes() { java.lang.Object ref = webServerIpv4CidrBlock_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); webServerIpv4CidrBlock_ = b; return b; } else { @@ -292,15 +237,12 @@ public com.google.protobuf.ByteString getWebServerIpv4CidrBlockBytes() { public static final int CLOUD_SQL_IPV4_CIDR_BLOCK_FIELD_NUMBER = 4; private volatile java.lang.Object cloudSqlIpv4CidrBlock_; /** - * - * *
        * Optional. The CIDR block from which IP range in tenant project will be reserved for
        * Cloud SQL. Needs to be disjoint from `web_server_ipv4_cidr_block`.
        * 
    * * string cloud_sql_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The cloudSqlIpv4CidrBlock. */ @java.lang.Override @@ -309,30 +251,30 @@ public java.lang.String getCloudSqlIpv4CidrBlock() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cloudSqlIpv4CidrBlock_ = s; return s; } } /** - * - * *
        * Optional. The CIDR block from which IP range in tenant project will be reserved for
        * Cloud SQL. Needs to be disjoint from `web_server_ipv4_cidr_block`.
        * 
    * * string cloud_sql_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for cloudSqlIpv4CidrBlock. */ @java.lang.Override - public com.google.protobuf.ByteString getCloudSqlIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString + getCloudSqlIpv4CidrBlockBytes() { java.lang.Object ref = cloudSqlIpv4CidrBlock_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); cloudSqlIpv4CidrBlock_ = b; return b; } else { @@ -343,15 +285,11 @@ public com.google.protobuf.ByteString getCloudSqlIpv4CidrBlockBytes() { public static final int WEB_SERVER_IPV4_RESERVED_RANGE_FIELD_NUMBER = 5; private volatile java.lang.Object webServerIpv4ReservedRange_; /** - * - * *
        * Output only. The IP range reserved for the tenant project's App Engine VMs.
        * 
    * - * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The webServerIpv4ReservedRange. */ @java.lang.Override @@ -360,30 +298,29 @@ public java.lang.String getWebServerIpv4ReservedRange() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); webServerIpv4ReservedRange_ = s; return s; } } /** - * - * *
        * Output only. The IP range reserved for the tenant project's App Engine VMs.
        * 
    * - * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for webServerIpv4ReservedRange. */ @java.lang.Override - public com.google.protobuf.ByteString getWebServerIpv4ReservedRangeBytes() { + public com.google.protobuf.ByteString + getWebServerIpv4ReservedRangeBytes() { java.lang.Object ref = webServerIpv4ReservedRange_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); webServerIpv4ReservedRange_ = b; return b; } else { @@ -392,7 +329,6 @@ public com.google.protobuf.ByteString getWebServerIpv4ReservedRangeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -404,7 +340,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 (enablePrivateEnvironment_ != false) { output.writeBool(1, enablePrivateEnvironment_); } @@ -430,11 +367,12 @@ public int getSerializedSize() { size = 0; if (enablePrivateEnvironment_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enablePrivateEnvironment_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enablePrivateEnvironment_); } if (privateClusterConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(2, getPrivateClusterConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getPrivateClusterConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(webServerIpv4CidrBlock_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, webServerIpv4CidrBlock_); @@ -443,8 +381,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, cloudSqlIpv4CidrBlock_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(webServerIpv4ReservedRange_)) { - size += - com.google.protobuf.GeneratedMessageV3.computeStringSize(5, webServerIpv4ReservedRange_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, webServerIpv4ReservedRange_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -454,24 +391,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig)) { + if (!(obj instanceof com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig other = - (com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig) obj; + com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig other = (com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig) obj; - if (getEnablePrivateEnvironment() != other.getEnablePrivateEnvironment()) return false; + if (getEnablePrivateEnvironment() + != other.getEnablePrivateEnvironment()) return false; if (hasPrivateClusterConfig() != other.hasPrivateClusterConfig()) return false; if (hasPrivateClusterConfig()) { - if (!getPrivateClusterConfig().equals(other.getPrivateClusterConfig())) return false; - } - if (!getWebServerIpv4CidrBlock().equals(other.getWebServerIpv4CidrBlock())) return false; - if (!getCloudSqlIpv4CidrBlock().equals(other.getCloudSqlIpv4CidrBlock())) return false; - if (!getWebServerIpv4ReservedRange().equals(other.getWebServerIpv4ReservedRange())) - return false; + if (!getPrivateClusterConfig() + .equals(other.getPrivateClusterConfig())) return false; + } + if (!getWebServerIpv4CidrBlock() + .equals(other.getWebServerIpv4CidrBlock())) return false; + if (!getCloudSqlIpv4CidrBlock() + .equals(other.getCloudSqlIpv4CidrBlock())) return false; + if (!getWebServerIpv4ReservedRange() + .equals(other.getWebServerIpv4ReservedRange())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -484,7 +423,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLE_PRIVATE_ENVIRONMENT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnablePrivateEnvironment()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnablePrivateEnvironment()); if (hasPrivateClusterConfig()) { hash = (37 * hash) + PRIVATE_CLUSTER_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getPrivateClusterConfig().hashCode(); @@ -500,111 +440,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig - 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.orchestration.airflow.service.v1.PrivateEnvironmentConfig 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.orchestration.airflow.service.v1.PrivateEnvironmentConfig - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig prototype) { + public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 configuration information for configuring a Private IP Cloud Composer
        * environment.
    @@ -612,41 +538,38 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
        *
        * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig}
        */
    -  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
    -      implements
    +  public static final class Builder extends
    +      com.google.protobuf.GeneratedMessageV3.Builder implements
           // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig)
           com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfigOrBuilder {
    -    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    -      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
    -          .internal_static_google_cloud_orchestration_airflow_service_v1_PrivateEnvironmentConfig_descriptor;
    +    public static final com.google.protobuf.Descriptors.Descriptor
    +        getDescriptor() {
    +      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_PrivateEnvironmentConfig_descriptor;
         }
     
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
    -      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
    -          .internal_static_google_cloud_orchestration_airflow_service_v1_PrivateEnvironmentConfig_fieldAccessorTable
    +      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_PrivateEnvironmentConfig_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
    -              com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig.class,
    -              com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig.Builder
    -                  .class);
    +              com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig.class, com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig.Builder.class);
         }
     
    -    // Construct using
    -    // com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig.newBuilder()
    +    // Construct using com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig.newBuilder()
         private Builder() {
           maybeForceBuilderInitialization();
         }
     
    -    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    +    private Builder(
    +        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
           super(parent);
           maybeForceBuilderInitialization();
         }
    -
         private void maybeForceBuilderInitialization() {
    -      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
    +      if (com.google.protobuf.GeneratedMessageV3
    +              .alwaysUseFieldBuilders) {
    +      }
         }
    -
         @java.lang.Override
         public Builder clear() {
           super.clear();
    @@ -668,22 +591,19 @@ public Builder clear() {
         }
     
         @java.lang.Override
    -    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
    -      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
    -          .internal_static_google_cloud_orchestration_airflow_service_v1_PrivateEnvironmentConfig_descriptor;
    +    public com.google.protobuf.Descriptors.Descriptor
    +        getDescriptorForType() {
    +      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_PrivateEnvironmentConfig_descriptor;
         }
     
         @java.lang.Override
    -    public com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig
    -        getDefaultInstanceForType() {
    -      return com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig
    -          .getDefaultInstance();
    +    public com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig getDefaultInstanceForType() {
    +      return com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig.getDefaultInstance();
         }
     
         @java.lang.Override
         public com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig build() {
    -      com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig result =
    -          buildPartial();
    +      com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig result = buildPartial();
           if (!result.isInitialized()) {
             throw newUninitializedMessageException(result);
           }
    @@ -691,10 +611,8 @@ public com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfi
         }
     
         @java.lang.Override
    -    public com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig
    -        buildPartial() {
    -      com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig result =
    -          new com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig(this);
    +    public com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig buildPartial() {
    +      com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig result = new com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig(this);
           result.enablePrivateEnvironment_ = enablePrivateEnvironment_;
           if (privateClusterConfigBuilder_ == null) {
             result.privateClusterConfig_ = privateClusterConfig_;
    @@ -712,52 +630,46 @@ public com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfi
         public Builder clone() {
           return super.clone();
         }
    -
         @java.lang.Override
         public Builder setField(
    -        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
    +        com.google.protobuf.Descriptors.FieldDescriptor field,
    +        java.lang.Object value) {
           return super.setField(field, value);
         }
    -
         @java.lang.Override
    -    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
    +    public Builder clearField(
    +        com.google.protobuf.Descriptors.FieldDescriptor field) {
           return super.clearField(field);
         }
    -
         @java.lang.Override
    -    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
    +    public Builder clearOneof(
    +        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
           return super.clearOneof(oneof);
         }
    -
         @java.lang.Override
         public Builder setRepeatedField(
    -        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
    +        com.google.protobuf.Descriptors.FieldDescriptor field,
    +        int index, java.lang.Object value) {
           return super.setRepeatedField(field, index, value);
         }
    -
         @java.lang.Override
         public Builder addRepeatedField(
    -        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
    +        com.google.protobuf.Descriptors.FieldDescriptor field,
    +        java.lang.Object value) {
           return super.addRepeatedField(field, value);
         }
    -
         @java.lang.Override
         public Builder mergeFrom(com.google.protobuf.Message other) {
    -      if (other
    -          instanceof com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig) {
    -        return mergeFrom(
    -            (com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig) other);
    +      if (other instanceof com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig) {
    +        return mergeFrom((com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig)other);
           } else {
             super.mergeFrom(other);
             return this;
           }
         }
     
    -    public Builder mergeFrom(
    -        com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig other) {
    -      if (other
    -          == com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig
    -              .getDefaultInstance()) return this;
    +    public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig other) {
    +      if (other == com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig.getDefaultInstance()) return this;
           if (other.getEnablePrivateEnvironment() != false) {
             setEnablePrivateEnvironment(other.getEnablePrivateEnvironment());
           }
    @@ -791,14 +703,11 @@ public Builder mergeFrom(
             com.google.protobuf.CodedInputStream input,
             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
             throws java.io.IOException {
    -      com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig parsedMessage =
    -          null;
    +      com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig parsedMessage = null;
           try {
             parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
    -        parsedMessage =
    -            (com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig)
    -                e.getUnfinishedMessage();
    +        parsedMessage = (com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig) e.getUnfinishedMessage();
             throw e.unwrapIOException();
           } finally {
             if (parsedMessage != null) {
    @@ -808,10 +717,8 @@ public Builder mergeFrom(
           return this;
         }
     
    -    private boolean enablePrivateEnvironment_;
    +    private boolean enablePrivateEnvironment_ ;
         /**
    -     *
    -     *
          * 
          * Optional. If `true`, a Private IP Cloud Composer environment is created.
          * If this field is set to true, `IPAllocationPolicy.use_ip_aliases` must be
    @@ -819,7 +726,6 @@ public Builder mergeFrom(
          * 
    * * bool enable_private_environment = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The enablePrivateEnvironment. */ @java.lang.Override @@ -827,8 +733,6 @@ public boolean getEnablePrivateEnvironment() { return enablePrivateEnvironment_; } /** - * - * *
          * Optional. If `true`, a Private IP Cloud Composer environment is created.
          * If this field is set to true, `IPAllocationPolicy.use_ip_aliases` must be
    @@ -836,19 +740,16 @@ public boolean getEnablePrivateEnvironment() {
          * 
    * * bool enable_private_environment = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The enablePrivateEnvironment to set. * @return This builder for chaining. */ public Builder setEnablePrivateEnvironment(boolean value) { - + enablePrivateEnvironment_ = value; onChanged(); return this; } /** - * - * *
          * Optional. If `true`, a Private IP Cloud Composer environment is created.
          * If this field is set to true, `IPAllocationPolicy.use_ip_aliases` must be
    @@ -856,79 +757,55 @@ public Builder setEnablePrivateEnvironment(boolean value) {
          * 
    * * bool enable_private_environment = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearEnablePrivateEnvironment() { - + enablePrivateEnvironment_ = false; onChanged(); return this; } - private com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig - privateClusterConfig_; + private com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig privateClusterConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig, - com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig.Builder, - com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfigOrBuilder> - privateClusterConfigBuilder_; + com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig, com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig.Builder, com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfigOrBuilder> privateClusterConfigBuilder_; /** - * - * *
          * Optional. Configuration for the private GKE cluster for a Private IP
          * Cloud Composer environment.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the privateClusterConfig field is set. */ public boolean hasPrivateClusterConfig() { return privateClusterConfigBuilder_ != null || privateClusterConfig_ != null; } /** - * - * *
          * Optional. Configuration for the private GKE cluster for a Private IP
          * Cloud Composer environment.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The privateClusterConfig. */ - public com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig - getPrivateClusterConfig() { + public com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig getPrivateClusterConfig() { if (privateClusterConfigBuilder_ == null) { - return privateClusterConfig_ == null - ? com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig - .getDefaultInstance() - : privateClusterConfig_; + return privateClusterConfig_ == null ? com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig.getDefaultInstance() : privateClusterConfig_; } else { return privateClusterConfigBuilder_.getMessage(); } } /** - * - * *
          * Optional. Configuration for the private GKE cluster for a Private IP
          * Cloud Composer environment.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setPrivateClusterConfig( - com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig value) { + public Builder setPrivateClusterConfig(com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig value) { if (privateClusterConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -942,20 +819,15 @@ public Builder setPrivateClusterConfig( return this; } /** - * - * *
          * Optional. Configuration for the private GKE cluster for a Private IP
          * Cloud Composer environment.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setPrivateClusterConfig( - com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig.Builder - builderForValue) { + com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig.Builder builderForValue) { if (privateClusterConfigBuilder_ == null) { privateClusterConfig_ = builderForValue.build(); onChanged(); @@ -966,26 +838,18 @@ public Builder setPrivateClusterConfig( return this; } /** - * - * *
          * Optional. Configuration for the private GKE cluster for a Private IP
          * Cloud Composer environment.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergePrivateClusterConfig( - com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig value) { + public Builder mergePrivateClusterConfig(com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig value) { if (privateClusterConfigBuilder_ == null) { if (privateClusterConfig_ != null) { privateClusterConfig_ = - com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig.newBuilder( - privateClusterConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig.newBuilder(privateClusterConfig_).mergeFrom(value).buildPartial(); } else { privateClusterConfig_ = value; } @@ -997,16 +861,12 @@ public Builder mergePrivateClusterConfig( return this; } /** - * - * *
          * Optional. Configuration for the private GKE cluster for a Private IP
          * Cloud Composer environment.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearPrivateClusterConfig() { if (privateClusterConfigBuilder_ == null) { @@ -1020,70 +880,51 @@ public Builder clearPrivateClusterConfig() { return this; } /** - * - * *
          * Optional. Configuration for the private GKE cluster for a Private IP
          * Cloud Composer environment.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig.Builder - getPrivateClusterConfigBuilder() { - + public com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig.Builder getPrivateClusterConfigBuilder() { + onChanged(); return getPrivateClusterConfigFieldBuilder().getBuilder(); } /** - * - * *
          * Optional. Configuration for the private GKE cluster for a Private IP
          * Cloud Composer environment.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfigOrBuilder - getPrivateClusterConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfigOrBuilder getPrivateClusterConfigOrBuilder() { if (privateClusterConfigBuilder_ != null) { return privateClusterConfigBuilder_.getMessageOrBuilder(); } else { - return privateClusterConfig_ == null - ? com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig - .getDefaultInstance() - : privateClusterConfig_; + return privateClusterConfig_ == null ? + com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig.getDefaultInstance() : privateClusterConfig_; } } /** - * - * *
          * Optional. Configuration for the private GKE cluster for a Private IP
          * Cloud Composer environment.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig, - com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig.Builder, - com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfigOrBuilder> + com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig, com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig.Builder, com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfigOrBuilder> getPrivateClusterConfigFieldBuilder() { if (privateClusterConfigBuilder_ == null) { - privateClusterConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig, - com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig.Builder, - com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfigOrBuilder>( - getPrivateClusterConfig(), getParentForChildren(), isClean()); + privateClusterConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig, com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig.Builder, com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfigOrBuilder>( + getPrivateClusterConfig(), + getParentForChildren(), + isClean()); privateClusterConfig_ = null; } return privateClusterConfigBuilder_; @@ -1091,8 +932,6 @@ public Builder clearPrivateClusterConfig() { private java.lang.Object webServerIpv4CidrBlock_ = ""; /** - * - * *
          * Optional. The CIDR block from which IP range for web server will be reserved. Needs
          * to be disjoint from `private_cluster_config.master_ipv4_cidr_block` and
    @@ -1100,13 +939,13 @@ public Builder clearPrivateClusterConfig() {
          * 
    * * string web_server_ipv4_cidr_block = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The webServerIpv4CidrBlock. */ public java.lang.String getWebServerIpv4CidrBlock() { java.lang.Object ref = webServerIpv4CidrBlock_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); webServerIpv4CidrBlock_ = s; return s; @@ -1115,8 +954,6 @@ public java.lang.String getWebServerIpv4CidrBlock() { } } /** - * - * *
          * Optional. The CIDR block from which IP range for web server will be reserved. Needs
          * to be disjoint from `private_cluster_config.master_ipv4_cidr_block` and
    @@ -1124,14 +961,15 @@ public java.lang.String getWebServerIpv4CidrBlock() {
          * 
    * * string web_server_ipv4_cidr_block = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for webServerIpv4CidrBlock. */ - public com.google.protobuf.ByteString getWebServerIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString + getWebServerIpv4CidrBlockBytes() { java.lang.Object ref = webServerIpv4CidrBlock_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); webServerIpv4CidrBlock_ = b; return b; } else { @@ -1139,8 +977,6 @@ public com.google.protobuf.ByteString getWebServerIpv4CidrBlockBytes() { } } /** - * - * *
          * Optional. The CIDR block from which IP range for web server will be reserved. Needs
          * to be disjoint from `private_cluster_config.master_ipv4_cidr_block` and
    @@ -1148,22 +984,20 @@ public com.google.protobuf.ByteString getWebServerIpv4CidrBlockBytes() {
          * 
    * * string web_server_ipv4_cidr_block = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The webServerIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setWebServerIpv4CidrBlock(java.lang.String value) { + public Builder setWebServerIpv4CidrBlock( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + webServerIpv4CidrBlock_ = value; onChanged(); return this; } /** - * - * *
          * Optional. The CIDR block from which IP range for web server will be reserved. Needs
          * to be disjoint from `private_cluster_config.master_ipv4_cidr_block` and
    @@ -1171,18 +1005,15 @@ public Builder setWebServerIpv4CidrBlock(java.lang.String value) {
          * 
    * * string web_server_ipv4_cidr_block = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearWebServerIpv4CidrBlock() { - + webServerIpv4CidrBlock_ = getDefaultInstance().getWebServerIpv4CidrBlock(); onChanged(); return this; } /** - * - * *
          * Optional. The CIDR block from which IP range for web server will be reserved. Needs
          * to be disjoint from `private_cluster_config.master_ipv4_cidr_block` and
    @@ -1190,16 +1021,16 @@ public Builder clearWebServerIpv4CidrBlock() {
          * 
    * * string web_server_ipv4_cidr_block = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for webServerIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setWebServerIpv4CidrBlockBytes(com.google.protobuf.ByteString value) { + public Builder setWebServerIpv4CidrBlockBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + webServerIpv4CidrBlock_ = value; onChanged(); return this; @@ -1207,21 +1038,19 @@ public Builder setWebServerIpv4CidrBlockBytes(com.google.protobuf.ByteString val private java.lang.Object cloudSqlIpv4CidrBlock_ = ""; /** - * - * *
          * Optional. The CIDR block from which IP range in tenant project will be reserved for
          * Cloud SQL. Needs to be disjoint from `web_server_ipv4_cidr_block`.
          * 
    * * string cloud_sql_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The cloudSqlIpv4CidrBlock. */ public java.lang.String getCloudSqlIpv4CidrBlock() { java.lang.Object ref = cloudSqlIpv4CidrBlock_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cloudSqlIpv4CidrBlock_ = s; return s; @@ -1230,22 +1059,21 @@ public java.lang.String getCloudSqlIpv4CidrBlock() { } } /** - * - * *
          * Optional. The CIDR block from which IP range in tenant project will be reserved for
          * Cloud SQL. Needs to be disjoint from `web_server_ipv4_cidr_block`.
          * 
    * * string cloud_sql_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for cloudSqlIpv4CidrBlock. */ - public com.google.protobuf.ByteString getCloudSqlIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString + getCloudSqlIpv4CidrBlockBytes() { java.lang.Object ref = cloudSqlIpv4CidrBlock_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); cloudSqlIpv4CidrBlock_ = b; return b; } else { @@ -1253,64 +1081,57 @@ public com.google.protobuf.ByteString getCloudSqlIpv4CidrBlockBytes() { } } /** - * - * *
          * Optional. The CIDR block from which IP range in tenant project will be reserved for
          * Cloud SQL. Needs to be disjoint from `web_server_ipv4_cidr_block`.
          * 
    * * string cloud_sql_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The cloudSqlIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setCloudSqlIpv4CidrBlock(java.lang.String value) { + public Builder setCloudSqlIpv4CidrBlock( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + cloudSqlIpv4CidrBlock_ = value; onChanged(); return this; } /** - * - * *
          * Optional. The CIDR block from which IP range in tenant project will be reserved for
          * Cloud SQL. Needs to be disjoint from `web_server_ipv4_cidr_block`.
          * 
    * * string cloud_sql_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearCloudSqlIpv4CidrBlock() { - + cloudSqlIpv4CidrBlock_ = getDefaultInstance().getCloudSqlIpv4CidrBlock(); onChanged(); return this; } /** - * - * *
          * Optional. The CIDR block from which IP range in tenant project will be reserved for
          * Cloud SQL. Needs to be disjoint from `web_server_ipv4_cidr_block`.
          * 
    * * string cloud_sql_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for cloudSqlIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setCloudSqlIpv4CidrBlockBytes(com.google.protobuf.ByteString value) { + public Builder setCloudSqlIpv4CidrBlockBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + cloudSqlIpv4CidrBlock_ = value; onChanged(); return this; @@ -1318,21 +1139,18 @@ public Builder setCloudSqlIpv4CidrBlockBytes(com.google.protobuf.ByteString valu private java.lang.Object webServerIpv4ReservedRange_ = ""; /** - * - * *
          * Output only. The IP range reserved for the tenant project's App Engine VMs.
          * 
    * - * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The webServerIpv4ReservedRange. */ public java.lang.String getWebServerIpv4ReservedRange() { java.lang.Object ref = webServerIpv4ReservedRange_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); webServerIpv4ReservedRange_ = s; return s; @@ -1341,22 +1159,20 @@ public java.lang.String getWebServerIpv4ReservedRange() { } } /** - * - * *
          * Output only. The IP range reserved for the tenant project's App Engine VMs.
          * 
    * - * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for webServerIpv4ReservedRange. */ - public com.google.protobuf.ByteString getWebServerIpv4ReservedRangeBytes() { + public com.google.protobuf.ByteString + getWebServerIpv4ReservedRangeBytes() { java.lang.Object ref = webServerIpv4ReservedRange_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); webServerIpv4ReservedRange_ = b; return b; } else { @@ -1364,71 +1180,61 @@ public com.google.protobuf.ByteString getWebServerIpv4ReservedRangeBytes() { } } /** - * - * *
          * Output only. The IP range reserved for the tenant project's App Engine VMs.
          * 
    * - * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The webServerIpv4ReservedRange to set. * @return This builder for chaining. */ - public Builder setWebServerIpv4ReservedRange(java.lang.String value) { + public Builder setWebServerIpv4ReservedRange( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + webServerIpv4ReservedRange_ = value; onChanged(); return this; } /** - * - * *
          * Output only. The IP range reserved for the tenant project's App Engine VMs.
          * 
    * - * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearWebServerIpv4ReservedRange() { - + webServerIpv4ReservedRange_ = getDefaultInstance().getWebServerIpv4ReservedRange(); onChanged(); return this; } /** - * - * *
          * Output only. The IP range reserved for the tenant project's App Engine VMs.
          * 
    * - * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The bytes for webServerIpv4ReservedRange to set. * @return This builder for chaining. */ - public Builder setWebServerIpv4ReservedRangeBytes(com.google.protobuf.ByteString value) { + public Builder setWebServerIpv4ReservedRangeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + webServerIpv4ReservedRange_ = 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); } @@ -1438,33 +1244,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig) - private static final com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig(); + DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig(); } - public static com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig - getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PrivateEnvironmentConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PrivateEnvironmentConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PrivateEnvironmentConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PrivateEnvironmentConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1476,8 +1279,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig - getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateEnvironmentConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateEnvironmentConfigOrBuilder.java similarity index 68% rename from proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateEnvironmentConfigOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateEnvironmentConfigOrBuilder.java index b68d8c17..ac9702cb 100644 --- a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateEnvironmentConfigOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateEnvironmentConfigOrBuilder.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/orchestration/airflow/service/v1/environments.proto package com.google.cloud.orchestration.airflow.service.v1; -public interface PrivateEnvironmentConfigOrBuilder - extends +public interface PrivateEnvironmentConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * Optional. If `true`, a Private IP Cloud Composer environment is created.
        * If this field is set to true, `IPAllocationPolicy.use_ip_aliases` must be
    @@ -33,59 +15,41 @@ public interface PrivateEnvironmentConfigOrBuilder
        * 
    * * bool enable_private_environment = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The enablePrivateEnvironment. */ boolean getEnablePrivateEnvironment(); /** - * - * *
        * Optional. Configuration for the private GKE cluster for a Private IP
        * Cloud Composer environment.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the privateClusterConfig field is set. */ boolean hasPrivateClusterConfig(); /** - * - * *
        * Optional. Configuration for the private GKE cluster for a Private IP
        * Cloud Composer environment.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The privateClusterConfig. */ com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig getPrivateClusterConfig(); /** - * - * *
        * Optional. Configuration for the private GKE cluster for a Private IP
        * Cloud Composer environment.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfigOrBuilder - getPrivateClusterConfigOrBuilder(); + com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfigOrBuilder getPrivateClusterConfigOrBuilder(); /** - * - * *
        * Optional. The CIDR block from which IP range for web server will be reserved. Needs
        * to be disjoint from `private_cluster_config.master_ipv4_cidr_block` and
    @@ -93,13 +57,10 @@ public interface PrivateEnvironmentConfigOrBuilder
        * 
    * * string web_server_ipv4_cidr_block = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The webServerIpv4CidrBlock. */ java.lang.String getWebServerIpv4CidrBlock(); /** - * - * *
        * Optional. The CIDR block from which IP range for web server will be reserved. Needs
        * to be disjoint from `private_cluster_config.master_ipv4_cidr_block` and
    @@ -107,62 +68,50 @@ public interface PrivateEnvironmentConfigOrBuilder
        * 
    * * string web_server_ipv4_cidr_block = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for webServerIpv4CidrBlock. */ - com.google.protobuf.ByteString getWebServerIpv4CidrBlockBytes(); + com.google.protobuf.ByteString + getWebServerIpv4CidrBlockBytes(); /** - * - * *
        * Optional. The CIDR block from which IP range in tenant project will be reserved for
        * Cloud SQL. Needs to be disjoint from `web_server_ipv4_cidr_block`.
        * 
    * * string cloud_sql_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The cloudSqlIpv4CidrBlock. */ java.lang.String getCloudSqlIpv4CidrBlock(); /** - * - * *
        * Optional. The CIDR block from which IP range in tenant project will be reserved for
        * Cloud SQL. Needs to be disjoint from `web_server_ipv4_cidr_block`.
        * 
    * * string cloud_sql_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for cloudSqlIpv4CidrBlock. */ - com.google.protobuf.ByteString getCloudSqlIpv4CidrBlockBytes(); + com.google.protobuf.ByteString + getCloudSqlIpv4CidrBlockBytes(); /** - * - * *
        * Output only. The IP range reserved for the tenant project's App Engine VMs.
        * 
    * - * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The webServerIpv4ReservedRange. */ java.lang.String getWebServerIpv4ReservedRange(); /** - * - * *
        * Output only. The IP range reserved for the tenant project's App Engine VMs.
        * 
    * - * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for webServerIpv4ReservedRange. */ - com.google.protobuf.ByteString getWebServerIpv4ReservedRangeBytes(); + com.google.protobuf.ByteString + getWebServerIpv4ReservedRangeBytes(); } diff --git a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/SoftwareConfig.java b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/SoftwareConfig.java similarity index 74% rename from proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/SoftwareConfig.java rename to owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/SoftwareConfig.java index 56450abe..201f5d45 100644 --- a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/SoftwareConfig.java +++ b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/SoftwareConfig.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/orchestration/airflow/service/v1/environments.proto package com.google.cloud.orchestration.airflow.service.v1; /** - * - * *
      * Specifies the selection and configuration of software inside the environment.
      * 
    * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.SoftwareConfig} */ -public final class SoftwareConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SoftwareConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1.SoftwareConfig) SoftwareConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SoftwareConfig.newBuilder() to construct. private SoftwareConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SoftwareConfig() { imageVersion_ = ""; pythonVersion_ = ""; @@ -44,15 +26,16 @@ private SoftwareConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SoftwareConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private SoftwareConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,75 +55,64 @@ private SoftwareConfig( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - imageVersion_ = s; - break; - } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - airflowConfigOverrides_ = - com.google.protobuf.MapField.newMapField( - AirflowConfigOverridesDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry - airflowConfigOverrides__ = - input.readMessage( - AirflowConfigOverridesDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - airflowConfigOverrides_ - .getMutableMap() - .put(airflowConfigOverrides__.getKey(), airflowConfigOverrides__.getValue()); - break; + imageVersion_ = s; + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + airflowConfigOverrides_ = com.google.protobuf.MapField.newMapField( + AirflowConfigOverridesDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; } - case 26: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - pypiPackages_ = - com.google.protobuf.MapField.newMapField( - PypiPackagesDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000002; - } - com.google.protobuf.MapEntry pypiPackages__ = - input.readMessage( - PypiPackagesDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - pypiPackages_.getMutableMap().put(pypiPackages__.getKey(), pypiPackages__.getValue()); - break; + com.google.protobuf.MapEntry + airflowConfigOverrides__ = input.readMessage( + AirflowConfigOverridesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + airflowConfigOverrides_.getMutableMap().put( + airflowConfigOverrides__.getKey(), airflowConfigOverrides__.getValue()); + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + pypiPackages_ = com.google.protobuf.MapField.newMapField( + PypiPackagesDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000002; } - case 34: - { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - envVariables_ = - com.google.protobuf.MapField.newMapField( - EnvVariablesDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000004; - } - com.google.protobuf.MapEntry envVariables__ = - input.readMessage( - EnvVariablesDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - envVariables_.getMutableMap().put(envVariables__.getKey(), envVariables__.getValue()); - break; + com.google.protobuf.MapEntry + pypiPackages__ = input.readMessage( + PypiPackagesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + pypiPackages_.getMutableMap().put( + pypiPackages__.getKey(), pypiPackages__.getValue()); + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + envVariables_ = com.google.protobuf.MapField.newMapField( + EnvVariablesDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000004; } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); + com.google.protobuf.MapEntry + envVariables__ = input.readMessage( + EnvVariablesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + envVariables_.getMutableMap().put( + envVariables__.getKey(), envVariables__.getValue()); + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); - pythonVersion_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pythonVersion_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -148,21 +120,22 @@ private SoftwareConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 2: return internalGetAirflowConfigOverrides(); @@ -171,25 +144,21 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { case 4: return internalGetEnvVariables(); 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.orchestration.airflow.service.v1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.class, - com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.Builder.class); + com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.class, com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.Builder.class); } public static final int IMAGE_VERSION_FIELD_NUMBER = 1; private volatile java.lang.Object imageVersion_; /** - * - * *
        * The version of the software running in the environment.
        * This encapsulates both the version of Cloud Composer functionality and the
    @@ -211,7 +180,6 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
        * 
    * * string image_version = 1; - * * @return The imageVersion. */ @java.lang.Override @@ -220,15 +188,14 @@ public java.lang.String getImageVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageVersion_ = s; return s; } } /** - * - * *
        * The version of the software running in the environment.
        * This encapsulates both the version of Cloud Composer functionality and the
    @@ -250,15 +217,16 @@ public java.lang.String getImageVersion() {
        * 
    * * string image_version = 1; - * * @return The bytes for imageVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getImageVersionBytes() { + public com.google.protobuf.ByteString + getImageVersionBytes() { java.lang.Object ref = imageVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); imageVersion_ = b; return b; } else { @@ -267,22 +235,21 @@ public com.google.protobuf.ByteString getImageVersionBytes() { } public static final int AIRFLOW_CONFIG_OVERRIDES_FIELD_NUMBER = 2; - private static final class AirflowConfigOverridesDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_AirflowConfigOverridesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - - private com.google.protobuf.MapField airflowConfigOverrides_; - + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_AirflowConfigOverridesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> airflowConfigOverrides_; private com.google.protobuf.MapField - internalGetAirflowConfigOverrides() { + internalGetAirflowConfigOverrides() { if (airflowConfigOverrides_ == null) { return com.google.protobuf.MapField.emptyMapField( AirflowConfigOverridesDefaultEntryHolder.defaultEntry); @@ -294,8 +261,6 @@ public int getAirflowConfigOverridesCount() { return internalGetAirflowConfigOverrides().getMap().size(); } /** - * - * *
        * Optional. Apache Airflow configuration properties to override.
        * Property keys contain the section and property names, separated by a
    @@ -314,22 +279,22 @@ public int getAirflowConfigOverridesCount() {
        *
        * map<string, string> airflow_config_overrides = 2;
        */
    +
       @java.lang.Override
    -  public boolean containsAirflowConfigOverrides(java.lang.String key) {
    -    if (key == null) {
    -      throw new NullPointerException("map key");
    -    }
    +  public boolean containsAirflowConfigOverrides(
    +      java.lang.String key) {
    +    if (key == null) { throw new NullPointerException("map key"); }
         return internalGetAirflowConfigOverrides().getMap().containsKey(key);
       }
    -  /** Use {@link #getAirflowConfigOverridesMap()} instead. */
    +  /**
    +   * Use {@link #getAirflowConfigOverridesMap()} instead.
    +   */
       @java.lang.Override
       @java.lang.Deprecated
       public java.util.Map getAirflowConfigOverrides() {
         return getAirflowConfigOverridesMap();
       }
       /**
    -   *
    -   *
        * 
        * Optional. Apache Airflow configuration properties to override.
        * Property keys contain the section and property names, separated by a
    @@ -349,12 +314,11 @@ public java.util.Map getAirflowConfigOverrid
        * map<string, string> airflow_config_overrides = 2;
        */
       @java.lang.Override
    +
       public java.util.Map getAirflowConfigOverridesMap() {
         return internalGetAirflowConfigOverrides().getMap();
       }
       /**
    -   *
    -   *
        * 
        * Optional. Apache Airflow configuration properties to override.
        * Property keys contain the section and property names, separated by a
    @@ -374,18 +338,16 @@ public java.util.Map getAirflowConfigOverrid
        * map<string, string> airflow_config_overrides = 2;
        */
       @java.lang.Override
    +
       public java.lang.String getAirflowConfigOverridesOrDefault(
    -      java.lang.String key, java.lang.String defaultValue) {
    -    if (key == null) {
    -      throw new NullPointerException("map key");
    -    }
    +      java.lang.String key,
    +      java.lang.String defaultValue) {
    +    if (key == null) { throw new NullPointerException("map key"); }
         java.util.Map map =
             internalGetAirflowConfigOverrides().getMap();
         return map.containsKey(key) ? map.get(key) : defaultValue;
       }
       /**
    -   *
    -   *
        * 
        * Optional. Apache Airflow configuration properties to override.
        * Property keys contain the section and property names, separated by a
    @@ -405,10 +367,10 @@ public java.lang.String getAirflowConfigOverridesOrDefault(
        * map<string, string> airflow_config_overrides = 2;
        */
       @java.lang.Override
    -  public java.lang.String getAirflowConfigOverridesOrThrow(java.lang.String key) {
    -    if (key == null) {
    -      throw new NullPointerException("map key");
    -    }
    +
    +  public java.lang.String getAirflowConfigOverridesOrThrow(
    +      java.lang.String key) {
    +    if (key == null) { throw new NullPointerException("map key"); }
         java.util.Map map =
             internalGetAirflowConfigOverrides().getMap();
         if (!map.containsKey(key)) {
    @@ -418,22 +380,21 @@ public java.lang.String getAirflowConfigOverridesOrThrow(java.lang.String key) {
       }
     
       public static final int PYPI_PACKAGES_FIELD_NUMBER = 3;
    -
       private static final class PypiPackagesDefaultEntryHolder {
    -    static final com.google.protobuf.MapEntry defaultEntry =
    -        com.google.protobuf.MapEntry.newDefaultInstance(
    -            com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
    -                .internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_PypiPackagesEntry_descriptor,
    -            com.google.protobuf.WireFormat.FieldType.STRING,
    -            "",
    -            com.google.protobuf.WireFormat.FieldType.STRING,
    -            "");
    -  }
    -
    -  private com.google.protobuf.MapField pypiPackages_;
    -
    +    static final com.google.protobuf.MapEntry<
    +        java.lang.String, java.lang.String> defaultEntry =
    +            com.google.protobuf.MapEntry
    +            .newDefaultInstance(
    +                com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_PypiPackagesEntry_descriptor, 
    +                com.google.protobuf.WireFormat.FieldType.STRING,
    +                "",
    +                com.google.protobuf.WireFormat.FieldType.STRING,
    +                "");
    +  }
    +  private com.google.protobuf.MapField<
    +      java.lang.String, java.lang.String> pypiPackages_;
       private com.google.protobuf.MapField
    -      internalGetPypiPackages() {
    +  internalGetPypiPackages() {
         if (pypiPackages_ == null) {
           return com.google.protobuf.MapField.emptyMapField(
               PypiPackagesDefaultEntryHolder.defaultEntry);
    @@ -445,8 +406,6 @@ public int getPypiPackagesCount() {
         return internalGetPypiPackages().getMap().size();
       }
       /**
    -   *
    -   *
        * 
        * Optional. Custom Python Package Index (PyPI) packages to be installed in
        * the environment.
    @@ -459,22 +418,22 @@ public int getPypiPackagesCount() {
        *
        * map<string, string> pypi_packages = 3;
        */
    +
       @java.lang.Override
    -  public boolean containsPypiPackages(java.lang.String key) {
    -    if (key == null) {
    -      throw new NullPointerException("map key");
    -    }
    +  public boolean containsPypiPackages(
    +      java.lang.String key) {
    +    if (key == null) { throw new NullPointerException("map key"); }
         return internalGetPypiPackages().getMap().containsKey(key);
       }
    -  /** Use {@link #getPypiPackagesMap()} instead. */
    +  /**
    +   * Use {@link #getPypiPackagesMap()} instead.
    +   */
       @java.lang.Override
       @java.lang.Deprecated
       public java.util.Map getPypiPackages() {
         return getPypiPackagesMap();
       }
       /**
    -   *
    -   *
        * 
        * Optional. Custom Python Package Index (PyPI) packages to be installed in
        * the environment.
    @@ -488,12 +447,11 @@ public java.util.Map getPypiPackages() {
        * map<string, string> pypi_packages = 3;
        */
       @java.lang.Override
    +
       public java.util.Map getPypiPackagesMap() {
         return internalGetPypiPackages().getMap();
       }
       /**
    -   *
    -   *
        * 
        * Optional. Custom Python Package Index (PyPI) packages to be installed in
        * the environment.
    @@ -507,17 +465,16 @@ public java.util.Map getPypiPackagesMap() {
        * map<string, string> pypi_packages = 3;
        */
       @java.lang.Override
    +
       public java.lang.String getPypiPackagesOrDefault(
    -      java.lang.String key, java.lang.String defaultValue) {
    -    if (key == null) {
    -      throw new NullPointerException("map key");
    -    }
    -    java.util.Map map = internalGetPypiPackages().getMap();
    +      java.lang.String key,
    +      java.lang.String defaultValue) {
    +    if (key == null) { throw new NullPointerException("map key"); }
    +    java.util.Map map =
    +        internalGetPypiPackages().getMap();
         return map.containsKey(key) ? map.get(key) : defaultValue;
       }
       /**
    -   *
    -   *
        * 
        * Optional. Custom Python Package Index (PyPI) packages to be installed in
        * the environment.
    @@ -531,11 +488,12 @@ public java.lang.String getPypiPackagesOrDefault(
        * map<string, string> pypi_packages = 3;
        */
       @java.lang.Override
    -  public java.lang.String getPypiPackagesOrThrow(java.lang.String key) {
    -    if (key == null) {
    -      throw new NullPointerException("map key");
    -    }
    -    java.util.Map map = internalGetPypiPackages().getMap();
    +
    +  public java.lang.String getPypiPackagesOrThrow(
    +      java.lang.String key) {
    +    if (key == null) { throw new NullPointerException("map key"); }
    +    java.util.Map map =
    +        internalGetPypiPackages().getMap();
         if (!map.containsKey(key)) {
           throw new java.lang.IllegalArgumentException();
         }
    @@ -543,22 +501,21 @@ public java.lang.String getPypiPackagesOrThrow(java.lang.String key) {
       }
     
       public static final int ENV_VARIABLES_FIELD_NUMBER = 4;
    -
       private static final class EnvVariablesDefaultEntryHolder {
    -    static final com.google.protobuf.MapEntry defaultEntry =
    -        com.google.protobuf.MapEntry.newDefaultInstance(
    -            com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
    -                .internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_EnvVariablesEntry_descriptor,
    -            com.google.protobuf.WireFormat.FieldType.STRING,
    -            "",
    -            com.google.protobuf.WireFormat.FieldType.STRING,
    -            "");
    -  }
    -
    -  private com.google.protobuf.MapField envVariables_;
    -
    +    static final com.google.protobuf.MapEntry<
    +        java.lang.String, java.lang.String> defaultEntry =
    +            com.google.protobuf.MapEntry
    +            .newDefaultInstance(
    +                com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_EnvVariablesEntry_descriptor, 
    +                com.google.protobuf.WireFormat.FieldType.STRING,
    +                "",
    +                com.google.protobuf.WireFormat.FieldType.STRING,
    +                "");
    +  }
    +  private com.google.protobuf.MapField<
    +      java.lang.String, java.lang.String> envVariables_;
       private com.google.protobuf.MapField
    -      internalGetEnvVariables() {
    +  internalGetEnvVariables() {
         if (envVariables_ == null) {
           return com.google.protobuf.MapField.emptyMapField(
               EnvVariablesDefaultEntryHolder.defaultEntry);
    @@ -570,8 +527,6 @@ public int getEnvVariablesCount() {
         return internalGetEnvVariables().getMap().size();
       }
       /**
    -   *
    -   *
        * 
        * Optional. Additional environment variables to provide to the Apache Airflow
        * scheduler, worker, and webserver processes.
    @@ -597,22 +552,22 @@ public int getEnvVariablesCount() {
        *
        * map<string, string> env_variables = 4;
        */
    +
       @java.lang.Override
    -  public boolean containsEnvVariables(java.lang.String key) {
    -    if (key == null) {
    -      throw new NullPointerException("map key");
    -    }
    +  public boolean containsEnvVariables(
    +      java.lang.String key) {
    +    if (key == null) { throw new NullPointerException("map key"); }
         return internalGetEnvVariables().getMap().containsKey(key);
       }
    -  /** Use {@link #getEnvVariablesMap()} instead. */
    +  /**
    +   * Use {@link #getEnvVariablesMap()} instead.
    +   */
       @java.lang.Override
       @java.lang.Deprecated
       public java.util.Map getEnvVariables() {
         return getEnvVariablesMap();
       }
       /**
    -   *
    -   *
        * 
        * Optional. Additional environment variables to provide to the Apache Airflow
        * scheduler, worker, and webserver processes.
    @@ -639,12 +594,11 @@ public java.util.Map getEnvVariables() {
        * map<string, string> env_variables = 4;
        */
       @java.lang.Override
    +
       public java.util.Map getEnvVariablesMap() {
         return internalGetEnvVariables().getMap();
       }
       /**
    -   *
    -   *
        * 
        * Optional. Additional environment variables to provide to the Apache Airflow
        * scheduler, worker, and webserver processes.
    @@ -671,17 +625,16 @@ public java.util.Map getEnvVariablesMap() {
        * map<string, string> env_variables = 4;
        */
       @java.lang.Override
    +
       public java.lang.String getEnvVariablesOrDefault(
    -      java.lang.String key, java.lang.String defaultValue) {
    -    if (key == null) {
    -      throw new NullPointerException("map key");
    -    }
    -    java.util.Map map = internalGetEnvVariables().getMap();
    +      java.lang.String key,
    +      java.lang.String defaultValue) {
    +    if (key == null) { throw new NullPointerException("map key"); }
    +    java.util.Map map =
    +        internalGetEnvVariables().getMap();
         return map.containsKey(key) ? map.get(key) : defaultValue;
       }
       /**
    -   *
    -   *
        * 
        * Optional. Additional environment variables to provide to the Apache Airflow
        * scheduler, worker, and webserver processes.
    @@ -708,11 +661,12 @@ public java.lang.String getEnvVariablesOrDefault(
        * map<string, string> env_variables = 4;
        */
       @java.lang.Override
    -  public java.lang.String getEnvVariablesOrThrow(java.lang.String key) {
    -    if (key == null) {
    -      throw new NullPointerException("map key");
    -    }
    -    java.util.Map map = internalGetEnvVariables().getMap();
    +
    +  public java.lang.String getEnvVariablesOrThrow(
    +      java.lang.String key) {
    +    if (key == null) { throw new NullPointerException("map key"); }
    +    java.util.Map map =
    +        internalGetEnvVariables().getMap();
         if (!map.containsKey(key)) {
           throw new java.lang.IllegalArgumentException();
         }
    @@ -722,8 +676,6 @@ public java.lang.String getEnvVariablesOrThrow(java.lang.String key) {
       public static final int PYTHON_VERSION_FIELD_NUMBER = 6;
       private volatile java.lang.Object pythonVersion_;
       /**
    -   *
    -   *
        * 
        * Optional. The major version of Python used to run the Apache Airflow
        * scheduler, worker, and webserver processes.
    @@ -732,7 +684,6 @@ public java.lang.String getEnvVariablesOrThrow(java.lang.String key) {
        * 
    * * string python_version = 6; - * * @return The pythonVersion. */ @java.lang.Override @@ -741,15 +692,14 @@ public java.lang.String getPythonVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pythonVersion_ = s; return s; } } /** - * - * *
        * Optional. The major version of Python used to run the Apache Airflow
        * scheduler, worker, and webserver processes.
    @@ -758,15 +708,16 @@ public java.lang.String getPythonVersion() {
        * 
    * * string python_version = 6; - * * @return The bytes for pythonVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getPythonVersionBytes() { + public com.google.protobuf.ByteString + getPythonVersionBytes() { java.lang.Object ref = pythonVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pythonVersion_ = b; return b; } else { @@ -775,7 +726,6 @@ public com.google.protobuf.ByteString getPythonVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -787,19 +737,29 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageVersion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, imageVersion_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( output, internalGetAirflowConfigOverrides(), AirflowConfigOverridesDefaultEntryHolder.defaultEntry, 2); - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetPypiPackages(), PypiPackagesDefaultEntryHolder.defaultEntry, 3); - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetEnvVariables(), EnvVariablesDefaultEntryHolder.defaultEntry, 4); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetPypiPackages(), + PypiPackagesDefaultEntryHolder.defaultEntry, + 3); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetEnvVariables(), + EnvVariablesDefaultEntryHolder.defaultEntry, + 4); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pythonVersion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, pythonVersion_); } @@ -815,35 +775,35 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, imageVersion_); } - for (java.util.Map.Entry entry : - internalGetAirflowConfigOverrides().getMap().entrySet()) { - com.google.protobuf.MapEntry airflowConfigOverrides__ = - AirflowConfigOverridesDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, airflowConfigOverrides__); - } - for (java.util.Map.Entry entry : - internalGetPypiPackages().getMap().entrySet()) { - com.google.protobuf.MapEntry pypiPackages__ = - PypiPackagesDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, pypiPackages__); - } - for (java.util.Map.Entry entry : - internalGetEnvVariables().getMap().entrySet()) { - com.google.protobuf.MapEntry envVariables__ = - EnvVariablesDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, envVariables__); + for (java.util.Map.Entry entry + : internalGetAirflowConfigOverrides().getMap().entrySet()) { + com.google.protobuf.MapEntry + airflowConfigOverrides__ = AirflowConfigOverridesDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, airflowConfigOverrides__); + } + for (java.util.Map.Entry entry + : internalGetPypiPackages().getMap().entrySet()) { + com.google.protobuf.MapEntry + pypiPackages__ = PypiPackagesDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, pypiPackages__); + } + for (java.util.Map.Entry entry + : internalGetEnvVariables().getMap().entrySet()) { + com.google.protobuf.MapEntry + envVariables__ = EnvVariablesDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, envVariables__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pythonVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, pythonVersion_); @@ -856,20 +816,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.orchestration.airflow.service.v1.SoftwareConfig)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig other = - (com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig) obj; - - if (!getImageVersion().equals(other.getImageVersion())) return false; - if (!internalGetAirflowConfigOverrides().equals(other.internalGetAirflowConfigOverrides())) - return false; - if (!internalGetPypiPackages().equals(other.internalGetPypiPackages())) return false; - if (!internalGetEnvVariables().equals(other.internalGetEnvVariables())) return false; - if (!getPythonVersion().equals(other.getPythonVersion())) return false; + com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig other = (com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig) obj; + + if (!getImageVersion() + .equals(other.getImageVersion())) return false; + if (!internalGetAirflowConfigOverrides().equals( + other.internalGetAirflowConfigOverrides())) return false; + if (!internalGetPypiPackages().equals( + other.internalGetPypiPackages())) return false; + if (!internalGetEnvVariables().equals( + other.internalGetEnvVariables())) return false; + if (!getPythonVersion() + .equals(other.getPythonVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -903,121 +866,114 @@ public int hashCode() { } public static com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig 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.orchestration.airflow.service.v1.SoftwareConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig prototype) { + public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
        * Specifies the selection and configuration of software inside the environment.
        * 
    * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.SoftwareConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1.SoftwareConfig) com.google.cloud.orchestration.airflow.service.v1.SoftwareConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 2: return internalGetAirflowConfigOverrides(); @@ -1026,12 +982,13 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { case 4: return internalGetEnvVariables(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { switch (number) { case 2: return internalGetMutableAirflowConfigOverrides(); @@ -1040,18 +997,16 @@ protected com.google.protobuf.MapField internalGetMutableMapField(int number) { case 4: return internalGetMutableEnvVariables(); 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.orchestration.airflow.service.v1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.class, - com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.Builder.class); + com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.class, com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.Builder.class); } // Construct using com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.newBuilder() @@ -1059,15 +1014,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(); @@ -1082,14 +1038,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig - getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig getDefaultInstanceForType() { return com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.getDefaultInstance(); } @@ -1104,8 +1059,7 @@ public com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig build() @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig buildPartial() { - com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig result = - new com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig(this); + com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig result = new com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig(this); int from_bitField0_ = bitField0_; result.imageVersion_ = imageVersion_; result.airflowConfigOverrides_ = internalGetAirflowConfigOverrides(); @@ -1123,58 +1077,56 @@ public com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig 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.orchestration.airflow.service.v1.SoftwareConfig) { - return mergeFrom((com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig) other); + return mergeFrom((com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig other) { - if (other - == com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig other) { + if (other == com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.getDefaultInstance()) return this; if (!other.getImageVersion().isEmpty()) { imageVersion_ = other.imageVersion_; onChanged(); } - internalGetMutableAirflowConfigOverrides() - .mergeFrom(other.internalGetAirflowConfigOverrides()); - internalGetMutablePypiPackages().mergeFrom(other.internalGetPypiPackages()); - internalGetMutableEnvVariables().mergeFrom(other.internalGetEnvVariables()); + internalGetMutableAirflowConfigOverrides().mergeFrom( + other.internalGetAirflowConfigOverrides()); + internalGetMutablePypiPackages().mergeFrom( + other.internalGetPypiPackages()); + internalGetMutableEnvVariables().mergeFrom( + other.internalGetEnvVariables()); if (!other.getPythonVersion().isEmpty()) { pythonVersion_ = other.pythonVersion_; onChanged(); @@ -1198,9 +1150,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1209,13 +1159,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object imageVersion_ = ""; /** - * - * *
          * The version of the software running in the environment.
          * This encapsulates both the version of Cloud Composer functionality and the
    @@ -1237,13 +1184,13 @@ public Builder mergeFrom(
          * 
    * * string image_version = 1; - * * @return The imageVersion. */ public java.lang.String getImageVersion() { java.lang.Object ref = imageVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageVersion_ = s; return s; @@ -1252,8 +1199,6 @@ public java.lang.String getImageVersion() { } } /** - * - * *
          * The version of the software running in the environment.
          * This encapsulates both the version of Cloud Composer functionality and the
    @@ -1275,14 +1220,15 @@ public java.lang.String getImageVersion() {
          * 
    * * string image_version = 1; - * * @return The bytes for imageVersion. */ - public com.google.protobuf.ByteString getImageVersionBytes() { + public com.google.protobuf.ByteString + getImageVersionBytes() { java.lang.Object ref = imageVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); imageVersion_ = b; return b; } else { @@ -1290,8 +1236,6 @@ public com.google.protobuf.ByteString getImageVersionBytes() { } } /** - * - * *
          * The version of the software running in the environment.
          * This encapsulates both the version of Cloud Composer functionality and the
    @@ -1313,22 +1257,20 @@ public com.google.protobuf.ByteString getImageVersionBytes() {
          * 
    * * string image_version = 1; - * * @param value The imageVersion to set. * @return This builder for chaining. */ - public Builder setImageVersion(java.lang.String value) { + public Builder setImageVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + imageVersion_ = value; onChanged(); return this; } /** - * - * *
          * The version of the software running in the environment.
          * This encapsulates both the version of Cloud Composer functionality and the
    @@ -1350,18 +1292,15 @@ public Builder setImageVersion(java.lang.String value) {
          * 
    * * string image_version = 1; - * * @return This builder for chaining. */ public Builder clearImageVersion() { - + imageVersion_ = getDefaultInstance().getImageVersion(); onChanged(); return this; } /** - * - * *
          * The version of the software running in the environment.
          * This encapsulates both the version of Cloud Composer functionality and the
    @@ -1383,41 +1322,37 @@ public Builder clearImageVersion() {
          * 
    * * string image_version = 1; - * * @param value The bytes for imageVersion to set. * @return This builder for chaining. */ - public Builder setImageVersionBytes(com.google.protobuf.ByteString value) { + public Builder setImageVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + imageVersion_ = value; onChanged(); return this; } + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> airflowConfigOverrides_; private com.google.protobuf.MapField - airflowConfigOverrides_; - - private com.google.protobuf.MapField - internalGetAirflowConfigOverrides() { + internalGetAirflowConfigOverrides() { if (airflowConfigOverrides_ == null) { return com.google.protobuf.MapField.emptyMapField( AirflowConfigOverridesDefaultEntryHolder.defaultEntry); } return airflowConfigOverrides_; } - private com.google.protobuf.MapField - internalGetMutableAirflowConfigOverrides() { - onChanged(); - ; + internalGetMutableAirflowConfigOverrides() { + onChanged();; if (airflowConfigOverrides_ == null) { - airflowConfigOverrides_ = - com.google.protobuf.MapField.newMapField( - AirflowConfigOverridesDefaultEntryHolder.defaultEntry); + airflowConfigOverrides_ = com.google.protobuf.MapField.newMapField( + AirflowConfigOverridesDefaultEntryHolder.defaultEntry); } if (!airflowConfigOverrides_.isMutable()) { airflowConfigOverrides_ = airflowConfigOverrides_.copy(); @@ -1429,8 +1364,6 @@ public int getAirflowConfigOverridesCount() { return internalGetAirflowConfigOverrides().getMap().size(); } /** - * - * *
          * Optional. Apache Airflow configuration properties to override.
          * Property keys contain the section and property names, separated by a
    @@ -1449,22 +1382,22 @@ public int getAirflowConfigOverridesCount() {
          *
          * map<string, string> airflow_config_overrides = 2;
          */
    +
         @java.lang.Override
    -    public boolean containsAirflowConfigOverrides(java.lang.String key) {
    -      if (key == null) {
    -        throw new NullPointerException("map key");
    -      }
    +    public boolean containsAirflowConfigOverrides(
    +        java.lang.String key) {
    +      if (key == null) { throw new NullPointerException("map key"); }
           return internalGetAirflowConfigOverrides().getMap().containsKey(key);
         }
    -    /** Use {@link #getAirflowConfigOverridesMap()} instead. */
    +    /**
    +     * Use {@link #getAirflowConfigOverridesMap()} instead.
    +     */
         @java.lang.Override
         @java.lang.Deprecated
         public java.util.Map getAirflowConfigOverrides() {
           return getAirflowConfigOverridesMap();
         }
         /**
    -     *
    -     *
          * 
          * Optional. Apache Airflow configuration properties to override.
          * Property keys contain the section and property names, separated by a
    @@ -1484,12 +1417,11 @@ public java.util.Map getAirflowConfigOverrid
          * map<string, string> airflow_config_overrides = 2;
          */
         @java.lang.Override
    +
         public java.util.Map getAirflowConfigOverridesMap() {
           return internalGetAirflowConfigOverrides().getMap();
         }
         /**
    -     *
    -     *
          * 
          * Optional. Apache Airflow configuration properties to override.
          * Property keys contain the section and property names, separated by a
    @@ -1509,18 +1441,16 @@ public java.util.Map getAirflowConfigOverrid
          * map<string, string> airflow_config_overrides = 2;
          */
         @java.lang.Override
    +
         public java.lang.String getAirflowConfigOverridesOrDefault(
    -        java.lang.String key, java.lang.String defaultValue) {
    -      if (key == null) {
    -        throw new NullPointerException("map key");
    -      }
    +        java.lang.String key,
    +        java.lang.String defaultValue) {
    +      if (key == null) { throw new NullPointerException("map key"); }
           java.util.Map map =
               internalGetAirflowConfigOverrides().getMap();
           return map.containsKey(key) ? map.get(key) : defaultValue;
         }
         /**
    -     *
    -     *
          * 
          * Optional. Apache Airflow configuration properties to override.
          * Property keys contain the section and property names, separated by a
    @@ -1540,10 +1470,10 @@ public java.lang.String getAirflowConfigOverridesOrDefault(
          * map<string, string> airflow_config_overrides = 2;
          */
         @java.lang.Override
    -    public java.lang.String getAirflowConfigOverridesOrThrow(java.lang.String key) {
    -      if (key == null) {
    -        throw new NullPointerException("map key");
    -      }
    +
    +    public java.lang.String getAirflowConfigOverridesOrThrow(
    +        java.lang.String key) {
    +      if (key == null) { throw new NullPointerException("map key"); }
           java.util.Map map =
               internalGetAirflowConfigOverrides().getMap();
           if (!map.containsKey(key)) {
    @@ -1553,12 +1483,11 @@ public java.lang.String getAirflowConfigOverridesOrThrow(java.lang.String key) {
         }
     
         public Builder clearAirflowConfigOverrides() {
    -      internalGetMutableAirflowConfigOverrides().getMutableMap().clear();
    +      internalGetMutableAirflowConfigOverrides().getMutableMap()
    +          .clear();
           return this;
         }
         /**
    -     *
    -     *
          * 
          * Optional. Apache Airflow configuration properties to override.
          * Property keys contain the section and property names, separated by a
    @@ -1577,21 +1506,23 @@ public Builder clearAirflowConfigOverrides() {
          *
          * map<string, string> airflow_config_overrides = 2;
          */
    -    public Builder removeAirflowConfigOverrides(java.lang.String key) {
    -      if (key == null) {
    -        throw new NullPointerException("map key");
    -      }
    -      internalGetMutableAirflowConfigOverrides().getMutableMap().remove(key);
    +
    +    public Builder removeAirflowConfigOverrides(
    +        java.lang.String key) {
    +      if (key == null) { throw new NullPointerException("map key"); }
    +      internalGetMutableAirflowConfigOverrides().getMutableMap()
    +          .remove(key);
           return this;
         }
    -    /** Use alternate mutation accessors instead. */
    +    /**
    +     * Use alternate mutation accessors instead.
    +     */
         @java.lang.Deprecated
    -    public java.util.Map getMutableAirflowConfigOverrides() {
    +    public java.util.Map
    +    getMutableAirflowConfigOverrides() {
           return internalGetMutableAirflowConfigOverrides().getMutableMap();
         }
         /**
    -     *
    -     *
          * 
          * Optional. Apache Airflow configuration properties to override.
          * Property keys contain the section and property names, separated by a
    @@ -1610,20 +1541,19 @@ public java.util.Map getMutableAirflowConfig
          *
          * map<string, string> airflow_config_overrides = 2;
          */
    -    public Builder putAirflowConfigOverrides(java.lang.String key, java.lang.String value) {
    -      if (key == null) {
    -        throw new NullPointerException("map key");
    -      }
    +    public Builder putAirflowConfigOverrides(
    +        java.lang.String key,
    +        java.lang.String value) {
    +      if (key == null) { throw new NullPointerException("map key"); }
           if (value == null) {
    -        throw new NullPointerException("map value");
    -      }
    +  throw new NullPointerException("map value");
    +}
     
    -      internalGetMutableAirflowConfigOverrides().getMutableMap().put(key, value);
    +      internalGetMutableAirflowConfigOverrides().getMutableMap()
    +          .put(key, value);
           return this;
         }
         /**
    -     *
    -     *
          * 
          * Optional. Apache Airflow configuration properties to override.
          * Property keys contain the section and property names, separated by a
    @@ -1642,30 +1572,30 @@ public Builder putAirflowConfigOverrides(java.lang.String key, java.lang.String
          *
          * map<string, string> airflow_config_overrides = 2;
          */
    +
         public Builder putAllAirflowConfigOverrides(
             java.util.Map values) {
    -      internalGetMutableAirflowConfigOverrides().getMutableMap().putAll(values);
    +      internalGetMutableAirflowConfigOverrides().getMutableMap()
    +          .putAll(values);
           return this;
         }
     
    -    private com.google.protobuf.MapField pypiPackages_;
    -
    +    private com.google.protobuf.MapField<
    +        java.lang.String, java.lang.String> pypiPackages_;
         private com.google.protobuf.MapField
    -        internalGetPypiPackages() {
    +    internalGetPypiPackages() {
           if (pypiPackages_ == null) {
             return com.google.protobuf.MapField.emptyMapField(
                 PypiPackagesDefaultEntryHolder.defaultEntry);
           }
           return pypiPackages_;
         }
    -
         private com.google.protobuf.MapField
    -        internalGetMutablePypiPackages() {
    -      onChanged();
    -      ;
    +    internalGetMutablePypiPackages() {
    +      onChanged();;
           if (pypiPackages_ == null) {
    -        pypiPackages_ =
    -            com.google.protobuf.MapField.newMapField(PypiPackagesDefaultEntryHolder.defaultEntry);
    +        pypiPackages_ = com.google.protobuf.MapField.newMapField(
    +            PypiPackagesDefaultEntryHolder.defaultEntry);
           }
           if (!pypiPackages_.isMutable()) {
             pypiPackages_ = pypiPackages_.copy();
    @@ -1677,8 +1607,6 @@ public int getPypiPackagesCount() {
           return internalGetPypiPackages().getMap().size();
         }
         /**
    -     *
    -     *
          * 
          * Optional. Custom Python Package Index (PyPI) packages to be installed in
          * the environment.
    @@ -1691,22 +1619,22 @@ public int getPypiPackagesCount() {
          *
          * map<string, string> pypi_packages = 3;
          */
    +
         @java.lang.Override
    -    public boolean containsPypiPackages(java.lang.String key) {
    -      if (key == null) {
    -        throw new NullPointerException("map key");
    -      }
    +    public boolean containsPypiPackages(
    +        java.lang.String key) {
    +      if (key == null) { throw new NullPointerException("map key"); }
           return internalGetPypiPackages().getMap().containsKey(key);
         }
    -    /** Use {@link #getPypiPackagesMap()} instead. */
    +    /**
    +     * Use {@link #getPypiPackagesMap()} instead.
    +     */
         @java.lang.Override
         @java.lang.Deprecated
         public java.util.Map getPypiPackages() {
           return getPypiPackagesMap();
         }
         /**
    -     *
    -     *
          * 
          * Optional. Custom Python Package Index (PyPI) packages to be installed in
          * the environment.
    @@ -1720,12 +1648,11 @@ public java.util.Map getPypiPackages() {
          * map<string, string> pypi_packages = 3;
          */
         @java.lang.Override
    +
         public java.util.Map getPypiPackagesMap() {
           return internalGetPypiPackages().getMap();
         }
         /**
    -     *
    -     *
          * 
          * Optional. Custom Python Package Index (PyPI) packages to be installed in
          * the environment.
    @@ -1739,17 +1666,16 @@ public java.util.Map getPypiPackagesMap() {
          * map<string, string> pypi_packages = 3;
          */
         @java.lang.Override
    +
         public java.lang.String getPypiPackagesOrDefault(
    -        java.lang.String key, java.lang.String defaultValue) {
    -      if (key == null) {
    -        throw new NullPointerException("map key");
    -      }
    -      java.util.Map map = internalGetPypiPackages().getMap();
    +        java.lang.String key,
    +        java.lang.String defaultValue) {
    +      if (key == null) { throw new NullPointerException("map key"); }
    +      java.util.Map map =
    +          internalGetPypiPackages().getMap();
           return map.containsKey(key) ? map.get(key) : defaultValue;
         }
         /**
    -     *
    -     *
          * 
          * Optional. Custom Python Package Index (PyPI) packages to be installed in
          * the environment.
    @@ -1763,11 +1689,12 @@ public java.lang.String getPypiPackagesOrDefault(
          * map<string, string> pypi_packages = 3;
          */
         @java.lang.Override
    -    public java.lang.String getPypiPackagesOrThrow(java.lang.String key) {
    -      if (key == null) {
    -        throw new NullPointerException("map key");
    -      }
    -      java.util.Map map = internalGetPypiPackages().getMap();
    +
    +    public java.lang.String getPypiPackagesOrThrow(
    +        java.lang.String key) {
    +      if (key == null) { throw new NullPointerException("map key"); }
    +      java.util.Map map =
    +          internalGetPypiPackages().getMap();
           if (!map.containsKey(key)) {
             throw new java.lang.IllegalArgumentException();
           }
    @@ -1775,12 +1702,11 @@ public java.lang.String getPypiPackagesOrThrow(java.lang.String key) {
         }
     
         public Builder clearPypiPackages() {
    -      internalGetMutablePypiPackages().getMutableMap().clear();
    +      internalGetMutablePypiPackages().getMutableMap()
    +          .clear();
           return this;
         }
         /**
    -     *
    -     *
          * 
          * Optional. Custom Python Package Index (PyPI) packages to be installed in
          * the environment.
    @@ -1793,21 +1719,23 @@ public Builder clearPypiPackages() {
          *
          * map<string, string> pypi_packages = 3;
          */
    -    public Builder removePypiPackages(java.lang.String key) {
    -      if (key == null) {
    -        throw new NullPointerException("map key");
    -      }
    -      internalGetMutablePypiPackages().getMutableMap().remove(key);
    +
    +    public Builder removePypiPackages(
    +        java.lang.String key) {
    +      if (key == null) { throw new NullPointerException("map key"); }
    +      internalGetMutablePypiPackages().getMutableMap()
    +          .remove(key);
           return this;
         }
    -    /** Use alternate mutation accessors instead. */
    +    /**
    +     * Use alternate mutation accessors instead.
    +     */
         @java.lang.Deprecated
    -    public java.util.Map getMutablePypiPackages() {
    +    public java.util.Map
    +    getMutablePypiPackages() {
           return internalGetMutablePypiPackages().getMutableMap();
         }
         /**
    -     *
    -     *
          * 
          * Optional. Custom Python Package Index (PyPI) packages to be installed in
          * the environment.
    @@ -1820,20 +1748,19 @@ public java.util.Map getMutablePypiPackages(
          *
          * map<string, string> pypi_packages = 3;
          */
    -    public Builder putPypiPackages(java.lang.String key, java.lang.String value) {
    -      if (key == null) {
    -        throw new NullPointerException("map key");
    -      }
    +    public Builder putPypiPackages(
    +        java.lang.String key,
    +        java.lang.String value) {
    +      if (key == null) { throw new NullPointerException("map key"); }
           if (value == null) {
    -        throw new NullPointerException("map value");
    -      }
    +  throw new NullPointerException("map value");
    +}
     
    -      internalGetMutablePypiPackages().getMutableMap().put(key, value);
    +      internalGetMutablePypiPackages().getMutableMap()
    +          .put(key, value);
           return this;
         }
         /**
    -     *
    -     *
          * 
          * Optional. Custom Python Package Index (PyPI) packages to be installed in
          * the environment.
    @@ -1846,29 +1773,30 @@ public Builder putPypiPackages(java.lang.String key, java.lang.String value) {
          *
          * map<string, string> pypi_packages = 3;
          */
    -    public Builder putAllPypiPackages(java.util.Map values) {
    -      internalGetMutablePypiPackages().getMutableMap().putAll(values);
    +
    +    public Builder putAllPypiPackages(
    +        java.util.Map values) {
    +      internalGetMutablePypiPackages().getMutableMap()
    +          .putAll(values);
           return this;
         }
     
    -    private com.google.protobuf.MapField envVariables_;
    -
    +    private com.google.protobuf.MapField<
    +        java.lang.String, java.lang.String> envVariables_;
         private com.google.protobuf.MapField
    -        internalGetEnvVariables() {
    +    internalGetEnvVariables() {
           if (envVariables_ == null) {
             return com.google.protobuf.MapField.emptyMapField(
                 EnvVariablesDefaultEntryHolder.defaultEntry);
           }
           return envVariables_;
         }
    -
         private com.google.protobuf.MapField
    -        internalGetMutableEnvVariables() {
    -      onChanged();
    -      ;
    +    internalGetMutableEnvVariables() {
    +      onChanged();;
           if (envVariables_ == null) {
    -        envVariables_ =
    -            com.google.protobuf.MapField.newMapField(EnvVariablesDefaultEntryHolder.defaultEntry);
    +        envVariables_ = com.google.protobuf.MapField.newMapField(
    +            EnvVariablesDefaultEntryHolder.defaultEntry);
           }
           if (!envVariables_.isMutable()) {
             envVariables_ = envVariables_.copy();
    @@ -1880,8 +1808,6 @@ public int getEnvVariablesCount() {
           return internalGetEnvVariables().getMap().size();
         }
         /**
    -     *
    -     *
          * 
          * Optional. Additional environment variables to provide to the Apache Airflow
          * scheduler, worker, and webserver processes.
    @@ -1907,22 +1833,22 @@ public int getEnvVariablesCount() {
          *
          * map<string, string> env_variables = 4;
          */
    +
         @java.lang.Override
    -    public boolean containsEnvVariables(java.lang.String key) {
    -      if (key == null) {
    -        throw new NullPointerException("map key");
    -      }
    +    public boolean containsEnvVariables(
    +        java.lang.String key) {
    +      if (key == null) { throw new NullPointerException("map key"); }
           return internalGetEnvVariables().getMap().containsKey(key);
         }
    -    /** Use {@link #getEnvVariablesMap()} instead. */
    +    /**
    +     * Use {@link #getEnvVariablesMap()} instead.
    +     */
         @java.lang.Override
         @java.lang.Deprecated
         public java.util.Map getEnvVariables() {
           return getEnvVariablesMap();
         }
         /**
    -     *
    -     *
          * 
          * Optional. Additional environment variables to provide to the Apache Airflow
          * scheduler, worker, and webserver processes.
    @@ -1949,12 +1875,11 @@ public java.util.Map getEnvVariables() {
          * map<string, string> env_variables = 4;
          */
         @java.lang.Override
    +
         public java.util.Map getEnvVariablesMap() {
           return internalGetEnvVariables().getMap();
         }
         /**
    -     *
    -     *
          * 
          * Optional. Additional environment variables to provide to the Apache Airflow
          * scheduler, worker, and webserver processes.
    @@ -1981,17 +1906,16 @@ public java.util.Map getEnvVariablesMap() {
          * map<string, string> env_variables = 4;
          */
         @java.lang.Override
    +
         public java.lang.String getEnvVariablesOrDefault(
    -        java.lang.String key, java.lang.String defaultValue) {
    -      if (key == null) {
    -        throw new NullPointerException("map key");
    -      }
    -      java.util.Map map = internalGetEnvVariables().getMap();
    +        java.lang.String key,
    +        java.lang.String defaultValue) {
    +      if (key == null) { throw new NullPointerException("map key"); }
    +      java.util.Map map =
    +          internalGetEnvVariables().getMap();
           return map.containsKey(key) ? map.get(key) : defaultValue;
         }
         /**
    -     *
    -     *
          * 
          * Optional. Additional environment variables to provide to the Apache Airflow
          * scheduler, worker, and webserver processes.
    @@ -2018,11 +1942,12 @@ public java.lang.String getEnvVariablesOrDefault(
          * map<string, string> env_variables = 4;
          */
         @java.lang.Override
    -    public java.lang.String getEnvVariablesOrThrow(java.lang.String key) {
    -      if (key == null) {
    -        throw new NullPointerException("map key");
    -      }
    -      java.util.Map map = internalGetEnvVariables().getMap();
    +
    +    public java.lang.String getEnvVariablesOrThrow(
    +        java.lang.String key) {
    +      if (key == null) { throw new NullPointerException("map key"); }
    +      java.util.Map map =
    +          internalGetEnvVariables().getMap();
           if (!map.containsKey(key)) {
             throw new java.lang.IllegalArgumentException();
           }
    @@ -2030,12 +1955,11 @@ public java.lang.String getEnvVariablesOrThrow(java.lang.String key) {
         }
     
         public Builder clearEnvVariables() {
    -      internalGetMutableEnvVariables().getMutableMap().clear();
    +      internalGetMutableEnvVariables().getMutableMap()
    +          .clear();
           return this;
         }
         /**
    -     *
    -     *
          * 
          * Optional. Additional environment variables to provide to the Apache Airflow
          * scheduler, worker, and webserver processes.
    @@ -2061,21 +1985,23 @@ public Builder clearEnvVariables() {
          *
          * map<string, string> env_variables = 4;
          */
    -    public Builder removeEnvVariables(java.lang.String key) {
    -      if (key == null) {
    -        throw new NullPointerException("map key");
    -      }
    -      internalGetMutableEnvVariables().getMutableMap().remove(key);
    +
    +    public Builder removeEnvVariables(
    +        java.lang.String key) {
    +      if (key == null) { throw new NullPointerException("map key"); }
    +      internalGetMutableEnvVariables().getMutableMap()
    +          .remove(key);
           return this;
         }
    -    /** Use alternate mutation accessors instead. */
    +    /**
    +     * Use alternate mutation accessors instead.
    +     */
         @java.lang.Deprecated
    -    public java.util.Map getMutableEnvVariables() {
    +    public java.util.Map
    +    getMutableEnvVariables() {
           return internalGetMutableEnvVariables().getMutableMap();
         }
         /**
    -     *
    -     *
          * 
          * Optional. Additional environment variables to provide to the Apache Airflow
          * scheduler, worker, and webserver processes.
    @@ -2101,20 +2027,19 @@ public java.util.Map getMutableEnvVariables(
          *
          * map<string, string> env_variables = 4;
          */
    -    public Builder putEnvVariables(java.lang.String key, java.lang.String value) {
    -      if (key == null) {
    -        throw new NullPointerException("map key");
    -      }
    +    public Builder putEnvVariables(
    +        java.lang.String key,
    +        java.lang.String value) {
    +      if (key == null) { throw new NullPointerException("map key"); }
           if (value == null) {
    -        throw new NullPointerException("map value");
    -      }
    +  throw new NullPointerException("map value");
    +}
     
    -      internalGetMutableEnvVariables().getMutableMap().put(key, value);
    +      internalGetMutableEnvVariables().getMutableMap()
    +          .put(key, value);
           return this;
         }
         /**
    -     *
    -     *
          * 
          * Optional. Additional environment variables to provide to the Apache Airflow
          * scheduler, worker, and webserver processes.
    @@ -2140,15 +2065,16 @@ public Builder putEnvVariables(java.lang.String key, java.lang.String value) {
          *
          * map<string, string> env_variables = 4;
          */
    -    public Builder putAllEnvVariables(java.util.Map values) {
    -      internalGetMutableEnvVariables().getMutableMap().putAll(values);
    +
    +    public Builder putAllEnvVariables(
    +        java.util.Map values) {
    +      internalGetMutableEnvVariables().getMutableMap()
    +          .putAll(values);
           return this;
         }
     
         private java.lang.Object pythonVersion_ = "";
         /**
    -     *
    -     *
          * 
          * Optional. The major version of Python used to run the Apache Airflow
          * scheduler, worker, and webserver processes.
    @@ -2157,13 +2083,13 @@ public Builder putAllEnvVariables(java.util.Map
          *
          * string python_version = 6;
    -     *
          * @return The pythonVersion.
          */
         public java.lang.String getPythonVersion() {
           java.lang.Object ref = pythonVersion_;
           if (!(ref instanceof java.lang.String)) {
    -        com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
    +        com.google.protobuf.ByteString bs =
    +            (com.google.protobuf.ByteString) ref;
             java.lang.String s = bs.toStringUtf8();
             pythonVersion_ = s;
             return s;
    @@ -2172,8 +2098,6 @@ public java.lang.String getPythonVersion() {
           }
         }
         /**
    -     *
    -     *
          * 
          * Optional. The major version of Python used to run the Apache Airflow
          * scheduler, worker, and webserver processes.
    @@ -2182,14 +2106,15 @@ public java.lang.String getPythonVersion() {
          * 
    * * string python_version = 6; - * * @return The bytes for pythonVersion. */ - public com.google.protobuf.ByteString getPythonVersionBytes() { + public com.google.protobuf.ByteString + getPythonVersionBytes() { java.lang.Object ref = pythonVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pythonVersion_ = b; return b; } else { @@ -2197,8 +2122,6 @@ public com.google.protobuf.ByteString getPythonVersionBytes() { } } /** - * - * *
          * Optional. The major version of Python used to run the Apache Airflow
          * scheduler, worker, and webserver processes.
    @@ -2207,22 +2130,20 @@ public com.google.protobuf.ByteString getPythonVersionBytes() {
          * 
    * * string python_version = 6; - * * @param value The pythonVersion to set. * @return This builder for chaining. */ - public Builder setPythonVersion(java.lang.String value) { + public Builder setPythonVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pythonVersion_ = value; onChanged(); return this; } /** - * - * *
          * Optional. The major version of Python used to run the Apache Airflow
          * scheduler, worker, and webserver processes.
    @@ -2231,18 +2152,15 @@ public Builder setPythonVersion(java.lang.String value) {
          * 
    * * string python_version = 6; - * * @return This builder for chaining. */ public Builder clearPythonVersion() { - + pythonVersion_ = getDefaultInstance().getPythonVersion(); onChanged(); return this; } /** - * - * *
          * Optional. The major version of Python used to run the Apache Airflow
          * scheduler, worker, and webserver processes.
    @@ -2251,23 +2169,23 @@ public Builder clearPythonVersion() {
          * 
    * * string python_version = 6; - * * @param value The bytes for pythonVersion to set. * @return This builder for chaining. */ - public Builder setPythonVersionBytes(com.google.protobuf.ByteString value) { + public Builder setPythonVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pythonVersion_ = 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); } @@ -2277,32 +2195,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1.SoftwareConfig) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1.SoftwareConfig) - private static final com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig(); } - public static com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig - getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SoftwareConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SoftwareConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SoftwareConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SoftwareConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2314,8 +2230,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig - getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/SoftwareConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/SoftwareConfigOrBuilder.java similarity index 87% rename from proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/SoftwareConfigOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/SoftwareConfigOrBuilder.java index e5ccf909..82e6af12 100644 --- a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/SoftwareConfigOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/SoftwareConfigOrBuilder.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/orchestration/airflow/service/v1/environments.proto package com.google.cloud.orchestration.airflow.service.v1; -public interface SoftwareConfigOrBuilder - extends +public interface SoftwareConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1.SoftwareConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * The version of the software running in the environment.
        * This encapsulates both the version of Cloud Composer functionality and the
    @@ -47,13 +29,10 @@ public interface SoftwareConfigOrBuilder
        * 
    * * string image_version = 1; - * * @return The imageVersion. */ java.lang.String getImageVersion(); /** - * - * *
        * The version of the software running in the environment.
        * This encapsulates both the version of Cloud Composer functionality and the
    @@ -75,14 +54,12 @@ public interface SoftwareConfigOrBuilder
        * 
    * * string image_version = 1; - * * @return The bytes for imageVersion. */ - com.google.protobuf.ByteString getImageVersionBytes(); + com.google.protobuf.ByteString + getImageVersionBytes(); /** - * - * *
        * Optional. Apache Airflow configuration properties to override.
        * Property keys contain the section and property names, separated by a
    @@ -103,8 +80,6 @@ public interface SoftwareConfigOrBuilder
        */
       int getAirflowConfigOverridesCount();
       /**
    -   *
    -   *
        * 
        * Optional. Apache Airflow configuration properties to override.
        * Property keys contain the section and property names, separated by a
    @@ -123,13 +98,15 @@ public interface SoftwareConfigOrBuilder
        *
        * map<string, string> airflow_config_overrides = 2;
        */
    -  boolean containsAirflowConfigOverrides(java.lang.String key);
    -  /** Use {@link #getAirflowConfigOverridesMap()} instead. */
    +  boolean containsAirflowConfigOverrides(
    +      java.lang.String key);
    +  /**
    +   * Use {@link #getAirflowConfigOverridesMap()} instead.
    +   */
       @java.lang.Deprecated
    -  java.util.Map getAirflowConfigOverrides();
    +  java.util.Map
    +  getAirflowConfigOverrides();
       /**
    -   *
    -   *
        * 
        * Optional. Apache Airflow configuration properties to override.
        * Property keys contain the section and property names, separated by a
    @@ -148,10 +125,9 @@ public interface SoftwareConfigOrBuilder
        *
        * map<string, string> airflow_config_overrides = 2;
        */
    -  java.util.Map getAirflowConfigOverridesMap();
    +  java.util.Map
    +  getAirflowConfigOverridesMap();
       /**
    -   *
    -   *
        * 
        * Optional. Apache Airflow configuration properties to override.
        * Property keys contain the section and property names, separated by a
    @@ -172,13 +148,11 @@ public interface SoftwareConfigOrBuilder
        */
     
       /* nullable */
    -  java.lang.String getAirflowConfigOverridesOrDefault(
    +java.lang.String getAirflowConfigOverridesOrDefault(
           java.lang.String key,
           /* nullable */
    -      java.lang.String defaultValue);
    +java.lang.String defaultValue);
       /**
    -   *
    -   *
        * 
        * Optional. Apache Airflow configuration properties to override.
        * Property keys contain the section and property names, separated by a
    @@ -197,11 +171,11 @@ java.lang.String getAirflowConfigOverridesOrDefault(
        *
        * map<string, string> airflow_config_overrides = 2;
        */
    -  java.lang.String getAirflowConfigOverridesOrThrow(java.lang.String key);
    +
    +  java.lang.String getAirflowConfigOverridesOrThrow(
    +      java.lang.String key);
     
       /**
    -   *
    -   *
        * 
        * Optional. Custom Python Package Index (PyPI) packages to be installed in
        * the environment.
    @@ -216,8 +190,6 @@ java.lang.String getAirflowConfigOverridesOrDefault(
        */
       int getPypiPackagesCount();
       /**
    -   *
    -   *
        * 
        * Optional. Custom Python Package Index (PyPI) packages to be installed in
        * the environment.
    @@ -230,13 +202,15 @@ java.lang.String getAirflowConfigOverridesOrDefault(
        *
        * map<string, string> pypi_packages = 3;
        */
    -  boolean containsPypiPackages(java.lang.String key);
    -  /** Use {@link #getPypiPackagesMap()} instead. */
    +  boolean containsPypiPackages(
    +      java.lang.String key);
    +  /**
    +   * Use {@link #getPypiPackagesMap()} instead.
    +   */
       @java.lang.Deprecated
    -  java.util.Map getPypiPackages();
    +  java.util.Map
    +  getPypiPackages();
       /**
    -   *
    -   *
        * 
        * Optional. Custom Python Package Index (PyPI) packages to be installed in
        * the environment.
    @@ -249,10 +223,9 @@ java.lang.String getAirflowConfigOverridesOrDefault(
        *
        * map<string, string> pypi_packages = 3;
        */
    -  java.util.Map getPypiPackagesMap();
    +  java.util.Map
    +  getPypiPackagesMap();
       /**
    -   *
    -   *
        * 
        * Optional. Custom Python Package Index (PyPI) packages to be installed in
        * the environment.
    @@ -267,13 +240,11 @@ java.lang.String getAirflowConfigOverridesOrDefault(
        */
     
       /* nullable */
    -  java.lang.String getPypiPackagesOrDefault(
    +java.lang.String getPypiPackagesOrDefault(
           java.lang.String key,
           /* nullable */
    -      java.lang.String defaultValue);
    +java.lang.String defaultValue);
       /**
    -   *
    -   *
        * 
        * Optional. Custom Python Package Index (PyPI) packages to be installed in
        * the environment.
    @@ -286,11 +257,11 @@ java.lang.String getPypiPackagesOrDefault(
        *
        * map<string, string> pypi_packages = 3;
        */
    -  java.lang.String getPypiPackagesOrThrow(java.lang.String key);
    +
    +  java.lang.String getPypiPackagesOrThrow(
    +      java.lang.String key);
     
       /**
    -   *
    -   *
        * 
        * Optional. Additional environment variables to provide to the Apache Airflow
        * scheduler, worker, and webserver processes.
    @@ -318,8 +289,6 @@ java.lang.String getPypiPackagesOrDefault(
        */
       int getEnvVariablesCount();
       /**
    -   *
    -   *
        * 
        * Optional. Additional environment variables to provide to the Apache Airflow
        * scheduler, worker, and webserver processes.
    @@ -345,13 +314,15 @@ java.lang.String getPypiPackagesOrDefault(
        *
        * map<string, string> env_variables = 4;
        */
    -  boolean containsEnvVariables(java.lang.String key);
    -  /** Use {@link #getEnvVariablesMap()} instead. */
    +  boolean containsEnvVariables(
    +      java.lang.String key);
    +  /**
    +   * Use {@link #getEnvVariablesMap()} instead.
    +   */
       @java.lang.Deprecated
    -  java.util.Map getEnvVariables();
    +  java.util.Map
    +  getEnvVariables();
       /**
    -   *
    -   *
        * 
        * Optional. Additional environment variables to provide to the Apache Airflow
        * scheduler, worker, and webserver processes.
    @@ -377,10 +348,9 @@ java.lang.String getPypiPackagesOrDefault(
        *
        * map<string, string> env_variables = 4;
        */
    -  java.util.Map getEnvVariablesMap();
    +  java.util.Map
    +  getEnvVariablesMap();
       /**
    -   *
    -   *
        * 
        * Optional. Additional environment variables to provide to the Apache Airflow
        * scheduler, worker, and webserver processes.
    @@ -408,13 +378,11 @@ java.lang.String getPypiPackagesOrDefault(
        */
     
       /* nullable */
    -  java.lang.String getEnvVariablesOrDefault(
    +java.lang.String getEnvVariablesOrDefault(
           java.lang.String key,
           /* nullable */
    -      java.lang.String defaultValue);
    +java.lang.String defaultValue);
       /**
    -   *
    -   *
        * 
        * Optional. Additional environment variables to provide to the Apache Airflow
        * scheduler, worker, and webserver processes.
    @@ -440,11 +408,11 @@ java.lang.String getEnvVariablesOrDefault(
        *
        * map<string, string> env_variables = 4;
        */
    -  java.lang.String getEnvVariablesOrThrow(java.lang.String key);
    +
    +  java.lang.String getEnvVariablesOrThrow(
    +      java.lang.String key);
     
       /**
    -   *
    -   *
        * 
        * Optional. The major version of Python used to run the Apache Airflow
        * scheduler, worker, and webserver processes.
    @@ -453,13 +421,10 @@ java.lang.String getEnvVariablesOrDefault(
        * 
    * * string python_version = 6; - * * @return The pythonVersion. */ java.lang.String getPythonVersion(); /** - * - * *
        * Optional. The major version of Python used to run the Apache Airflow
        * scheduler, worker, and webserver processes.
    @@ -468,8 +433,8 @@ java.lang.String getEnvVariablesOrDefault(
        * 
    * * string python_version = 6; - * * @return The bytes for pythonVersion. */ - com.google.protobuf.ByteString getPythonVersionBytes(); + com.google.protobuf.ByteString + getPythonVersionBytes(); } diff --git a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/UpdateEnvironmentRequest.java b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/UpdateEnvironmentRequest.java similarity index 87% rename from proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/UpdateEnvironmentRequest.java rename to owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/UpdateEnvironmentRequest.java index 711c46b1..3454a0af 100644 --- a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/UpdateEnvironmentRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/UpdateEnvironmentRequest.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/orchestration/airflow/service/v1/environments.proto package com.google.cloud.orchestration.airflow.service.v1; /** - * - * *
      * Update an environment.
      * 
    * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest} */ -public final class UpdateEnvironmentRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateEnvironmentRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest) UpdateEnvironmentRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateEnvironmentRequest.newBuilder() to construct. private UpdateEnvironmentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateEnvironmentRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateEnvironmentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateEnvironmentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,53 +53,45 @@ private UpdateEnvironmentRequest( case 0: done = true; break; - case 10: - { - com.google.cloud.orchestration.airflow.service.v1.Environment.Builder subBuilder = - null; - if (environment_ != null) { - subBuilder = environment_.toBuilder(); - } - environment_ = - input.readMessage( - com.google.cloud.orchestration.airflow.service.v1.Environment.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(environment_); - environment_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.orchestration.airflow.service.v1.Environment.Builder subBuilder = null; + if (environment_ != null) { + subBuilder = environment_.toBuilder(); } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; + environment_ = input.readMessage(com.google.cloud.orchestration.airflow.service.v1.Environment.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(environment_); + environment_ = subBuilder.buildPartial(); } - case 26: - { - 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: { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + case 26: { + 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) { @@ -124,41 +99,35 @@ private UpdateEnvironmentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_UpdateEnvironmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_UpdateEnvironmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_UpdateEnvironmentRequest_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_UpdateEnvironmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest.class, - com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest.Builder - .class); + com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest.class, com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 2; private volatile java.lang.Object name_; /** - * - * *
        * The relative resource name of the environment to update, in the form:
        * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
        * 
    * * string name = 2; - * * @return The name. */ @java.lang.Override @@ -167,30 +136,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 relative resource name of the environment to update, in the form:
        * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
        * 
    * * string name = 2; - * * @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 { @@ -201,15 +170,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int ENVIRONMENT_FIELD_NUMBER = 1; private com.google.cloud.orchestration.airflow.service.v1.Environment environment_; /** - * - * *
        * A patch environment. Fields specified by the `updateMask` will be copied
        * from the patch environment into the environment under update.
        * 
    * * .google.cloud.orchestration.airflow.service.v1.Environment environment = 1; - * * @return Whether the environment field is set. */ @java.lang.Override @@ -217,26 +183,19 @@ public boolean hasEnvironment() { return environment_ != null; } /** - * - * *
        * A patch environment. Fields specified by the `updateMask` will be copied
        * from the patch environment into the environment under update.
        * 
    * * .google.cloud.orchestration.airflow.service.v1.Environment environment = 1; - * * @return The environment. */ @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1.Environment getEnvironment() { - return environment_ == null - ? com.google.cloud.orchestration.airflow.service.v1.Environment.getDefaultInstance() - : environment_; + return environment_ == null ? com.google.cloud.orchestration.airflow.service.v1.Environment.getDefaultInstance() : environment_; } /** - * - * *
        * A patch environment. Fields specified by the `updateMask` will be copied
        * from the patch environment into the environment under update.
    @@ -245,16 +204,13 @@ public com.google.cloud.orchestration.airflow.service.v1.Environment getEnvironm
        * .google.cloud.orchestration.airflow.service.v1.Environment environment = 1;
        */
       @java.lang.Override
    -  public com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder
    -      getEnvironmentOrBuilder() {
    +  public com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder getEnvironmentOrBuilder() {
         return getEnvironment();
       }
     
       public static final int UPDATE_MASK_FIELD_NUMBER = 3;
       private com.google.protobuf.FieldMask updateMask_;
       /**
    -   *
    -   *
        * 
        * Required. A comma-separated list of paths, relative to `Environment`, of
        * fields to update.
    @@ -363,7 +319,6 @@ public com.google.cloud.orchestration.airflow.service.v1.Environment getEnvironm
        * 
    * * .google.protobuf.FieldMask update_mask = 3; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -371,8 +326,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
        * Required. A comma-separated list of paths, relative to `Environment`, of
        * fields to update.
    @@ -481,7 +434,6 @@ public boolean hasUpdateMask() {
        * 
    * * .google.protobuf.FieldMask update_mask = 3; - * * @return The updateMask. */ @java.lang.Override @@ -489,8 +441,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
        * Required. A comma-separated list of paths, relative to `Environment`, of
        * fields to update.
    @@ -606,7 +556,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       }
     
       private byte memoizedIsInitialized = -1;
    -
       @java.lang.Override
       public final boolean isInitialized() {
         byte isInitialized = memoizedIsInitialized;
    @@ -618,7 +567,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 (environment_ != null) {
           output.writeMessage(1, getEnvironment());
         }
    @@ -638,13 +588,15 @@ public int getSerializedSize() {
     
         size = 0;
         if (environment_ != null) {
    -      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEnvironment());
    +      size += com.google.protobuf.CodedOutputStream
    +        .computeMessageSize(1, getEnvironment());
         }
         if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
           size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_);
         }
         if (updateMask_ != null) {
    -      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask());
    +      size += com.google.protobuf.CodedOutputStream
    +        .computeMessageSize(3, getUpdateMask());
         }
         size += unknownFields.getSerializedSize();
         memoizedSize = size;
    @@ -654,23 +606,24 @@ public int getSerializedSize() {
       @java.lang.Override
       public boolean equals(final java.lang.Object obj) {
         if (obj == this) {
    -      return true;
    +     return true;
         }
    -    if (!(obj
    -        instanceof com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest)) {
    +    if (!(obj instanceof com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest)) {
           return super.equals(obj);
         }
    -    com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest other =
    -        (com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest) obj;
    +    com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest other = (com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest) obj;
     
    -    if (!getName().equals(other.getName())) return false;
    +    if (!getName()
    +        .equals(other.getName())) return false;
         if (hasEnvironment() != other.hasEnvironment()) return false;
         if (hasEnvironment()) {
    -      if (!getEnvironment().equals(other.getEnvironment())) return false;
    +      if (!getEnvironment()
    +          .equals(other.getEnvironment())) 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;
    @@ -698,152 +651,135 @@ public int hashCode() {
         return hash;
       }
     
    -  public static com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest
    -      parseFrom(java.nio.ByteBuffer data)
    -          throws com.google.protobuf.InvalidProtocolBufferException {
    +  public static com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest parseFrom(
    +      java.nio.ByteBuffer data)
    +      throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
    -
    -  public static com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest
    -      parseFrom(
    -          java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    -          throws com.google.protobuf.InvalidProtocolBufferException {
    +  public static com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest parseFrom(
    +      java.nio.ByteBuffer data,
    +      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    +      throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
    -
    -  public static com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest
    -      parseFrom(com.google.protobuf.ByteString data)
    -          throws com.google.protobuf.InvalidProtocolBufferException {
    +  public static com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest parseFrom(
    +      com.google.protobuf.ByteString data)
    +      throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
    -
    -  public static com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest
    -      parseFrom(
    -          com.google.protobuf.ByteString data,
    -          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    -          throws com.google.protobuf.InvalidProtocolBufferException {
    +  public static com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest parseFrom(
    +      com.google.protobuf.ByteString data,
    +      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    +      throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
    -
    -  public static com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest
    -      parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
    +  public static com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest parseFrom(byte[] data)
    +      throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
    -
    -  public static com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest
    -      parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    -          throws com.google.protobuf.InvalidProtocolBufferException {
    +  public static com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest parseFrom(
    +      byte[] data,
    +      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    +      throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
    -
    -  public static com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest
    -      parseFrom(java.io.InputStream input) throws java.io.IOException {
    -    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
    +  public static com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest parseFrom(java.io.InputStream input)
    +      throws java.io.IOException {
    +    return com.google.protobuf.GeneratedMessageV3
    +        .parseWithIOException(PARSER, input);
       }
    -
    -  public static com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest
    -      parseFrom(
    -          java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    -          throws java.io.IOException {
    -    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
    -        PARSER, input, extensionRegistry);
    +  public static com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest parseFrom(
    +      java.io.InputStream input,
    +      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    +      throws java.io.IOException {
    +    return com.google.protobuf.GeneratedMessageV3
    +        .parseWithIOException(PARSER, input, extensionRegistry);
       }
    -
    -  public static com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest
    -      parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
    -    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
    +  public static com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest parseDelimitedFrom(java.io.InputStream input)
    +      throws java.io.IOException {
    +    return com.google.protobuf.GeneratedMessageV3
    +        .parseDelimitedWithIOException(PARSER, input);
       }
    -
    -  public static com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest
    -      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.orchestration.airflow.service.v1.UpdateEnvironmentRequest 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.orchestration.airflow.service.v1.UpdateEnvironmentRequest
    -      parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
    -    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
    +  public static com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest parseFrom(
    +      com.google.protobuf.CodedInputStream input)
    +      throws java.io.IOException {
    +    return com.google.protobuf.GeneratedMessageV3
    +        .parseWithIOException(PARSER, input);
       }
    -
    -  public static com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest
    -      parseFrom(
    -          com.google.protobuf.CodedInputStream input,
    -          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    -          throws java.io.IOException {
    -    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
    -        PARSER, input, extensionRegistry);
    +  public static com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest parseFrom(
    +      com.google.protobuf.CodedInputStream input,
    +      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    +      throws java.io.IOException {
    +    return com.google.protobuf.GeneratedMessageV3
    +        .parseWithIOException(PARSER, input, extensionRegistry);
       }
     
       @java.lang.Override
    -  public Builder newBuilderForType() {
    -    return newBuilder();
    -  }
    -
    +  public Builder newBuilderForType() { return newBuilder(); }
       public static Builder newBuilder() {
         return DEFAULT_INSTANCE.toBuilder();
       }
    -
    -  public static Builder newBuilder(
    -      com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest prototype) {
    +  public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest prototype) {
         return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
       }
    -
       @java.lang.Override
       public Builder toBuilder() {
    -    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
    +    return this == DEFAULT_INSTANCE
    +        ? new Builder() : new Builder().mergeFrom(this);
       }
     
       @java.lang.Override
    -  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    +  protected Builder newBuilderForType(
    +      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         Builder builder = new Builder(parent);
         return builder;
       }
       /**
    -   *
    -   *
        * 
        * Update an environment.
        * 
    * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest) com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_UpdateEnvironmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_UpdateEnvironmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_UpdateEnvironmentRequest_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_UpdateEnvironmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest.class, - com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest.Builder - .class); + com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest.class, com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest.Builder.class); } - // Construct using - // com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest.newBuilder() + // Construct using com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -865,22 +801,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_UpdateEnvironmentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_UpdateEnvironmentRequest_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest - getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest - .getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest.getDefaultInstance(); } @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest build() { - com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest result = - buildPartial(); + com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -888,10 +821,8 @@ public com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentReques } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest - buildPartial() { - com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest result = - new com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest(this); + public com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest buildPartial() { + com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest result = new com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest(this); result.name_ = name_; if (environmentBuilder_ == null) { result.environment_ = environment_; @@ -911,52 +842,46 @@ public com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentReques public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest) { - return mergeFrom( - (com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest) other); + if (other instanceof com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest) { + return mergeFrom((com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest other) { - if (other - == com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest other) { + if (other == com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -982,14 +907,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest parsedMessage = - null; + com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1001,21 +923,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
          * The relative resource name of the environment to update, in the form:
          * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
          * 
    * * string name = 2; - * * @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; @@ -1024,22 +944,21 @@ public java.lang.String getName() { } } /** - * - * *
          * The relative resource name of the environment to update, in the form:
          * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
          * 
    * * string name = 2; - * * @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 { @@ -1047,64 +966,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
          * The relative resource name of the environment to update, in the form:
          * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
          * 
    * * string name = 2; - * * @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 relative resource name of the environment to update, in the form:
          * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
          * 
    * * string name = 2; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
          * The relative resource name of the environment to update, in the form:
          * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
          * 
    * * string name = 2; - * * @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; @@ -1112,49 +1024,36 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.cloud.orchestration.airflow.service.v1.Environment environment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.Environment, - com.google.cloud.orchestration.airflow.service.v1.Environment.Builder, - com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder> - environmentBuilder_; + com.google.cloud.orchestration.airflow.service.v1.Environment, com.google.cloud.orchestration.airflow.service.v1.Environment.Builder, com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder> environmentBuilder_; /** - * - * *
          * A patch environment. Fields specified by the `updateMask` will be copied
          * from the patch environment into the environment under update.
          * 
    * * .google.cloud.orchestration.airflow.service.v1.Environment environment = 1; - * * @return Whether the environment field is set. */ public boolean hasEnvironment() { return environmentBuilder_ != null || environment_ != null; } /** - * - * *
          * A patch environment. Fields specified by the `updateMask` will be copied
          * from the patch environment into the environment under update.
          * 
    * * .google.cloud.orchestration.airflow.service.v1.Environment environment = 1; - * * @return The environment. */ public com.google.cloud.orchestration.airflow.service.v1.Environment getEnvironment() { if (environmentBuilder_ == null) { - return environment_ == null - ? com.google.cloud.orchestration.airflow.service.v1.Environment.getDefaultInstance() - : environment_; + return environment_ == null ? com.google.cloud.orchestration.airflow.service.v1.Environment.getDefaultInstance() : environment_; } else { return environmentBuilder_.getMessage(); } } /** - * - * *
          * A patch environment. Fields specified by the `updateMask` will be copied
          * from the patch environment into the environment under update.
    @@ -1162,8 +1061,7 @@ public com.google.cloud.orchestration.airflow.service.v1.Environment getEnvironm
          *
          * .google.cloud.orchestration.airflow.service.v1.Environment environment = 1;
          */
    -    public Builder setEnvironment(
    -        com.google.cloud.orchestration.airflow.service.v1.Environment value) {
    +    public Builder setEnvironment(com.google.cloud.orchestration.airflow.service.v1.Environment value) {
           if (environmentBuilder_ == null) {
             if (value == null) {
               throw new NullPointerException();
    @@ -1177,8 +1075,6 @@ public Builder setEnvironment(
           return this;
         }
         /**
    -     *
    -     *
          * 
          * A patch environment. Fields specified by the `updateMask` will be copied
          * from the patch environment into the environment under update.
    @@ -1198,8 +1094,6 @@ public Builder setEnvironment(
           return this;
         }
         /**
    -     *
    -     *
          * 
          * A patch environment. Fields specified by the `updateMask` will be copied
          * from the patch environment into the environment under update.
    @@ -1207,14 +1101,11 @@ public Builder setEnvironment(
          *
          * .google.cloud.orchestration.airflow.service.v1.Environment environment = 1;
          */
    -    public Builder mergeEnvironment(
    -        com.google.cloud.orchestration.airflow.service.v1.Environment value) {
    +    public Builder mergeEnvironment(com.google.cloud.orchestration.airflow.service.v1.Environment value) {
           if (environmentBuilder_ == null) {
             if (environment_ != null) {
               environment_ =
    -              com.google.cloud.orchestration.airflow.service.v1.Environment.newBuilder(environment_)
    -                  .mergeFrom(value)
    -                  .buildPartial();
    +            com.google.cloud.orchestration.airflow.service.v1.Environment.newBuilder(environment_).mergeFrom(value).buildPartial();
             } else {
               environment_ = value;
             }
    @@ -1226,8 +1117,6 @@ public Builder mergeEnvironment(
           return this;
         }
         /**
    -     *
    -     *
          * 
          * A patch environment. Fields specified by the `updateMask` will be copied
          * from the patch environment into the environment under update.
    @@ -1247,8 +1136,6 @@ public Builder clearEnvironment() {
           return this;
         }
         /**
    -     *
    -     *
          * 
          * A patch environment. Fields specified by the `updateMask` will be copied
          * from the patch environment into the environment under update.
    @@ -1256,15 +1143,12 @@ public Builder clearEnvironment() {
          *
          * .google.cloud.orchestration.airflow.service.v1.Environment environment = 1;
          */
    -    public com.google.cloud.orchestration.airflow.service.v1.Environment.Builder
    -        getEnvironmentBuilder() {
    -
    +    public com.google.cloud.orchestration.airflow.service.v1.Environment.Builder getEnvironmentBuilder() {
    +      
           onChanged();
           return getEnvironmentFieldBuilder().getBuilder();
         }
         /**
    -     *
    -     *
          * 
          * A patch environment. Fields specified by the `updateMask` will be copied
          * from the patch environment into the environment under update.
    @@ -1272,19 +1156,15 @@ public Builder clearEnvironment() {
          *
          * .google.cloud.orchestration.airflow.service.v1.Environment environment = 1;
          */
    -    public com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder
    -        getEnvironmentOrBuilder() {
    +    public com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder getEnvironmentOrBuilder() {
           if (environmentBuilder_ != null) {
             return environmentBuilder_.getMessageOrBuilder();
           } else {
    -        return environment_ == null
    -            ? com.google.cloud.orchestration.airflow.service.v1.Environment.getDefaultInstance()
    -            : environment_;
    +        return environment_ == null ?
    +            com.google.cloud.orchestration.airflow.service.v1.Environment.getDefaultInstance() : environment_;
           }
         }
         /**
    -     *
    -     *
          * 
          * A patch environment. Fields specified by the `updateMask` will be copied
          * from the patch environment into the environment under update.
    @@ -1293,17 +1173,14 @@ public Builder clearEnvironment() {
          * .google.cloud.orchestration.airflow.service.v1.Environment environment = 1;
          */
         private com.google.protobuf.SingleFieldBuilderV3<
    -            com.google.cloud.orchestration.airflow.service.v1.Environment,
    -            com.google.cloud.orchestration.airflow.service.v1.Environment.Builder,
    -            com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder>
    +        com.google.cloud.orchestration.airflow.service.v1.Environment, com.google.cloud.orchestration.airflow.service.v1.Environment.Builder, com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder> 
             getEnvironmentFieldBuilder() {
           if (environmentBuilder_ == null) {
    -        environmentBuilder_ =
    -            new com.google.protobuf.SingleFieldBuilderV3<
    -                com.google.cloud.orchestration.airflow.service.v1.Environment,
    -                com.google.cloud.orchestration.airflow.service.v1.Environment.Builder,
    -                com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder>(
    -                getEnvironment(), getParentForChildren(), isClean());
    +        environmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
    +            com.google.cloud.orchestration.airflow.service.v1.Environment, com.google.cloud.orchestration.airflow.service.v1.Environment.Builder, com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder>(
    +                getEnvironment(),
    +                getParentForChildren(),
    +                isClean());
             environment_ = null;
           }
           return environmentBuilder_;
    @@ -1311,13 +1188,8 @@ public Builder clearEnvironment() {
     
         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_;
         /**
    -     *
    -     *
          * 
          * Required. A comma-separated list of paths, relative to `Environment`, of
          * fields to update.
    @@ -1426,15 +1298,12 @@ public Builder clearEnvironment() {
          * 
    * * .google.protobuf.FieldMask update_mask = 3; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
          * Required. A comma-separated list of paths, relative to `Environment`, of
          * fields to update.
    @@ -1543,21 +1412,16 @@ public boolean hasUpdateMask() {
          * 
    * * .google.protobuf.FieldMask update_mask = 3; - * * @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(); } } /** - * - * *
          * Required. A comma-separated list of paths, relative to `Environment`, of
          * fields to update.
    @@ -1681,8 +1545,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
           return this;
         }
         /**
    -     *
    -     *
          * 
          * Required. A comma-separated list of paths, relative to `Environment`, of
          * fields to update.
    @@ -1792,7 +1654,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
          *
          * .google.protobuf.FieldMask update_mask = 3;
          */
    -    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();
    @@ -1803,8 +1666,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
           return this;
         }
         /**
    -     *
    -     *
          * 
          * Required. A comma-separated list of paths, relative to `Environment`, of
          * fields to update.
    @@ -1918,7 +1779,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;
             }
    @@ -1930,8 +1791,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
           return this;
         }
         /**
    -     *
    -     *
          * 
          * Required. A comma-separated list of paths, relative to `Environment`, of
          * fields to update.
    @@ -2053,8 +1912,6 @@ public Builder clearUpdateMask() {
           return this;
         }
         /**
    -     *
    -     *
          * 
          * Required. A comma-separated list of paths, relative to `Environment`, of
          * fields to update.
    @@ -2165,13 +2022,11 @@ public Builder clearUpdateMask() {
          * .google.protobuf.FieldMask update_mask = 3;
          */
         public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
    -
    +      
           onChanged();
           return getUpdateMaskFieldBuilder().getBuilder();
         }
         /**
    -     *
    -     *
          * 
          * Required. A comma-separated list of paths, relative to `Environment`, of
          * fields to update.
    @@ -2285,14 +2140,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_;
           }
         }
         /**
    -     *
    -     *
          * 
          * Required. A comma-separated list of paths, relative to `Environment`, of
          * fields to update.
    @@ -2403,24 +2255,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
          * .google.protobuf.FieldMask update_mask = 3;
          */
         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);
         }
     
    @@ -2430,33 +2279,30 @@ public final Builder mergeUnknownFields(
           return super.mergeUnknownFields(unknownFields);
         }
     
    +
         // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest)
       }
     
       // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest)
    -  private static final com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest
    -      DEFAULT_INSTANCE;
    -
    +  private static final com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest DEFAULT_INSTANCE;
       static {
    -    DEFAULT_INSTANCE =
    -        new com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest();
    +    DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest();
       }
     
    -  public static com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest
    -      getDefaultInstance() {
    +  public static com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest getDefaultInstance() {
         return DEFAULT_INSTANCE;
       }
     
    -  private static final com.google.protobuf.Parser PARSER =
    -      new com.google.protobuf.AbstractParser() {
    -        @java.lang.Override
    -        public UpdateEnvironmentRequest parsePartialFrom(
    -            com.google.protobuf.CodedInputStream input,
    -            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    -            throws com.google.protobuf.InvalidProtocolBufferException {
    -          return new UpdateEnvironmentRequest(input, extensionRegistry);
    -        }
    -      };
    +  private static final com.google.protobuf.Parser
    +      PARSER = new com.google.protobuf.AbstractParser() {
    +    @java.lang.Override
    +    public UpdateEnvironmentRequest parsePartialFrom(
    +        com.google.protobuf.CodedInputStream input,
    +        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    +        throws com.google.protobuf.InvalidProtocolBufferException {
    +      return new UpdateEnvironmentRequest(input, extensionRegistry);
    +    }
    +  };
     
       public static com.google.protobuf.Parser parser() {
         return PARSER;
    @@ -2468,8 +2314,9 @@ public com.google.protobuf.Parser getParserForType() {
       }
     
       @java.lang.Override
    -  public com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest
    -      getDefaultInstanceForType() {
    +  public com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest getDefaultInstanceForType() {
         return DEFAULT_INSTANCE;
       }
    +
     }
    +
    diff --git a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/UpdateEnvironmentRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/UpdateEnvironmentRequestOrBuilder.java
    similarity index 95%
    rename from proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/UpdateEnvironmentRequestOrBuilder.java
    rename to owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/UpdateEnvironmentRequestOrBuilder.java
    index 944fecf6..39848b75 100644
    --- a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/UpdateEnvironmentRequestOrBuilder.java
    +++ b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/UpdateEnvironmentRequestOrBuilder.java
    @@ -1,84 +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/orchestration/airflow/service/v1/environments.proto
     
     package com.google.cloud.orchestration.airflow.service.v1;
     
    -public interface UpdateEnvironmentRequestOrBuilder
    -    extends
    +public interface UpdateEnvironmentRequestOrBuilder extends
         // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest)
         com.google.protobuf.MessageOrBuilder {
     
       /**
    -   *
    -   *
        * 
        * The relative resource name of the environment to update, in the form:
        * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
        * 
    * * string name = 2; - * * @return The name. */ java.lang.String getName(); /** - * - * *
        * The relative resource name of the environment to update, in the form:
        * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
        * 
    * * string name = 2; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
        * A patch environment. Fields specified by the `updateMask` will be copied
        * from the patch environment into the environment under update.
        * 
    * * .google.cloud.orchestration.airflow.service.v1.Environment environment = 1; - * * @return Whether the environment field is set. */ boolean hasEnvironment(); /** - * - * *
        * A patch environment. Fields specified by the `updateMask` will be copied
        * from the patch environment into the environment under update.
        * 
    * * .google.cloud.orchestration.airflow.service.v1.Environment environment = 1; - * * @return The environment. */ com.google.cloud.orchestration.airflow.service.v1.Environment getEnvironment(); /** - * - * *
        * A patch environment. Fields specified by the `updateMask` will be copied
        * from the patch environment into the environment under update.
    @@ -89,8 +60,6 @@ public interface UpdateEnvironmentRequestOrBuilder
       com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder getEnvironmentOrBuilder();
     
       /**
    -   *
    -   *
        * 
        * Required. A comma-separated list of paths, relative to `Environment`, of
        * fields to update.
    @@ -199,13 +168,10 @@ public interface UpdateEnvironmentRequestOrBuilder
        * 
    * * .google.protobuf.FieldMask update_mask = 3; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
        * Required. A comma-separated list of paths, relative to `Environment`, of
        * fields to update.
    @@ -314,13 +280,10 @@ public interface UpdateEnvironmentRequestOrBuilder
        * 
    * * .google.protobuf.FieldMask update_mask = 3; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
        * Required. A comma-separated list of paths, relative to `Environment`, of
        * fields to update.
    diff --git a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/WebServerConfig.java b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/WebServerConfig.java
    similarity index 69%
    rename from proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/WebServerConfig.java
    rename to owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/WebServerConfig.java
    index edb64025..ef1bd7e6 100644
    --- a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/WebServerConfig.java
    +++ b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/WebServerConfig.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/orchestration/airflow/service/v1/environments.proto
     
     package com.google.cloud.orchestration.airflow.service.v1;
     
     /**
    - *
    - *
      * 
      * The configuration settings for the Airflow web server App Engine instance.
      * 
    * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.WebServerConfig} */ -public final class WebServerConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class WebServerConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1.WebServerConfig) WebServerConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use WebServerConfig.newBuilder() to construct. private WebServerConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private WebServerConfig() { machineType_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new WebServerConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private WebServerConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private WebServerConfig( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - machineType_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + machineType_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,33 +73,29 @@ private WebServerConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_WebServerConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_WebServerConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_WebServerConfig_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_WebServerConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.class, - com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.Builder.class); + com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.class, com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.Builder.class); } public static final int MACHINE_TYPE_FIELD_NUMBER = 1; private volatile java.lang.Object machineType_; /** - * - * *
        * Optional. Machine type on which Airflow web server is running.
        * It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or
    @@ -128,7 +106,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        * 
    * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The machineType. */ @java.lang.Override @@ -137,15 +114,14 @@ public java.lang.String getMachineType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); machineType_ = s; return s; } } /** - * - * *
        * Optional. Machine type on which Airflow web server is running.
        * It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or
    @@ -156,15 +132,16 @@ public java.lang.String getMachineType() {
        * 
    * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for machineType. */ @java.lang.Override - public com.google.protobuf.ByteString getMachineTypeBytes() { + public com.google.protobuf.ByteString + getMachineTypeBytes() { java.lang.Object ref = machineType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); machineType_ = b; return b; } else { @@ -173,7 +150,6 @@ public com.google.protobuf.ByteString getMachineTypeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -185,7 +161,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(machineType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, machineType_); } @@ -209,15 +186,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.orchestration.airflow.service.v1.WebServerConfig)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1.WebServerConfig other = - (com.google.cloud.orchestration.airflow.service.v1.WebServerConfig) obj; + com.google.cloud.orchestration.airflow.service.v1.WebServerConfig other = (com.google.cloud.orchestration.airflow.service.v1.WebServerConfig) obj; - if (!getMachineType().equals(other.getMachineType())) return false; + if (!getMachineType() + .equals(other.getMachineType())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -237,145 +214,134 @@ public int hashCode() { } public static com.google.cloud.orchestration.airflow.service.v1.WebServerConfig 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.orchestration.airflow.service.v1.WebServerConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.WebServerConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1.WebServerConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1.WebServerConfig parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1.WebServerConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1.WebServerConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1.WebServerConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1.WebServerConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1.WebServerConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1.WebServerConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1.WebServerConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1.WebServerConfig - 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.orchestration.airflow.service.v1.WebServerConfig 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.orchestration.airflow.service.v1.WebServerConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1.WebServerConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.orchestration.airflow.service.v1.WebServerConfig prototype) { + public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1.WebServerConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 configuration settings for the Airflow web server App Engine instance.
        * 
    * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.WebServerConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1.WebServerConfig) com.google.cloud.orchestration.airflow.service.v1.WebServerConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_WebServerConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_WebServerConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_WebServerConfig_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_WebServerConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.class, - com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.Builder.class); + com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.class, com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.Builder.class); } - // Construct using - // com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.newBuilder() + // Construct using com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -385,14 +351,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_WebServerConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_WebServerConfig_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.WebServerConfig - getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1.WebServerConfig getDefaultInstanceForType() { return com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.getDefaultInstance(); } @@ -407,8 +372,7 @@ public com.google.cloud.orchestration.airflow.service.v1.WebServerConfig build() @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1.WebServerConfig buildPartial() { - com.google.cloud.orchestration.airflow.service.v1.WebServerConfig result = - new com.google.cloud.orchestration.airflow.service.v1.WebServerConfig(this); + com.google.cloud.orchestration.airflow.service.v1.WebServerConfig result = new com.google.cloud.orchestration.airflow.service.v1.WebServerConfig(this); result.machineType_ = machineType_; onBuilt(); return result; @@ -418,50 +382,46 @@ public com.google.cloud.orchestration.airflow.service.v1.WebServerConfig 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.orchestration.airflow.service.v1.WebServerConfig) { - return mergeFrom((com.google.cloud.orchestration.airflow.service.v1.WebServerConfig) other); + return mergeFrom((com.google.cloud.orchestration.airflow.service.v1.WebServerConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.orchestration.airflow.service.v1.WebServerConfig other) { - if (other - == com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1.WebServerConfig other) { + if (other == com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.getDefaultInstance()) return this; if (!other.getMachineType().isEmpty()) { machineType_ = other.machineType_; onChanged(); @@ -485,9 +445,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.orchestration.airflow.service.v1.WebServerConfig) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.orchestration.airflow.service.v1.WebServerConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -499,8 +457,6 @@ public Builder mergeFrom( private java.lang.Object machineType_ = ""; /** - * - * *
          * Optional. Machine type on which Airflow web server is running.
          * It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or
    @@ -511,13 +467,13 @@ public Builder mergeFrom(
          * 
    * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The machineType. */ public java.lang.String getMachineType() { java.lang.Object ref = machineType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); machineType_ = s; return s; @@ -526,8 +482,6 @@ public java.lang.String getMachineType() { } } /** - * - * *
          * Optional. Machine type on which Airflow web server is running.
          * It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or
    @@ -538,14 +492,15 @@ public java.lang.String getMachineType() {
          * 
    * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for machineType. */ - public com.google.protobuf.ByteString getMachineTypeBytes() { + public com.google.protobuf.ByteString + getMachineTypeBytes() { java.lang.Object ref = machineType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); machineType_ = b; return b; } else { @@ -553,8 +508,6 @@ public com.google.protobuf.ByteString getMachineTypeBytes() { } } /** - * - * *
          * Optional. Machine type on which Airflow web server is running.
          * It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or
    @@ -565,22 +518,20 @@ public com.google.protobuf.ByteString getMachineTypeBytes() {
          * 
    * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The machineType to set. * @return This builder for chaining. */ - public Builder setMachineType(java.lang.String value) { + public Builder setMachineType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + machineType_ = value; onChanged(); return this; } /** - * - * *
          * Optional. Machine type on which Airflow web server is running.
          * It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or
    @@ -591,18 +542,15 @@ public Builder setMachineType(java.lang.String value) {
          * 
    * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearMachineType() { - + machineType_ = getDefaultInstance().getMachineType(); onChanged(); return this; } /** - * - * *
          * Optional. Machine type on which Airflow web server is running.
          * It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or
    @@ -613,23 +561,23 @@ public Builder clearMachineType() {
          * 
    * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for machineType to set. * @return This builder for chaining. */ - public Builder setMachineTypeBytes(com.google.protobuf.ByteString value) { + public Builder setMachineTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + machineType_ = 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); } @@ -639,32 +587,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1.WebServerConfig) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1.WebServerConfig) - private static final com.google.cloud.orchestration.airflow.service.v1.WebServerConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.orchestration.airflow.service.v1.WebServerConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1.WebServerConfig(); } - public static com.google.cloud.orchestration.airflow.service.v1.WebServerConfig - getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1.WebServerConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WebServerConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WebServerConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WebServerConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WebServerConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -676,8 +622,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.WebServerConfig - getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1.WebServerConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/WebServerConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/WebServerConfigOrBuilder.java similarity index 66% rename from proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/WebServerConfigOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/WebServerConfigOrBuilder.java index 88067c39..d8439570 100644 --- a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/WebServerConfigOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/WebServerConfigOrBuilder.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/orchestration/airflow/service/v1/environments.proto package com.google.cloud.orchestration.airflow.service.v1; -public interface WebServerConfigOrBuilder - extends +public interface WebServerConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1.WebServerConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * Optional. Machine type on which Airflow web server is running.
        * It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or
    @@ -36,13 +18,10 @@ public interface WebServerConfigOrBuilder
        * 
    * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The machineType. */ java.lang.String getMachineType(); /** - * - * *
        * Optional. Machine type on which Airflow web server is running.
        * It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or
    @@ -53,8 +32,8 @@ public interface WebServerConfigOrBuilder
        * 
    * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for machineType. */ - com.google.protobuf.ByteString getMachineTypeBytes(); + com.google.protobuf.ByteString + getMachineTypeBytes(); } diff --git a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/WebServerNetworkAccessControl.java b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/WebServerNetworkAccessControl.java similarity index 58% rename from proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/WebServerNetworkAccessControl.java rename to owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/WebServerNetworkAccessControl.java index 00b6602e..673779e5 100644 --- a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/WebServerNetworkAccessControl.java +++ b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/WebServerNetworkAccessControl.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/orchestration/airflow/service/v1/environments.proto package com.google.cloud.orchestration.airflow.service.v1; /** - * - * *
      * Network-level access control policy for the Airflow web server.
      * 
    * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl} */ -public final class WebServerNetworkAccessControl extends com.google.protobuf.GeneratedMessageV3 - implements +public final class WebServerNetworkAccessControl extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl) WebServerNetworkAccessControlOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use WebServerNetworkAccessControl.newBuilder() to construct. private WebServerNetworkAccessControl(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private WebServerNetworkAccessControl() { allowedIpRanges_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new WebServerNetworkAccessControl(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private WebServerNetworkAccessControl( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,29 +54,22 @@ private WebServerNetworkAccessControl( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - allowedIpRanges_ = - new java.util.ArrayList< - com.google.cloud.orchestration.airflow.service.v1 - .WebServerNetworkAccessControl.AllowedIpRange>(); - mutable_bitField0_ |= 0x00000001; - } - allowedIpRanges_.add( - input.readMessage( - com.google.cloud.orchestration.airflow.service.v1 - .WebServerNetworkAccessControl.AllowedIpRange.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + allowedIpRanges_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + allowedIpRanges_.add( + input.readMessage(com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -101,7 +77,8 @@ private WebServerNetworkAccessControl( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { allowedIpRanges_ = java.util.Collections.unmodifiableList(allowedIpRanges_); @@ -110,31 +87,24 @@ private WebServerNetworkAccessControl( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.class, - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.Builder - .class); + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.class, com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.Builder.class); } - public interface AllowedIpRangeOrBuilder - extends + public interface AllowedIpRangeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange) com.google.protobuf.MessageOrBuilder { /** - * - * *
          * IP address or range, defined using CIDR notation, of requests that this
          * rule applies to.
    @@ -146,13 +116,10 @@ public interface AllowedIpRangeOrBuilder
          * 
    * * string value = 1; - * * @return The value. */ java.lang.String getValue(); /** - * - * *
          * IP address or range, defined using CIDR notation, of requests that this
          * rule applies to.
    @@ -164,56 +131,47 @@ public interface AllowedIpRangeOrBuilder
          * 
    * * string value = 1; - * * @return The bytes for value. */ - com.google.protobuf.ByteString getValueBytes(); + com.google.protobuf.ByteString + getValueBytes(); /** - * - * *
          * Optional. User-provided description. It must contain at most 300 characters.
          * 
    * * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
          * Optional. User-provided description. It must contain at most 300 characters.
          * 
    * * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); } /** - * - * *
        * Allowed IP range with user-provided description.
        * 
    * - * Protobuf type {@code - * google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange} + * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange} */ - public static final class AllowedIpRange extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class AllowedIpRange extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange) AllowedIpRangeOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AllowedIpRange.newBuilder() to construct. private AllowedIpRange(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AllowedIpRange() { value_ = ""; description_ = ""; @@ -221,15 +179,16 @@ private AllowedIpRange() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AllowedIpRange(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AllowedIpRange( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -248,27 +207,25 @@ private AllowedIpRange( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - value_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + value_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + description_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -276,35 +233,29 @@ private AllowedIpRange( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_AllowedIpRange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_AllowedIpRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_AllowedIpRange_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_AllowedIpRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRange.class, - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRange.Builder.class); + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange.class, com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange.Builder.class); } public static final int VALUE_FIELD_NUMBER = 1; private volatile java.lang.Object value_; /** - * - * *
          * IP address or range, defined using CIDR notation, of requests that this
          * rule applies to.
    @@ -316,7 +267,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
          * 
    * * string value = 1; - * * @return The value. */ @java.lang.Override @@ -325,15 +275,14 @@ public java.lang.String getValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); value_ = s; return s; } } /** - * - * *
          * IP address or range, defined using CIDR notation, of requests that this
          * rule applies to.
    @@ -345,15 +294,16 @@ public java.lang.String getValue() {
          * 
    * * string value = 1; - * * @return The bytes for value. */ @java.lang.Override - public com.google.protobuf.ByteString getValueBytes() { + public com.google.protobuf.ByteString + getValueBytes() { java.lang.Object ref = value_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); value_ = b; return b; } else { @@ -364,14 +314,11 @@ public com.google.protobuf.ByteString getValueBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** - * - * *
          * Optional. User-provided description. It must contain at most 300 characters.
          * 
    * * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ @java.lang.Override @@ -380,29 +327,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. User-provided description. It must contain at most 300 characters.
          * 
    * * string description = 2 [(.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 { @@ -411,7 +358,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -423,7 +369,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, value_); } @@ -453,22 +400,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.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRange)) { + if (!(obj instanceof com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange - other = - (com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRange) - obj; + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange other = (com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange) obj; - if (!getValue().equals(other.getValue())) return false; - if (!getDescription().equals(other.getDescription())) return false; + if (!getValue() + .equals(other.getValue())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -489,115 +431,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRange - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRange - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRange - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRange - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRange - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRange - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRange - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRange - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRange - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRange - 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.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange 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.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRange - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRange - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRange - prototype) { + public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -607,53 +522,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
          * Allowed IP range with user-provided description.
          * 
    * - * Protobuf type {@code - * google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange} + * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange) - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRangeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_AllowedIpRange_descriptor; + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRangeOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_AllowedIpRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_AllowedIpRange_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_AllowedIpRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRange.class, - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRange.Builder.class); + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange.class, com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange.Builder.class); } - // Construct using - // com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange.newBuilder() + // Construct using com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -665,26 +571,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_AllowedIpRange_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_AllowedIpRange_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRange - getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRange.getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRange - build() { - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRange - result = buildPartial(); + public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange build() { + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -692,14 +591,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRange - buildPartial() { - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRange - result = - new com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRange(this); + public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange buildPartial() { + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange result = new com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange(this); result.value_ = value_; result.description_ = description_; onBuilt(); @@ -710,60 +603,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRange) { - return mergeFrom( - (com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRange) - other); + if (other instanceof com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange) { + return mergeFrom((com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRange - other) { - if (other - == com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRange.getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange other) { + if (other == com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange.getDefaultInstance()) return this; if (!other.getValue().isEmpty()) { value_ = other.value_; onChanged(); @@ -787,16 +666,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRange - parsedMessage = null; + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRange) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -808,8 +682,6 @@ public Builder mergeFrom( private java.lang.Object value_ = ""; /** - * - * *
            * IP address or range, defined using CIDR notation, of requests that this
            * rule applies to.
    @@ -821,13 +693,13 @@ public Builder mergeFrom(
            * 
    * * string value = 1; - * * @return The value. */ public java.lang.String getValue() { java.lang.Object ref = value_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); value_ = s; return s; @@ -836,8 +708,6 @@ public java.lang.String getValue() { } } /** - * - * *
            * IP address or range, defined using CIDR notation, of requests that this
            * rule applies to.
    @@ -849,14 +719,15 @@ public java.lang.String getValue() {
            * 
    * * string value = 1; - * * @return The bytes for value. */ - public com.google.protobuf.ByteString getValueBytes() { + public com.google.protobuf.ByteString + getValueBytes() { java.lang.Object ref = value_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); value_ = b; return b; } else { @@ -864,8 +735,6 @@ public com.google.protobuf.ByteString getValueBytes() { } } /** - * - * *
            * IP address or range, defined using CIDR notation, of requests that this
            * rule applies to.
    @@ -877,22 +746,20 @@ public com.google.protobuf.ByteString getValueBytes() {
            * 
    * * string value = 1; - * * @param value The value to set. * @return This builder for chaining. */ - public Builder setValue(java.lang.String value) { + public Builder setValue( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + value_ = value; onChanged(); return this; } /** - * - * *
            * IP address or range, defined using CIDR notation, of requests that this
            * rule applies to.
    @@ -904,18 +771,15 @@ public Builder setValue(java.lang.String value) {
            * 
    * * string value = 1; - * * @return This builder for chaining. */ public Builder clearValue() { - + value_ = getDefaultInstance().getValue(); onChanged(); return this; } /** - * - * *
            * IP address or range, defined using CIDR notation, of requests that this
            * rule applies to.
    @@ -927,16 +791,16 @@ public Builder clearValue() {
            * 
    * * string value = 1; - * * @param value The bytes for value to set. * @return This builder for chaining. */ - public Builder setValueBytes(com.google.protobuf.ByteString value) { + public Builder setValueBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + value_ = value; onChanged(); return this; @@ -944,20 +808,18 @@ public Builder setValueBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
            * Optional. User-provided description. It must contain at most 300 characters.
            * 
    * * string description = 2 [(.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; @@ -966,21 +828,20 @@ public java.lang.String getDescription() { } } /** - * - * *
            * Optional. User-provided description. It must contain at most 300 characters.
            * 
    * * string description = 2 [(.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 { @@ -988,66 +849,58 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
            * Optional. User-provided description. It must contain at most 300 characters.
            * 
    * * string description = 2 [(.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. User-provided description. It must contain at most 300 characters.
            * 
    * * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
            * Optional. User-provided description. It must contain at most 300 characters.
            * 
    * * string description = 2 [(.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; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1060,36 +913,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange) - private static final com.google.cloud.orchestration.airflow.service.v1 - .WebServerNetworkAccessControl.AllowedIpRange - DEFAULT_INSTANCE; - + private static final com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRange(); + DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange(); } - public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRange - getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AllowedIpRange parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AllowedIpRange(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AllowedIpRange parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AllowedIpRange(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1101,107 +948,73 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRange - getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int ALLOWED_IP_RANGES_FIELD_NUMBER = 1; - private java.util.List< - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRange> - allowedIpRanges_; + private java.util.List allowedIpRanges_; /** - * - * *
        * A collection of allowed IP ranges with descriptions.
        * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; */ @java.lang.Override - public java.util.List< - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRange> - getAllowedIpRangesList() { + public java.util.List getAllowedIpRangesList() { return allowedIpRanges_; } /** - * - * *
        * A collection of allowed IP ranges with descriptions.
        * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; */ @java.lang.Override - public java.util.List< - ? extends - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRangeOrBuilder> + public java.util.List getAllowedIpRangesOrBuilderList() { return allowedIpRanges_; } /** - * - * *
        * A collection of allowed IP ranges with descriptions.
        * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; */ @java.lang.Override public int getAllowedIpRangesCount() { return allowedIpRanges_.size(); } /** - * - * *
        * A collection of allowed IP ranges with descriptions.
        * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRange - getAllowedIpRanges(int index) { + public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange getAllowedIpRanges(int index) { return allowedIpRanges_.get(index); } /** - * - * *
        * A collection of allowed IP ranges with descriptions.
        * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRangeOrBuilder - getAllowedIpRangesOrBuilder(int index) { + public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRangeOrBuilder getAllowedIpRangesOrBuilder( + int index) { return allowedIpRanges_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1213,7 +1026,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 < allowedIpRanges_.size(); i++) { output.writeMessage(1, allowedIpRanges_.get(i)); } @@ -1227,7 +1041,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < allowedIpRanges_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, allowedIpRanges_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, allowedIpRanges_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1237,17 +1052,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.orchestration.airflow.service.v1.WebServerNetworkAccessControl)) { + if (!(obj instanceof com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl other = - (com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl) obj; + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl other = (com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl) obj; - if (!getAllowedIpRangesList().equals(other.getAllowedIpRangesList())) return false; + if (!getAllowedIpRangesList() + .equals(other.getAllowedIpRangesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1268,155 +1081,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - 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.orchestration.airflow.service.v1.WebServerNetworkAccessControl 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.orchestration.airflow.service.v1.WebServerNetworkAccessControl - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl prototype) { + public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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-level access control policy for the Airflow web server.
        * 
    * - * Protobuf type {@code - * google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl} + * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl) com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControlOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.class, - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .Builder.class); + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.class, com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.Builder.class); } - // Construct using - // com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.newBuilder() + // Construct using com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.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) { getAllowedIpRangesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1430,22 +1224,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.getDefaultInstance(); } @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl build() { - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl result = - buildPartial(); + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1453,10 +1244,8 @@ public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessC } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - buildPartial() { - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl result = - new com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl(this); + public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl buildPartial() { + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl result = new com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl(this); int from_bitField0_ = bitField0_; if (allowedIpRangesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -1475,54 +1264,46 @@ public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessC public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl) { - return mergeFrom( - (com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl) - other); + if (other instanceof com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl) { + return mergeFrom((com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl other) { - if (other - == com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl other) { + if (other == com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.getDefaultInstance()) return this; if (allowedIpRangesBuilder_ == null) { if (!other.allowedIpRanges_.isEmpty()) { if (allowedIpRanges_.isEmpty()) { @@ -1541,10 +1322,9 @@ public Builder mergeFrom( allowedIpRangesBuilder_ = null; allowedIpRanges_ = other.allowedIpRanges_; bitField0_ = (bitField0_ & ~0x00000001); - allowedIpRangesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAllowedIpRangesFieldBuilder() - : null; + allowedIpRangesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAllowedIpRangesFieldBuilder() : null; } else { allowedIpRangesBuilder_.addAllMessages(other.allowedIpRanges_); } @@ -1565,14 +1345,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - parsedMessage = null; + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1581,48 +1358,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private java.util.List< - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRange> - allowedIpRanges_ = java.util.Collections.emptyList(); - + private java.util.List allowedIpRanges_ = + java.util.Collections.emptyList(); private void ensureAllowedIpRangesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - allowedIpRanges_ = - new java.util.ArrayList< - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRange>(allowedIpRanges_); + allowedIpRanges_ = new java.util.ArrayList(allowedIpRanges_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRange, - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRange.Builder, - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRangeOrBuilder> - allowedIpRangesBuilder_; + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange, com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange.Builder, com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRangeOrBuilder> allowedIpRangesBuilder_; /** - * - * *
          * A collection of allowed IP ranges with descriptions.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; */ - public java.util.List< - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRange> - getAllowedIpRangesList() { + public java.util.List getAllowedIpRangesList() { if (allowedIpRangesBuilder_ == null) { return java.util.Collections.unmodifiableList(allowedIpRanges_); } else { @@ -1630,15 +1387,11 @@ private void ensureAllowedIpRangesIsMutable() { } } /** - * - * *
          * A collection of allowed IP ranges with descriptions.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; */ public int getAllowedIpRangesCount() { if (allowedIpRangesBuilder_ == null) { @@ -1648,19 +1401,13 @@ public int getAllowedIpRangesCount() { } } /** - * - * *
          * A collection of allowed IP ranges with descriptions.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; */ - public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRange - getAllowedIpRanges(int index) { + public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange getAllowedIpRanges(int index) { if (allowedIpRangesBuilder_ == null) { return allowedIpRanges_.get(index); } else { @@ -1668,21 +1415,14 @@ public int getAllowedIpRangesCount() { } } /** - * - * *
          * A collection of allowed IP ranges with descriptions.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; */ public Builder setAllowedIpRanges( - int index, - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRange - value) { + int index, com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange value) { if (allowedIpRangesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1696,21 +1436,14 @@ public Builder setAllowedIpRanges( return this; } /** - * - * *
          * A collection of allowed IP ranges with descriptions.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; */ public Builder setAllowedIpRanges( - int index, - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRange.Builder - builderForValue) { + int index, com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange.Builder builderForValue) { if (allowedIpRangesBuilder_ == null) { ensureAllowedIpRangesIsMutable(); allowedIpRanges_.set(index, builderForValue.build()); @@ -1721,20 +1454,13 @@ public Builder setAllowedIpRanges( return this; } /** - * - * *
          * A collection of allowed IP ranges with descriptions.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; */ - public Builder addAllowedIpRanges( - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRange - value) { + public Builder addAllowedIpRanges(com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange value) { if (allowedIpRangesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1748,21 +1474,14 @@ public Builder addAllowedIpRanges( return this; } /** - * - * *
          * A collection of allowed IP ranges with descriptions.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; */ public Builder addAllowedIpRanges( - int index, - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRange - value) { + int index, com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange value) { if (allowedIpRangesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1776,20 +1495,14 @@ public Builder addAllowedIpRanges( return this; } /** - * - * *
          * A collection of allowed IP ranges with descriptions.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; */ public Builder addAllowedIpRanges( - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRange.Builder - builderForValue) { + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange.Builder builderForValue) { if (allowedIpRangesBuilder_ == null) { ensureAllowedIpRangesIsMutable(); allowedIpRanges_.add(builderForValue.build()); @@ -1800,21 +1513,14 @@ public Builder addAllowedIpRanges( return this; } /** - * - * *
          * A collection of allowed IP ranges with descriptions.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; */ public Builder addAllowedIpRanges( - int index, - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRange.Builder - builderForValue) { + int index, com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange.Builder builderForValue) { if (allowedIpRangesBuilder_ == null) { ensureAllowedIpRangesIsMutable(); allowedIpRanges_.add(index, builderForValue.build()); @@ -1825,25 +1531,18 @@ public Builder addAllowedIpRanges( return this; } /** - * - * *
          * A collection of allowed IP ranges with descriptions.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; */ public Builder addAllAllowedIpRanges( - java.lang.Iterable< - ? extends - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRange> - values) { + java.lang.Iterable values) { if (allowedIpRangesBuilder_ == null) { ensureAllowedIpRangesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, allowedIpRanges_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, allowedIpRanges_); onChanged(); } else { allowedIpRangesBuilder_.addAllMessages(values); @@ -1851,15 +1550,11 @@ public Builder addAllAllowedIpRanges( return this; } /** - * - * *
          * A collection of allowed IP ranges with descriptions.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; */ public Builder clearAllowedIpRanges() { if (allowedIpRangesBuilder_ == null) { @@ -1872,15 +1567,11 @@ public Builder clearAllowedIpRanges() { return this; } /** - * - * *
          * A collection of allowed IP ranges with descriptions.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; */ public Builder removeAllowedIpRanges(int index) { if (allowedIpRangesBuilder_ == null) { @@ -1893,57 +1584,39 @@ public Builder removeAllowedIpRanges(int index) { return this; } /** - * - * *
          * A collection of allowed IP ranges with descriptions.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; */ - public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRange.Builder - getAllowedIpRangesBuilder(int index) { + public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange.Builder getAllowedIpRangesBuilder( + int index) { return getAllowedIpRangesFieldBuilder().getBuilder(index); } /** - * - * *
          * A collection of allowed IP ranges with descriptions.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; */ - public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRangeOrBuilder - getAllowedIpRangesOrBuilder(int index) { + public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRangeOrBuilder getAllowedIpRangesOrBuilder( + int index) { if (allowedIpRangesBuilder_ == null) { - return allowedIpRanges_.get(index); - } else { + return allowedIpRanges_.get(index); } else { return allowedIpRangesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
          * A collection of allowed IP ranges with descriptions.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; */ - public java.util.List< - ? extends - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRangeOrBuilder> - getAllowedIpRangesOrBuilderList() { + public java.util.List + getAllowedIpRangesOrBuilderList() { if (allowedIpRangesBuilder_ != null) { return allowedIpRangesBuilder_.getMessageOrBuilderList(); } else { @@ -1951,79 +1624,45 @@ public Builder removeAllowedIpRanges(int index) { } } /** - * - * *
          * A collection of allowed IP ranges with descriptions.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; */ - public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRange.Builder - addAllowedIpRangesBuilder() { - return getAllowedIpRangesFieldBuilder() - .addBuilder( - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRange.getDefaultInstance()); + public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange.Builder addAllowedIpRangesBuilder() { + return getAllowedIpRangesFieldBuilder().addBuilder( + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange.getDefaultInstance()); } /** - * - * *
          * A collection of allowed IP ranges with descriptions.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; */ - public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRange.Builder - addAllowedIpRangesBuilder(int index) { - return getAllowedIpRangesFieldBuilder() - .addBuilder( - index, - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRange.getDefaultInstance()); + public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange.Builder addAllowedIpRangesBuilder( + int index) { + return getAllowedIpRangesFieldBuilder().addBuilder( + index, com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange.getDefaultInstance()); } /** - * - * *
          * A collection of allowed IP ranges with descriptions.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; */ - public java.util.List< - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRange.Builder> - getAllowedIpRangesBuilderList() { + public java.util.List + getAllowedIpRangesBuilderList() { return getAllowedIpRangesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRange, - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRange.Builder, - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRangeOrBuilder> + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange, com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange.Builder, com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRangeOrBuilder> getAllowedIpRangesFieldBuilder() { if (allowedIpRangesBuilder_ == null) { - allowedIpRangesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRange, - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRange.Builder, - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRangeOrBuilder>( + allowedIpRangesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange, com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange.Builder, com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRangeOrBuilder>( allowedIpRanges_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -2032,9 +1671,9 @@ public Builder removeAllowedIpRanges(int index) { } return allowedIpRangesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2044,34 +1683,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl) - private static final com.google.cloud.orchestration.airflow.service.v1 - .WebServerNetworkAccessControl - DEFAULT_INSTANCE; - + private static final com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl(); + DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl(); } - public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WebServerNetworkAccessControl parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WebServerNetworkAccessControl(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WebServerNetworkAccessControl parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WebServerNetworkAccessControl(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2083,8 +1718,9 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/WebServerNetworkAccessControlOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/WebServerNetworkAccessControlOrBuilder.java new file mode 100644 index 00000000..863cad6c --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/WebServerNetworkAccessControlOrBuilder.java @@ -0,0 +1,53 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/orchestration/airflow/service/v1/environments.proto + +package com.google.cloud.orchestration.airflow.service.v1; + +public interface WebServerNetworkAccessControlOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl) + com.google.protobuf.MessageOrBuilder { + + /** + *
    +   * A collection of allowed IP ranges with descriptions.
    +   * 
    + * + * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + */ + java.util.List + getAllowedIpRangesList(); + /** + *
    +   * A collection of allowed IP ranges with descriptions.
    +   * 
    + * + * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + */ + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange getAllowedIpRanges(int index); + /** + *
    +   * A collection of allowed IP ranges with descriptions.
    +   * 
    + * + * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + */ + int getAllowedIpRangesCount(); + /** + *
    +   * A collection of allowed IP ranges with descriptions.
    +   * 
    + * + * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + */ + java.util.List + getAllowedIpRangesOrBuilderList(); + /** + *
    +   * A collection of allowed IP ranges with descriptions.
    +   * 
    + * + * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + */ + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRangeOrBuilder getAllowedIpRangesOrBuilder( + int index); +} diff --git a/proto-google-cloud-orchestration-airflow-v1/src/main/proto/google/cloud/orchestration/airflow/service/v1/environments.proto b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/proto/google/cloud/orchestration/airflow/service/v1/environments.proto similarity index 100% rename from proto-google-cloud-orchestration-airflow-v1/src/main/proto/google/cloud/orchestration/airflow/service/v1/environments.proto rename to owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/proto/google/cloud/orchestration/airflow/service/v1/environments.proto diff --git a/proto-google-cloud-orchestration-airflow-v1/src/main/proto/google/cloud/orchestration/airflow/service/v1/image_versions.proto b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/proto/google/cloud/orchestration/airflow/service/v1/image_versions.proto similarity index 100% rename from proto-google-cloud-orchestration-airflow-v1/src/main/proto/google/cloud/orchestration/airflow/service/v1/image_versions.proto rename to owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/proto/google/cloud/orchestration/airflow/service/v1/image_versions.proto diff --git a/proto-google-cloud-orchestration-airflow-v1/src/main/proto/google/cloud/orchestration/airflow/service/v1/operations.proto b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/proto/google/cloud/orchestration/airflow/service/v1/operations.proto similarity index 100% rename from proto-google-cloud-orchestration-airflow-v1/src/main/proto/google/cloud/orchestration/airflow/service/v1/operations.proto rename to owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/proto/google/cloud/orchestration/airflow/service/v1/operations.proto diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/create/SyncCreateSetCredentialsProvider.java new file mode 100644 index 00000000..97a6844d --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/create/SyncCreateSetCredentialsProvider.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1.samples; + +// [START service_v1_generated_environmentsclient_create_setcredentialsprovider_sync] +import com.google.api.gax.core.FixedCredentialsProvider; +import com.google.cloud.orchestration.airflow.service.v1.EnvironmentsClient; +import com.google.cloud.orchestration.airflow.service.v1.EnvironmentsSettings; +import com.google.cloud.orchestration.airflow.service.v1.myCredentials; + +public class SyncCreateSetCredentialsProvider { + + public static void main(String[] args) throws Exception { + syncCreateSetCredentialsProvider(); + } + + public static void syncCreateSetCredentialsProvider() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + EnvironmentsSettings environmentsSettings = + EnvironmentsSettings.newBuilder() + .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials)) + .build(); + EnvironmentsClient environmentsClient = EnvironmentsClient.create(environmentsSettings); + } +} +// [END service_v1_generated_environmentsclient_create_setcredentialsprovider_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/create/SyncCreateSetCredentialsProvider1.java new file mode 100644 index 00000000..7b5352ea --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/create/SyncCreateSetCredentialsProvider1.java @@ -0,0 +1,40 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1.samples; + +// [START service_v1_generated_environmentsclient_create_setcredentialsprovider1_sync] +import com.google.cloud.orchestration.airflow.service.v1.EnvironmentsClient; +import com.google.cloud.orchestration.airflow.service.v1.EnvironmentsSettings; + +public class SyncCreateSetCredentialsProvider1 { + + public static void main(String[] args) throws Exception { + syncCreateSetCredentialsProvider1(); + } + + public static void syncCreateSetCredentialsProvider1() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + EnvironmentsSettings environmentsSettings = + EnvironmentsSettings.newBuilder() + .setTransportChannelProvider( + EnvironmentsSettings.defaultHttpJsonTransportProviderBuilder().build()) + .build(); + EnvironmentsClient environmentsClient = EnvironmentsClient.create(environmentsSettings); + } +} +// [END service_v1_generated_environmentsclient_create_setcredentialsprovider1_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/create/SyncCreateSetEndpoint.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/create/SyncCreateSetEndpoint.java new file mode 100644 index 00000000..2af5acdf --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/create/SyncCreateSetEndpoint.java @@ -0,0 +1,38 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1.samples; + +// [START service_v1_generated_environmentsclient_create_setendpoint_sync] +import com.google.cloud.orchestration.airflow.service.v1.EnvironmentsClient; +import com.google.cloud.orchestration.airflow.service.v1.EnvironmentsSettings; +import com.google.cloud.orchestration.airflow.service.v1.myEndpoint; + +public class SyncCreateSetEndpoint { + + public static void main(String[] args) throws Exception { + syncCreateSetEndpoint(); + } + + public static void syncCreateSetEndpoint() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + EnvironmentsSettings environmentsSettings = + EnvironmentsSettings.newBuilder().setEndpoint(myEndpoint).build(); + EnvironmentsClient environmentsClient = EnvironmentsClient.create(environmentsSettings); + } +} +// [END service_v1_generated_environmentsclient_create_setendpoint_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/createenvironment/AsyncCreateEnvironment.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/createenvironment/AsyncCreateEnvironment.java new file mode 100644 index 00000000..18264e2c --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/createenvironment/AsyncCreateEnvironment.java @@ -0,0 +1,48 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1.samples; + +// [START service_v1_generated_environmentsclient_createenvironment_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest; +import com.google.cloud.orchestration.airflow.service.v1.Environment; +import com.google.cloud.orchestration.airflow.service.v1.EnvironmentsClient; +import com.google.longrunning.Operation; + +public class AsyncCreateEnvironment { + + public static void main(String[] args) throws Exception { + asyncCreateEnvironment(); + } + + public static void asyncCreateEnvironment() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) { + CreateEnvironmentRequest request = + CreateEnvironmentRequest.newBuilder() + .setParent("parent-995424086") + .setEnvironment(Environment.newBuilder().build()) + .build(); + ApiFuture future = + environmentsClient.createEnvironmentCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END service_v1_generated_environmentsclient_createenvironment_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/createenvironment/AsyncCreateEnvironmentLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/createenvironment/AsyncCreateEnvironmentLRO.java new file mode 100644 index 00000000..da6fe425 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/createenvironment/AsyncCreateEnvironmentLRO.java @@ -0,0 +1,48 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1.samples; + +// [START service_v1_generated_environmentsclient_createenvironment_lro_async] +import com.google.api.gax.longrunning.OperationFuture; +import com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest; +import com.google.cloud.orchestration.airflow.service.v1.Environment; +import com.google.cloud.orchestration.airflow.service.v1.EnvironmentsClient; +import com.google.cloud.orchestration.airflow.service.v1.OperationMetadata; + +public class AsyncCreateEnvironmentLRO { + + public static void main(String[] args) throws Exception { + asyncCreateEnvironmentLRO(); + } + + public static void asyncCreateEnvironmentLRO() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) { + CreateEnvironmentRequest request = + CreateEnvironmentRequest.newBuilder() + .setParent("parent-995424086") + .setEnvironment(Environment.newBuilder().build()) + .build(); + OperationFuture future = + environmentsClient.createEnvironmentOperationCallable().futureCall(request); + // Do something. + Environment response = future.get(); + } + } +} +// [END service_v1_generated_environmentsclient_createenvironment_lro_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/createenvironment/SyncCreateEnvironment.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/createenvironment/SyncCreateEnvironment.java new file mode 100644 index 00000000..61a8cfe3 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/createenvironment/SyncCreateEnvironment.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1.samples; + +// [START service_v1_generated_environmentsclient_createenvironment_sync] +import com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest; +import com.google.cloud.orchestration.airflow.service.v1.Environment; +import com.google.cloud.orchestration.airflow.service.v1.EnvironmentsClient; + +public class SyncCreateEnvironment { + + public static void main(String[] args) throws Exception { + syncCreateEnvironment(); + } + + public static void syncCreateEnvironment() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) { + CreateEnvironmentRequest request = + CreateEnvironmentRequest.newBuilder() + .setParent("parent-995424086") + .setEnvironment(Environment.newBuilder().build()) + .build(); + Environment response = environmentsClient.createEnvironmentAsync(request).get(); + } + } +} +// [END service_v1_generated_environmentsclient_createenvironment_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/createenvironment/SyncCreateEnvironmentStringEnvironment.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/createenvironment/SyncCreateEnvironmentStringEnvironment.java new file mode 100644 index 00000000..101f95a6 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/createenvironment/SyncCreateEnvironmentStringEnvironment.java @@ -0,0 +1,39 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1.samples; + +// [START service_v1_generated_environmentsclient_createenvironment_stringenvironment_sync] +import com.google.cloud.orchestration.airflow.service.v1.Environment; +import com.google.cloud.orchestration.airflow.service.v1.EnvironmentsClient; + +public class SyncCreateEnvironmentStringEnvironment { + + public static void main(String[] args) throws Exception { + syncCreateEnvironmentStringEnvironment(); + } + + public static void syncCreateEnvironmentStringEnvironment() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) { + String parent = "parent-995424086"; + Environment environment = Environment.newBuilder().build(); + Environment response = environmentsClient.createEnvironmentAsync(parent, environment).get(); + } + } +} +// [END service_v1_generated_environmentsclient_createenvironment_stringenvironment_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/deleteenvironment/AsyncDeleteEnvironment.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/deleteenvironment/AsyncDeleteEnvironment.java new file mode 100644 index 00000000..3555647b --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/deleteenvironment/AsyncDeleteEnvironment.java @@ -0,0 +1,44 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1.samples; + +// [START service_v1_generated_environmentsclient_deleteenvironment_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest; +import com.google.cloud.orchestration.airflow.service.v1.EnvironmentsClient; +import com.google.longrunning.Operation; + +public class AsyncDeleteEnvironment { + + public static void main(String[] args) throws Exception { + asyncDeleteEnvironment(); + } + + public static void asyncDeleteEnvironment() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) { + DeleteEnvironmentRequest request = + DeleteEnvironmentRequest.newBuilder().setName("name3373707").build(); + ApiFuture future = + environmentsClient.deleteEnvironmentCallable().futureCall(request); + // Do something. + future.get(); + } + } +} +// [END service_v1_generated_environmentsclient_deleteenvironment_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/deleteenvironment/AsyncDeleteEnvironmentLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/deleteenvironment/AsyncDeleteEnvironmentLRO.java new file mode 100644 index 00000000..9d0c9627 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/deleteenvironment/AsyncDeleteEnvironmentLRO.java @@ -0,0 +1,45 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1.samples; + +// [START service_v1_generated_environmentsclient_deleteenvironment_lro_async] +import com.google.api.gax.longrunning.OperationFuture; +import com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest; +import com.google.cloud.orchestration.airflow.service.v1.EnvironmentsClient; +import com.google.cloud.orchestration.airflow.service.v1.OperationMetadata; +import com.google.protobuf.Empty; + +public class AsyncDeleteEnvironmentLRO { + + public static void main(String[] args) throws Exception { + asyncDeleteEnvironmentLRO(); + } + + public static void asyncDeleteEnvironmentLRO() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) { + DeleteEnvironmentRequest request = + DeleteEnvironmentRequest.newBuilder().setName("name3373707").build(); + OperationFuture future = + environmentsClient.deleteEnvironmentOperationCallable().futureCall(request); + // Do something. + future.get(); + } + } +} +// [END service_v1_generated_environmentsclient_deleteenvironment_lro_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/deleteenvironment/SyncDeleteEnvironment.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/deleteenvironment/SyncDeleteEnvironment.java new file mode 100644 index 00000000..ea8a6244 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/deleteenvironment/SyncDeleteEnvironment.java @@ -0,0 +1,40 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1.samples; + +// [START service_v1_generated_environmentsclient_deleteenvironment_sync] +import com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest; +import com.google.cloud.orchestration.airflow.service.v1.EnvironmentsClient; +import com.google.protobuf.Empty; + +public class SyncDeleteEnvironment { + + public static void main(String[] args) throws Exception { + syncDeleteEnvironment(); + } + + public static void syncDeleteEnvironment() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) { + DeleteEnvironmentRequest request = + DeleteEnvironmentRequest.newBuilder().setName("name3373707").build(); + environmentsClient.deleteEnvironmentAsync(request).get(); + } + } +} +// [END service_v1_generated_environmentsclient_deleteenvironment_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/deleteenvironment/SyncDeleteEnvironmentString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/deleteenvironment/SyncDeleteEnvironmentString.java new file mode 100644 index 00000000..10156009 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/deleteenvironment/SyncDeleteEnvironmentString.java @@ -0,0 +1,38 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1.samples; + +// [START service_v1_generated_environmentsclient_deleteenvironment_string_sync] +import com.google.cloud.orchestration.airflow.service.v1.EnvironmentsClient; +import com.google.protobuf.Empty; + +public class SyncDeleteEnvironmentString { + + public static void main(String[] args) throws Exception { + syncDeleteEnvironmentString(); + } + + public static void syncDeleteEnvironmentString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) { + String name = "name3373707"; + environmentsClient.deleteEnvironmentAsync(name).get(); + } + } +} +// [END service_v1_generated_environmentsclient_deleteenvironment_string_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/getenvironment/AsyncGetEnvironment.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/getenvironment/AsyncGetEnvironment.java new file mode 100644 index 00000000..561f7629 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/getenvironment/AsyncGetEnvironment.java @@ -0,0 +1,44 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1.samples; + +// [START service_v1_generated_environmentsclient_getenvironment_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.orchestration.airflow.service.v1.Environment; +import com.google.cloud.orchestration.airflow.service.v1.EnvironmentsClient; +import com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest; + +public class AsyncGetEnvironment { + + public static void main(String[] args) throws Exception { + asyncGetEnvironment(); + } + + public static void asyncGetEnvironment() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) { + GetEnvironmentRequest request = + GetEnvironmentRequest.newBuilder().setName("name3373707").build(); + ApiFuture future = + environmentsClient.getEnvironmentCallable().futureCall(request); + // Do something. + Environment response = future.get(); + } + } +} +// [END service_v1_generated_environmentsclient_getenvironment_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/getenvironment/SyncGetEnvironment.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/getenvironment/SyncGetEnvironment.java new file mode 100644 index 00000000..cf097e59 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/getenvironment/SyncGetEnvironment.java @@ -0,0 +1,40 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1.samples; + +// [START service_v1_generated_environmentsclient_getenvironment_sync] +import com.google.cloud.orchestration.airflow.service.v1.Environment; +import com.google.cloud.orchestration.airflow.service.v1.EnvironmentsClient; +import com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest; + +public class SyncGetEnvironment { + + public static void main(String[] args) throws Exception { + syncGetEnvironment(); + } + + public static void syncGetEnvironment() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) { + GetEnvironmentRequest request = + GetEnvironmentRequest.newBuilder().setName("name3373707").build(); + Environment response = environmentsClient.getEnvironment(request); + } + } +} +// [END service_v1_generated_environmentsclient_getenvironment_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/getenvironment/SyncGetEnvironmentString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/getenvironment/SyncGetEnvironmentString.java new file mode 100644 index 00000000..dc1b426f --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/getenvironment/SyncGetEnvironmentString.java @@ -0,0 +1,38 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1.samples; + +// [START service_v1_generated_environmentsclient_getenvironment_string_sync] +import com.google.cloud.orchestration.airflow.service.v1.Environment; +import com.google.cloud.orchestration.airflow.service.v1.EnvironmentsClient; + +public class SyncGetEnvironmentString { + + public static void main(String[] args) throws Exception { + syncGetEnvironmentString(); + } + + public static void syncGetEnvironmentString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) { + String name = "name3373707"; + Environment response = environmentsClient.getEnvironment(name); + } + } +} +// [END service_v1_generated_environmentsclient_getenvironment_string_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/listenvironments/AsyncListEnvironments.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/listenvironments/AsyncListEnvironments.java new file mode 100644 index 00000000..6d44a058 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/listenvironments/AsyncListEnvironments.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1.samples; + +// [START service_v1_generated_environmentsclient_listenvironments_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.orchestration.airflow.service.v1.Environment; +import com.google.cloud.orchestration.airflow.service.v1.EnvironmentsClient; +import com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest; + +public class AsyncListEnvironments { + + public static void main(String[] args) throws Exception { + asyncListEnvironments(); + } + + public static void asyncListEnvironments() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) { + ListEnvironmentsRequest request = + ListEnvironmentsRequest.newBuilder() + .setParent("parent-995424086") + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + ApiFuture future = + environmentsClient.listEnvironmentsPagedCallable().futureCall(request); + // Do something. + for (Environment element : future.get().iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END service_v1_generated_environmentsclient_listenvironments_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/listenvironments/AsyncListEnvironmentsPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/listenvironments/AsyncListEnvironmentsPaged.java new file mode 100644 index 00000000..da5a5c91 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/listenvironments/AsyncListEnvironmentsPaged.java @@ -0,0 +1,58 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1.samples; + +// [START service_v1_generated_environmentsclient_listenvironments_paged_async] +import com.google.cloud.orchestration.airflow.service.v1.Environment; +import com.google.cloud.orchestration.airflow.service.v1.EnvironmentsClient; +import com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest; +import com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse; +import com.google.common.base.Strings; + +public class AsyncListEnvironmentsPaged { + + public static void main(String[] args) throws Exception { + asyncListEnvironmentsPaged(); + } + + public static void asyncListEnvironmentsPaged() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) { + ListEnvironmentsRequest request = + ListEnvironmentsRequest.newBuilder() + .setParent("parent-995424086") + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + while (true) { + ListEnvironmentsResponse response = + environmentsClient.listEnvironmentsCallable().call(request); + for (Environment element : response.getEnvironmentsList()) { + // doThingsWith(element); + } + String nextPageToken = response.getNextPageToken(); + if (!Strings.isNullOrEmpty(nextPageToken)) { + request = request.toBuilder().setPageToken(nextPageToken).build(); + } else { + break; + } + } + } + } +} +// [END service_v1_generated_environmentsclient_listenvironments_paged_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/listenvironments/SyncListEnvironments.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/listenvironments/SyncListEnvironments.java new file mode 100644 index 00000000..af81ba09 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/listenvironments/SyncListEnvironments.java @@ -0,0 +1,46 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1.samples; + +// [START service_v1_generated_environmentsclient_listenvironments_sync] +import com.google.cloud.orchestration.airflow.service.v1.Environment; +import com.google.cloud.orchestration.airflow.service.v1.EnvironmentsClient; +import com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest; + +public class SyncListEnvironments { + + public static void main(String[] args) throws Exception { + syncListEnvironments(); + } + + public static void syncListEnvironments() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) { + ListEnvironmentsRequest request = + ListEnvironmentsRequest.newBuilder() + .setParent("parent-995424086") + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + for (Environment element : environmentsClient.listEnvironments(request).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END service_v1_generated_environmentsclient_listenvironments_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/listenvironments/SyncListEnvironmentsString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/listenvironments/SyncListEnvironmentsString.java new file mode 100644 index 00000000..aa9e5269 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/listenvironments/SyncListEnvironmentsString.java @@ -0,0 +1,40 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1.samples; + +// [START service_v1_generated_environmentsclient_listenvironments_string_sync] +import com.google.cloud.orchestration.airflow.service.v1.Environment; +import com.google.cloud.orchestration.airflow.service.v1.EnvironmentsClient; + +public class SyncListEnvironmentsString { + + public static void main(String[] args) throws Exception { + syncListEnvironmentsString(); + } + + public static void syncListEnvironmentsString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) { + String parent = "parent-995424086"; + for (Environment element : environmentsClient.listEnvironments(parent).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END service_v1_generated_environmentsclient_listenvironments_string_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/updateenvironment/AsyncUpdateEnvironment.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/updateenvironment/AsyncUpdateEnvironment.java new file mode 100644 index 00000000..97616cd8 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/updateenvironment/AsyncUpdateEnvironment.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1.samples; + +// [START service_v1_generated_environmentsclient_updateenvironment_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.orchestration.airflow.service.v1.Environment; +import com.google.cloud.orchestration.airflow.service.v1.EnvironmentsClient; +import com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest; +import com.google.longrunning.Operation; +import com.google.protobuf.FieldMask; + +public class AsyncUpdateEnvironment { + + public static void main(String[] args) throws Exception { + asyncUpdateEnvironment(); + } + + public static void asyncUpdateEnvironment() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) { + UpdateEnvironmentRequest request = + UpdateEnvironmentRequest.newBuilder() + .setName("name3373707") + .setEnvironment(Environment.newBuilder().build()) + .setUpdateMask(FieldMask.newBuilder().build()) + .build(); + ApiFuture future = + environmentsClient.updateEnvironmentCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END service_v1_generated_environmentsclient_updateenvironment_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/updateenvironment/AsyncUpdateEnvironmentLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/updateenvironment/AsyncUpdateEnvironmentLRO.java new file mode 100644 index 00000000..e32431c3 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/updateenvironment/AsyncUpdateEnvironmentLRO.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1.samples; + +// [START service_v1_generated_environmentsclient_updateenvironment_lro_async] +import com.google.api.gax.longrunning.OperationFuture; +import com.google.cloud.orchestration.airflow.service.v1.Environment; +import com.google.cloud.orchestration.airflow.service.v1.EnvironmentsClient; +import com.google.cloud.orchestration.airflow.service.v1.OperationMetadata; +import com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest; +import com.google.protobuf.FieldMask; + +public class AsyncUpdateEnvironmentLRO { + + public static void main(String[] args) throws Exception { + asyncUpdateEnvironmentLRO(); + } + + public static void asyncUpdateEnvironmentLRO() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) { + UpdateEnvironmentRequest request = + UpdateEnvironmentRequest.newBuilder() + .setName("name3373707") + .setEnvironment(Environment.newBuilder().build()) + .setUpdateMask(FieldMask.newBuilder().build()) + .build(); + OperationFuture future = + environmentsClient.updateEnvironmentOperationCallable().futureCall(request); + // Do something. + Environment response = future.get(); + } + } +} +// [END service_v1_generated_environmentsclient_updateenvironment_lro_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/updateenvironment/SyncUpdateEnvironment.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/updateenvironment/SyncUpdateEnvironment.java new file mode 100644 index 00000000..c532d642 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/updateenvironment/SyncUpdateEnvironment.java @@ -0,0 +1,45 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1.samples; + +// [START service_v1_generated_environmentsclient_updateenvironment_sync] +import com.google.cloud.orchestration.airflow.service.v1.Environment; +import com.google.cloud.orchestration.airflow.service.v1.EnvironmentsClient; +import com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest; +import com.google.protobuf.FieldMask; + +public class SyncUpdateEnvironment { + + public static void main(String[] args) throws Exception { + syncUpdateEnvironment(); + } + + public static void syncUpdateEnvironment() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) { + UpdateEnvironmentRequest request = + UpdateEnvironmentRequest.newBuilder() + .setName("name3373707") + .setEnvironment(Environment.newBuilder().build()) + .setUpdateMask(FieldMask.newBuilder().build()) + .build(); + Environment response = environmentsClient.updateEnvironmentAsync(request).get(); + } + } +} +// [END service_v1_generated_environmentsclient_updateenvironment_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/updateenvironment/SyncUpdateEnvironmentStringEnvironmentFieldmask.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/updateenvironment/SyncUpdateEnvironmentStringEnvironmentFieldmask.java new file mode 100644 index 00000000..275762a3 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/updateenvironment/SyncUpdateEnvironmentStringEnvironmentFieldmask.java @@ -0,0 +1,42 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1.samples; + +// [START service_v1_generated_environmentsclient_updateenvironment_stringenvironmentfieldmask_sync] +import com.google.cloud.orchestration.airflow.service.v1.Environment; +import com.google.cloud.orchestration.airflow.service.v1.EnvironmentsClient; +import com.google.protobuf.FieldMask; + +public class SyncUpdateEnvironmentStringEnvironmentFieldmask { + + public static void main(String[] args) throws Exception { + syncUpdateEnvironmentStringEnvironmentFieldmask(); + } + + public static void syncUpdateEnvironmentStringEnvironmentFieldmask() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) { + String name = "name3373707"; + Environment environment = Environment.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + Environment response = + environmentsClient.updateEnvironmentAsync(name, environment, updateMask).get(); + } + } +} +// [END service_v1_generated_environmentsclient_updateenvironment_stringenvironmentfieldmask_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentssettings/getenvironment/SyncGetEnvironment.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentssettings/getenvironment/SyncGetEnvironment.java new file mode 100644 index 00000000..9e54217b --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentssettings/getenvironment/SyncGetEnvironment.java @@ -0,0 +1,45 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1.samples; + +// [START service_v1_generated_environmentssettings_getenvironment_sync] +import com.google.cloud.orchestration.airflow.service.v1.EnvironmentsSettings; +import java.time.Duration; + +public class SyncGetEnvironment { + + public static void main(String[] args) throws Exception { + syncGetEnvironment(); + } + + public static void syncGetEnvironment() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + EnvironmentsSettings.Builder environmentsSettingsBuilder = EnvironmentsSettings.newBuilder(); + environmentsSettingsBuilder + .getEnvironmentSettings() + .setRetrySettings( + environmentsSettingsBuilder + .getEnvironmentSettings() + .getRetrySettings() + .toBuilder() + .setTotalTimeout(Duration.ofSeconds(30)) + .build()); + EnvironmentsSettings environmentsSettings = environmentsSettingsBuilder.build(); + } +} +// [END service_v1_generated_environmentssettings_getenvironment_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/create/SyncCreateSetCredentialsProvider.java new file mode 100644 index 00000000..23b27f63 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/create/SyncCreateSetCredentialsProvider.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1.samples; + +// [START service_v1_generated_imageversionsclient_create_setcredentialsprovider_sync] +import com.google.api.gax.core.FixedCredentialsProvider; +import com.google.cloud.orchestration.airflow.service.v1.ImageVersionsClient; +import com.google.cloud.orchestration.airflow.service.v1.ImageVersionsSettings; +import com.google.cloud.orchestration.airflow.service.v1.myCredentials; + +public class SyncCreateSetCredentialsProvider { + + public static void main(String[] args) throws Exception { + syncCreateSetCredentialsProvider(); + } + + public static void syncCreateSetCredentialsProvider() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + ImageVersionsSettings imageVersionsSettings = + ImageVersionsSettings.newBuilder() + .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials)) + .build(); + ImageVersionsClient imageVersionsClient = ImageVersionsClient.create(imageVersionsSettings); + } +} +// [END service_v1_generated_imageversionsclient_create_setcredentialsprovider_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/create/SyncCreateSetCredentialsProvider1.java new file mode 100644 index 00000000..117998b1 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/create/SyncCreateSetCredentialsProvider1.java @@ -0,0 +1,40 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1.samples; + +// [START service_v1_generated_imageversionsclient_create_setcredentialsprovider1_sync] +import com.google.cloud.orchestration.airflow.service.v1.ImageVersionsClient; +import com.google.cloud.orchestration.airflow.service.v1.ImageVersionsSettings; + +public class SyncCreateSetCredentialsProvider1 { + + public static void main(String[] args) throws Exception { + syncCreateSetCredentialsProvider1(); + } + + public static void syncCreateSetCredentialsProvider1() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + ImageVersionsSettings imageVersionsSettings = + ImageVersionsSettings.newBuilder() + .setTransportChannelProvider( + ImageVersionsSettings.defaultHttpJsonTransportProviderBuilder().build()) + .build(); + ImageVersionsClient imageVersionsClient = ImageVersionsClient.create(imageVersionsSettings); + } +} +// [END service_v1_generated_imageversionsclient_create_setcredentialsprovider1_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/create/SyncCreateSetEndpoint.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/create/SyncCreateSetEndpoint.java new file mode 100644 index 00000000..039a87ca --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/create/SyncCreateSetEndpoint.java @@ -0,0 +1,38 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1.samples; + +// [START service_v1_generated_imageversionsclient_create_setendpoint_sync] +import com.google.cloud.orchestration.airflow.service.v1.ImageVersionsClient; +import com.google.cloud.orchestration.airflow.service.v1.ImageVersionsSettings; +import com.google.cloud.orchestration.airflow.service.v1.myEndpoint; + +public class SyncCreateSetEndpoint { + + public static void main(String[] args) throws Exception { + syncCreateSetEndpoint(); + } + + public static void syncCreateSetEndpoint() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + ImageVersionsSettings imageVersionsSettings = + ImageVersionsSettings.newBuilder().setEndpoint(myEndpoint).build(); + ImageVersionsClient imageVersionsClient = ImageVersionsClient.create(imageVersionsSettings); + } +} +// [END service_v1_generated_imageversionsclient_create_setendpoint_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/listimageversions/AsyncListImageVersions.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/listimageversions/AsyncListImageVersions.java new file mode 100644 index 00000000..e84129ab --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/listimageversions/AsyncListImageVersions.java @@ -0,0 +1,51 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1.samples; + +// [START service_v1_generated_imageversionsclient_listimageversions_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.orchestration.airflow.service.v1.ImageVersion; +import com.google.cloud.orchestration.airflow.service.v1.ImageVersionsClient; +import com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest; + +public class AsyncListImageVersions { + + public static void main(String[] args) throws Exception { + asyncListImageVersions(); + } + + public static void asyncListImageVersions() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ImageVersionsClient imageVersionsClient = ImageVersionsClient.create()) { + ListImageVersionsRequest request = + ListImageVersionsRequest.newBuilder() + .setParent("parent-995424086") + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .setIncludePastReleases(true) + .build(); + ApiFuture future = + imageVersionsClient.listImageVersionsPagedCallable().futureCall(request); + // Do something. + for (ImageVersion element : future.get().iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END service_v1_generated_imageversionsclient_listimageversions_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/listimageversions/AsyncListImageVersionsPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/listimageversions/AsyncListImageVersionsPaged.java new file mode 100644 index 00000000..da081f87 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/listimageversions/AsyncListImageVersionsPaged.java @@ -0,0 +1,59 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1.samples; + +// [START service_v1_generated_imageversionsclient_listimageversions_paged_async] +import com.google.cloud.orchestration.airflow.service.v1.ImageVersion; +import com.google.cloud.orchestration.airflow.service.v1.ImageVersionsClient; +import com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest; +import com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse; +import com.google.common.base.Strings; + +public class AsyncListImageVersionsPaged { + + public static void main(String[] args) throws Exception { + asyncListImageVersionsPaged(); + } + + public static void asyncListImageVersionsPaged() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ImageVersionsClient imageVersionsClient = ImageVersionsClient.create()) { + ListImageVersionsRequest request = + ListImageVersionsRequest.newBuilder() + .setParent("parent-995424086") + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .setIncludePastReleases(true) + .build(); + while (true) { + ListImageVersionsResponse response = + imageVersionsClient.listImageVersionsCallable().call(request); + for (ImageVersion element : response.getImageVersionsList()) { + // doThingsWith(element); + } + String nextPageToken = response.getNextPageToken(); + if (!Strings.isNullOrEmpty(nextPageToken)) { + request = request.toBuilder().setPageToken(nextPageToken).build(); + } else { + break; + } + } + } + } +} +// [END service_v1_generated_imageversionsclient_listimageversions_paged_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/listimageversions/SyncListImageVersions.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/listimageversions/SyncListImageVersions.java new file mode 100644 index 00000000..d6f93ee8 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/listimageversions/SyncListImageVersions.java @@ -0,0 +1,47 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1.samples; + +// [START service_v1_generated_imageversionsclient_listimageversions_sync] +import com.google.cloud.orchestration.airflow.service.v1.ImageVersion; +import com.google.cloud.orchestration.airflow.service.v1.ImageVersionsClient; +import com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest; + +public class SyncListImageVersions { + + public static void main(String[] args) throws Exception { + syncListImageVersions(); + } + + public static void syncListImageVersions() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ImageVersionsClient imageVersionsClient = ImageVersionsClient.create()) { + ListImageVersionsRequest request = + ListImageVersionsRequest.newBuilder() + .setParent("parent-995424086") + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .setIncludePastReleases(true) + .build(); + for (ImageVersion element : imageVersionsClient.listImageVersions(request).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END service_v1_generated_imageversionsclient_listimageversions_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/listimageversions/SyncListImageVersionsString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/listimageversions/SyncListImageVersionsString.java new file mode 100644 index 00000000..8467c099 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/listimageversions/SyncListImageVersionsString.java @@ -0,0 +1,40 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1.samples; + +// [START service_v1_generated_imageversionsclient_listimageversions_string_sync] +import com.google.cloud.orchestration.airflow.service.v1.ImageVersion; +import com.google.cloud.orchestration.airflow.service.v1.ImageVersionsClient; + +public class SyncListImageVersionsString { + + public static void main(String[] args) throws Exception { + syncListImageVersionsString(); + } + + public static void syncListImageVersionsString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ImageVersionsClient imageVersionsClient = ImageVersionsClient.create()) { + String parent = "parent-995424086"; + for (ImageVersion element : imageVersionsClient.listImageVersions(parent).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END service_v1_generated_imageversionsclient_listimageversions_string_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionssettings/listimageversions/SyncListImageVersions.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionssettings/listimageversions/SyncListImageVersions.java new file mode 100644 index 00000000..f1e17f90 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionssettings/listimageversions/SyncListImageVersions.java @@ -0,0 +1,45 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1.samples; + +// [START service_v1_generated_imageversionssettings_listimageversions_sync] +import com.google.cloud.orchestration.airflow.service.v1.ImageVersionsSettings; +import java.time.Duration; + +public class SyncListImageVersions { + + public static void main(String[] args) throws Exception { + syncListImageVersions(); + } + + public static void syncListImageVersions() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + ImageVersionsSettings.Builder imageVersionsSettingsBuilder = ImageVersionsSettings.newBuilder(); + imageVersionsSettingsBuilder + .listImageVersionsSettings() + .setRetrySettings( + imageVersionsSettingsBuilder + .listImageVersionsSettings() + .getRetrySettings() + .toBuilder() + .setTotalTimeout(Duration.ofSeconds(30)) + .build()); + ImageVersionsSettings imageVersionsSettings = imageVersionsSettingsBuilder.build(); + } +} +// [END service_v1_generated_imageversionssettings_listimageversions_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/stub/environmentsstubsettings/getenvironment/SyncGetEnvironment.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/stub/environmentsstubsettings/getenvironment/SyncGetEnvironment.java new file mode 100644 index 00000000..38a0bcf8 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/stub/environmentsstubsettings/getenvironment/SyncGetEnvironment.java @@ -0,0 +1,46 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1.stub.samples; + +// [START service_v1_generated_environmentsstubsettings_getenvironment_sync] +import com.google.cloud.orchestration.airflow.service.v1.stub.EnvironmentsStubSettings; +import java.time.Duration; + +public class SyncGetEnvironment { + + public static void main(String[] args) throws Exception { + syncGetEnvironment(); + } + + public static void syncGetEnvironment() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + EnvironmentsStubSettings.Builder environmentsSettingsBuilder = + EnvironmentsStubSettings.newBuilder(); + environmentsSettingsBuilder + .getEnvironmentSettings() + .setRetrySettings( + environmentsSettingsBuilder + .getEnvironmentSettings() + .getRetrySettings() + .toBuilder() + .setTotalTimeout(Duration.ofSeconds(30)) + .build()); + EnvironmentsStubSettings environmentsSettings = environmentsSettingsBuilder.build(); + } +} +// [END service_v1_generated_environmentsstubsettings_getenvironment_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/stub/imageversionsstubsettings/listimageversions/SyncListImageVersions.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/stub/imageversionsstubsettings/listimageversions/SyncListImageVersions.java new file mode 100644 index 00000000..536414a6 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/stub/imageversionsstubsettings/listimageversions/SyncListImageVersions.java @@ -0,0 +1,46 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1.stub.samples; + +// [START service_v1_generated_imageversionsstubsettings_listimageversions_sync] +import com.google.cloud.orchestration.airflow.service.v1.stub.ImageVersionsStubSettings; +import java.time.Duration; + +public class SyncListImageVersions { + + public static void main(String[] args) throws Exception { + syncListImageVersions(); + } + + public static void syncListImageVersions() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + ImageVersionsStubSettings.Builder imageVersionsSettingsBuilder = + ImageVersionsStubSettings.newBuilder(); + imageVersionsSettingsBuilder + .listImageVersionsSettings() + .setRetrySettings( + imageVersionsSettingsBuilder + .listImageVersionsSettings() + .getRetrySettings() + .toBuilder() + .setTotalTimeout(Duration.ofSeconds(30)) + .build()); + ImageVersionsStubSettings imageVersionsSettings = imageVersionsSettingsBuilder.build(); + } +} +// [END service_v1_generated_imageversionsstubsettings_listimageversions_sync] diff --git a/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsClient.java b/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsClient.java similarity index 92% rename from google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsClient.java rename to owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsClient.java index 45774e34..b35d4f08 100644 --- a/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsClient.java +++ b/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsClient.java @@ -20,6 +20,7 @@ import com.google.api.core.ApiFutures; import com.google.api.core.BetaApi; import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.httpjson.longrunning.OperationsClient; import com.google.api.gax.longrunning.OperationFuture; import com.google.api.gax.paging.AbstractFixedSizeCollection; import com.google.api.gax.paging.AbstractPage; @@ -31,7 +32,6 @@ import com.google.cloud.orchestration.airflow.service.v1beta1.stub.EnvironmentsStubSettings; import com.google.common.util.concurrent.MoreExecutors; import com.google.longrunning.Operation; -import com.google.longrunning.OperationsClient; import com.google.protobuf.Empty; import com.google.protobuf.FieldMask; import java.io.IOException; @@ -62,13 +62,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. *
    * @@ -103,6 +103,20 @@ * EnvironmentsClient environmentsClient = EnvironmentsClient.create(environmentsSettings); * }
    * + *

    To use REST (HTTP1.1/JSON) transport (instead of gRPC) for sending and receiving requests over + * the wire: + * + *

    {@code
    + * // This snippet has been automatically generated for illustrative purposes only.
    + * // It may require modifications to work in your environment.
    + * EnvironmentsSettings environmentsSettings =
    + *     EnvironmentsSettings.newBuilder()
    + *         .setTransportChannelProvider(
    + *             EnvironmentsSettings.defaultHttpJsonTransportProviderBuilder().build())
    + *         .build();
    + * EnvironmentsClient environmentsClient = EnvironmentsClient.create(environmentsSettings);
    + * }
    + * *

    Please refer to the GitHub repository's samples for more quickstart code snippets. */ @BetaApi @@ -110,7 +124,8 @@ public class EnvironmentsClient implements BackgroundResource { private final EnvironmentsSettings settings; private final EnvironmentsStub stub; - private final OperationsClient operationsClient; + private final OperationsClient httpJsonOperationsClient; + private final com.google.longrunning.OperationsClient operationsClient; /** Constructs an instance of EnvironmentsClient with default settings. */ public static final EnvironmentsClient create() throws IOException { @@ -141,13 +156,17 @@ public static final EnvironmentsClient create(EnvironmentsStub stub) { protected EnvironmentsClient(EnvironmentsSettings settings) throws IOException { this.settings = settings; this.stub = ((EnvironmentsStubSettings) settings.getStubSettings()).createStub(); - this.operationsClient = OperationsClient.create(this.stub.getOperationsStub()); + this.operationsClient = + com.google.longrunning.OperationsClient.create(this.stub.getOperationsStub()); + this.httpJsonOperationsClient = OperationsClient.create(this.stub.getHttpJsonOperationsStub()); } protected EnvironmentsClient(EnvironmentsStub stub) { this.settings = null; this.stub = stub; - this.operationsClient = OperationsClient.create(this.stub.getOperationsStub()); + this.operationsClient = + com.google.longrunning.OperationsClient.create(this.stub.getOperationsStub()); + this.httpJsonOperationsClient = OperationsClient.create(this.stub.getHttpJsonOperationsStub()); } public final EnvironmentsSettings getSettings() { @@ -162,10 +181,18 @@ public EnvironmentsStub getStub() { * Returns the OperationsClient that can be used to query the status of a long-running operation * returned by another API method call. */ - public final OperationsClient getOperationsClient() { + public final com.google.longrunning.OperationsClient getOperationsClient() { return operationsClient; } + /** + * Returns the OperationsClient that can be used to query the status of a long-running operation + * returned by another API method call. + */ + public final OperationsClient getHttpJsonOperationsClient() { + return httpJsonOperationsClient; + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Create a new environment. @@ -515,48 +542,48 @@ public final ListEnvironmentsPagedResponse listEnvironments(ListEnvironmentsRequ *

    { "config":{ "softwareConfig":{ "pypiPackages":{ "botocore":"==1.7.14" } } } } *

    **Note:** Only the following fields can be updated: *

      - *
    • `config.softwareConfig.pypiPackages` * Replace all custom custom PyPI packages. + *
    • `config.softwareConfig.pypiPackages` * Replace all custom custom PyPI packages. * If a replacement package map is not included in `environment`, all custom PyPI * packages are cleared. It is an error to provide both this mask and a mask specifying * an individual package. - *
    • `config.softwareConfig.pypiPackages.`packagename * Update the custom PyPI package - * *packagename*, preserving other packages. To delete the package, include it - * in `updateMask`, and omit the mapping for it in + *
    • `config.softwareConfig.pypiPackages.`packagename * Update the custom PyPI + * package *packagename*, preserving other packages. To delete the package, + * include it in `updateMask`, and omit the mapping for it in * `environment.config.softwareConfig.pypiPackages`. It is an error to provide both a * mask of this form and the `config.softwareConfig.pypiPackages` mask. - *
    • `labels` * Replace all environment labels. If a replacement labels map is not + *
    • `labels` * Replace all environment labels. If a replacement labels map is not * included in `environment`, all labels are cleared. It is an error to provide both * this mask and a mask specifying one or more individual labels. - *
    • `labels.`labelName * Set the label named *labelName*, while preserving + *
    • `labels.`labelName * Set the label named *labelName*, while preserving * other labels. To delete the label, include it in `updateMask` and omit its mapping in * `environment.labels`. It is an error to provide both a mask of this form and the * `labels` mask. - *
    • `config.nodeCount` * Horizontally scale the number of nodes in the environment. + *
    • `config.nodeCount` * Horizontally scale the number of nodes in the environment. * An integer greater than or equal to 3 must be provided in the `config.nodeCount` * field. * `config.webServerNetworkAccessControl` * Replace the environment's * current WebServerNetworkAccessControl. - *
    • `config.softwareConfig.airflowConfigOverrides` * Replace all Apache Airflow + *
    • `config.softwareConfig.airflowConfigOverrides` * Replace all Apache Airflow * config overrides. If a replacement config overrides map is not included in * `environment`, all config overrides are cleared. It is an error to provide both this * mask and a mask specifying one or more individual config overrides. - *
    • `config.softwareConfig.airflowConfigOverrides.`section-name * Override the Apache - * Airflow config property *name* in the section named *section*, + *
    • `config.softwareConfig.airflowConfigOverrides.`section-name * Override the + * Apache Airflow config property *name* in the section named *section*, * preserving other properties. To delete the property override, include it in * `updateMask` and omit its mapping in * `environment.config.softwareConfig.airflowConfigOverrides`. It is an error to provide * both a mask of this form and the `config.softwareConfig.airflowConfigOverrides` mask. - *
    • `config.softwareConfig.envVariables` * Replace all environment variables. If a + *
    • `config.softwareConfig.envVariables` * Replace all environment variables. If a * replacement environment variable map is not included in `environment`, all custom * environment variables are cleared. It is an error to provide both this mask and a * mask specifying one or more individual environment variables. - *
    • `config.softwareConfig.imageVersion` * Upgrade the version of the environment + *
    • `config.softwareConfig.imageVersion` * Upgrade the version of the environment * in-place. Refer to `SoftwareConfig.image_version` for information on how to format * the new image version. Additionally, the new image version cannot effect a version * downgrade and must match the current image version's Composer major version and * Airflow major and minor versions. Consult the [Cloud Composer Version * List](https://cloud.google.com/composer/docs/concepts/versioning/composer-versions) * for valid values. - *
    • `config.softwareConfig.schedulerCount` * Horizontally scale the number of + *
    • `config.softwareConfig.schedulerCount` * Horizontally scale the number of * schedulers in Airflow. A positive integer not greater than the number of nodes must * be provided in the `config.softwareConfig.schedulerCount` field. * * `config.databaseConfig.machineType` * Cloud SQL machine type used by Airflow @@ -947,10 +974,7 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListEnvironmentsPagedResponse extends AbstractPagedListResponse< - ListEnvironmentsRequest, - ListEnvironmentsResponse, - Environment, - ListEnvironmentsPage, + ListEnvironmentsRequest, ListEnvironmentsResponse, Environment, ListEnvironmentsPage, ListEnvironmentsFixedSizeCollection> { public static ApiFuture createAsync( @@ -1000,10 +1024,7 @@ public ApiFuture createPageAsync( public static class ListEnvironmentsFixedSizeCollection extends AbstractFixedSizeCollection< - ListEnvironmentsRequest, - ListEnvironmentsResponse, - Environment, - ListEnvironmentsPage, + ListEnvironmentsRequest, ListEnvironmentsResponse, Environment, ListEnvironmentsPage, ListEnvironmentsFixedSizeCollection> { private ListEnvironmentsFixedSizeCollection( diff --git a/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsSettings.java b/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsSettings.java similarity index 92% rename from google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsSettings.java rename to owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsSettings.java index d4807174..6808fdb0 100644 --- a/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsSettings.java +++ b/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsSettings.java @@ -23,11 +23,13 @@ import com.google.api.gax.core.GoogleCredentialsProvider; import com.google.api.gax.core.InstantiatingExecutorProvider; import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; import com.google.api.gax.rpc.ApiClientHeaderProvider; import com.google.api.gax.rpc.ClientContext; 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.orchestration.airflow.service.v1beta1.stub.EnvironmentsStubSettings; @@ -44,9 +46,9 @@ *

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

        - *
      • The default service address (composer.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 (composer.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 @@ -166,11 +168,18 @@ public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilde return EnvironmentsStubSettings.defaultCredentialsProviderBuilder(); } - /** Returns a builder for the default ChannelProvider for this service. */ + /** Returns a builder for the default gRPC ChannelProvider for this service. */ public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { return EnvironmentsStubSettings.defaultGrpcTransportProviderBuilder(); } + /** Returns a builder for the default REST ChannelProvider for this service. */ + @BetaApi + public static InstantiatingHttpJsonChannelProvider.Builder + defaultHttpJsonTransportProviderBuilder() { + return EnvironmentsStubSettings.defaultHttpJsonTransportProviderBuilder(); + } + public static TransportChannelProvider defaultTransportChannelProvider() { return EnvironmentsStubSettings.defaultTransportChannelProvider(); } @@ -180,11 +189,17 @@ public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuil return EnvironmentsStubSettings.defaultApiClientHeaderProviderBuilder(); } - /** Returns a new builder for this class. */ + /** Returns a new gRPC builder for this class. */ public static Builder newBuilder() { return Builder.createDefault(); } + /** Returns a new REST builder for this class. */ + @BetaApi + public static Builder newHttpJsonBuilder() { + return Builder.createHttpJsonDefault(); + } + /** Returns a new builder for this class. */ public static Builder newBuilder(ClientContext clientContext) { return new Builder(clientContext); @@ -222,6 +237,11 @@ private static Builder createDefault() { return new Builder(EnvironmentsStubSettings.newBuilder()); } + @BetaApi + private static Builder createHttpJsonDefault() { + return new Builder(EnvironmentsStubSettings.newHttpJsonBuilder()); + } + public EnvironmentsStubSettings.Builder getStubSettingsBuilder() { return ((EnvironmentsStubSettings.Builder) getStubSettings()); } diff --git a/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsClient.java b/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsClient.java similarity index 92% rename from google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsClient.java rename to owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsClient.java index 2e328310..caca5320 100644 --- a/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsClient.java +++ b/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsClient.java @@ -58,13 +58,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. *
      * @@ -99,6 +99,20 @@ * ImageVersionsClient imageVersionsClient = ImageVersionsClient.create(imageVersionsSettings); * }
    * + *

    To use REST (HTTP1.1/JSON) transport (instead of gRPC) for sending and receiving requests over + * the wire: + * + *

    {@code
    + * // This snippet has been automatically generated for illustrative purposes only.
    + * // It may require modifications to work in your environment.
    + * ImageVersionsSettings imageVersionsSettings =
    + *     ImageVersionsSettings.newBuilder()
    + *         .setTransportChannelProvider(
    + *             ImageVersionsSettings.defaultHttpJsonTransportProviderBuilder().build())
    + *         .build();
    + * ImageVersionsClient imageVersionsClient = ImageVersionsClient.create(imageVersionsSettings);
    + * }
    + * *

    Please refer to the GitHub repository's samples for more quickstart code snippets. */ @BetaApi @@ -310,10 +324,7 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListImageVersionsPagedResponse extends AbstractPagedListResponse< - ListImageVersionsRequest, - ListImageVersionsResponse, - ImageVersion, - ListImageVersionsPage, + ListImageVersionsRequest, ListImageVersionsResponse, ImageVersion, ListImageVersionsPage, ListImageVersionsFixedSizeCollection> { public static ApiFuture createAsync( @@ -334,9 +345,7 @@ private ListImageVersionsPagedResponse(ListImageVersionsPage page) { public static class ListImageVersionsPage extends AbstractPage< - ListImageVersionsRequest, - ListImageVersionsResponse, - ImageVersion, + ListImageVersionsRequest, ListImageVersionsResponse, ImageVersion, ListImageVersionsPage> { private ListImageVersionsPage( @@ -366,10 +375,7 @@ public ApiFuture createPageAsync( public static class ListImageVersionsFixedSizeCollection extends AbstractFixedSizeCollection< - ListImageVersionsRequest, - ListImageVersionsResponse, - ImageVersion, - ListImageVersionsPage, + ListImageVersionsRequest, ListImageVersionsResponse, ImageVersion, ListImageVersionsPage, ListImageVersionsFixedSizeCollection> { private ListImageVersionsFixedSizeCollection( diff --git a/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsSettings.java b/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsSettings.java similarity index 86% rename from google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsSettings.java rename to owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsSettings.java index 1e2feaf4..d859a0f9 100644 --- a/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsSettings.java +++ b/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsSettings.java @@ -23,10 +23,12 @@ import com.google.api.gax.core.GoogleCredentialsProvider; import com.google.api.gax.core.InstantiatingExecutorProvider; import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; import com.google.api.gax.rpc.ApiClientHeaderProvider; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.orchestration.airflow.service.v1beta1.stub.ImageVersionsStubSettings; @@ -41,9 +43,9 @@ *

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

      - *
    • The default service address (composer.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 (composer.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 @@ -103,11 +105,18 @@ public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilde return ImageVersionsStubSettings.defaultCredentialsProviderBuilder(); } - /** Returns a builder for the default ChannelProvider for this service. */ + /** Returns a builder for the default gRPC ChannelProvider for this service. */ public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { return ImageVersionsStubSettings.defaultGrpcTransportProviderBuilder(); } + /** Returns a builder for the default REST ChannelProvider for this service. */ + @BetaApi + public static InstantiatingHttpJsonChannelProvider.Builder + defaultHttpJsonTransportProviderBuilder() { + return ImageVersionsStubSettings.defaultHttpJsonTransportProviderBuilder(); + } + public static TransportChannelProvider defaultTransportChannelProvider() { return ImageVersionsStubSettings.defaultTransportChannelProvider(); } @@ -117,11 +126,17 @@ public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuil return ImageVersionsStubSettings.defaultApiClientHeaderProviderBuilder(); } - /** Returns a new builder for this class. */ + /** Returns a new gRPC builder for this class. */ public static Builder newBuilder() { return Builder.createDefault(); } + /** Returns a new REST builder for this class. */ + @BetaApi + public static Builder newHttpJsonBuilder() { + return Builder.createHttpJsonDefault(); + } + /** Returns a new builder for this class. */ public static Builder newBuilder(ClientContext clientContext) { return new Builder(clientContext); @@ -159,6 +174,11 @@ private static Builder createDefault() { return new Builder(ImageVersionsStubSettings.newBuilder()); } + @BetaApi + private static Builder createHttpJsonDefault() { + return new Builder(ImageVersionsStubSettings.newHttpJsonBuilder()); + } + public ImageVersionsStubSettings.Builder getStubSettingsBuilder() { return ((ImageVersionsStubSettings.Builder) getStubSettings()); } diff --git a/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/gapic_metadata.json b/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/gapic_metadata.json similarity index 100% rename from google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/gapic_metadata.json rename to owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/gapic_metadata.json diff --git a/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/package-info.java b/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/package-info.java similarity index 100% rename from google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/package-info.java rename to owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/package-info.java diff --git a/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/EnvironmentsStub.java b/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/EnvironmentsStub.java similarity index 97% rename from google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/EnvironmentsStub.java rename to owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/EnvironmentsStub.java index facd5781..d2683562 100644 --- a/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/EnvironmentsStub.java +++ b/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/EnvironmentsStub.java @@ -49,7 +49,11 @@ public abstract class EnvironmentsStub implements BackgroundResource { public OperationsStub getOperationsStub() { - throw new UnsupportedOperationException("Not implemented: getOperationsStub()"); + return null; + } + + public com.google.api.gax.httpjson.longrunning.stub.OperationsStub getHttpJsonOperationsStub() { + return null; } public OperationCallable diff --git a/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/EnvironmentsStubSettings.java b/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/EnvironmentsStubSettings.java similarity index 93% rename from google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/EnvironmentsStubSettings.java rename to owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/EnvironmentsStubSettings.java index ea830d91..bd53b983 100644 --- a/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/EnvironmentsStubSettings.java +++ b/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/EnvironmentsStubSettings.java @@ -28,6 +28,9 @@ import com.google.api.gax.grpc.GrpcTransportChannel; import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; import com.google.api.gax.grpc.ProtoOperationTransformers; +import com.google.api.gax.httpjson.GaxHttpJsonProperties; +import com.google.api.gax.httpjson.HttpJsonTransportChannel; +import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.longrunning.OperationTimedPollAlgorithm; import com.google.api.gax.retrying.RetrySettings; @@ -73,9 +76,9 @@ *

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

      - *
    • The default service address (composer.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 (composer.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 @@ -259,6 +262,11 @@ public EnvironmentsStub createStub() throws IOException { .equals(GrpcTransportChannel.getGrpcTransportName())) { return GrpcEnvironmentsStub.create(this); } + if (getTransportChannelProvider() + .getTransportName() + .equals(HttpJsonTransportChannel.getHttpJsonTransportName())) { + return HttpJsonEnvironmentsStub.create(this); + } throw new UnsupportedOperationException( String.format( "Transport not supported: %s", getTransportChannelProvider().getTransportName())); @@ -291,18 +299,25 @@ public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilde .setUseJwtAccessWithScope(true); } - /** Returns a builder for the default ChannelProvider for this service. */ + /** Returns a builder for the default gRPC ChannelProvider for this service. */ public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { return InstantiatingGrpcChannelProvider.newBuilder() .setMaxInboundMessageSize(Integer.MAX_VALUE); } + /** Returns a builder for the default REST ChannelProvider for this service. */ + @BetaApi + public static InstantiatingHttpJsonChannelProvider.Builder + defaultHttpJsonTransportProviderBuilder() { + return InstantiatingHttpJsonChannelProvider.newBuilder(); + } + public static TransportChannelProvider defaultTransportChannelProvider() { return defaultGrpcTransportProviderBuilder().build(); } @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") - public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + public static ApiClientHeaderProvider.Builder defaultGrpcApiClientHeaderProviderBuilder() { return ApiClientHeaderProvider.newBuilder() .setGeneratedLibToken( "gapic", GaxProperties.getLibraryVersion(EnvironmentsStubSettings.class)) @@ -310,11 +325,30 @@ public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuil GaxGrpcProperties.getGrpcTokenName(), GaxGrpcProperties.getGrpcVersion()); } - /** Returns a new builder for this class. */ + @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") + public static ApiClientHeaderProvider.Builder defaultHttpJsonApiClientHeaderProviderBuilder() { + return ApiClientHeaderProvider.newBuilder() + .setGeneratedLibToken( + "gapic", GaxProperties.getLibraryVersion(EnvironmentsStubSettings.class)) + .setTransportToken( + GaxHttpJsonProperties.getHttpJsonTokenName(), + GaxHttpJsonProperties.getHttpJsonVersion()); + } + + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return EnvironmentsStubSettings.defaultGrpcApiClientHeaderProviderBuilder(); + } + + /** Returns a new gRPC builder for this class. */ public static Builder newBuilder() { return Builder.createDefault(); } + /** Returns a new REST builder for this class. */ + public static Builder newHttpJsonBuilder() { + return Builder.createHttpJsonDefault(); + } + /** Returns a new builder for this class. */ public static Builder newBuilder(ClientContext clientContext) { return new Builder(clientContext); @@ -468,6 +502,19 @@ private static Builder createDefault() { return initDefaults(builder); } + private static Builder createHttpJsonDefault() { + Builder builder = new Builder(((ClientContext) null)); + + builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build()); + builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); + builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build()); + builder.setEndpoint(getDefaultEndpoint()); + builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); + builder.setSwitchToMtlsEndpointAllowed(true); + + return initDefaults(builder); + } + private static Builder initDefaults(Builder builder) { builder .createEnvironmentSettings() diff --git a/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/GrpcEnvironmentsCallableFactory.java b/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/GrpcEnvironmentsCallableFactory.java similarity index 100% rename from google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/GrpcEnvironmentsCallableFactory.java rename to owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/GrpcEnvironmentsCallableFactory.java diff --git a/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/GrpcEnvironmentsStub.java b/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/GrpcEnvironmentsStub.java similarity index 99% rename from google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/GrpcEnvironmentsStub.java rename to owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/GrpcEnvironmentsStub.java index d5134d0b..351eb54e 100644 --- a/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/GrpcEnvironmentsStub.java +++ b/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/GrpcEnvironmentsStub.java @@ -44,6 +44,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/GrpcImageVersionsCallableFactory.java b/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/GrpcImageVersionsCallableFactory.java similarity index 100% rename from google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/GrpcImageVersionsCallableFactory.java rename to owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/GrpcImageVersionsCallableFactory.java diff --git a/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/GrpcImageVersionsStub.java b/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/GrpcImageVersionsStub.java similarity index 99% rename from google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/GrpcImageVersionsStub.java rename to owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/GrpcImageVersionsStub.java index 489a2e0b..83b5271a 100644 --- a/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/GrpcImageVersionsStub.java +++ b/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/GrpcImageVersionsStub.java @@ -32,6 +32,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/HttpJsonEnvironmentsCallableFactory.java b/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/HttpJsonEnvironmentsCallableFactory.java new file mode 100644 index 00000000..6b3d5e25 --- /dev/null +++ b/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/HttpJsonEnvironmentsCallableFactory.java @@ -0,0 +1,105 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1beta1.stub; + +import com.google.api.core.BetaApi; +import com.google.api.gax.httpjson.HttpJsonCallSettings; +import com.google.api.gax.httpjson.HttpJsonCallableFactory; +import com.google.api.gax.httpjson.HttpJsonOperationSnapshotCallable; +import com.google.api.gax.httpjson.HttpJsonStubCallableFactory; +import com.google.api.gax.httpjson.longrunning.stub.OperationsStub; +import com.google.api.gax.rpc.BatchingCallSettings; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.OperationCallSettings; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallable; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.longrunning.Operation; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * REST callable factory implementation for the Environments service API. + * + *

    This class is for advanced usage. + */ +@BetaApi +@Generated("by gapic-generator-java") +public class HttpJsonEnvironmentsCallableFactory + implements HttpJsonStubCallableFactory { + + @Override + public UnaryCallable createUnaryCallable( + HttpJsonCallSettings httpJsonCallSettings, + UnaryCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createUnaryCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @Override + public + UnaryCallable createPagedCallable( + HttpJsonCallSettings httpJsonCallSettings, + PagedCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createPagedCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @Override + public UnaryCallable createBatchingCallable( + HttpJsonCallSettings httpJsonCallSettings, + BatchingCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createBatchingCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @BetaApi( + "The surface for long-running operations is not stable yet and may change in the future.") + @Override + public + OperationCallable createOperationCallable( + HttpJsonCallSettings httpJsonCallSettings, + OperationCallSettings callSettings, + ClientContext clientContext, + OperationsStub operationsStub) { + UnaryCallable innerCallable = + HttpJsonCallableFactory.createBaseUnaryCallable( + httpJsonCallSettings, callSettings.getInitialCallSettings(), clientContext); + HttpJsonOperationSnapshotCallable initialCallable = + new HttpJsonOperationSnapshotCallable( + innerCallable, + httpJsonCallSettings.getMethodDescriptor().getOperationSnapshotFactory()); + return HttpJsonCallableFactory.createOperationCallable( + callSettings, clientContext, operationsStub.longRunningClient(), initialCallable); + } + + @Override + public + ServerStreamingCallable createServerStreamingCallable( + HttpJsonCallSettings httpJsonCallSettings, + ServerStreamingCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createServerStreamingCallable( + httpJsonCallSettings, callSettings, clientContext); + } +} diff --git a/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/HttpJsonEnvironmentsStub.java b/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/HttpJsonEnvironmentsStub.java new file mode 100644 index 00000000..8bbe1dee --- /dev/null +++ b/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/HttpJsonEnvironmentsStub.java @@ -0,0 +1,637 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1beta1.stub; + +import static com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsClient.ListEnvironmentsPagedResponse; + +import com.google.api.core.BetaApi; +import com.google.api.core.InternalApi; +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.core.BackgroundResourceAggregation; +import com.google.api.gax.httpjson.ApiMethodDescriptor; +import com.google.api.gax.httpjson.HttpJsonCallSettings; +import com.google.api.gax.httpjson.HttpJsonOperationSnapshot; +import com.google.api.gax.httpjson.HttpJsonStubCallableFactory; +import com.google.api.gax.httpjson.ProtoMessageRequestFormatter; +import com.google.api.gax.httpjson.ProtoMessageResponseParser; +import com.google.api.gax.httpjson.ProtoRestSerializer; +import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; +import com.google.api.gax.longrunning.OperationSnapshot; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest; +import com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse; +import com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest; +import com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest; +import com.google.cloud.orchestration.airflow.service.v1beta1.Environment; +import com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest; +import com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest; +import com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse; +import com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata; +import com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest; +import com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest; +import com.google.longrunning.Operation; +import com.google.protobuf.Empty; +import com.google.protobuf.TypeRegistry; +import java.io.IOException; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * REST stub implementation for the Environments service API. + * + *

    This class is for advanced usage and reflects the underlying API directly. + */ +@BetaApi +@Generated("by gapic-generator-java") +public class HttpJsonEnvironmentsStub extends EnvironmentsStub { + private static final TypeRegistry typeRegistry = + TypeRegistry.newBuilder() + .add(Empty.getDescriptor()) + .add(OperationMetadata.getDescriptor()) + .add(Environment.getDescriptor()) + .add(CheckUpgradeResponse.getDescriptor()) + .build(); + + private static final ApiMethodDescriptor + createEnvironmentMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.orchestration.airflow.service.v1beta1.Environments/CreateEnvironment") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta1/{parent=projects/*/locations/*}/environments", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("environment", request.getEnvironment())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (CreateEnvironmentRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + + private static final ApiMethodDescriptor + getEnvironmentMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.orchestration.airflow.service.v1beta1.Environments/GetEnvironment") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta1/{name=projects/*/locations/*/environments/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Environment.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + listEnvironmentsMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.orchestration.airflow.service.v1beta1.Environments/ListEnvironments") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta1/{parent=projects/*/locations/*}/environments", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "pageSize", request.getPageSize()); + serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(ListEnvironmentsResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + updateEnvironmentMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.orchestration.airflow.service.v1beta1.Environments/UpdateEnvironment") + .setHttpMethod("PATCH") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta1/{name=projects/*/locations/*/environments/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "updateMask", request.getUpdateMask()); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("environment", request.getEnvironment())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (UpdateEnvironmentRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + + private static final ApiMethodDescriptor + deleteEnvironmentMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.orchestration.airflow.service.v1beta1.Environments/DeleteEnvironment") + .setHttpMethod("DELETE") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta1/{name=projects/*/locations/*/environments/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (DeleteEnvironmentRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + + private static final ApiMethodDescriptor + restartWebServerMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.orchestration.airflow.service.v1beta1.Environments/RestartWebServer") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta1/{name=projects/*/locations/*/environments/*}:restartWebServer", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearName().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (RestartWebServerRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + + private static final ApiMethodDescriptor + checkUpgradeMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.orchestration.airflow.service.v1beta1.Environments/CheckUpgrade") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta1/{environment=projects/*/locations/*/environments/*}:checkUpgrade", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam( + fields, "environment", request.getEnvironment()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearEnvironment().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (CheckUpgradeRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + + private final UnaryCallable createEnvironmentCallable; + private final OperationCallable + createEnvironmentOperationCallable; + private final UnaryCallable getEnvironmentCallable; + private final UnaryCallable + listEnvironmentsCallable; + private final UnaryCallable + listEnvironmentsPagedCallable; + private final UnaryCallable updateEnvironmentCallable; + private final OperationCallable + updateEnvironmentOperationCallable; + private final UnaryCallable deleteEnvironmentCallable; + private final OperationCallable + deleteEnvironmentOperationCallable; + private final UnaryCallable restartWebServerCallable; + private final OperationCallable + restartWebServerOperationCallable; + private final UnaryCallable checkUpgradeCallable; + private final OperationCallable + checkUpgradeOperationCallable; + + private final BackgroundResource backgroundResources; + private final HttpJsonOperationsStub httpJsonOperationsStub; + private final HttpJsonStubCallableFactory callableFactory; + + public static final HttpJsonEnvironmentsStub create(EnvironmentsStubSettings settings) + throws IOException { + return new HttpJsonEnvironmentsStub(settings, ClientContext.create(settings)); + } + + public static final HttpJsonEnvironmentsStub create(ClientContext clientContext) + throws IOException { + return new HttpJsonEnvironmentsStub( + EnvironmentsStubSettings.newHttpJsonBuilder().build(), clientContext); + } + + public static final HttpJsonEnvironmentsStub create( + ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException { + return new HttpJsonEnvironmentsStub( + EnvironmentsStubSettings.newHttpJsonBuilder().build(), clientContext, callableFactory); + } + + /** + * Constructs an instance of HttpJsonEnvironmentsStub, using the given settings. This is protected + * so that it is easy to make a subclass, but otherwise, the static factory methods should be + * preferred. + */ + protected HttpJsonEnvironmentsStub(EnvironmentsStubSettings settings, ClientContext clientContext) + throws IOException { + this(settings, clientContext, new HttpJsonEnvironmentsCallableFactory()); + } + + /** + * Constructs an instance of HttpJsonEnvironmentsStub, using the given settings. This is protected + * so that it is easy to make a subclass, but otherwise, the static factory methods should be + * preferred. + */ + protected HttpJsonEnvironmentsStub( + EnvironmentsStubSettings settings, + ClientContext clientContext, + HttpJsonStubCallableFactory callableFactory) + throws IOException { + this.callableFactory = callableFactory; + this.httpJsonOperationsStub = + HttpJsonOperationsStub.create(clientContext, callableFactory, typeRegistry); + + HttpJsonCallSettings createEnvironmentTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(createEnvironmentMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings getEnvironmentTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getEnvironmentMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + listEnvironmentsTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(listEnvironmentsMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings updateEnvironmentTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(updateEnvironmentMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings deleteEnvironmentTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(deleteEnvironmentMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings restartWebServerTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(restartWebServerMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings checkUpgradeTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(checkUpgradeMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + + this.createEnvironmentCallable = + callableFactory.createUnaryCallable( + createEnvironmentTransportSettings, + settings.createEnvironmentSettings(), + clientContext); + this.createEnvironmentOperationCallable = + callableFactory.createOperationCallable( + createEnvironmentTransportSettings, + settings.createEnvironmentOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.getEnvironmentCallable = + callableFactory.createUnaryCallable( + getEnvironmentTransportSettings, settings.getEnvironmentSettings(), clientContext); + this.listEnvironmentsCallable = + callableFactory.createUnaryCallable( + listEnvironmentsTransportSettings, settings.listEnvironmentsSettings(), clientContext); + this.listEnvironmentsPagedCallable = + callableFactory.createPagedCallable( + listEnvironmentsTransportSettings, settings.listEnvironmentsSettings(), clientContext); + this.updateEnvironmentCallable = + callableFactory.createUnaryCallable( + updateEnvironmentTransportSettings, + settings.updateEnvironmentSettings(), + clientContext); + this.updateEnvironmentOperationCallable = + callableFactory.createOperationCallable( + updateEnvironmentTransportSettings, + settings.updateEnvironmentOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.deleteEnvironmentCallable = + callableFactory.createUnaryCallable( + deleteEnvironmentTransportSettings, + settings.deleteEnvironmentSettings(), + clientContext); + this.deleteEnvironmentOperationCallable = + callableFactory.createOperationCallable( + deleteEnvironmentTransportSettings, + settings.deleteEnvironmentOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.restartWebServerCallable = + callableFactory.createUnaryCallable( + restartWebServerTransportSettings, settings.restartWebServerSettings(), clientContext); + this.restartWebServerOperationCallable = + callableFactory.createOperationCallable( + restartWebServerTransportSettings, + settings.restartWebServerOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.checkUpgradeCallable = + callableFactory.createUnaryCallable( + checkUpgradeTransportSettings, settings.checkUpgradeSettings(), clientContext); + this.checkUpgradeOperationCallable = + callableFactory.createOperationCallable( + checkUpgradeTransportSettings, + settings.checkUpgradeOperationSettings(), + clientContext, + httpJsonOperationsStub); + + this.backgroundResources = + new BackgroundResourceAggregation(clientContext.getBackgroundResources()); + } + + @InternalApi + public static List getMethodDescriptors() { + List methodDescriptors = new ArrayList<>(); + methodDescriptors.add(createEnvironmentMethodDescriptor); + methodDescriptors.add(getEnvironmentMethodDescriptor); + methodDescriptors.add(listEnvironmentsMethodDescriptor); + methodDescriptors.add(updateEnvironmentMethodDescriptor); + methodDescriptors.add(deleteEnvironmentMethodDescriptor); + methodDescriptors.add(restartWebServerMethodDescriptor); + methodDescriptors.add(checkUpgradeMethodDescriptor); + return methodDescriptors; + } + + public HttpJsonOperationsStub getHttpJsonOperationsStub() { + return httpJsonOperationsStub; + } + + @Override + public UnaryCallable createEnvironmentCallable() { + return createEnvironmentCallable; + } + + @Override + public OperationCallable + createEnvironmentOperationCallable() { + return createEnvironmentOperationCallable; + } + + @Override + public UnaryCallable getEnvironmentCallable() { + return getEnvironmentCallable; + } + + @Override + public UnaryCallable + listEnvironmentsCallable() { + return listEnvironmentsCallable; + } + + @Override + public UnaryCallable + listEnvironmentsPagedCallable() { + return listEnvironmentsPagedCallable; + } + + @Override + public UnaryCallable updateEnvironmentCallable() { + return updateEnvironmentCallable; + } + + @Override + public OperationCallable + updateEnvironmentOperationCallable() { + return updateEnvironmentOperationCallable; + } + + @Override + public UnaryCallable deleteEnvironmentCallable() { + return deleteEnvironmentCallable; + } + + @Override + public OperationCallable + deleteEnvironmentOperationCallable() { + return deleteEnvironmentOperationCallable; + } + + @Override + public UnaryCallable restartWebServerCallable() { + return restartWebServerCallable; + } + + @Override + public OperationCallable + restartWebServerOperationCallable() { + return restartWebServerOperationCallable; + } + + @Override + public UnaryCallable checkUpgradeCallable() { + return checkUpgradeCallable; + } + + @Override + public OperationCallable + checkUpgradeOperationCallable() { + return checkUpgradeOperationCallable; + } + + @Override + public final void close() { + try { + backgroundResources.close(); + } catch (RuntimeException e) { + throw e; + } catch (Exception e) { + throw new IllegalStateException("Failed to close resource", e); + } + } + + @Override + public void shutdown() { + backgroundResources.shutdown(); + } + + @Override + public boolean isShutdown() { + return backgroundResources.isShutdown(); + } + + @Override + public boolean isTerminated() { + return backgroundResources.isTerminated(); + } + + @Override + public void shutdownNow() { + backgroundResources.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return backgroundResources.awaitTermination(duration, unit); + } +} diff --git a/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/HttpJsonImageVersionsCallableFactory.java b/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/HttpJsonImageVersionsCallableFactory.java new file mode 100644 index 00000000..fa68640f --- /dev/null +++ b/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/HttpJsonImageVersionsCallableFactory.java @@ -0,0 +1,105 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1beta1.stub; + +import com.google.api.core.BetaApi; +import com.google.api.gax.httpjson.HttpJsonCallSettings; +import com.google.api.gax.httpjson.HttpJsonCallableFactory; +import com.google.api.gax.httpjson.HttpJsonOperationSnapshotCallable; +import com.google.api.gax.httpjson.HttpJsonStubCallableFactory; +import com.google.api.gax.httpjson.longrunning.stub.OperationsStub; +import com.google.api.gax.rpc.BatchingCallSettings; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.OperationCallSettings; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallable; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.longrunning.Operation; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * REST callable factory implementation for the ImageVersions service API. + * + *

    This class is for advanced usage. + */ +@BetaApi +@Generated("by gapic-generator-java") +public class HttpJsonImageVersionsCallableFactory + implements HttpJsonStubCallableFactory { + + @Override + public UnaryCallable createUnaryCallable( + HttpJsonCallSettings httpJsonCallSettings, + UnaryCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createUnaryCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @Override + public + UnaryCallable createPagedCallable( + HttpJsonCallSettings httpJsonCallSettings, + PagedCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createPagedCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @Override + public UnaryCallable createBatchingCallable( + HttpJsonCallSettings httpJsonCallSettings, + BatchingCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createBatchingCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @BetaApi( + "The surface for long-running operations is not stable yet and may change in the future.") + @Override + public + OperationCallable createOperationCallable( + HttpJsonCallSettings httpJsonCallSettings, + OperationCallSettings callSettings, + ClientContext clientContext, + OperationsStub operationsStub) { + UnaryCallable innerCallable = + HttpJsonCallableFactory.createBaseUnaryCallable( + httpJsonCallSettings, callSettings.getInitialCallSettings(), clientContext); + HttpJsonOperationSnapshotCallable initialCallable = + new HttpJsonOperationSnapshotCallable( + innerCallable, + httpJsonCallSettings.getMethodDescriptor().getOperationSnapshotFactory()); + return HttpJsonCallableFactory.createOperationCallable( + callSettings, clientContext, operationsStub.longRunningClient(), initialCallable); + } + + @Override + public + ServerStreamingCallable createServerStreamingCallable( + HttpJsonCallSettings httpJsonCallSettings, + ServerStreamingCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createServerStreamingCallable( + httpJsonCallSettings, callSettings, clientContext); + } +} diff --git a/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/HttpJsonImageVersionsStub.java b/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/HttpJsonImageVersionsStub.java new file mode 100644 index 00000000..0ea3e6b9 --- /dev/null +++ b/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/HttpJsonImageVersionsStub.java @@ -0,0 +1,216 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1beta1.stub; + +import static com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsClient.ListImageVersionsPagedResponse; + +import com.google.api.core.BetaApi; +import com.google.api.core.InternalApi; +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.core.BackgroundResourceAggregation; +import com.google.api.gax.httpjson.ApiMethodDescriptor; +import com.google.api.gax.httpjson.HttpJsonCallSettings; +import com.google.api.gax.httpjson.HttpJsonStubCallableFactory; +import com.google.api.gax.httpjson.ProtoMessageRequestFormatter; +import com.google.api.gax.httpjson.ProtoMessageResponseParser; +import com.google.api.gax.httpjson.ProtoRestSerializer; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest; +import com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse; +import com.google.protobuf.TypeRegistry; +import java.io.IOException; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * REST stub implementation for the ImageVersions service API. + * + *

    This class is for advanced usage and reflects the underlying API directly. + */ +@BetaApi +@Generated("by gapic-generator-java") +public class HttpJsonImageVersionsStub extends ImageVersionsStub { + private static final TypeRegistry typeRegistry = TypeRegistry.newBuilder().build(); + + private static final ApiMethodDescriptor + listImageVersionsMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.orchestration.airflow.service.v1beta1.ImageVersions/ListImageVersions") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta1/{parent=projects/*/locations/*}/imageVersions", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam( + fields, "includePastReleases", request.getIncludePastReleases()); + serializer.putQueryParam(fields, "pageSize", request.getPageSize()); + serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(ListImageVersionsResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private final UnaryCallable + listImageVersionsCallable; + private final UnaryCallable + listImageVersionsPagedCallable; + + private final BackgroundResource backgroundResources; + private final HttpJsonStubCallableFactory callableFactory; + + public static final HttpJsonImageVersionsStub create(ImageVersionsStubSettings settings) + throws IOException { + return new HttpJsonImageVersionsStub(settings, ClientContext.create(settings)); + } + + public static final HttpJsonImageVersionsStub create(ClientContext clientContext) + throws IOException { + return new HttpJsonImageVersionsStub( + ImageVersionsStubSettings.newHttpJsonBuilder().build(), clientContext); + } + + public static final HttpJsonImageVersionsStub create( + ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException { + return new HttpJsonImageVersionsStub( + ImageVersionsStubSettings.newHttpJsonBuilder().build(), clientContext, callableFactory); + } + + /** + * Constructs an instance of HttpJsonImageVersionsStub, using the given settings. This is + * protected so that it is easy to make a subclass, but otherwise, the static factory methods + * should be preferred. + */ + protected HttpJsonImageVersionsStub( + ImageVersionsStubSettings settings, ClientContext clientContext) throws IOException { + this(settings, clientContext, new HttpJsonImageVersionsCallableFactory()); + } + + /** + * Constructs an instance of HttpJsonImageVersionsStub, using the given settings. This is + * protected so that it is easy to make a subclass, but otherwise, the static factory methods + * should be preferred. + */ + protected HttpJsonImageVersionsStub( + ImageVersionsStubSettings settings, + ClientContext clientContext, + HttpJsonStubCallableFactory callableFactory) + throws IOException { + this.callableFactory = callableFactory; + + HttpJsonCallSettings + listImageVersionsTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(listImageVersionsMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + + this.listImageVersionsCallable = + callableFactory.createUnaryCallable( + listImageVersionsTransportSettings, + settings.listImageVersionsSettings(), + clientContext); + this.listImageVersionsPagedCallable = + callableFactory.createPagedCallable( + listImageVersionsTransportSettings, + settings.listImageVersionsSettings(), + clientContext); + + this.backgroundResources = + new BackgroundResourceAggregation(clientContext.getBackgroundResources()); + } + + @InternalApi + public static List getMethodDescriptors() { + List methodDescriptors = new ArrayList<>(); + methodDescriptors.add(listImageVersionsMethodDescriptor); + return methodDescriptors; + } + + @Override + public UnaryCallable + listImageVersionsCallable() { + return listImageVersionsCallable; + } + + @Override + public UnaryCallable + listImageVersionsPagedCallable() { + return listImageVersionsPagedCallable; + } + + @Override + public final void close() { + try { + backgroundResources.close(); + } catch (RuntimeException e) { + throw e; + } catch (Exception e) { + throw new IllegalStateException("Failed to close resource", e); + } + } + + @Override + public void shutdown() { + backgroundResources.shutdown(); + } + + @Override + public boolean isShutdown() { + return backgroundResources.isShutdown(); + } + + @Override + public boolean isTerminated() { + return backgroundResources.isTerminated(); + } + + @Override + public void shutdownNow() { + backgroundResources.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return backgroundResources.awaitTermination(duration, unit); + } +} diff --git a/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/ImageVersionsStub.java b/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/ImageVersionsStub.java similarity index 100% rename from google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/ImageVersionsStub.java rename to owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/ImageVersionsStub.java diff --git a/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/ImageVersionsStubSettings.java b/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/ImageVersionsStubSettings.java similarity index 84% rename from google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/ImageVersionsStubSettings.java rename to owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/ImageVersionsStubSettings.java index eab42d9d..babf5a43 100644 --- a/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/ImageVersionsStubSettings.java +++ b/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/ImageVersionsStubSettings.java @@ -27,6 +27,9 @@ import com.google.api.gax.grpc.GaxGrpcProperties; import com.google.api.gax.grpc.GrpcTransportChannel; import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.httpjson.GaxHttpJsonProperties; +import com.google.api.gax.httpjson.HttpJsonTransportChannel; +import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; import com.google.api.gax.retrying.RetrySettings; import com.google.api.gax.rpc.ApiCallContext; import com.google.api.gax.rpc.ApiClientHeaderProvider; @@ -58,9 +61,9 @@ *

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

      - *
    • The default service address (composer.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 (composer.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 @@ -140,8 +143,7 @@ public Iterable extractResources(ListImageVersionsResponse payload ListImageVersionsRequest, ListImageVersionsResponse, ListImageVersionsPagedResponse> LIST_IMAGE_VERSIONS_PAGE_STR_FACT = new PagedListResponseFactory< - ListImageVersionsRequest, - ListImageVersionsResponse, + ListImageVersionsRequest, ListImageVersionsResponse, ListImageVersionsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -170,6 +172,11 @@ public ImageVersionsStub createStub() throws IOException { .equals(GrpcTransportChannel.getGrpcTransportName())) { return GrpcImageVersionsStub.create(this); } + if (getTransportChannelProvider() + .getTransportName() + .equals(HttpJsonTransportChannel.getHttpJsonTransportName())) { + return HttpJsonImageVersionsStub.create(this); + } throw new UnsupportedOperationException( String.format( "Transport not supported: %s", getTransportChannelProvider().getTransportName())); @@ -202,18 +209,25 @@ public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilde .setUseJwtAccessWithScope(true); } - /** Returns a builder for the default ChannelProvider for this service. */ + /** Returns a builder for the default gRPC ChannelProvider for this service. */ public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { return InstantiatingGrpcChannelProvider.newBuilder() .setMaxInboundMessageSize(Integer.MAX_VALUE); } + /** Returns a builder for the default REST ChannelProvider for this service. */ + @BetaApi + public static InstantiatingHttpJsonChannelProvider.Builder + defaultHttpJsonTransportProviderBuilder() { + return InstantiatingHttpJsonChannelProvider.newBuilder(); + } + public static TransportChannelProvider defaultTransportChannelProvider() { return defaultGrpcTransportProviderBuilder().build(); } @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") - public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + public static ApiClientHeaderProvider.Builder defaultGrpcApiClientHeaderProviderBuilder() { return ApiClientHeaderProvider.newBuilder() .setGeneratedLibToken( "gapic", GaxProperties.getLibraryVersion(ImageVersionsStubSettings.class)) @@ -221,11 +235,30 @@ public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuil GaxGrpcProperties.getGrpcTokenName(), GaxGrpcProperties.getGrpcVersion()); } - /** Returns a new builder for this class. */ + @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") + public static ApiClientHeaderProvider.Builder defaultHttpJsonApiClientHeaderProviderBuilder() { + return ApiClientHeaderProvider.newBuilder() + .setGeneratedLibToken( + "gapic", GaxProperties.getLibraryVersion(ImageVersionsStubSettings.class)) + .setTransportToken( + GaxHttpJsonProperties.getHttpJsonTokenName(), + GaxHttpJsonProperties.getHttpJsonVersion()); + } + + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return ImageVersionsStubSettings.defaultGrpcApiClientHeaderProviderBuilder(); + } + + /** Returns a new gRPC builder for this class. */ public static Builder newBuilder() { return Builder.createDefault(); } + /** Returns a new REST builder for this class. */ + public static Builder newHttpJsonBuilder() { + return Builder.createHttpJsonDefault(); + } + /** Returns a new builder for this class. */ public static Builder newBuilder(ClientContext clientContext) { return new Builder(clientContext); @@ -304,6 +337,19 @@ private static Builder createDefault() { return initDefaults(builder); } + private static Builder createHttpJsonDefault() { + Builder builder = new Builder(((ClientContext) null)); + + builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build()); + builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); + builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build()); + builder.setEndpoint(getDefaultEndpoint()); + builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); + builder.setSwitchToMtlsEndpointAllowed(true); + + return initDefaults(builder); + } + private static Builder initDefaults(Builder builder) { builder .listImageVersionsSettings() diff --git a/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsClientHttpJsonTest.java b/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsClientHttpJsonTest.java new file mode 100644 index 00000000..4220557b --- /dev/null +++ b/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsClientHttpJsonTest.java @@ -0,0 +1,465 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1beta1; + +import static com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsClient.ListEnvironmentsPagedResponse; + +import com.google.api.gax.core.NoCredentialsProvider; +import com.google.api.gax.httpjson.GaxHttpJsonProperties; +import com.google.api.gax.httpjson.testing.MockHttpService; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ApiException; +import com.google.api.gax.rpc.ApiExceptionFactory; +import com.google.api.gax.rpc.InvalidArgumentException; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.gax.rpc.testing.FakeStatusCode; +import com.google.cloud.orchestration.airflow.service.v1beta1.stub.HttpJsonEnvironmentsStub; +import com.google.common.collect.Lists; +import com.google.longrunning.Operation; +import com.google.protobuf.Any; +import com.google.protobuf.Empty; +import com.google.protobuf.FieldMask; +import com.google.protobuf.Timestamp; +import java.io.IOException; +import java.util.Arrays; +import java.util.HashMap; +import java.util.List; +import java.util.concurrent.ExecutionException; +import javax.annotation.Generated; +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Assert; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +@Generated("by gapic-generator-java") +public class EnvironmentsClientHttpJsonTest { + private static MockHttpService mockService; + private static EnvironmentsClient client; + + @BeforeClass + public static void startStaticServer() throws IOException { + mockService = + new MockHttpService( + HttpJsonEnvironmentsStub.getMethodDescriptors(), + EnvironmentsSettings.getDefaultEndpoint()); + EnvironmentsSettings settings = + EnvironmentsSettings.newHttpJsonBuilder() + .setTransportChannelProvider( + EnvironmentsSettings.defaultHttpJsonTransportProviderBuilder() + .setHttpTransport(mockService) + .build()) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = EnvironmentsClient.create(settings); + } + + @AfterClass + public static void stopServer() { + client.close(); + } + + @Before + public void setUp() {} + + @After + public void tearDown() throws Exception { + mockService.reset(); + } + + @Test + public void createEnvironmentTest() throws Exception { + Environment expectedResponse = + Environment.newBuilder() + .setName("name3373707") + .setConfig(EnvironmentConfig.newBuilder().build()) + .setUuid("uuid3601339") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .putAllLabels(new HashMap()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createEnvironmentTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String parent = "projects/project-5833/locations/location-5833"; + Environment environment = Environment.newBuilder().build(); + + Environment actualResponse = client.createEnvironmentAsync(parent, environment).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createEnvironmentExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-5833/locations/location-5833"; + Environment environment = Environment.newBuilder().build(); + client.createEnvironmentAsync(parent, environment).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void getEnvironmentTest() throws Exception { + Environment expectedResponse = + Environment.newBuilder() + .setName("name3373707") + .setConfig(EnvironmentConfig.newBuilder().build()) + .setUuid("uuid3601339") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .putAllLabels(new HashMap()) + .build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-7856/locations/location-7856/environments/environment-7856"; + + Environment actualResponse = client.getEnvironment(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getEnvironmentExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-7856/locations/location-7856/environments/environment-7856"; + client.getEnvironment(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listEnvironmentsTest() throws Exception { + Environment responsesElement = Environment.newBuilder().build(); + ListEnvironmentsResponse expectedResponse = + ListEnvironmentsResponse.newBuilder() + .setNextPageToken("") + .addAllEnvironments(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-5833/locations/location-5833"; + + ListEnvironmentsPagedResponse pagedListResponse = client.listEnvironments(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getEnvironmentsList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listEnvironmentsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-5833/locations/location-5833"; + client.listEnvironments(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void updateEnvironmentTest() throws Exception { + Environment expectedResponse = + Environment.newBuilder() + .setName("name3373707") + .setConfig(EnvironmentConfig.newBuilder().build()) + .setUuid("uuid3601339") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .putAllLabels(new HashMap()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("updateEnvironmentTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String name = "projects/project-7856/locations/location-7856/environments/environment-7856"; + Environment environment = Environment.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + + Environment actualResponse = client.updateEnvironmentAsync(name, environment, updateMask).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void updateEnvironmentExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-7856/locations/location-7856/environments/environment-7856"; + Environment environment = Environment.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + client.updateEnvironmentAsync(name, environment, updateMask).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void deleteEnvironmentTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + Operation resultOperation = + Operation.newBuilder() + .setName("deleteEnvironmentTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String name = "projects/project-7856/locations/location-7856/environments/environment-7856"; + + client.deleteEnvironmentAsync(name).get(); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteEnvironmentExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-7856/locations/location-7856/environments/environment-7856"; + client.deleteEnvironmentAsync(name).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void restartWebServerTest() throws Exception { + Environment expectedResponse = + Environment.newBuilder() + .setName("name3373707") + .setConfig(EnvironmentConfig.newBuilder().build()) + .setUuid("uuid3601339") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .putAllLabels(new HashMap()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("restartWebServerTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + RestartWebServerRequest request = + RestartWebServerRequest.newBuilder() + .setName("projects/project-7856/locations/location-7856/environments/environment-7856") + .build(); + + Environment actualResponse = client.restartWebServerAsync(request).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void restartWebServerExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + RestartWebServerRequest request = + RestartWebServerRequest.newBuilder() + .setName( + "projects/project-7856/locations/location-7856/environments/environment-7856") + .build(); + client.restartWebServerAsync(request).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void checkUpgradeTest() throws Exception { + CheckUpgradeResponse expectedResponse = + CheckUpgradeResponse.newBuilder() + .setBuildLogUri("buildLogUri2048482198") + .setPypiConflictBuildLogExtract("pypiConflictBuildLogExtract-1257030825") + .setImageVersion("imageVersion949870333") + .putAllPypiDependencies(new HashMap()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("checkUpgradeTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + CheckUpgradeRequest request = + CheckUpgradeRequest.newBuilder() + .setEnvironment( + "projects/project-4088/locations/location-4088/environments/environment-4088") + .setImageVersion("imageVersion949870333") + .build(); + + CheckUpgradeResponse actualResponse = client.checkUpgradeAsync(request).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void checkUpgradeExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + CheckUpgradeRequest request = + CheckUpgradeRequest.newBuilder() + .setEnvironment( + "projects/project-4088/locations/location-4088/environments/environment-4088") + .setImageVersion("imageVersion949870333") + .build(); + client.checkUpgradeAsync(request).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } +} diff --git a/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsClientTest.java b/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsClientTest.java similarity index 100% rename from google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsClientTest.java rename to owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsClientTest.java diff --git a/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsClientHttpJsonTest.java b/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsClientHttpJsonTest.java new file mode 100644 index 00000000..e1b43bd6 --- /dev/null +++ b/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsClientHttpJsonTest.java @@ -0,0 +1,127 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1beta1; + +import static com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsClient.ListImageVersionsPagedResponse; + +import com.google.api.gax.core.NoCredentialsProvider; +import com.google.api.gax.httpjson.GaxHttpJsonProperties; +import com.google.api.gax.httpjson.testing.MockHttpService; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ApiException; +import com.google.api.gax.rpc.ApiExceptionFactory; +import com.google.api.gax.rpc.InvalidArgumentException; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.gax.rpc.testing.FakeStatusCode; +import com.google.cloud.orchestration.airflow.service.v1beta1.stub.HttpJsonImageVersionsStub; +import com.google.common.collect.Lists; +import java.io.IOException; +import java.util.Arrays; +import java.util.List; +import javax.annotation.Generated; +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Assert; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +@Generated("by gapic-generator-java") +public class ImageVersionsClientHttpJsonTest { + private static MockHttpService mockService; + private static ImageVersionsClient client; + + @BeforeClass + public static void startStaticServer() throws IOException { + mockService = + new MockHttpService( + HttpJsonImageVersionsStub.getMethodDescriptors(), + ImageVersionsSettings.getDefaultEndpoint()); + ImageVersionsSettings settings = + ImageVersionsSettings.newHttpJsonBuilder() + .setTransportChannelProvider( + ImageVersionsSettings.defaultHttpJsonTransportProviderBuilder() + .setHttpTransport(mockService) + .build()) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = ImageVersionsClient.create(settings); + } + + @AfterClass + public static void stopServer() { + client.close(); + } + + @Before + public void setUp() {} + + @After + public void tearDown() throws Exception { + mockService.reset(); + } + + @Test + public void listImageVersionsTest() throws Exception { + ImageVersion responsesElement = ImageVersion.newBuilder().build(); + ListImageVersionsResponse expectedResponse = + ListImageVersionsResponse.newBuilder() + .setNextPageToken("") + .addAllImageVersions(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-5833/locations/location-5833"; + + ListImageVersionsPagedResponse pagedListResponse = client.listImageVersions(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getImageVersionsList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listImageVersionsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-5833/locations/location-5833"; + client.listImageVersions(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } +} diff --git a/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsClientTest.java b/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsClientTest.java similarity index 100% rename from google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsClientTest.java rename to owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsClientTest.java diff --git a/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/MockEnvironments.java b/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/MockEnvironments.java similarity index 100% rename from google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/MockEnvironments.java rename to owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/MockEnvironments.java diff --git a/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/MockEnvironmentsImpl.java b/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/MockEnvironmentsImpl.java similarity index 100% rename from google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/MockEnvironmentsImpl.java rename to owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/MockEnvironmentsImpl.java diff --git a/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/MockImageVersions.java b/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/MockImageVersions.java similarity index 100% rename from google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/MockImageVersions.java rename to owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/MockImageVersions.java diff --git a/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/MockImageVersionsImpl.java b/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/MockImageVersionsImpl.java similarity index 100% rename from google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/MockImageVersionsImpl.java rename to owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/MockImageVersionsImpl.java diff --git a/owl-bot-staging/v1beta1/grpc-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsGrpc.java b/owl-bot-staging/v1beta1/grpc-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsGrpc.java new file mode 100644 index 00000000..93a0268c --- /dev/null +++ b/owl-bot-staging/v1beta1/grpc-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsGrpc.java @@ -0,0 +1,823 @@ +package com.google.cloud.orchestration.airflow.service.v1beta1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *

    + * Managed Apache Airflow Environments.
    + * 
    + */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/orchestration/airflow/service/v1beta1/environments.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class EnvironmentsGrpc { + + private EnvironmentsGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.orchestration.airflow.service.v1beta1.Environments"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getCreateEnvironmentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateEnvironment", + requestType = com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateEnvironmentMethod() { + io.grpc.MethodDescriptor getCreateEnvironmentMethod; + if ((getCreateEnvironmentMethod = EnvironmentsGrpc.getCreateEnvironmentMethod) == null) { + synchronized (EnvironmentsGrpc.class) { + if ((getCreateEnvironmentMethod = EnvironmentsGrpc.getCreateEnvironmentMethod) == null) { + EnvironmentsGrpc.getCreateEnvironmentMethod = getCreateEnvironmentMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateEnvironment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new EnvironmentsMethodDescriptorSupplier("CreateEnvironment")) + .build(); + } + } + } + return getCreateEnvironmentMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetEnvironmentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetEnvironment", + requestType = com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest.class, + responseType = com.google.cloud.orchestration.airflow.service.v1beta1.Environment.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetEnvironmentMethod() { + io.grpc.MethodDescriptor getGetEnvironmentMethod; + if ((getGetEnvironmentMethod = EnvironmentsGrpc.getGetEnvironmentMethod) == null) { + synchronized (EnvironmentsGrpc.class) { + if ((getGetEnvironmentMethod = EnvironmentsGrpc.getGetEnvironmentMethod) == null) { + EnvironmentsGrpc.getGetEnvironmentMethod = getGetEnvironmentMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetEnvironment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.orchestration.airflow.service.v1beta1.Environment.getDefaultInstance())) + .setSchemaDescriptor(new EnvironmentsMethodDescriptorSupplier("GetEnvironment")) + .build(); + } + } + } + return getGetEnvironmentMethod; + } + + private static volatile io.grpc.MethodDescriptor getListEnvironmentsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListEnvironments", + requestType = com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest.class, + responseType = com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListEnvironmentsMethod() { + io.grpc.MethodDescriptor getListEnvironmentsMethod; + if ((getListEnvironmentsMethod = EnvironmentsGrpc.getListEnvironmentsMethod) == null) { + synchronized (EnvironmentsGrpc.class) { + if ((getListEnvironmentsMethod = EnvironmentsGrpc.getListEnvironmentsMethod) == null) { + EnvironmentsGrpc.getListEnvironmentsMethod = getListEnvironmentsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListEnvironments")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse.getDefaultInstance())) + .setSchemaDescriptor(new EnvironmentsMethodDescriptorSupplier("ListEnvironments")) + .build(); + } + } + } + return getListEnvironmentsMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateEnvironmentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateEnvironment", + requestType = com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateEnvironmentMethod() { + io.grpc.MethodDescriptor getUpdateEnvironmentMethod; + if ((getUpdateEnvironmentMethod = EnvironmentsGrpc.getUpdateEnvironmentMethod) == null) { + synchronized (EnvironmentsGrpc.class) { + if ((getUpdateEnvironmentMethod = EnvironmentsGrpc.getUpdateEnvironmentMethod) == null) { + EnvironmentsGrpc.getUpdateEnvironmentMethod = getUpdateEnvironmentMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateEnvironment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new EnvironmentsMethodDescriptorSupplier("UpdateEnvironment")) + .build(); + } + } + } + return getUpdateEnvironmentMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteEnvironmentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteEnvironment", + requestType = com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteEnvironmentMethod() { + io.grpc.MethodDescriptor getDeleteEnvironmentMethod; + if ((getDeleteEnvironmentMethod = EnvironmentsGrpc.getDeleteEnvironmentMethod) == null) { + synchronized (EnvironmentsGrpc.class) { + if ((getDeleteEnvironmentMethod = EnvironmentsGrpc.getDeleteEnvironmentMethod) == null) { + EnvironmentsGrpc.getDeleteEnvironmentMethod = getDeleteEnvironmentMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteEnvironment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new EnvironmentsMethodDescriptorSupplier("DeleteEnvironment")) + .build(); + } + } + } + return getDeleteEnvironmentMethod; + } + + private static volatile io.grpc.MethodDescriptor getRestartWebServerMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RestartWebServer", + requestType = com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getRestartWebServerMethod() { + io.grpc.MethodDescriptor getRestartWebServerMethod; + if ((getRestartWebServerMethod = EnvironmentsGrpc.getRestartWebServerMethod) == null) { + synchronized (EnvironmentsGrpc.class) { + if ((getRestartWebServerMethod = EnvironmentsGrpc.getRestartWebServerMethod) == null) { + EnvironmentsGrpc.getRestartWebServerMethod = getRestartWebServerMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RestartWebServer")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new EnvironmentsMethodDescriptorSupplier("RestartWebServer")) + .build(); + } + } + } + return getRestartWebServerMethod; + } + + private static volatile io.grpc.MethodDescriptor getCheckUpgradeMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CheckUpgrade", + requestType = com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCheckUpgradeMethod() { + io.grpc.MethodDescriptor getCheckUpgradeMethod; + if ((getCheckUpgradeMethod = EnvironmentsGrpc.getCheckUpgradeMethod) == null) { + synchronized (EnvironmentsGrpc.class) { + if ((getCheckUpgradeMethod = EnvironmentsGrpc.getCheckUpgradeMethod) == null) { + EnvironmentsGrpc.getCheckUpgradeMethod = getCheckUpgradeMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CheckUpgrade")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new EnvironmentsMethodDescriptorSupplier("CheckUpgrade")) + .build(); + } + } + } + return getCheckUpgradeMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static EnvironmentsStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public EnvironmentsStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EnvironmentsStub(channel, callOptions); + } + }; + return EnvironmentsStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static EnvironmentsBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public EnvironmentsBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EnvironmentsBlockingStub(channel, callOptions); + } + }; + return EnvironmentsBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static EnvironmentsFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public EnvironmentsFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EnvironmentsFutureStub(channel, callOptions); + } + }; + return EnvironmentsFutureStub.newStub(factory, channel); + } + + /** + *
    +   * Managed Apache Airflow Environments.
    +   * 
    + */ + public static abstract class EnvironmentsImplBase implements io.grpc.BindableService { + + /** + *
    +     * Create a new environment.
    +     * 
    + */ + public void createEnvironment(com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateEnvironmentMethod(), responseObserver); + } + + /** + *
    +     * Get an existing environment.
    +     * 
    + */ + public void getEnvironment(com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetEnvironmentMethod(), responseObserver); + } + + /** + *
    +     * List environments.
    +     * 
    + */ + public void listEnvironments(com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListEnvironmentsMethod(), responseObserver); + } + + /** + *
    +     * Update an environment.
    +     * 
    + */ + public void updateEnvironment(com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateEnvironmentMethod(), responseObserver); + } + + /** + *
    +     * Delete an environment.
    +     * 
    + */ + public void deleteEnvironment(com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteEnvironmentMethod(), responseObserver); + } + + /** + *
    +     * Restart Airflow web server.
    +     * 
    + */ + public void restartWebServer(com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRestartWebServerMethod(), responseObserver); + } + + /** + *
    +     * Check if an upgrade operation on the environment will succeed.
    +     * In case of problems detailed info can be found in the returned Operation.
    +     * 
    + */ + public void checkUpgrade(com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCheckUpgradeMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateEnvironmentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest, + com.google.longrunning.Operation>( + this, METHODID_CREATE_ENVIRONMENT))) + .addMethod( + getGetEnvironmentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest, + com.google.cloud.orchestration.airflow.service.v1beta1.Environment>( + this, METHODID_GET_ENVIRONMENT))) + .addMethod( + getListEnvironmentsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest, + com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse>( + this, METHODID_LIST_ENVIRONMENTS))) + .addMethod( + getUpdateEnvironmentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest, + com.google.longrunning.Operation>( + this, METHODID_UPDATE_ENVIRONMENT))) + .addMethod( + getDeleteEnvironmentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest, + com.google.longrunning.Operation>( + this, METHODID_DELETE_ENVIRONMENT))) + .addMethod( + getRestartWebServerMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest, + com.google.longrunning.Operation>( + this, METHODID_RESTART_WEB_SERVER))) + .addMethod( + getCheckUpgradeMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest, + com.google.longrunning.Operation>( + this, METHODID_CHECK_UPGRADE))) + .build(); + } + } + + /** + *
    +   * Managed Apache Airflow Environments.
    +   * 
    + */ + public static final class EnvironmentsStub extends io.grpc.stub.AbstractAsyncStub { + private EnvironmentsStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected EnvironmentsStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EnvironmentsStub(channel, callOptions); + } + + /** + *
    +     * Create a new environment.
    +     * 
    + */ + public void createEnvironment(com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateEnvironmentMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
    +     * Get an existing environment.
    +     * 
    + */ + public void getEnvironment(com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetEnvironmentMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
    +     * List environments.
    +     * 
    + */ + public void listEnvironments(com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListEnvironmentsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
    +     * Update an environment.
    +     * 
    + */ + public void updateEnvironment(com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateEnvironmentMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
    +     * Delete an environment.
    +     * 
    + */ + public void deleteEnvironment(com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteEnvironmentMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
    +     * Restart Airflow web server.
    +     * 
    + */ + public void restartWebServer(com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRestartWebServerMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
    +     * Check if an upgrade operation on the environment will succeed.
    +     * In case of problems detailed info can be found in the returned Operation.
    +     * 
    + */ + public void checkUpgrade(com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCheckUpgradeMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + *
    +   * Managed Apache Airflow Environments.
    +   * 
    + */ + public static final class EnvironmentsBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private EnvironmentsBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected EnvironmentsBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EnvironmentsBlockingStub(channel, callOptions); + } + + /** + *
    +     * Create a new environment.
    +     * 
    + */ + public com.google.longrunning.Operation createEnvironment(com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateEnvironmentMethod(), getCallOptions(), request); + } + + /** + *
    +     * Get an existing environment.
    +     * 
    + */ + public com.google.cloud.orchestration.airflow.service.v1beta1.Environment getEnvironment(com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetEnvironmentMethod(), getCallOptions(), request); + } + + /** + *
    +     * List environments.
    +     * 
    + */ + public com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse listEnvironments(com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListEnvironmentsMethod(), getCallOptions(), request); + } + + /** + *
    +     * Update an environment.
    +     * 
    + */ + public com.google.longrunning.Operation updateEnvironment(com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateEnvironmentMethod(), getCallOptions(), request); + } + + /** + *
    +     * Delete an environment.
    +     * 
    + */ + public com.google.longrunning.Operation deleteEnvironment(com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteEnvironmentMethod(), getCallOptions(), request); + } + + /** + *
    +     * Restart Airflow web server.
    +     * 
    + */ + public com.google.longrunning.Operation restartWebServer(com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRestartWebServerMethod(), getCallOptions(), request); + } + + /** + *
    +     * Check if an upgrade operation on the environment will succeed.
    +     * In case of problems detailed info can be found in the returned Operation.
    +     * 
    + */ + public com.google.longrunning.Operation checkUpgrade(com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCheckUpgradeMethod(), getCallOptions(), request); + } + } + + /** + *
    +   * Managed Apache Airflow Environments.
    +   * 
    + */ + public static final class EnvironmentsFutureStub extends io.grpc.stub.AbstractFutureStub { + private EnvironmentsFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected EnvironmentsFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EnvironmentsFutureStub(channel, callOptions); + } + + /** + *
    +     * Create a new environment.
    +     * 
    + */ + public com.google.common.util.concurrent.ListenableFuture createEnvironment( + com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateEnvironmentMethod(), getCallOptions()), request); + } + + /** + *
    +     * Get an existing environment.
    +     * 
    + */ + public com.google.common.util.concurrent.ListenableFuture getEnvironment( + com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetEnvironmentMethod(), getCallOptions()), request); + } + + /** + *
    +     * List environments.
    +     * 
    + */ + public com.google.common.util.concurrent.ListenableFuture listEnvironments( + com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListEnvironmentsMethod(), getCallOptions()), request); + } + + /** + *
    +     * Update an environment.
    +     * 
    + */ + public com.google.common.util.concurrent.ListenableFuture updateEnvironment( + com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateEnvironmentMethod(), getCallOptions()), request); + } + + /** + *
    +     * Delete an environment.
    +     * 
    + */ + public com.google.common.util.concurrent.ListenableFuture deleteEnvironment( + com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteEnvironmentMethod(), getCallOptions()), request); + } + + /** + *
    +     * Restart Airflow web server.
    +     * 
    + */ + public com.google.common.util.concurrent.ListenableFuture restartWebServer( + com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRestartWebServerMethod(), getCallOptions()), request); + } + + /** + *
    +     * Check if an upgrade operation on the environment will succeed.
    +     * In case of problems detailed info can be found in the returned Operation.
    +     * 
    + */ + public com.google.common.util.concurrent.ListenableFuture checkUpgrade( + com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCheckUpgradeMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_ENVIRONMENT = 0; + private static final int METHODID_GET_ENVIRONMENT = 1; + private static final int METHODID_LIST_ENVIRONMENTS = 2; + private static final int METHODID_UPDATE_ENVIRONMENT = 3; + private static final int METHODID_DELETE_ENVIRONMENT = 4; + private static final int METHODID_RESTART_WEB_SERVER = 5; + private static final int METHODID_CHECK_UPGRADE = 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 EnvironmentsImplBase serviceImpl; + private final int methodId; + + MethodHandlers(EnvironmentsImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_CREATE_ENVIRONMENT: + serviceImpl.createEnvironment((com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_ENVIRONMENT: + serviceImpl.getEnvironment((com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_ENVIRONMENTS: + serviceImpl.listEnvironments((com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_ENVIRONMENT: + serviceImpl.updateEnvironment((com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_ENVIRONMENT: + serviceImpl.deleteEnvironment((com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_RESTART_WEB_SERVER: + serviceImpl.restartWebServer((com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CHECK_UPGRADE: + serviceImpl.checkUpgrade((com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest) 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 EnvironmentsBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + EnvironmentsBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("Environments"); + } + } + + private static final class EnvironmentsFileDescriptorSupplier + extends EnvironmentsBaseDescriptorSupplier { + EnvironmentsFileDescriptorSupplier() {} + } + + private static final class EnvironmentsMethodDescriptorSupplier + extends EnvironmentsBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + EnvironmentsMethodDescriptorSupplier(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 (EnvironmentsGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new EnvironmentsFileDescriptorSupplier()) + .addMethod(getCreateEnvironmentMethod()) + .addMethod(getGetEnvironmentMethod()) + .addMethod(getListEnvironmentsMethod()) + .addMethod(getUpdateEnvironmentMethod()) + .addMethod(getDeleteEnvironmentMethod()) + .addMethod(getRestartWebServerMethod()) + .addMethod(getCheckUpgradeMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/v1beta1/grpc-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsGrpc.java b/owl-bot-staging/v1beta1/grpc-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsGrpc.java new file mode 100644 index 00000000..b469f45b --- /dev/null +++ b/owl-bot-staging/v1beta1/grpc-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsGrpc.java @@ -0,0 +1,303 @@ +package com.google.cloud.orchestration.airflow.service.v1beta1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *
    + * Readonly service to query available ImageVersions.
    + * 
    + */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/orchestration/airflow/service/v1beta1/image_versions.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class ImageVersionsGrpc { + + private ImageVersionsGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.orchestration.airflow.service.v1beta1.ImageVersions"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getListImageVersionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListImageVersions", + requestType = com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest.class, + responseType = com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListImageVersionsMethod() { + io.grpc.MethodDescriptor getListImageVersionsMethod; + if ((getListImageVersionsMethod = ImageVersionsGrpc.getListImageVersionsMethod) == null) { + synchronized (ImageVersionsGrpc.class) { + if ((getListImageVersionsMethod = ImageVersionsGrpc.getListImageVersionsMethod) == null) { + ImageVersionsGrpc.getListImageVersionsMethod = getListImageVersionsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListImageVersions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse.getDefaultInstance())) + .setSchemaDescriptor(new ImageVersionsMethodDescriptorSupplier("ListImageVersions")) + .build(); + } + } + } + return getListImageVersionsMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static ImageVersionsStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ImageVersionsStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ImageVersionsStub(channel, callOptions); + } + }; + return ImageVersionsStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static ImageVersionsBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ImageVersionsBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ImageVersionsBlockingStub(channel, callOptions); + } + }; + return ImageVersionsBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static ImageVersionsFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ImageVersionsFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ImageVersionsFutureStub(channel, callOptions); + } + }; + return ImageVersionsFutureStub.newStub(factory, channel); + } + + /** + *
    +   * Readonly service to query available ImageVersions.
    +   * 
    + */ + public static abstract class ImageVersionsImplBase implements io.grpc.BindableService { + + /** + *
    +     * List ImageVersions for provided location.
    +     * 
    + */ + public void listImageVersions(com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListImageVersionsMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getListImageVersionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest, + com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse>( + this, METHODID_LIST_IMAGE_VERSIONS))) + .build(); + } + } + + /** + *
    +   * Readonly service to query available ImageVersions.
    +   * 
    + */ + public static final class ImageVersionsStub extends io.grpc.stub.AbstractAsyncStub { + private ImageVersionsStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ImageVersionsStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ImageVersionsStub(channel, callOptions); + } + + /** + *
    +     * List ImageVersions for provided location.
    +     * 
    + */ + public void listImageVersions(com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListImageVersionsMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + *
    +   * Readonly service to query available ImageVersions.
    +   * 
    + */ + public static final class ImageVersionsBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private ImageVersionsBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ImageVersionsBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ImageVersionsBlockingStub(channel, callOptions); + } + + /** + *
    +     * List ImageVersions for provided location.
    +     * 
    + */ + public com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse listImageVersions(com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListImageVersionsMethod(), getCallOptions(), request); + } + } + + /** + *
    +   * Readonly service to query available ImageVersions.
    +   * 
    + */ + public static final class ImageVersionsFutureStub extends io.grpc.stub.AbstractFutureStub { + private ImageVersionsFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ImageVersionsFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ImageVersionsFutureStub(channel, callOptions); + } + + /** + *
    +     * List ImageVersions for provided location.
    +     * 
    + */ + public com.google.common.util.concurrent.ListenableFuture listImageVersions( + com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListImageVersionsMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_LIST_IMAGE_VERSIONS = 0; + + 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 ImageVersionsImplBase serviceImpl; + private final int methodId; + + MethodHandlers(ImageVersionsImplBase 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_IMAGE_VERSIONS: + serviceImpl.listImageVersions((com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest) 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 ImageVersionsBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + ImageVersionsBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsOuterClass.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("ImageVersions"); + } + } + + private static final class ImageVersionsFileDescriptorSupplier + extends ImageVersionsBaseDescriptorSupplier { + ImageVersionsFileDescriptorSupplier() {} + } + + private static final class ImageVersionsMethodDescriptorSupplier + extends ImageVersionsBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + ImageVersionsMethodDescriptorSupplier(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 (ImageVersionsGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new ImageVersionsFileDescriptorSupplier()) + .addMethod(getListImageVersionsMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CheckUpgradeRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CheckUpgradeRequest.java similarity index 70% rename from proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CheckUpgradeRequest.java rename to owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CheckUpgradeRequest.java index bb92ec95..83b7ba65 100644 --- a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CheckUpgradeRequest.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CheckUpgradeRequest.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/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; /** - * - * *
      * Request to check whether image upgrade will succeed.
      * 
    * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest} */ -public final class CheckUpgradeRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CheckUpgradeRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest) CheckUpgradeRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CheckUpgradeRequest.newBuilder() to construct. private CheckUpgradeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CheckUpgradeRequest() { environment_ = ""; imageVersion_ = ""; @@ -44,15 +26,16 @@ private CheckUpgradeRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CheckUpgradeRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CheckUpgradeRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private CheckUpgradeRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - environment_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + environment_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - imageVersion_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + imageVersion_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,34 +80,29 @@ private CheckUpgradeRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeRequest_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest.class, - com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest.Builder - .class); + com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest.class, com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest.Builder.class); } public static final int ENVIRONMENT_FIELD_NUMBER = 1; private volatile java.lang.Object environment_; /** - * - * *
        * The resource name of the environment to check upgrade for, in the
        * form:
    @@ -134,7 +110,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        * 
    * * string environment = 1; - * * @return The environment. */ @java.lang.Override @@ -143,15 +118,14 @@ public java.lang.String getEnvironment() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); environment_ = s; return s; } } /** - * - * *
        * The resource name of the environment to check upgrade for, in the
        * form:
    @@ -159,15 +133,16 @@ public java.lang.String getEnvironment() {
        * 
    * * string environment = 1; - * * @return The bytes for environment. */ @java.lang.Override - public com.google.protobuf.ByteString getEnvironmentBytes() { + public com.google.protobuf.ByteString + getEnvironmentBytes() { java.lang.Object ref = environment_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); environment_ = b; return b; } else { @@ -178,8 +153,6 @@ public com.google.protobuf.ByteString getEnvironmentBytes() { public static final int IMAGE_VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object imageVersion_; /** - * - * *
        * The version of the software running in the environment.
        * This encapsulates both the version of Cloud Composer functionality and the
    @@ -201,7 +174,6 @@ public com.google.protobuf.ByteString getEnvironmentBytes() {
        * 
    * * string image_version = 2; - * * @return The imageVersion. */ @java.lang.Override @@ -210,15 +182,14 @@ public java.lang.String getImageVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageVersion_ = s; return s; } } /** - * - * *
        * The version of the software running in the environment.
        * This encapsulates both the version of Cloud Composer functionality and the
    @@ -240,15 +211,16 @@ public java.lang.String getImageVersion() {
        * 
    * * string image_version = 2; - * * @return The bytes for imageVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getImageVersionBytes() { + public com.google.protobuf.ByteString + getImageVersionBytes() { java.lang.Object ref = imageVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); imageVersion_ = b; return b; } else { @@ -257,7 +229,6 @@ public com.google.protobuf.ByteString getImageVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -269,7 +240,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(environment_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, environment_); } @@ -299,17 +271,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.orchestration.airflow.service.v1beta1.CheckUpgradeRequest)) { + if (!(obj instanceof com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest other = - (com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest) obj; + com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest other = (com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest) obj; - if (!getEnvironment().equals(other.getEnvironment())) return false; - if (!getImageVersion().equals(other.getImageVersion())) return false; + if (!getEnvironment() + .equals(other.getEnvironment())) return false; + if (!getImageVersion() + .equals(other.getImageVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -330,152 +302,135 @@ public int hashCode() { return hash; } - public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest - 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.orchestration.airflow.service.v1beta1.CheckUpgradeRequest 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.orchestration.airflow.service.v1beta1.CheckUpgradeRequest - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest prototype) { + public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
        * Request to check whether image upgrade will succeed.
        * 
    * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest) com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeRequest_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest.class, - com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest.Builder - .class); + com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest.class, com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest.Builder.class); } - // Construct using - // com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest.newBuilder() + // Construct using com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -487,22 +442,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeRequest_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest - getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest - .getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest.getDefaultInstance(); } @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest build() { - com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest result = - buildPartial(); + com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -510,10 +462,8 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeReques } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest - buildPartial() { - com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest result = - new com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest(this); + public com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest buildPartial() { + com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest result = new com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest(this); result.environment_ = environment_; result.imageVersion_ = imageVersion_; onBuilt(); @@ -524,52 +474,46 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeReques public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest) { - return mergeFrom( - (com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest) other); + if (other instanceof com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest) { + return mergeFrom((com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest other) { - if (other - == com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest other) { + if (other == com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest.getDefaultInstance()) return this; if (!other.getEnvironment().isEmpty()) { environment_ = other.environment_; onChanged(); @@ -593,14 +537,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest parsedMessage = - null; + com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -612,8 +553,6 @@ public Builder mergeFrom( private java.lang.Object environment_ = ""; /** - * - * *
          * The resource name of the environment to check upgrade for, in the
          * form:
    @@ -621,13 +560,13 @@ public Builder mergeFrom(
          * 
    * * string environment = 1; - * * @return The environment. */ public java.lang.String getEnvironment() { java.lang.Object ref = environment_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); environment_ = s; return s; @@ -636,8 +575,6 @@ public java.lang.String getEnvironment() { } } /** - * - * *
          * The resource name of the environment to check upgrade for, in the
          * form:
    @@ -645,14 +582,15 @@ public java.lang.String getEnvironment() {
          * 
    * * string environment = 1; - * * @return The bytes for environment. */ - public com.google.protobuf.ByteString getEnvironmentBytes() { + public com.google.protobuf.ByteString + getEnvironmentBytes() { java.lang.Object ref = environment_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); environment_ = b; return b; } else { @@ -660,8 +598,6 @@ public com.google.protobuf.ByteString getEnvironmentBytes() { } } /** - * - * *
          * The resource name of the environment to check upgrade for, in the
          * form:
    @@ -669,22 +605,20 @@ public com.google.protobuf.ByteString getEnvironmentBytes() {
          * 
    * * string environment = 1; - * * @param value The environment to set. * @return This builder for chaining. */ - public Builder setEnvironment(java.lang.String value) { + public Builder setEnvironment( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + environment_ = value; onChanged(); return this; } /** - * - * *
          * The resource name of the environment to check upgrade for, in the
          * form:
    @@ -692,18 +626,15 @@ public Builder setEnvironment(java.lang.String value) {
          * 
    * * string environment = 1; - * * @return This builder for chaining. */ public Builder clearEnvironment() { - + environment_ = getDefaultInstance().getEnvironment(); onChanged(); return this; } /** - * - * *
          * The resource name of the environment to check upgrade for, in the
          * form:
    @@ -711,16 +642,16 @@ public Builder clearEnvironment() {
          * 
    * * string environment = 1; - * * @param value The bytes for environment to set. * @return This builder for chaining. */ - public Builder setEnvironmentBytes(com.google.protobuf.ByteString value) { + public Builder setEnvironmentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + environment_ = value; onChanged(); return this; @@ -728,8 +659,6 @@ public Builder setEnvironmentBytes(com.google.protobuf.ByteString value) { private java.lang.Object imageVersion_ = ""; /** - * - * *
          * The version of the software running in the environment.
          * This encapsulates both the version of Cloud Composer functionality and the
    @@ -751,13 +680,13 @@ public Builder setEnvironmentBytes(com.google.protobuf.ByteString value) {
          * 
    * * string image_version = 2; - * * @return The imageVersion. */ public java.lang.String getImageVersion() { java.lang.Object ref = imageVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageVersion_ = s; return s; @@ -766,8 +695,6 @@ public java.lang.String getImageVersion() { } } /** - * - * *
          * The version of the software running in the environment.
          * This encapsulates both the version of Cloud Composer functionality and the
    @@ -789,14 +716,15 @@ public java.lang.String getImageVersion() {
          * 
    * * string image_version = 2; - * * @return The bytes for imageVersion. */ - public com.google.protobuf.ByteString getImageVersionBytes() { + public com.google.protobuf.ByteString + getImageVersionBytes() { java.lang.Object ref = imageVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); imageVersion_ = b; return b; } else { @@ -804,8 +732,6 @@ public com.google.protobuf.ByteString getImageVersionBytes() { } } /** - * - * *
          * The version of the software running in the environment.
          * This encapsulates both the version of Cloud Composer functionality and the
    @@ -827,22 +753,20 @@ public com.google.protobuf.ByteString getImageVersionBytes() {
          * 
    * * string image_version = 2; - * * @param value The imageVersion to set. * @return This builder for chaining. */ - public Builder setImageVersion(java.lang.String value) { + public Builder setImageVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + imageVersion_ = value; onChanged(); return this; } /** - * - * *
          * The version of the software running in the environment.
          * This encapsulates both the version of Cloud Composer functionality and the
    @@ -864,18 +788,15 @@ public Builder setImageVersion(java.lang.String value) {
          * 
    * * string image_version = 2; - * * @return This builder for chaining. */ public Builder clearImageVersion() { - + imageVersion_ = getDefaultInstance().getImageVersion(); onChanged(); return this; } /** - * - * *
          * The version of the software running in the environment.
          * This encapsulates both the version of Cloud Composer functionality and the
    @@ -897,23 +818,23 @@ public Builder clearImageVersion() {
          * 
    * * string image_version = 2; - * * @param value The bytes for imageVersion to set. * @return This builder for chaining. */ - public Builder setImageVersionBytes(com.google.protobuf.ByteString value) { + public Builder setImageVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + imageVersion_ = 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); } @@ -923,33 +844,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest) - private static final com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest(); + DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest(); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest - getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CheckUpgradeRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CheckUpgradeRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CheckUpgradeRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CheckUpgradeRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -961,8 +879,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest - getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CheckUpgradeRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CheckUpgradeRequestOrBuilder.java similarity index 80% rename from proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CheckUpgradeRequestOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CheckUpgradeRequestOrBuilder.java index 1323c904..76a60955 100644 --- a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CheckUpgradeRequestOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CheckUpgradeRequestOrBuilder.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/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; -public interface CheckUpgradeRequestOrBuilder - extends +public interface CheckUpgradeRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * The resource name of the environment to check upgrade for, in the
        * form:
    @@ -33,13 +15,10 @@ public interface CheckUpgradeRequestOrBuilder
        * 
    * * string environment = 1; - * * @return The environment. */ java.lang.String getEnvironment(); /** - * - * *
        * The resource name of the environment to check upgrade for, in the
        * form:
    @@ -47,14 +26,12 @@ public interface CheckUpgradeRequestOrBuilder
        * 
    * * string environment = 1; - * * @return The bytes for environment. */ - com.google.protobuf.ByteString getEnvironmentBytes(); + com.google.protobuf.ByteString + getEnvironmentBytes(); /** - * - * *
        * The version of the software running in the environment.
        * This encapsulates both the version of Cloud Composer functionality and the
    @@ -76,13 +53,10 @@ public interface CheckUpgradeRequestOrBuilder
        * 
    * * string image_version = 2; - * * @return The imageVersion. */ java.lang.String getImageVersion(); /** - * - * *
        * The version of the software running in the environment.
        * This encapsulates both the version of Cloud Composer functionality and the
    @@ -104,8 +78,8 @@ public interface CheckUpgradeRequestOrBuilder
        * 
    * * string image_version = 2; - * * @return The bytes for imageVersion. */ - com.google.protobuf.ByteString getImageVersionBytes(); + com.google.protobuf.ByteString + getImageVersionBytes(); } diff --git a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CheckUpgradeResponse.java b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CheckUpgradeResponse.java similarity index 60% rename from proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CheckUpgradeResponse.java rename to owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CheckUpgradeResponse.java index 82528750..0e06e686 100644 --- a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CheckUpgradeResponse.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CheckUpgradeResponse.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/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; /** - * - * *
      * Message containing information about the result of an upgrade check
      * operation.
    @@ -28,16 +11,15 @@
      *
      * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse}
      */
    -public final class CheckUpgradeResponse extends com.google.protobuf.GeneratedMessageV3
    -    implements
    +public final class CheckUpgradeResponse extends
    +    com.google.protobuf.GeneratedMessageV3 implements
         // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse)
         CheckUpgradeResponseOrBuilder {
    -  private static final long serialVersionUID = 0L;
    +private static final long serialVersionUID = 0L;
       // Use CheckUpgradeResponse.newBuilder() to construct.
       private CheckUpgradeResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
    -
       private CheckUpgradeResponse() {
         buildLogUri_ = "";
         containsPypiModulesConflict_ = 0;
    @@ -47,15 +29,16 @@ private CheckUpgradeResponse() {
     
       @java.lang.Override
       @SuppressWarnings({"unused"})
    -  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
    +  protected java.lang.Object newInstance(
    +      UnusedPrivateParameter unused) {
         return new CheckUpgradeResponse();
       }
     
       @java.lang.Override
    -  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
    +  public final com.google.protobuf.UnknownFieldSet
    +  getUnknownFields() {
         return this.unknownFields;
       }
    -
       private CheckUpgradeResponse(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    @@ -75,58 +58,50 @@ private CheckUpgradeResponse(
               case 0:
                 done = true;
                 break;
    -          case 10:
    -            {
    -              java.lang.String s = input.readStringRequireUtf8();
    +          case 10: {
    +            java.lang.String s = input.readStringRequireUtf8();
     
    -              buildLogUri_ = s;
    -              break;
    -            }
    -          case 26:
    -            {
    -              java.lang.String s = input.readStringRequireUtf8();
    +            buildLogUri_ = s;
    +            break;
    +          }
    +          case 26: {
    +            java.lang.String s = input.readStringRequireUtf8();
     
    -              pypiConflictBuildLogExtract_ = s;
    -              break;
    -            }
    -          case 32:
    -            {
    -              int rawValue = input.readEnum();
    +            pypiConflictBuildLogExtract_ = s;
    +            break;
    +          }
    +          case 32: {
    +            int rawValue = input.readEnum();
     
    -              containsPypiModulesConflict_ = rawValue;
    -              break;
    -            }
    -          case 42:
    -            {
    -              java.lang.String s = input.readStringRequireUtf8();
    +            containsPypiModulesConflict_ = rawValue;
    +            break;
    +          }
    +          case 42: {
    +            java.lang.String s = input.readStringRequireUtf8();
     
    -              imageVersion_ = s;
    -              break;
    -            }
    -          case 50:
    -            {
    -              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
    -                pypiDependencies_ =
    -                    com.google.protobuf.MapField.newMapField(
    -                        PypiDependenciesDefaultEntryHolder.defaultEntry);
    -                mutable_bitField0_ |= 0x00000001;
    -              }
    -              com.google.protobuf.MapEntry pypiDependencies__ =
    -                  input.readMessage(
    -                      PypiDependenciesDefaultEntryHolder.defaultEntry.getParserForType(),
    -                      extensionRegistry);
    -              pypiDependencies_
    -                  .getMutableMap()
    -                  .put(pypiDependencies__.getKey(), pypiDependencies__.getValue());
    -              break;
    +            imageVersion_ = s;
    +            break;
    +          }
    +          case 50: {
    +            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
    +              pypiDependencies_ = com.google.protobuf.MapField.newMapField(
    +                  PypiDependenciesDefaultEntryHolder.defaultEntry);
    +              mutable_bitField0_ |= 0x00000001;
                 }
    -          default:
    -            {
    -              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
    -                done = true;
    -              }
    -              break;
    +            com.google.protobuf.MapEntry
    +            pypiDependencies__ = input.readMessage(
    +                PypiDependenciesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
    +            pypiDependencies_.getMutableMap().put(
    +                pypiDependencies__.getKey(), pypiDependencies__.getValue());
    +            break;
    +          }
    +          default: {
    +            if (!parseUnknownField(
    +                input, unknownFields, extensionRegistry, tag)) {
    +              done = true;
                 }
    +            break;
    +          }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
    @@ -134,54 +109,48 @@ private CheckUpgradeResponse(
         } catch (com.google.protobuf.UninitializedMessageException e) {
           throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
    -      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
    +      throw new com.google.protobuf.InvalidProtocolBufferException(
    +          e).setUnfinishedMessage(this);
         } finally {
           this.unknownFields = unknownFields.build();
           makeExtensionsImmutable();
         }
       }
    -
    -  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    -    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
    -        .internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_descriptor;
    +  public static final com.google.protobuf.Descriptors.Descriptor
    +      getDescriptor() {
    +    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_descriptor;
       }
     
       @SuppressWarnings({"rawtypes"})
       @java.lang.Override
    -  protected com.google.protobuf.MapField internalGetMapField(int number) {
    +  protected com.google.protobuf.MapField internalGetMapField(
    +      int number) {
         switch (number) {
           case 6:
             return internalGetPypiDependencies();
           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.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
    -        .internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_fieldAccessorTable
    +    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
    -            com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.class,
    -            com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.Builder
    -                .class);
    +            com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.class, com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.Builder.class);
       }
     
       /**
    -   *
    -   *
        * 
        * Whether there were python modules conflict during image build.
        * 
    * - * Protobuf enum {@code - * google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult} + * Protobuf enum {@code google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult} */ - public enum ConflictResult implements com.google.protobuf.ProtocolMessageEnum { + public enum ConflictResult + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
          * It is unknown whether build had conflicts or not.
          * 
    @@ -190,8 +159,6 @@ public enum ConflictResult implements com.google.protobuf.ProtocolMessageEnum { */ CONFLICT_RESULT_UNSPECIFIED(0), /** - * - * *
          * There were python packages conflicts.
          * 
    @@ -200,8 +167,6 @@ public enum ConflictResult implements com.google.protobuf.ProtocolMessageEnum { */ CONFLICT(1), /** - * - * *
          * There were no python packages conflicts.
          * 
    @@ -213,8 +178,6 @@ public enum ConflictResult implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
          * It is unknown whether build had conflicts or not.
          * 
    @@ -223,8 +186,6 @@ public enum ConflictResult implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CONFLICT_RESULT_UNSPECIFIED_VALUE = 0; /** - * - * *
          * There were python packages conflicts.
          * 
    @@ -233,8 +194,6 @@ public enum ConflictResult implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CONFLICT_VALUE = 1; /** - * - * *
          * There were no python packages conflicts.
          * 
    @@ -243,6 +202,7 @@ public enum ConflictResult implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NO_CONFLICT_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -267,52 +227,49 @@ public static ConflictResult valueOf(int value) { */ public static ConflictResult forNumber(int value) { switch (value) { - case 0: - return CONFLICT_RESULT_UNSPECIFIED; - case 1: - return CONFLICT; - case 2: - return NO_CONFLICT; - default: - return null; + case 0: return CONFLICT_RESULT_UNSPECIFIED; + case 1: return CONFLICT; + case 2: return NO_CONFLICT; + 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< + ConflictResult> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ConflictResult findValueByNumber(int number) { + return ConflictResult.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ConflictResult findValueByNumber(int number) { - return ConflictResult.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse - .getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.getDescriptor().getEnumTypes().get(0); } private static final ConflictResult[] VALUES = values(); - public static ConflictResult valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ConflictResult 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; @@ -332,14 +289,11 @@ private ConflictResult(int value) { public static final int BUILD_LOG_URI_FIELD_NUMBER = 1; private volatile java.lang.Object buildLogUri_; /** - * - * *
        * Output only. Url for a docker build log of an upgraded image.
        * 
    * * string build_log_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The buildLogUri. */ @java.lang.Override @@ -348,29 +302,29 @@ public java.lang.String getBuildLogUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); buildLogUri_ = s; return s; } } /** - * - * *
        * Output only. Url for a docker build log of an upgraded image.
        * 
    * * string build_log_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for buildLogUri. */ @java.lang.Override - public com.google.protobuf.ByteString getBuildLogUriBytes() { + public com.google.protobuf.ByteString + getBuildLogUriBytes() { java.lang.Object ref = buildLogUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); buildLogUri_ = b; return b; } else { @@ -381,62 +335,39 @@ public com.google.protobuf.ByteString getBuildLogUriBytes() { public static final int CONTAINS_PYPI_MODULES_CONFLICT_FIELD_NUMBER = 4; private int containsPypiModulesConflict_; /** - * - * *
        * Output only. Whether build has succeeded or failed on modules conflicts.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for containsPypiModulesConflict. */ - @java.lang.Override - public int getContainsPypiModulesConflictValue() { + @java.lang.Override public int getContainsPypiModulesConflictValue() { return containsPypiModulesConflict_; } /** - * - * *
        * Output only. Whether build has succeeded or failed on modules conflicts.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The containsPypiModulesConflict. */ - @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult - getContainsPypiModulesConflict() { + @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult getContainsPypiModulesConflict() { @SuppressWarnings("deprecation") - com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult - result = - com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse - .ConflictResult.valueOf(containsPypiModulesConflict_); - return result == null - ? com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult - .UNRECOGNIZED - : result; + com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult result = com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult.valueOf(containsPypiModulesConflict_); + return result == null ? com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult.UNRECOGNIZED : result; } public static final int PYPI_CONFLICT_BUILD_LOG_EXTRACT_FIELD_NUMBER = 3; private volatile java.lang.Object pypiConflictBuildLogExtract_; /** - * - * *
        * Output only. Extract from a docker image build log containing information about pypi
        * modules conflicts.
        * 
    * - * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The pypiConflictBuildLogExtract. */ @java.lang.Override @@ -445,31 +376,30 @@ public java.lang.String getPypiConflictBuildLogExtract() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pypiConflictBuildLogExtract_ = s; return s; } } /** - * - * *
        * Output only. Extract from a docker image build log containing information about pypi
        * modules conflicts.
        * 
    * - * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for pypiConflictBuildLogExtract. */ @java.lang.Override - public com.google.protobuf.ByteString getPypiConflictBuildLogExtractBytes() { + public com.google.protobuf.ByteString + getPypiConflictBuildLogExtractBytes() { java.lang.Object ref = pypiConflictBuildLogExtract_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pypiConflictBuildLogExtract_ = b; return b; } else { @@ -480,14 +410,11 @@ public com.google.protobuf.ByteString getPypiConflictBuildLogExtractBytes() { public static final int IMAGE_VERSION_FIELD_NUMBER = 5; private volatile java.lang.Object imageVersion_; /** - * - * *
        * Composer image for which the build was happening.
        * 
    * * string image_version = 5; - * * @return The imageVersion. */ @java.lang.Override @@ -496,29 +423,29 @@ public java.lang.String getImageVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageVersion_ = s; return s; } } /** - * - * *
        * Composer image for which the build was happening.
        * 
    * * string image_version = 5; - * * @return The bytes for imageVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getImageVersionBytes() { + public com.google.protobuf.ByteString + getImageVersionBytes() { java.lang.Object ref = imageVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); imageVersion_ = b; return b; } else { @@ -527,22 +454,21 @@ public com.google.protobuf.ByteString getImageVersionBytes() { } public static final int PYPI_DEPENDENCIES_FIELD_NUMBER = 6; - private static final class PypiDependenciesDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_PypiDependenciesEntry_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.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_PypiDependenciesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - - private com.google.protobuf.MapField pypiDependencies_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> pypiDependencies_; private com.google.protobuf.MapField - internalGetPypiDependencies() { + internalGetPypiDependencies() { if (pypiDependencies_ == null) { return com.google.protobuf.MapField.emptyMapField( PypiDependenciesDefaultEntryHolder.defaultEntry); @@ -554,8 +480,6 @@ public int getPypiDependenciesCount() { return internalGetPypiDependencies().getMap().size(); } /** - * - * *
        * Pypi dependencies specified in the environment configuration, at the time
        * when the build was triggered.
    @@ -563,22 +487,22 @@ public int getPypiDependenciesCount() {
        *
        * map<string, string> pypi_dependencies = 6;
        */
    +
       @java.lang.Override
    -  public boolean containsPypiDependencies(java.lang.String key) {
    -    if (key == null) {
    -      throw new NullPointerException("map key");
    -    }
    +  public boolean containsPypiDependencies(
    +      java.lang.String key) {
    +    if (key == null) { throw new NullPointerException("map key"); }
         return internalGetPypiDependencies().getMap().containsKey(key);
       }
    -  /** Use {@link #getPypiDependenciesMap()} instead. */
    +  /**
    +   * Use {@link #getPypiDependenciesMap()} instead.
    +   */
       @java.lang.Override
       @java.lang.Deprecated
       public java.util.Map getPypiDependencies() {
         return getPypiDependenciesMap();
       }
       /**
    -   *
    -   *
        * 
        * Pypi dependencies specified in the environment configuration, at the time
        * when the build was triggered.
    @@ -587,12 +511,11 @@ public java.util.Map getPypiDependencies() {
        * map<string, string> pypi_dependencies = 6;
        */
       @java.lang.Override
    +
       public java.util.Map getPypiDependenciesMap() {
         return internalGetPypiDependencies().getMap();
       }
       /**
    -   *
    -   *
        * 
        * Pypi dependencies specified in the environment configuration, at the time
        * when the build was triggered.
    @@ -601,17 +524,16 @@ public java.util.Map getPypiDependenciesMap(
        * map<string, string> pypi_dependencies = 6;
        */
       @java.lang.Override
    +
       public java.lang.String getPypiDependenciesOrDefault(
    -      java.lang.String key, java.lang.String defaultValue) {
    -    if (key == null) {
    -      throw new NullPointerException("map key");
    -    }
    -    java.util.Map map = internalGetPypiDependencies().getMap();
    +      java.lang.String key,
    +      java.lang.String defaultValue) {
    +    if (key == null) { throw new NullPointerException("map key"); }
    +    java.util.Map map =
    +        internalGetPypiDependencies().getMap();
         return map.containsKey(key) ? map.get(key) : defaultValue;
       }
       /**
    -   *
    -   *
        * 
        * Pypi dependencies specified in the environment configuration, at the time
        * when the build was triggered.
    @@ -620,11 +542,12 @@ public java.lang.String getPypiDependenciesOrDefault(
        * map<string, string> pypi_dependencies = 6;
        */
       @java.lang.Override
    -  public java.lang.String getPypiDependenciesOrThrow(java.lang.String key) {
    -    if (key == null) {
    -      throw new NullPointerException("map key");
    -    }
    -    java.util.Map map = internalGetPypiDependencies().getMap();
    +
    +  public java.lang.String getPypiDependenciesOrThrow(
    +      java.lang.String key) {
    +    if (key == null) { throw new NullPointerException("map key"); }
    +    java.util.Map map =
    +        internalGetPypiDependencies().getMap();
         if (!map.containsKey(key)) {
           throw new java.lang.IllegalArgumentException();
         }
    @@ -632,7 +555,6 @@ public java.lang.String getPypiDependenciesOrThrow(java.lang.String key) {
       }
     
       private byte memoizedIsInitialized = -1;
    -
       @java.lang.Override
       public final boolean isInitialized() {
         byte isInitialized = memoizedIsInitialized;
    @@ -644,24 +566,26 @@ public final boolean isInitialized() {
       }
     
       @java.lang.Override
    -  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    +  public void writeTo(com.google.protobuf.CodedOutputStream output)
    +                      throws java.io.IOException {
         if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(buildLogUri_)) {
           com.google.protobuf.GeneratedMessageV3.writeString(output, 1, buildLogUri_);
         }
         if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pypiConflictBuildLogExtract_)) {
           com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pypiConflictBuildLogExtract_);
         }
    -    if (containsPypiModulesConflict_
    -        != com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse
    -            .ConflictResult.CONFLICT_RESULT_UNSPECIFIED
    -            .getNumber()) {
    +    if (containsPypiModulesConflict_ != com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult.CONFLICT_RESULT_UNSPECIFIED.getNumber()) {
           output.writeEnum(4, containsPypiModulesConflict_);
         }
         if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageVersion_)) {
           com.google.protobuf.GeneratedMessageV3.writeString(output, 5, imageVersion_);
         }
    -    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
    -        output, internalGetPypiDependencies(), PypiDependenciesDefaultEntryHolder.defaultEntry, 6);
    +    com.google.protobuf.GeneratedMessageV3
    +      .serializeStringMapTo(
    +        output,
    +        internalGetPypiDependencies(),
    +        PypiDependenciesDefaultEntryHolder.defaultEntry,
    +        6);
         unknownFields.writeTo(output);
       }
     
    @@ -675,28 +599,24 @@ public int getSerializedSize() {
           size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, buildLogUri_);
         }
         if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pypiConflictBuildLogExtract_)) {
    -      size +=
    -          com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pypiConflictBuildLogExtract_);
    +      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pypiConflictBuildLogExtract_);
         }
    -    if (containsPypiModulesConflict_
    -        != com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse
    -            .ConflictResult.CONFLICT_RESULT_UNSPECIFIED
    -            .getNumber()) {
    -      size +=
    -          com.google.protobuf.CodedOutputStream.computeEnumSize(4, containsPypiModulesConflict_);
    +    if (containsPypiModulesConflict_ != com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult.CONFLICT_RESULT_UNSPECIFIED.getNumber()) {
    +      size += com.google.protobuf.CodedOutputStream
    +        .computeEnumSize(4, containsPypiModulesConflict_);
         }
         if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageVersion_)) {
           size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, imageVersion_);
         }
    -    for (java.util.Map.Entry entry :
    -        internalGetPypiDependencies().getMap().entrySet()) {
    -      com.google.protobuf.MapEntry pypiDependencies__ =
    -          PypiDependenciesDefaultEntryHolder.defaultEntry
    -              .newBuilderForType()
    -              .setKey(entry.getKey())
    -              .setValue(entry.getValue())
    -              .build();
    -      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, pypiDependencies__);
    +    for (java.util.Map.Entry entry
    +         : internalGetPypiDependencies().getMap().entrySet()) {
    +      com.google.protobuf.MapEntry
    +      pypiDependencies__ = PypiDependenciesDefaultEntryHolder.defaultEntry.newBuilderForType()
    +          .setKey(entry.getKey())
    +          .setValue(entry.getValue())
    +          .build();
    +      size += com.google.protobuf.CodedOutputStream
    +          .computeMessageSize(6, pypiDependencies__);
         }
         size += unknownFields.getSerializedSize();
         memoizedSize = size;
    @@ -706,21 +626,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.orchestration.airflow.service.v1beta1.CheckUpgradeResponse)) {
    +    if (!(obj instanceof com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse)) {
           return super.equals(obj);
         }
    -    com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse other =
    -        (com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse) obj;
    +    com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse other = (com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse) obj;
     
    -    if (!getBuildLogUri().equals(other.getBuildLogUri())) return false;
    +    if (!getBuildLogUri()
    +        .equals(other.getBuildLogUri())) return false;
         if (containsPypiModulesConflict_ != other.containsPypiModulesConflict_) return false;
    -    if (!getPypiConflictBuildLogExtract().equals(other.getPypiConflictBuildLogExtract()))
    -      return false;
    -    if (!getImageVersion().equals(other.getImageVersion())) return false;
    -    if (!internalGetPypiDependencies().equals(other.internalGetPypiDependencies())) return false;
    +    if (!getPypiConflictBuildLogExtract()
    +        .equals(other.getPypiConflictBuildLogExtract())) return false;
    +    if (!getImageVersion()
    +        .equals(other.getImageVersion())) return false;
    +    if (!internalGetPypiDependencies().equals(
    +        other.internalGetPypiDependencies())) return false;
         if (!unknownFields.equals(other.unknownFields)) return false;
         return true;
       }
    @@ -749,111 +670,97 @@ public int hashCode() {
         return hash;
       }
     
    -  public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse
    -      parseFrom(java.nio.ByteBuffer data)
    -          throws com.google.protobuf.InvalidProtocolBufferException {
    +  public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse parseFrom(
    +      java.nio.ByteBuffer data)
    +      throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
    -
    -  public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse
    -      parseFrom(
    -          java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    -          throws com.google.protobuf.InvalidProtocolBufferException {
    +  public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse parseFrom(
    +      java.nio.ByteBuffer data,
    +      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    +      throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
    -
    -  public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse
    -      parseFrom(com.google.protobuf.ByteString data)
    -          throws com.google.protobuf.InvalidProtocolBufferException {
    +  public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse parseFrom(
    +      com.google.protobuf.ByteString data)
    +      throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
    -
    -  public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse
    -      parseFrom(
    -          com.google.protobuf.ByteString data,
    -          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    -          throws com.google.protobuf.InvalidProtocolBufferException {
    +  public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse parseFrom(
    +      com.google.protobuf.ByteString data,
    +      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    +      throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
    -
    -  public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse
    -      parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
    +  public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse parseFrom(byte[] data)
    +      throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
    -
    -  public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse
    -      parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    -          throws com.google.protobuf.InvalidProtocolBufferException {
    +  public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse parseFrom(
    +      byte[] data,
    +      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    +      throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
    -
    -  public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse
    -      parseFrom(java.io.InputStream input) throws java.io.IOException {
    -    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
    +  public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse parseFrom(java.io.InputStream input)
    +      throws java.io.IOException {
    +    return com.google.protobuf.GeneratedMessageV3
    +        .parseWithIOException(PARSER, input);
       }
    -
    -  public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse
    -      parseFrom(
    -          java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    -          throws java.io.IOException {
    -    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
    -        PARSER, input, extensionRegistry);
    +  public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse parseFrom(
    +      java.io.InputStream input,
    +      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    +      throws java.io.IOException {
    +    return com.google.protobuf.GeneratedMessageV3
    +        .parseWithIOException(PARSER, input, extensionRegistry);
       }
    -
    -  public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse
    -      parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
    -    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
    +  public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse parseDelimitedFrom(java.io.InputStream input)
    +      throws java.io.IOException {
    +    return com.google.protobuf.GeneratedMessageV3
    +        .parseDelimitedWithIOException(PARSER, input);
       }
    -
    -  public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse
    -      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.orchestration.airflow.service.v1beta1.CheckUpgradeResponse 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.orchestration.airflow.service.v1beta1.CheckUpgradeResponse
    -      parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
    -    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
    +  public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse parseFrom(
    +      com.google.protobuf.CodedInputStream input)
    +      throws java.io.IOException {
    +    return com.google.protobuf.GeneratedMessageV3
    +        .parseWithIOException(PARSER, input);
       }
    -
    -  public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse
    -      parseFrom(
    -          com.google.protobuf.CodedInputStream input,
    -          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    -          throws java.io.IOException {
    -    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
    -        PARSER, input, extensionRegistry);
    +  public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse parseFrom(
    +      com.google.protobuf.CodedInputStream input,
    +      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    +      throws java.io.IOException {
    +    return com.google.protobuf.GeneratedMessageV3
    +        .parseWithIOException(PARSER, input, extensionRegistry);
       }
     
       @java.lang.Override
    -  public Builder newBuilderForType() {
    -    return newBuilder();
    -  }
    -
    +  public Builder newBuilderForType() { return newBuilder(); }
       public static Builder newBuilder() {
         return DEFAULT_INSTANCE.toBuilder();
       }
    -
    -  public static Builder newBuilder(
    -      com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse prototype) {
    +  public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse prototype) {
         return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
       }
    -
       @java.lang.Override
       public Builder toBuilder() {
    -    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
    +    return this == DEFAULT_INSTANCE
    +        ? new Builder() : new Builder().mergeFrom(this);
       }
     
       @java.lang.Override
    -  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    +  protected Builder newBuilderForType(
    +      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         Builder builder = new Builder(parent);
         return builder;
       }
       /**
    -   *
    -   *
        * 
        * Message containing information about the result of an upgrade check
        * operation.
    @@ -861,61 +768,60 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
        *
        * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse}
        */
    -  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
    -      implements
    +  public static final class Builder extends
    +      com.google.protobuf.GeneratedMessageV3.Builder implements
           // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse)
           com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponseOrBuilder {
    -    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    -      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
    -          .internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_descriptor;
    +    public static final com.google.protobuf.Descriptors.Descriptor
    +        getDescriptor() {
    +      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_descriptor;
         }
     
         @SuppressWarnings({"rawtypes"})
    -    protected com.google.protobuf.MapField internalGetMapField(int number) {
    +    protected com.google.protobuf.MapField internalGetMapField(
    +        int number) {
           switch (number) {
             case 6:
               return internalGetPypiDependencies();
             default:
    -          throw new RuntimeException("Invalid map field number: " + number);
    +          throw new RuntimeException(
    +              "Invalid map field number: " + number);
           }
         }
    -
         @SuppressWarnings({"rawtypes"})
    -    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
    +    protected com.google.protobuf.MapField internalGetMutableMapField(
    +        int number) {
           switch (number) {
             case 6:
               return internalGetMutablePypiDependencies();
             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.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
    -          .internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_fieldAccessorTable
    +      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
    -              com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.class,
    -              com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.Builder
    -                  .class);
    +              com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.class, com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.Builder.class);
         }
     
    -    // Construct using
    -    // com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.newBuilder()
    +    // Construct using com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.newBuilder()
         private Builder() {
           maybeForceBuilderInitialization();
         }
     
    -    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    +    private Builder(
    +        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
           super(parent);
           maybeForceBuilderInitialization();
         }
    -
         private void maybeForceBuilderInitialization() {
    -      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
    +      if (com.google.protobuf.GeneratedMessageV3
    +              .alwaysUseFieldBuilders) {
    +      }
         }
    -
         @java.lang.Override
         public Builder clear() {
           super.clear();
    @@ -932,22 +838,19 @@ public Builder clear() {
         }
     
         @java.lang.Override
    -    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
    -      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
    -          .internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_descriptor;
    +    public com.google.protobuf.Descriptors.Descriptor
    +        getDescriptorForType() {
    +      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_descriptor;
         }
     
         @java.lang.Override
    -    public com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse
    -        getDefaultInstanceForType() {
    -      return com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse
    -          .getDefaultInstance();
    +    public com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse getDefaultInstanceForType() {
    +      return com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.getDefaultInstance();
         }
     
         @java.lang.Override
         public com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse build() {
    -      com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse result =
    -          buildPartial();
    +      com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse result = buildPartial();
           if (!result.isInitialized()) {
             throw newUninitializedMessageException(result);
           }
    @@ -955,10 +858,8 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRespon
         }
     
         @java.lang.Override
    -    public com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse
    -        buildPartial() {
    -      com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse result =
    -          new com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse(this);
    +    public com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse buildPartial() {
    +      com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse result = new com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse(this);
           int from_bitField0_ = bitField0_;
           result.buildLogUri_ = buildLogUri_;
           result.containsPypiModulesConflict_ = containsPypiModulesConflict_;
    @@ -974,52 +875,46 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRespon
         public Builder clone() {
           return super.clone();
         }
    -
         @java.lang.Override
         public Builder setField(
    -        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
    +        com.google.protobuf.Descriptors.FieldDescriptor field,
    +        java.lang.Object value) {
           return super.setField(field, value);
         }
    -
         @java.lang.Override
    -    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
    +    public Builder clearField(
    +        com.google.protobuf.Descriptors.FieldDescriptor field) {
           return super.clearField(field);
         }
    -
         @java.lang.Override
    -    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
    +    public Builder clearOneof(
    +        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
           return super.clearOneof(oneof);
         }
    -
         @java.lang.Override
         public Builder setRepeatedField(
    -        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
    +        com.google.protobuf.Descriptors.FieldDescriptor field,
    +        int index, java.lang.Object value) {
           return super.setRepeatedField(field, index, value);
         }
    -
         @java.lang.Override
         public Builder addRepeatedField(
    -        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
    +        com.google.protobuf.Descriptors.FieldDescriptor field,
    +        java.lang.Object value) {
           return super.addRepeatedField(field, value);
         }
    -
         @java.lang.Override
         public Builder mergeFrom(com.google.protobuf.Message other) {
    -      if (other
    -          instanceof com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse) {
    -        return mergeFrom(
    -            (com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse) other);
    +      if (other instanceof com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse) {
    +        return mergeFrom((com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse)other);
           } else {
             super.mergeFrom(other);
             return this;
           }
         }
     
    -    public Builder mergeFrom(
    -        com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse other) {
    -      if (other
    -          == com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse
    -              .getDefaultInstance()) return this;
    +    public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse other) {
    +      if (other == com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.getDefaultInstance()) return this;
           if (!other.getBuildLogUri().isEmpty()) {
             buildLogUri_ = other.buildLogUri_;
             onChanged();
    @@ -1035,7 +930,8 @@ public Builder mergeFrom(
             imageVersion_ = other.imageVersion_;
             onChanged();
           }
    -      internalGetMutablePypiDependencies().mergeFrom(other.internalGetPypiDependencies());
    +      internalGetMutablePypiDependencies().mergeFrom(
    +          other.internalGetPypiDependencies());
           this.mergeUnknownFields(other.unknownFields);
           onChanged();
           return this;
    @@ -1051,14 +947,11 @@ public Builder mergeFrom(
             com.google.protobuf.CodedInputStream input,
             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
             throws java.io.IOException {
    -      com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse parsedMessage =
    -          null;
    +      com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse parsedMessage = null;
           try {
             parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
    -        parsedMessage =
    -            (com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse)
    -                e.getUnfinishedMessage();
    +        parsedMessage = (com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse) e.getUnfinishedMessage();
             throw e.unwrapIOException();
           } finally {
             if (parsedMessage != null) {
    @@ -1067,25 +960,22 @@ public Builder mergeFrom(
           }
           return this;
         }
    -
         private int bitField0_;
     
         private java.lang.Object buildLogUri_ = "";
         /**
    -     *
    -     *
          * 
          * Output only. Url for a docker build log of an upgraded image.
          * 
    * * string build_log_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The buildLogUri. */ public java.lang.String getBuildLogUri() { java.lang.Object ref = buildLogUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); buildLogUri_ = s; return s; @@ -1094,21 +984,20 @@ public java.lang.String getBuildLogUri() { } } /** - * - * *
          * Output only. Url for a docker build log of an upgraded image.
          * 
    * * string build_log_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for buildLogUri. */ - public com.google.protobuf.ByteString getBuildLogUriBytes() { + public com.google.protobuf.ByteString + getBuildLogUriBytes() { java.lang.Object ref = buildLogUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); buildLogUri_ = b; return b; } else { @@ -1116,61 +1005,54 @@ public com.google.protobuf.ByteString getBuildLogUriBytes() { } } /** - * - * *
          * Output only. Url for a docker build log of an upgraded image.
          * 
    * * string build_log_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The buildLogUri to set. * @return This builder for chaining. */ - public Builder setBuildLogUri(java.lang.String value) { + public Builder setBuildLogUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + buildLogUri_ = value; onChanged(); return this; } /** - * - * *
          * Output only. Url for a docker build log of an upgraded image.
          * 
    * * string build_log_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearBuildLogUri() { - + buildLogUri_ = getDefaultInstance().getBuildLogUri(); onChanged(); return this; } /** - * - * *
          * Output only. Url for a docker build log of an upgraded image.
          * 
    * * string build_log_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for buildLogUri to set. * @return This builder for chaining. */ - public Builder setBuildLogUriBytes(com.google.protobuf.ByteString value) { + public Builder setBuildLogUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + buildLogUri_ = value; onChanged(); return this; @@ -1178,109 +1060,73 @@ public Builder setBuildLogUriBytes(com.google.protobuf.ByteString value) { private int containsPypiModulesConflict_ = 0; /** - * - * *
          * Output only. Whether build has succeeded or failed on modules conflicts.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for containsPypiModulesConflict. */ - @java.lang.Override - public int getContainsPypiModulesConflictValue() { + @java.lang.Override public int getContainsPypiModulesConflictValue() { return containsPypiModulesConflict_; } /** - * - * *
          * Output only. Whether build has succeeded or failed on modules conflicts.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for containsPypiModulesConflict to set. * @return This builder for chaining. */ public Builder setContainsPypiModulesConflictValue(int value) { - + containsPypiModulesConflict_ = value; onChanged(); return this; } /** - * - * *
          * Output only. Whether build has succeeded or failed on modules conflicts.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The containsPypiModulesConflict. */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse - .ConflictResult - getContainsPypiModulesConflict() { + public com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult getContainsPypiModulesConflict() { @SuppressWarnings("deprecation") - com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult - result = - com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse - .ConflictResult.valueOf(containsPypiModulesConflict_); - return result == null - ? com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse - .ConflictResult.UNRECOGNIZED - : result; + com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult result = com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult.valueOf(containsPypiModulesConflict_); + return result == null ? com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult.UNRECOGNIZED : result; } /** - * - * *
          * Output only. Whether build has succeeded or failed on modules conflicts.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The containsPypiModulesConflict to set. * @return This builder for chaining. */ - public Builder setContainsPypiModulesConflict( - com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult - value) { + public Builder setContainsPypiModulesConflict(com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult value) { if (value == null) { throw new NullPointerException(); } - + containsPypiModulesConflict_ = value.getNumber(); onChanged(); return this; } /** - * - * *
          * Output only. Whether build has succeeded or failed on modules conflicts.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearContainsPypiModulesConflict() { - + containsPypiModulesConflict_ = 0; onChanged(); return this; @@ -1288,23 +1134,19 @@ public Builder clearContainsPypiModulesConflict() { private java.lang.Object pypiConflictBuildLogExtract_ = ""; /** - * - * *
          * Output only. Extract from a docker image build log containing information about pypi
          * modules conflicts.
          * 
    * - * - * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The pypiConflictBuildLogExtract. */ public java.lang.String getPypiConflictBuildLogExtract() { java.lang.Object ref = pypiConflictBuildLogExtract_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pypiConflictBuildLogExtract_ = s; return s; @@ -1313,24 +1155,21 @@ public java.lang.String getPypiConflictBuildLogExtract() { } } /** - * - * *
          * Output only. Extract from a docker image build log containing information about pypi
          * modules conflicts.
          * 
    * - * - * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for pypiConflictBuildLogExtract. */ - public com.google.protobuf.ByteString getPypiConflictBuildLogExtractBytes() { + public com.google.protobuf.ByteString + getPypiConflictBuildLogExtractBytes() { java.lang.Object ref = pypiConflictBuildLogExtract_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pypiConflictBuildLogExtract_ = b; return b; } else { @@ -1338,70 +1177,57 @@ public com.google.protobuf.ByteString getPypiConflictBuildLogExtractBytes() { } } /** - * - * *
          * Output only. Extract from a docker image build log containing information about pypi
          * modules conflicts.
          * 
    * - * - * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The pypiConflictBuildLogExtract to set. * @return This builder for chaining. */ - public Builder setPypiConflictBuildLogExtract(java.lang.String value) { + public Builder setPypiConflictBuildLogExtract( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pypiConflictBuildLogExtract_ = value; onChanged(); return this; } /** - * - * *
          * Output only. Extract from a docker image build log containing information about pypi
          * modules conflicts.
          * 
    * - * - * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearPypiConflictBuildLogExtract() { - + pypiConflictBuildLogExtract_ = getDefaultInstance().getPypiConflictBuildLogExtract(); onChanged(); return this; } /** - * - * *
          * Output only. Extract from a docker image build log containing information about pypi
          * modules conflicts.
          * 
    * - * - * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The bytes for pypiConflictBuildLogExtract to set. * @return This builder for chaining. */ - public Builder setPypiConflictBuildLogExtractBytes(com.google.protobuf.ByteString value) { + public Builder setPypiConflictBuildLogExtractBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pypiConflictBuildLogExtract_ = value; onChanged(); return this; @@ -1409,20 +1235,18 @@ public Builder setPypiConflictBuildLogExtractBytes(com.google.protobuf.ByteStrin private java.lang.Object imageVersion_ = ""; /** - * - * *
          * Composer image for which the build was happening.
          * 
    * * string image_version = 5; - * * @return The imageVersion. */ public java.lang.String getImageVersion() { java.lang.Object ref = imageVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageVersion_ = s; return s; @@ -1431,21 +1255,20 @@ public java.lang.String getImageVersion() { } } /** - * - * *
          * Composer image for which the build was happening.
          * 
    * * string image_version = 5; - * * @return The bytes for imageVersion. */ - public com.google.protobuf.ByteString getImageVersionBytes() { + public com.google.protobuf.ByteString + getImageVersionBytes() { java.lang.Object ref = imageVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); imageVersion_ = b; return b; } else { @@ -1453,85 +1276,75 @@ public com.google.protobuf.ByteString getImageVersionBytes() { } } /** - * - * *
          * Composer image for which the build was happening.
          * 
    * * string image_version = 5; - * * @param value The imageVersion to set. * @return This builder for chaining. */ - public Builder setImageVersion(java.lang.String value) { + public Builder setImageVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + imageVersion_ = value; onChanged(); return this; } /** - * - * *
          * Composer image for which the build was happening.
          * 
    * * string image_version = 5; - * * @return This builder for chaining. */ public Builder clearImageVersion() { - + imageVersion_ = getDefaultInstance().getImageVersion(); onChanged(); return this; } /** - * - * *
          * Composer image for which the build was happening.
          * 
    * * string image_version = 5; - * * @param value The bytes for imageVersion to set. * @return This builder for chaining. */ - public Builder setImageVersionBytes(com.google.protobuf.ByteString value) { + public Builder setImageVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + imageVersion_ = value; onChanged(); return this; } - private com.google.protobuf.MapField pypiDependencies_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> pypiDependencies_; private com.google.protobuf.MapField - internalGetPypiDependencies() { + internalGetPypiDependencies() { if (pypiDependencies_ == null) { return com.google.protobuf.MapField.emptyMapField( PypiDependenciesDefaultEntryHolder.defaultEntry); } return pypiDependencies_; } - private com.google.protobuf.MapField - internalGetMutablePypiDependencies() { - onChanged(); - ; + internalGetMutablePypiDependencies() { + onChanged();; if (pypiDependencies_ == null) { - pypiDependencies_ = - com.google.protobuf.MapField.newMapField( - PypiDependenciesDefaultEntryHolder.defaultEntry); + pypiDependencies_ = com.google.protobuf.MapField.newMapField( + PypiDependenciesDefaultEntryHolder.defaultEntry); } if (!pypiDependencies_.isMutable()) { pypiDependencies_ = pypiDependencies_.copy(); @@ -1543,8 +1356,6 @@ public int getPypiDependenciesCount() { return internalGetPypiDependencies().getMap().size(); } /** - * - * *
          * Pypi dependencies specified in the environment configuration, at the time
          * when the build was triggered.
    @@ -1552,22 +1363,22 @@ public int getPypiDependenciesCount() {
          *
          * map<string, string> pypi_dependencies = 6;
          */
    +
         @java.lang.Override
    -    public boolean containsPypiDependencies(java.lang.String key) {
    -      if (key == null) {
    -        throw new NullPointerException("map key");
    -      }
    +    public boolean containsPypiDependencies(
    +        java.lang.String key) {
    +      if (key == null) { throw new NullPointerException("map key"); }
           return internalGetPypiDependencies().getMap().containsKey(key);
         }
    -    /** Use {@link #getPypiDependenciesMap()} instead. */
    +    /**
    +     * Use {@link #getPypiDependenciesMap()} instead.
    +     */
         @java.lang.Override
         @java.lang.Deprecated
         public java.util.Map getPypiDependencies() {
           return getPypiDependenciesMap();
         }
         /**
    -     *
    -     *
          * 
          * Pypi dependencies specified in the environment configuration, at the time
          * when the build was triggered.
    @@ -1576,12 +1387,11 @@ public java.util.Map getPypiDependencies() {
          * map<string, string> pypi_dependencies = 6;
          */
         @java.lang.Override
    +
         public java.util.Map getPypiDependenciesMap() {
           return internalGetPypiDependencies().getMap();
         }
         /**
    -     *
    -     *
          * 
          * Pypi dependencies specified in the environment configuration, at the time
          * when the build was triggered.
    @@ -1590,18 +1400,16 @@ public java.util.Map getPypiDependenciesMap(
          * map<string, string> pypi_dependencies = 6;
          */
         @java.lang.Override
    +
         public java.lang.String getPypiDependenciesOrDefault(
    -        java.lang.String key, java.lang.String defaultValue) {
    -      if (key == null) {
    -        throw new NullPointerException("map key");
    -      }
    +        java.lang.String key,
    +        java.lang.String defaultValue) {
    +      if (key == null) { throw new NullPointerException("map key"); }
           java.util.Map map =
               internalGetPypiDependencies().getMap();
           return map.containsKey(key) ? map.get(key) : defaultValue;
         }
         /**
    -     *
    -     *
          * 
          * Pypi dependencies specified in the environment configuration, at the time
          * when the build was triggered.
    @@ -1610,10 +1418,10 @@ public java.lang.String getPypiDependenciesOrDefault(
          * map<string, string> pypi_dependencies = 6;
          */
         @java.lang.Override
    -    public java.lang.String getPypiDependenciesOrThrow(java.lang.String key) {
    -      if (key == null) {
    -        throw new NullPointerException("map key");
    -      }
    +
    +    public java.lang.String getPypiDependenciesOrThrow(
    +        java.lang.String key) {
    +      if (key == null) { throw new NullPointerException("map key"); }
           java.util.Map map =
               internalGetPypiDependencies().getMap();
           if (!map.containsKey(key)) {
    @@ -1623,12 +1431,11 @@ public java.lang.String getPypiDependenciesOrThrow(java.lang.String key) {
         }
     
         public Builder clearPypiDependencies() {
    -      internalGetMutablePypiDependencies().getMutableMap().clear();
    +      internalGetMutablePypiDependencies().getMutableMap()
    +          .clear();
           return this;
         }
         /**
    -     *
    -     *
          * 
          * Pypi dependencies specified in the environment configuration, at the time
          * when the build was triggered.
    @@ -1636,21 +1443,23 @@ public Builder clearPypiDependencies() {
          *
          * map<string, string> pypi_dependencies = 6;
          */
    -    public Builder removePypiDependencies(java.lang.String key) {
    -      if (key == null) {
    -        throw new NullPointerException("map key");
    -      }
    -      internalGetMutablePypiDependencies().getMutableMap().remove(key);
    +
    +    public Builder removePypiDependencies(
    +        java.lang.String key) {
    +      if (key == null) { throw new NullPointerException("map key"); }
    +      internalGetMutablePypiDependencies().getMutableMap()
    +          .remove(key);
           return this;
         }
    -    /** Use alternate mutation accessors instead. */
    +    /**
    +     * Use alternate mutation accessors instead.
    +     */
         @java.lang.Deprecated
    -    public java.util.Map getMutablePypiDependencies() {
    +    public java.util.Map
    +    getMutablePypiDependencies() {
           return internalGetMutablePypiDependencies().getMutableMap();
         }
         /**
    -     *
    -     *
          * 
          * Pypi dependencies specified in the environment configuration, at the time
          * when the build was triggered.
    @@ -1658,20 +1467,19 @@ public java.util.Map getMutablePypiDependenc
          *
          * map<string, string> pypi_dependencies = 6;
          */
    -    public Builder putPypiDependencies(java.lang.String key, java.lang.String value) {
    -      if (key == null) {
    -        throw new NullPointerException("map key");
    -      }
    +    public Builder putPypiDependencies(
    +        java.lang.String key,
    +        java.lang.String value) {
    +      if (key == null) { throw new NullPointerException("map key"); }
           if (value == null) {
    -        throw new NullPointerException("map value");
    -      }
    +  throw new NullPointerException("map value");
    +}
     
    -      internalGetMutablePypiDependencies().getMutableMap().put(key, value);
    +      internalGetMutablePypiDependencies().getMutableMap()
    +          .put(key, value);
           return this;
         }
         /**
    -     *
    -     *
          * 
          * Pypi dependencies specified in the environment configuration, at the time
          * when the build was triggered.
    @@ -1679,14 +1487,16 @@ public Builder putPypiDependencies(java.lang.String key, java.lang.String value)
          *
          * map<string, string> pypi_dependencies = 6;
          */
    +
         public Builder putAllPypiDependencies(
             java.util.Map values) {
    -      internalGetMutablePypiDependencies().getMutableMap().putAll(values);
    +      internalGetMutablePypiDependencies().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);
         }
     
    @@ -1696,33 +1506,30 @@ public final Builder mergeUnknownFields(
           return super.mergeUnknownFields(unknownFields);
         }
     
    +
         // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse)
       }
     
       // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse)
    -  private static final com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse
    -      DEFAULT_INSTANCE;
    -
    +  private static final com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse DEFAULT_INSTANCE;
       static {
    -    DEFAULT_INSTANCE =
    -        new com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse();
    +    DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse();
       }
     
    -  public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse
    -      getDefaultInstance() {
    +  public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse getDefaultInstance() {
         return DEFAULT_INSTANCE;
       }
     
    -  private static final com.google.protobuf.Parser PARSER =
    -      new com.google.protobuf.AbstractParser() {
    -        @java.lang.Override
    -        public CheckUpgradeResponse parsePartialFrom(
    -            com.google.protobuf.CodedInputStream input,
    -            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    -            throws com.google.protobuf.InvalidProtocolBufferException {
    -          return new CheckUpgradeResponse(input, extensionRegistry);
    -        }
    -      };
    +  private static final com.google.protobuf.Parser
    +      PARSER = new com.google.protobuf.AbstractParser() {
    +    @java.lang.Override
    +    public CheckUpgradeResponse parsePartialFrom(
    +        com.google.protobuf.CodedInputStream input,
    +        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    +        throws com.google.protobuf.InvalidProtocolBufferException {
    +      return new CheckUpgradeResponse(input, extensionRegistry);
    +    }
    +  };
     
       public static com.google.protobuf.Parser parser() {
         return PARSER;
    @@ -1734,8 +1541,9 @@ public com.google.protobuf.Parser getParserForType() {
       }
     
       @java.lang.Override
    -  public com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse
    -      getDefaultInstanceForType() {
    +  public com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse getDefaultInstanceForType() {
         return DEFAULT_INSTANCE;
       }
    +
     }
    +
    diff --git a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CheckUpgradeResponseOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CheckUpgradeResponseOrBuilder.java
    similarity index 64%
    rename from proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CheckUpgradeResponseOrBuilder.java
    rename to owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CheckUpgradeResponseOrBuilder.java
    index 18f8a7c6..a2d0ef7b 100644
    --- a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CheckUpgradeResponseOrBuilder.java
    +++ b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CheckUpgradeResponseOrBuilder.java
    @@ -1,140 +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/orchestration/airflow/service/v1beta1/environments.proto
     
     package com.google.cloud.orchestration.airflow.service.v1beta1;
     
    -public interface CheckUpgradeResponseOrBuilder
    -    extends
    +public interface CheckUpgradeResponseOrBuilder extends
         // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse)
         com.google.protobuf.MessageOrBuilder {
     
       /**
    -   *
    -   *
        * 
        * Output only. Url for a docker build log of an upgraded image.
        * 
    * * string build_log_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The buildLogUri. */ java.lang.String getBuildLogUri(); /** - * - * *
        * Output only. Url for a docker build log of an upgraded image.
        * 
    * * string build_log_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for buildLogUri. */ - com.google.protobuf.ByteString getBuildLogUriBytes(); + com.google.protobuf.ByteString + getBuildLogUriBytes(); /** - * - * *
        * Output only. Whether build has succeeded or failed on modules conflicts.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for containsPypiModulesConflict. */ int getContainsPypiModulesConflictValue(); /** - * - * *
        * Output only. Whether build has succeeded or failed on modules conflicts.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The containsPypiModulesConflict. */ - com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult - getContainsPypiModulesConflict(); + com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult getContainsPypiModulesConflict(); /** - * - * *
        * Output only. Extract from a docker image build log containing information about pypi
        * modules conflicts.
        * 
    * - * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The pypiConflictBuildLogExtract. */ java.lang.String getPypiConflictBuildLogExtract(); /** - * - * *
        * Output only. Extract from a docker image build log containing information about pypi
        * modules conflicts.
        * 
    * - * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for pypiConflictBuildLogExtract. */ - com.google.protobuf.ByteString getPypiConflictBuildLogExtractBytes(); + com.google.protobuf.ByteString + getPypiConflictBuildLogExtractBytes(); /** - * - * *
        * Composer image for which the build was happening.
        * 
    * * string image_version = 5; - * * @return The imageVersion. */ java.lang.String getImageVersion(); /** - * - * *
        * Composer image for which the build was happening.
        * 
    * * string image_version = 5; - * * @return The bytes for imageVersion. */ - com.google.protobuf.ByteString getImageVersionBytes(); + com.google.protobuf.ByteString + getImageVersionBytes(); /** - * - * *
        * Pypi dependencies specified in the environment configuration, at the time
        * when the build was triggered.
    @@ -144,8 +98,6 @@ public interface CheckUpgradeResponseOrBuilder
        */
       int getPypiDependenciesCount();
       /**
    -   *
    -   *
        * 
        * Pypi dependencies specified in the environment configuration, at the time
        * when the build was triggered.
    @@ -153,13 +105,15 @@ public interface CheckUpgradeResponseOrBuilder
        *
        * map<string, string> pypi_dependencies = 6;
        */
    -  boolean containsPypiDependencies(java.lang.String key);
    -  /** Use {@link #getPypiDependenciesMap()} instead. */
    +  boolean containsPypiDependencies(
    +      java.lang.String key);
    +  /**
    +   * Use {@link #getPypiDependenciesMap()} instead.
    +   */
       @java.lang.Deprecated
    -  java.util.Map getPypiDependencies();
    +  java.util.Map
    +  getPypiDependencies();
       /**
    -   *
    -   *
        * 
        * Pypi dependencies specified in the environment configuration, at the time
        * when the build was triggered.
    @@ -167,10 +121,9 @@ public interface CheckUpgradeResponseOrBuilder
        *
        * map<string, string> pypi_dependencies = 6;
        */
    -  java.util.Map getPypiDependenciesMap();
    +  java.util.Map
    +  getPypiDependenciesMap();
       /**
    -   *
    -   *
        * 
        * Pypi dependencies specified in the environment configuration, at the time
        * when the build was triggered.
    @@ -180,13 +133,11 @@ public interface CheckUpgradeResponseOrBuilder
        */
     
       /* nullable */
    -  java.lang.String getPypiDependenciesOrDefault(
    +java.lang.String getPypiDependenciesOrDefault(
           java.lang.String key,
           /* nullable */
    -      java.lang.String defaultValue);
    +java.lang.String defaultValue);
       /**
    -   *
    -   *
        * 
        * Pypi dependencies specified in the environment configuration, at the time
        * when the build was triggered.
    @@ -194,5 +145,7 @@ java.lang.String getPypiDependenciesOrDefault(
        *
        * map<string, string> pypi_dependencies = 6;
        */
    -  java.lang.String getPypiDependenciesOrThrow(java.lang.String key);
    +
    +  java.lang.String getPypiDependenciesOrThrow(
    +      java.lang.String key);
     }
    diff --git a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CreateEnvironmentRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CreateEnvironmentRequest.java
    similarity index 60%
    rename from proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CreateEnvironmentRequest.java
    rename to owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CreateEnvironmentRequest.java
    index b76fd3b0..997fc6b4 100644
    --- a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CreateEnvironmentRequest.java
    +++ b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CreateEnvironmentRequest.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/orchestration/airflow/service/v1beta1/environments.proto
     
     package com.google.cloud.orchestration.airflow.service.v1beta1;
     
     /**
    - *
    - *
      * 
      * Create a new environment.
      * 
    * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest} */ -public final class CreateEnvironmentRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateEnvironmentRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest) CreateEnvironmentRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateEnvironmentRequest.newBuilder() to construct. private CreateEnvironmentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateEnvironmentRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateEnvironmentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateEnvironmentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,38 +53,32 @@ private CreateEnvironmentRequest( 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.orchestration.airflow.service.v1beta1.Environment.Builder subBuilder = null; + if (environment_ != null) { + subBuilder = environment_.toBuilder(); } - case 18: - { - com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder - subBuilder = null; - if (environment_ != null) { - subBuilder = environment_.toBuilder(); - } - environment_ = - input.readMessage( - com.google.cloud.orchestration.airflow.service.v1beta1.Environment.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(environment_); - environment_ = subBuilder.buildPartial(); - } - - break; + environment_ = input.readMessage(com.google.cloud.orchestration.airflow.service.v1beta1.Environment.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(environment_); + environment_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -109,41 +86,35 @@ private CreateEnvironmentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_CreateEnvironmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_CreateEnvironmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_CreateEnvironmentRequest_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_CreateEnvironmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest.class, - com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest.Builder - .class); + com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest.class, com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
        * The parent must be of the form
        * "projects/{projectId}/locations/{locationId}".
        * 
    * * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -152,30 +123,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
        * The parent must be of the form
        * "projects/{projectId}/locations/{locationId}".
        * 
    * * 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 { @@ -186,14 +157,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int ENVIRONMENT_FIELD_NUMBER = 2; private com.google.cloud.orchestration.airflow.service.v1beta1.Environment environment_; /** - * - * *
        * The environment to create.
        * 
    * * .google.cloud.orchestration.airflow.service.v1beta1.Environment environment = 2; - * * @return Whether the environment field is set. */ @java.lang.Override @@ -201,25 +169,18 @@ public boolean hasEnvironment() { return environment_ != null; } /** - * - * *
        * The environment to create.
        * 
    * * .google.cloud.orchestration.airflow.service.v1beta1.Environment environment = 2; - * * @return The environment. */ @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1beta1.Environment getEnvironment() { - return environment_ == null - ? com.google.cloud.orchestration.airflow.service.v1beta1.Environment.getDefaultInstance() - : environment_; + return environment_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.Environment.getDefaultInstance() : environment_; } /** - * - * *
        * The environment to create.
        * 
    @@ -227,13 +188,11 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.Environment getEnv * .google.cloud.orchestration.airflow.service.v1beta1.Environment environment = 2; */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder - getEnvironmentOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder getEnvironmentOrBuilder() { return getEnvironment(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -245,7 +204,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -265,7 +225,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (environment_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEnvironment()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getEnvironment()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -275,20 +236,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest)) { + if (!(obj instanceof com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest other = - (com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest) obj; + com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest other = (com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasEnvironment() != other.hasEnvironment()) return false; if (hasEnvironment()) { - if (!getEnvironment().equals(other.getEnvironment())) return false; + if (!getEnvironment() + .equals(other.getEnvironment())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -312,153 +272,135 @@ public int hashCode() { return hash; } - public static com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest - 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.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest 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.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest prototype) { + public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
        * Create a new environment.
        * 
    * - * Protobuf type {@code - * google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest} + * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest) com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_CreateEnvironmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_CreateEnvironmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_CreateEnvironmentRequest_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_CreateEnvironmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest.class, - com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest - .Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest.class, com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest.Builder.class); } - // Construct using - // com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest.newBuilder() + // Construct using com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -474,22 +416,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_CreateEnvironmentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_CreateEnvironmentRequest_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest - getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest - .getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest.getDefaultInstance(); } @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest build() { - com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest result = - buildPartial(); + com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -497,10 +436,8 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentR } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest - buildPartial() { - com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest result = - new com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest(this); + public com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest buildPartial() { + com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest result = new com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest(this); result.parent_ = parent_; if (environmentBuilder_ == null) { result.environment_ = environment_; @@ -515,54 +452,46 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentR public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest) { - return mergeFrom( - (com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest) - other); + if (other instanceof com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest) { + return mergeFrom((com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest other) { - if (other - == com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest other) { + if (other == com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -585,14 +514,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest - parsedMessage = null; + com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -604,21 +530,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
          * The parent must be of the form
          * "projects/{projectId}/locations/{locationId}".
          * 
    * * 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; @@ -627,22 +551,21 @@ public java.lang.String getParent() { } } /** - * - * *
          * The parent must be of the form
          * "projects/{projectId}/locations/{locationId}".
          * 
    * * 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 { @@ -650,64 +573,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
          * The parent must be of the form
          * "projects/{projectId}/locations/{locationId}".
          * 
    * * 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 parent must be of the form
          * "projects/{projectId}/locations/{locationId}".
          * 
    * * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
          * The parent must be of the form
          * "projects/{projectId}/locations/{locationId}".
          * 
    * * 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; @@ -715,56 +631,41 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.orchestration.airflow.service.v1beta1.Environment environment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.Environment, - com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder, - com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder> - environmentBuilder_; + com.google.cloud.orchestration.airflow.service.v1beta1.Environment, com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder> environmentBuilder_; /** - * - * *
          * The environment to create.
          * 
    * * .google.cloud.orchestration.airflow.service.v1beta1.Environment environment = 2; - * * @return Whether the environment field is set. */ public boolean hasEnvironment() { return environmentBuilder_ != null || environment_ != null; } /** - * - * *
          * The environment to create.
          * 
    * * .google.cloud.orchestration.airflow.service.v1beta1.Environment environment = 2; - * * @return The environment. */ public com.google.cloud.orchestration.airflow.service.v1beta1.Environment getEnvironment() { if (environmentBuilder_ == null) { - return environment_ == null - ? com.google.cloud.orchestration.airflow.service.v1beta1.Environment - .getDefaultInstance() - : environment_; + return environment_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.Environment.getDefaultInstance() : environment_; } else { return environmentBuilder_.getMessage(); } } /** - * - * *
          * The environment to create.
          * 
    * * .google.cloud.orchestration.airflow.service.v1beta1.Environment environment = 2; */ - public Builder setEnvironment( - com.google.cloud.orchestration.airflow.service.v1beta1.Environment value) { + public Builder setEnvironment(com.google.cloud.orchestration.airflow.service.v1beta1.Environment value) { if (environmentBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -778,8 +679,6 @@ public Builder setEnvironment( return this; } /** - * - * *
          * The environment to create.
          * 
    @@ -787,8 +686,7 @@ public Builder setEnvironment( * .google.cloud.orchestration.airflow.service.v1beta1.Environment environment = 2; */ public Builder setEnvironment( - com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder - builderForValue) { + com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder builderForValue) { if (environmentBuilder_ == null) { environment_ = builderForValue.build(); onChanged(); @@ -799,23 +697,17 @@ public Builder setEnvironment( return this; } /** - * - * *
          * The environment to create.
          * 
    * * .google.cloud.orchestration.airflow.service.v1beta1.Environment environment = 2; */ - public Builder mergeEnvironment( - com.google.cloud.orchestration.airflow.service.v1beta1.Environment value) { + public Builder mergeEnvironment(com.google.cloud.orchestration.airflow.service.v1beta1.Environment value) { if (environmentBuilder_ == null) { if (environment_ != null) { environment_ = - com.google.cloud.orchestration.airflow.service.v1beta1.Environment.newBuilder( - environment_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.orchestration.airflow.service.v1beta1.Environment.newBuilder(environment_).mergeFrom(value).buildPartial(); } else { environment_ = value; } @@ -827,8 +719,6 @@ public Builder mergeEnvironment( return this; } /** - * - * *
          * The environment to create.
          * 
    @@ -847,43 +737,33 @@ public Builder clearEnvironment() { return this; } /** - * - * *
          * The environment to create.
          * 
    * * .google.cloud.orchestration.airflow.service.v1beta1.Environment environment = 2; */ - public com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder - getEnvironmentBuilder() { - + public com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder getEnvironmentBuilder() { + onChanged(); return getEnvironmentFieldBuilder().getBuilder(); } /** - * - * *
          * The environment to create.
          * 
    * * .google.cloud.orchestration.airflow.service.v1beta1.Environment environment = 2; */ - public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder - getEnvironmentOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder getEnvironmentOrBuilder() { if (environmentBuilder_ != null) { return environmentBuilder_.getMessageOrBuilder(); } else { - return environment_ == null - ? com.google.cloud.orchestration.airflow.service.v1beta1.Environment - .getDefaultInstance() - : environment_; + return environment_ == null ? + com.google.cloud.orchestration.airflow.service.v1beta1.Environment.getDefaultInstance() : environment_; } } /** - * - * *
          * The environment to create.
          * 
    @@ -891,24 +771,21 @@ public Builder clearEnvironment() { * .google.cloud.orchestration.airflow.service.v1beta1.Environment environment = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.Environment, - com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder, - com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder> + com.google.cloud.orchestration.airflow.service.v1beta1.Environment, com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder> getEnvironmentFieldBuilder() { if (environmentBuilder_ == null) { - environmentBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.Environment, - com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder, - com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder>( - getEnvironment(), getParentForChildren(), isClean()); + environmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.orchestration.airflow.service.v1beta1.Environment, com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder>( + getEnvironment(), + getParentForChildren(), + isClean()); environment_ = null; } return environmentBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -918,34 +795,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest) - private static final com.google.cloud.orchestration.airflow.service.v1beta1 - .CreateEnvironmentRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest(); + DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest(); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest - getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateEnvironmentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateEnvironmentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateEnvironmentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateEnvironmentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -957,8 +830,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest - getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CreateEnvironmentRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CreateEnvironmentRequestOrBuilder.java similarity index 65% rename from proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CreateEnvironmentRequestOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CreateEnvironmentRequestOrBuilder.java index ff2de928..8acf82d1 100644 --- a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CreateEnvironmentRequestOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CreateEnvironmentRequestOrBuilder.java @@ -1,88 +1,58 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; -public interface CreateEnvironmentRequestOrBuilder - extends +public interface CreateEnvironmentRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * The parent must be of the form
        * "projects/{projectId}/locations/{locationId}".
        * 
    * * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
        * The parent must be of the form
        * "projects/{projectId}/locations/{locationId}".
        * 
    * * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
        * The environment to create.
        * 
    * * .google.cloud.orchestration.airflow.service.v1beta1.Environment environment = 2; - * * @return Whether the environment field is set. */ boolean hasEnvironment(); /** - * - * *
        * The environment to create.
        * 
    * * .google.cloud.orchestration.airflow.service.v1beta1.Environment environment = 2; - * * @return The environment. */ com.google.cloud.orchestration.airflow.service.v1beta1.Environment getEnvironment(); /** - * - * *
        * The environment to create.
        * 
    * * .google.cloud.orchestration.airflow.service.v1beta1.Environment environment = 2; */ - com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder - getEnvironmentOrBuilder(); + com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder getEnvironmentOrBuilder(); } diff --git a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/DatabaseConfig.java b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/DatabaseConfig.java similarity index 67% rename from proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/DatabaseConfig.java rename to owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/DatabaseConfig.java index 111f649a..a3809fa5 100644 --- a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/DatabaseConfig.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/DatabaseConfig.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/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; /** - * - * *
      * The configuration of Cloud SQL instance that is used by the Apache Airflow
      * software.
    @@ -28,31 +11,31 @@
      *
      * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig}
      */
    -public final class DatabaseConfig extends com.google.protobuf.GeneratedMessageV3
    -    implements
    +public final class DatabaseConfig extends
    +    com.google.protobuf.GeneratedMessageV3 implements
         // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig)
         DatabaseConfigOrBuilder {
    -  private static final long serialVersionUID = 0L;
    +private static final long serialVersionUID = 0L;
       // Use DatabaseConfig.newBuilder() to construct.
       private DatabaseConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
    -
       private DatabaseConfig() {
         machineType_ = "";
       }
     
       @java.lang.Override
       @SuppressWarnings({"unused"})
    -  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
    +  protected java.lang.Object newInstance(
    +      UnusedPrivateParameter unused) {
         return new DatabaseConfig();
       }
     
       @java.lang.Override
    -  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
    +  public final com.google.protobuf.UnknownFieldSet
    +  getUnknownFields() {
         return this.unknownFields;
       }
    -
       private DatabaseConfig(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    @@ -71,20 +54,19 @@ private DatabaseConfig(
               case 0:
                 done = true;
                 break;
    -          case 10:
    -            {
    -              java.lang.String s = input.readStringRequireUtf8();
    +          case 10: {
    +            java.lang.String s = input.readStringRequireUtf8();
     
    -              machineType_ = s;
    -              break;
    -            }
    -          default:
    -            {
    -              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
    -                done = true;
    -              }
    -              break;
    +            machineType_ = s;
    +            break;
    +          }
    +          default: {
    +            if (!parseUnknownField(
    +                input, unknownFields, extensionRegistry, tag)) {
    +              done = true;
                 }
    +            break;
    +          }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
    @@ -92,33 +74,29 @@ private DatabaseConfig(
         } catch (com.google.protobuf.UninitializedMessageException e) {
           throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
    -      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
    +      throw new com.google.protobuf.InvalidProtocolBufferException(
    +          e).setUnfinishedMessage(this);
         } finally {
           this.unknownFields = unknownFields.build();
           makeExtensionsImmutable();
         }
       }
    -
    -  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    -    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
    -        .internal_static_google_cloud_orchestration_airflow_service_v1beta1_DatabaseConfig_descriptor;
    +  public static final com.google.protobuf.Descriptors.Descriptor
    +      getDescriptor() {
    +    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_DatabaseConfig_descriptor;
       }
     
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
    -    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
    -        .internal_static_google_cloud_orchestration_airflow_service_v1beta1_DatabaseConfig_fieldAccessorTable
    +    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_DatabaseConfig_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
    -            com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig.class,
    -            com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig.Builder.class);
    +            com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig.class, com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig.Builder.class);
       }
     
       public static final int MACHINE_TYPE_FIELD_NUMBER = 1;
       private volatile java.lang.Object machineType_;
       /**
    -   *
    -   *
        * 
        * Optional. Cloud SQL machine type used by Airflow database.
        * It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8
    @@ -126,7 +104,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        * 
    * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The machineType. */ @java.lang.Override @@ -135,15 +112,14 @@ public java.lang.String getMachineType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); machineType_ = s; return s; } } /** - * - * *
        * Optional. Cloud SQL machine type used by Airflow database.
        * It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8
    @@ -151,15 +127,16 @@ public java.lang.String getMachineType() {
        * 
    * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for machineType. */ @java.lang.Override - public com.google.protobuf.ByteString getMachineTypeBytes() { + public com.google.protobuf.ByteString + getMachineTypeBytes() { java.lang.Object ref = machineType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); machineType_ = b; return b; } else { @@ -168,7 +145,6 @@ public com.google.protobuf.ByteString getMachineTypeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -180,7 +156,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(machineType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, machineType_); } @@ -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.orchestration.airflow.service.v1beta1.DatabaseConfig)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig other = - (com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig) obj; + com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig other = (com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig) obj; - if (!getMachineType().equals(other.getMachineType())) return false; + if (!getMachineType() + .equals(other.getMachineType())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -232,105 +209,96 @@ public int hashCode() { } public static com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig 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.orchestration.airflow.service.v1beta1.DatabaseConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig - 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.orchestration.airflow.service.v1beta1.DatabaseConfig 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.orchestration.airflow.service.v1beta1.DatabaseConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig prototype) { + public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 configuration of Cloud SQL instance that is used by the Apache Airflow
        * software.
    @@ -338,40 +306,38 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
        *
        * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig}
        */
    -  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
    -      implements
    +  public static final class Builder extends
    +      com.google.protobuf.GeneratedMessageV3.Builder implements
           // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig)
           com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfigOrBuilder {
    -    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    -      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
    -          .internal_static_google_cloud_orchestration_airflow_service_v1beta1_DatabaseConfig_descriptor;
    +    public static final com.google.protobuf.Descriptors.Descriptor
    +        getDescriptor() {
    +      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_DatabaseConfig_descriptor;
         }
     
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
    -      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
    -          .internal_static_google_cloud_orchestration_airflow_service_v1beta1_DatabaseConfig_fieldAccessorTable
    +      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_DatabaseConfig_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
    -              com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig.class,
    -              com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig.Builder.class);
    +              com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig.class, com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig.Builder.class);
         }
     
    -    // Construct using
    -    // com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig.newBuilder()
    +    // Construct using com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig.newBuilder()
         private Builder() {
           maybeForceBuilderInitialization();
         }
     
    -    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    +    private Builder(
    +        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
           super(parent);
           maybeForceBuilderInitialization();
         }
    -
         private void maybeForceBuilderInitialization() {
    -      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
    +      if (com.google.protobuf.GeneratedMessageV3
    +              .alwaysUseFieldBuilders) {
    +      }
         }
    -
         @java.lang.Override
         public Builder clear() {
           super.clear();
    @@ -381,16 +347,14 @@ public Builder clear() {
         }
     
         @java.lang.Override
    -    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
    -      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
    -          .internal_static_google_cloud_orchestration_airflow_service_v1beta1_DatabaseConfig_descriptor;
    +    public com.google.protobuf.Descriptors.Descriptor
    +        getDescriptorForType() {
    +      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_DatabaseConfig_descriptor;
         }
     
         @java.lang.Override
    -    public com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig
    -        getDefaultInstanceForType() {
    -      return com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig
    -          .getDefaultInstance();
    +    public com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig getDefaultInstanceForType() {
    +      return com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig.getDefaultInstance();
         }
     
         @java.lang.Override
    @@ -404,8 +368,7 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig bui
     
         @java.lang.Override
         public com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig buildPartial() {
    -      com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig result =
    -          new com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig(this);
    +      com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig result = new com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig(this);
           result.machineType_ = machineType_;
           onBuilt();
           return result;
    @@ -415,51 +378,46 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig bui
         public Builder clone() {
           return super.clone();
         }
    -
         @java.lang.Override
         public Builder setField(
    -        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
    +        com.google.protobuf.Descriptors.FieldDescriptor field,
    +        java.lang.Object value) {
           return super.setField(field, value);
         }
    -
         @java.lang.Override
    -    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
    +    public Builder clearField(
    +        com.google.protobuf.Descriptors.FieldDescriptor field) {
           return super.clearField(field);
         }
    -
         @java.lang.Override
    -    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
    +    public Builder clearOneof(
    +        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
           return super.clearOneof(oneof);
         }
    -
         @java.lang.Override
         public Builder setRepeatedField(
    -        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
    +        com.google.protobuf.Descriptors.FieldDescriptor field,
    +        int index, java.lang.Object value) {
           return super.setRepeatedField(field, index, value);
         }
    -
         @java.lang.Override
         public Builder addRepeatedField(
    -        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
    +        com.google.protobuf.Descriptors.FieldDescriptor field,
    +        java.lang.Object value) {
           return super.addRepeatedField(field, value);
         }
    -
         @java.lang.Override
         public Builder mergeFrom(com.google.protobuf.Message other) {
           if (other instanceof com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig) {
    -        return mergeFrom(
    -            (com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig) other);
    +        return mergeFrom((com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig)other);
           } else {
             super.mergeFrom(other);
             return this;
           }
         }
     
    -    public Builder mergeFrom(
    -        com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig other) {
    -      if (other
    -          == com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig
    -              .getDefaultInstance()) return this;
    +    public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig other) {
    +      if (other == com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig.getDefaultInstance()) return this;
           if (!other.getMachineType().isEmpty()) {
             machineType_ = other.machineType_;
             onChanged();
    @@ -483,9 +441,7 @@ public Builder mergeFrom(
           try {
             parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
    -        parsedMessage =
    -            (com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig)
    -                e.getUnfinishedMessage();
    +        parsedMessage = (com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig) e.getUnfinishedMessage();
             throw e.unwrapIOException();
           } finally {
             if (parsedMessage != null) {
    @@ -497,8 +453,6 @@ public Builder mergeFrom(
     
         private java.lang.Object machineType_ = "";
         /**
    -     *
    -     *
          * 
          * Optional. Cloud SQL machine type used by Airflow database.
          * It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8
    @@ -506,13 +460,13 @@ public Builder mergeFrom(
          * 
    * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The machineType. */ public java.lang.String getMachineType() { java.lang.Object ref = machineType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); machineType_ = s; return s; @@ -521,8 +475,6 @@ public java.lang.String getMachineType() { } } /** - * - * *
          * Optional. Cloud SQL machine type used by Airflow database.
          * It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8
    @@ -530,14 +482,15 @@ public java.lang.String getMachineType() {
          * 
    * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for machineType. */ - public com.google.protobuf.ByteString getMachineTypeBytes() { + public com.google.protobuf.ByteString + getMachineTypeBytes() { java.lang.Object ref = machineType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); machineType_ = b; return b; } else { @@ -545,8 +498,6 @@ public com.google.protobuf.ByteString getMachineTypeBytes() { } } /** - * - * *
          * Optional. Cloud SQL machine type used by Airflow database.
          * It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8
    @@ -554,22 +505,20 @@ public com.google.protobuf.ByteString getMachineTypeBytes() {
          * 
    * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The machineType to set. * @return This builder for chaining. */ - public Builder setMachineType(java.lang.String value) { + public Builder setMachineType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + machineType_ = value; onChanged(); return this; } /** - * - * *
          * Optional. Cloud SQL machine type used by Airflow database.
          * It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8
    @@ -577,18 +526,15 @@ public Builder setMachineType(java.lang.String value) {
          * 
    * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearMachineType() { - + machineType_ = getDefaultInstance().getMachineType(); onChanged(); return this; } /** - * - * *
          * Optional. Cloud SQL machine type used by Airflow database.
          * It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8
    @@ -596,23 +542,23 @@ public Builder clearMachineType() {
          * 
    * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for machineType to set. * @return This builder for chaining. */ - public Builder setMachineTypeBytes(com.google.protobuf.ByteString value) { + public Builder setMachineTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + machineType_ = 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); } @@ -622,32 +568,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig) - private static final com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig(); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig - getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DatabaseConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DatabaseConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DatabaseConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DatabaseConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -659,8 +603,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig - getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/DatabaseConfigOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/DatabaseConfigOrBuilder.java similarity index 61% rename from proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/DatabaseConfigOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/DatabaseConfigOrBuilder.java index 2895d4e2..8a3b3c2b 100644 --- a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/DatabaseConfigOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/DatabaseConfigOrBuilder.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/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; -public interface DatabaseConfigOrBuilder - extends +public interface DatabaseConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * Optional. Cloud SQL machine type used by Airflow database.
        * It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8
    @@ -33,13 +15,10 @@ public interface DatabaseConfigOrBuilder
        * 
    * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The machineType. */ java.lang.String getMachineType(); /** - * - * *
        * Optional. Cloud SQL machine type used by Airflow database.
        * It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8
    @@ -47,8 +26,8 @@ public interface DatabaseConfigOrBuilder
        * 
    * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for machineType. */ - com.google.protobuf.ByteString getMachineTypeBytes(); + com.google.protobuf.ByteString + getMachineTypeBytes(); } diff --git a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/DeleteEnvironmentRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/DeleteEnvironmentRequest.java similarity index 57% rename from proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/DeleteEnvironmentRequest.java rename to owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/DeleteEnvironmentRequest.java index a8cc1928..05b1f818 100644 --- a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/DeleteEnvironmentRequest.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/DeleteEnvironmentRequest.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/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; /** - * - * *
      * Delete an environment.
      * 
    * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest} */ -public final class DeleteEnvironmentRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteEnvironmentRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest) DeleteEnvironmentRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteEnvironmentRequest.newBuilder() to construct. private DeleteEnvironmentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteEnvironmentRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteEnvironmentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteEnvironmentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private DeleteEnvironmentRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,35 @@ private DeleteEnvironmentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_DeleteEnvironmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_DeleteEnvironmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_DeleteEnvironmentRequest_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_DeleteEnvironmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest.class, - com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest.Builder - .class); + com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest.class, com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
        * The environment to delete, in the form:
        * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
        * 
    * * string name = 1; - * * @return The name. */ @java.lang.Override @@ -134,30 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
        * The environment to delete, in the form:
        * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
        * 
    * * 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 { @@ -166,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -178,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -202,17 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest)) { + if (!(obj instanceof com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest other = - (com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest) obj; + com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest other = (com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,153 +205,135 @@ public int hashCode() { return hash; } - public static com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest - 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.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest 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.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest prototype) { + public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
        * Delete an environment.
        * 
    * - * Protobuf type {@code - * google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest} + * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest) com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_DeleteEnvironmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_DeleteEnvironmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_DeleteEnvironmentRequest_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_DeleteEnvironmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest.class, - com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest - .Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest.class, com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest.Builder.class); } - // Construct using - // com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest.newBuilder() + // Construct using com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -387,22 +343,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_DeleteEnvironmentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_DeleteEnvironmentRequest_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest - getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest - .getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest.getDefaultInstance(); } @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest build() { - com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest result = - buildPartial(); + com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -410,10 +363,8 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentR } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest - buildPartial() { - com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest result = - new com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest(this); + public com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest buildPartial() { + com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest result = new com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest(this); result.name_ = name_; onBuilt(); return result; @@ -423,54 +374,46 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentR public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest) { - return mergeFrom( - (com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest) - other); + if (other instanceof com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest) { + return mergeFrom((com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest other) { - if (other - == com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest other) { + if (other == com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -490,14 +433,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest - parsedMessage = null; + com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -509,21 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
          * The environment to delete, in the form:
          * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
          * 
    * * 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; @@ -532,22 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
          * The environment to delete, in the form:
          * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
          * 
    * * 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 { @@ -555,71 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
          * The environment to delete, in the form:
          * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
          * 
    * * 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 environment to delete, in the form:
          * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
          * 
    * * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
          * The environment to delete, in the form:
          * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
          * 
    * * 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); } @@ -629,34 +559,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest) - private static final com.google.cloud.orchestration.airflow.service.v1beta1 - .DeleteEnvironmentRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest(); + DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest(); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest - getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteEnvironmentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteEnvironmentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteEnvironmentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteEnvironmentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -668,8 +594,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest - getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/DeleteEnvironmentRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/DeleteEnvironmentRequestOrBuilder.java similarity index 54% rename from proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/DeleteEnvironmentRequestOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/DeleteEnvironmentRequestOrBuilder.java index 29950312..07085377 100644 --- a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/DeleteEnvironmentRequestOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/DeleteEnvironmentRequestOrBuilder.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/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; -public interface DeleteEnvironmentRequestOrBuilder - extends +public interface DeleteEnvironmentRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * The environment to delete, in the form:
        * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
        * 
    * * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
        * The environment to delete, in the form:
        * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
        * 
    * * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EncryptionConfig.java b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EncryptionConfig.java similarity index 66% rename from proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EncryptionConfig.java rename to owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EncryptionConfig.java index 5933a616..4596e21e 100644 --- a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EncryptionConfig.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EncryptionConfig.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/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; /** - * - * *
      * The encryption options for the Cloud Composer environment and its
      * dependencies.
    @@ -28,31 +11,31 @@
      *
      * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig}
      */
    -public final class EncryptionConfig extends com.google.protobuf.GeneratedMessageV3
    -    implements
    +public final class EncryptionConfig extends
    +    com.google.protobuf.GeneratedMessageV3 implements
         // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig)
         EncryptionConfigOrBuilder {
    -  private static final long serialVersionUID = 0L;
    +private static final long serialVersionUID = 0L;
       // Use EncryptionConfig.newBuilder() to construct.
       private EncryptionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
    -
       private EncryptionConfig() {
         kmsKeyName_ = "";
       }
     
       @java.lang.Override
       @SuppressWarnings({"unused"})
    -  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
    +  protected java.lang.Object newInstance(
    +      UnusedPrivateParameter unused) {
         return new EncryptionConfig();
       }
     
       @java.lang.Override
    -  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
    +  public final com.google.protobuf.UnknownFieldSet
    +  getUnknownFields() {
         return this.unknownFields;
       }
    -
       private EncryptionConfig(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    @@ -71,20 +54,19 @@ private EncryptionConfig(
               case 0:
                 done = true;
                 break;
    -          case 10:
    -            {
    -              java.lang.String s = input.readStringRequireUtf8();
    +          case 10: {
    +            java.lang.String s = input.readStringRequireUtf8();
     
    -              kmsKeyName_ = s;
    -              break;
    -            }
    -          default:
    -            {
    -              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
    -                done = true;
    -              }
    -              break;
    +            kmsKeyName_ = s;
    +            break;
    +          }
    +          default: {
    +            if (!parseUnknownField(
    +                input, unknownFields, extensionRegistry, tag)) {
    +              done = true;
                 }
    +            break;
    +          }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
    @@ -92,33 +74,29 @@ private EncryptionConfig(
         } catch (com.google.protobuf.UninitializedMessageException e) {
           throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
    -      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
    +      throw new com.google.protobuf.InvalidProtocolBufferException(
    +          e).setUnfinishedMessage(this);
         } finally {
           this.unknownFields = unknownFields.build();
           makeExtensionsImmutable();
         }
       }
    -
    -  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    -    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
    -        .internal_static_google_cloud_orchestration_airflow_service_v1beta1_EncryptionConfig_descriptor;
    +  public static final com.google.protobuf.Descriptors.Descriptor
    +      getDescriptor() {
    +    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_EncryptionConfig_descriptor;
       }
     
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
    -    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
    -        .internal_static_google_cloud_orchestration_airflow_service_v1beta1_EncryptionConfig_fieldAccessorTable
    +    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_EncryptionConfig_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
    -            com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig.class,
    -            com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig.Builder.class);
    +            com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig.class, com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig.Builder.class);
       }
     
       public static final int KMS_KEY_NAME_FIELD_NUMBER = 1;
       private volatile java.lang.Object kmsKeyName_;
       /**
    -   *
    -   *
        * 
        * Optional. Customer-managed Encryption Key available through Google's Key Management
        * Service. Cannot be updated.
    @@ -126,7 +104,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        * 
    * * string kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The kmsKeyName. */ @java.lang.Override @@ -135,15 +112,14 @@ public java.lang.String getKmsKeyName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyName_ = s; return s; } } /** - * - * *
        * Optional. Customer-managed Encryption Key available through Google's Key Management
        * Service. Cannot be updated.
    @@ -151,15 +127,16 @@ public java.lang.String getKmsKeyName() {
        * 
    * * string kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for kmsKeyName. */ @java.lang.Override - public com.google.protobuf.ByteString getKmsKeyNameBytes() { + public com.google.protobuf.ByteString + getKmsKeyNameBytes() { java.lang.Object ref = kmsKeyName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kmsKeyName_ = b; return b; } else { @@ -168,7 +145,6 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -180,7 +156,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, kmsKeyName_); } @@ -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.orchestration.airflow.service.v1beta1.EncryptionConfig)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig other = - (com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig) obj; + com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig other = (com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig) obj; - if (!getKmsKeyName().equals(other.getKmsKeyName())) return false; + if (!getKmsKeyName() + .equals(other.getKmsKeyName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -232,105 +209,96 @@ public int hashCode() { } public static com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig 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.orchestration.airflow.service.v1beta1.EncryptionConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig - 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.orchestration.airflow.service.v1beta1.EncryptionConfig 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.orchestration.airflow.service.v1beta1.EncryptionConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig prototype) { + public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 encryption options for the Cloud Composer environment and its
        * dependencies.
    @@ -338,41 +306,38 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
        *
        * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig}
        */
    -  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
    -      implements
    +  public static final class Builder extends
    +      com.google.protobuf.GeneratedMessageV3.Builder implements
           // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig)
           com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfigOrBuilder {
    -    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    -      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
    -          .internal_static_google_cloud_orchestration_airflow_service_v1beta1_EncryptionConfig_descriptor;
    +    public static final com.google.protobuf.Descriptors.Descriptor
    +        getDescriptor() {
    +      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_EncryptionConfig_descriptor;
         }
     
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
    -      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
    -          .internal_static_google_cloud_orchestration_airflow_service_v1beta1_EncryptionConfig_fieldAccessorTable
    +      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_EncryptionConfig_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
    -              com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig.class,
    -              com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig.Builder
    -                  .class);
    +              com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig.class, com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig.Builder.class);
         }
     
    -    // Construct using
    -    // com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig.newBuilder()
    +    // Construct using com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig.newBuilder()
         private Builder() {
           maybeForceBuilderInitialization();
         }
     
    -    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    +    private Builder(
    +        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
           super(parent);
           maybeForceBuilderInitialization();
         }
    -
         private void maybeForceBuilderInitialization() {
    -      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
    +      if (com.google.protobuf.GeneratedMessageV3
    +              .alwaysUseFieldBuilders) {
    +      }
         }
    -
         @java.lang.Override
         public Builder clear() {
           super.clear();
    @@ -382,22 +347,19 @@ public Builder clear() {
         }
     
         @java.lang.Override
    -    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
    -      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
    -          .internal_static_google_cloud_orchestration_airflow_service_v1beta1_EncryptionConfig_descriptor;
    +    public com.google.protobuf.Descriptors.Descriptor
    +        getDescriptorForType() {
    +      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_EncryptionConfig_descriptor;
         }
     
         @java.lang.Override
    -    public com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig
    -        getDefaultInstanceForType() {
    -      return com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig
    -          .getDefaultInstance();
    +    public com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig getDefaultInstanceForType() {
    +      return com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig.getDefaultInstance();
         }
     
         @java.lang.Override
         public com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig build() {
    -      com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig result =
    -          buildPartial();
    +      com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig result = buildPartial();
           if (!result.isInitialized()) {
             throw newUninitializedMessageException(result);
           }
    @@ -406,8 +368,7 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig b
     
         @java.lang.Override
         public com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig buildPartial() {
    -      com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig result =
    -          new com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig(this);
    +      com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig result = new com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig(this);
           result.kmsKeyName_ = kmsKeyName_;
           onBuilt();
           return result;
    @@ -417,52 +378,46 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig b
         public Builder clone() {
           return super.clone();
         }
    -
         @java.lang.Override
         public Builder setField(
    -        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
    +        com.google.protobuf.Descriptors.FieldDescriptor field,
    +        java.lang.Object value) {
           return super.setField(field, value);
         }
    -
         @java.lang.Override
    -    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
    +    public Builder clearField(
    +        com.google.protobuf.Descriptors.FieldDescriptor field) {
           return super.clearField(field);
         }
    -
         @java.lang.Override
    -    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
    +    public Builder clearOneof(
    +        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
           return super.clearOneof(oneof);
         }
    -
         @java.lang.Override
         public Builder setRepeatedField(
    -        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
    +        com.google.protobuf.Descriptors.FieldDescriptor field,
    +        int index, java.lang.Object value) {
           return super.setRepeatedField(field, index, value);
         }
    -
         @java.lang.Override
         public Builder addRepeatedField(
    -        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
    +        com.google.protobuf.Descriptors.FieldDescriptor field,
    +        java.lang.Object value) {
           return super.addRepeatedField(field, value);
         }
    -
         @java.lang.Override
         public Builder mergeFrom(com.google.protobuf.Message other) {
    -      if (other
    -          instanceof com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig) {
    -        return mergeFrom(
    -            (com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig) other);
    +      if (other instanceof com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig) {
    +        return mergeFrom((com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig)other);
           } else {
             super.mergeFrom(other);
             return this;
           }
         }
     
    -    public Builder mergeFrom(
    -        com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig other) {
    -      if (other
    -          == com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig
    -              .getDefaultInstance()) return this;
    +    public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig other) {
    +      if (other == com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig.getDefaultInstance()) return this;
           if (!other.getKmsKeyName().isEmpty()) {
             kmsKeyName_ = other.kmsKeyName_;
             onChanged();
    @@ -486,9 +441,7 @@ public Builder mergeFrom(
           try {
             parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
    -        parsedMessage =
    -            (com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig)
    -                e.getUnfinishedMessage();
    +        parsedMessage = (com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig) e.getUnfinishedMessage();
             throw e.unwrapIOException();
           } finally {
             if (parsedMessage != null) {
    @@ -500,8 +453,6 @@ public Builder mergeFrom(
     
         private java.lang.Object kmsKeyName_ = "";
         /**
    -     *
    -     *
          * 
          * Optional. Customer-managed Encryption Key available through Google's Key Management
          * Service. Cannot be updated.
    @@ -509,13 +460,13 @@ public Builder mergeFrom(
          * 
    * * string kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The kmsKeyName. */ public java.lang.String getKmsKeyName() { java.lang.Object ref = kmsKeyName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyName_ = s; return s; @@ -524,8 +475,6 @@ public java.lang.String getKmsKeyName() { } } /** - * - * *
          * Optional. Customer-managed Encryption Key available through Google's Key Management
          * Service. Cannot be updated.
    @@ -533,14 +482,15 @@ public java.lang.String getKmsKeyName() {
          * 
    * * string kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for kmsKeyName. */ - public com.google.protobuf.ByteString getKmsKeyNameBytes() { + public com.google.protobuf.ByteString + getKmsKeyNameBytes() { java.lang.Object ref = kmsKeyName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kmsKeyName_ = b; return b; } else { @@ -548,8 +498,6 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { } } /** - * - * *
          * Optional. Customer-managed Encryption Key available through Google's Key Management
          * Service. Cannot be updated.
    @@ -557,22 +505,20 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() {
          * 
    * * string kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The kmsKeyName to set. * @return This builder for chaining. */ - public Builder setKmsKeyName(java.lang.String value) { + public Builder setKmsKeyName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kmsKeyName_ = value; onChanged(); return this; } /** - * - * *
          * Optional. Customer-managed Encryption Key available through Google's Key Management
          * Service. Cannot be updated.
    @@ -580,18 +526,15 @@ public Builder setKmsKeyName(java.lang.String value) {
          * 
    * * string kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearKmsKeyName() { - + kmsKeyName_ = getDefaultInstance().getKmsKeyName(); onChanged(); return this; } /** - * - * *
          * Optional. Customer-managed Encryption Key available through Google's Key Management
          * Service. Cannot be updated.
    @@ -599,23 +542,23 @@ public Builder clearKmsKeyName() {
          * 
    * * string kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for kmsKeyName to set. * @return This builder for chaining. */ - public Builder setKmsKeyNameBytes(com.google.protobuf.ByteString value) { + public Builder setKmsKeyNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kmsKeyName_ = 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); } @@ -625,33 +568,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig) - private static final com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig(); + DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig(); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig - getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EncryptionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new EncryptionConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EncryptionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new EncryptionConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -663,8 +603,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig - getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EncryptionConfigOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EncryptionConfigOrBuilder.java similarity index 59% rename from proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EncryptionConfigOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EncryptionConfigOrBuilder.java index 77058a6c..b7e086af 100644 --- a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EncryptionConfigOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EncryptionConfigOrBuilder.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/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; -public interface EncryptionConfigOrBuilder - extends +public interface EncryptionConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * Optional. Customer-managed Encryption Key available through Google's Key Management
        * Service. Cannot be updated.
    @@ -33,13 +15,10 @@ public interface EncryptionConfigOrBuilder
        * 
    * * string kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The kmsKeyName. */ java.lang.String getKmsKeyName(); /** - * - * *
        * Optional. Customer-managed Encryption Key available through Google's Key Management
        * Service. Cannot be updated.
    @@ -47,8 +26,8 @@ public interface EncryptionConfigOrBuilder
        * 
    * * string kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for kmsKeyName. */ - com.google.protobuf.ByteString getKmsKeyNameBytes(); + com.google.protobuf.ByteString + getKmsKeyNameBytes(); } diff --git a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/Environment.java b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/Environment.java similarity index 67% rename from proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/Environment.java rename to owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/Environment.java index 89c98d3a..944f6e2a 100644 --- a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/Environment.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/Environment.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/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; /** - * - * *
      * An environment for running orchestration tasks.
      * 
    * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.Environment} */ -public final class Environment extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Environment extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1beta1.Environment) EnvironmentOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Environment.newBuilder() to construct. private Environment(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Environment() { name_ = ""; uuid_ = ""; @@ -45,15 +27,16 @@ private Environment() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Environment(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Environment( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,96 +56,83 @@ private Environment( 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.orchestration.airflow.service.v1beta1.EnvironmentConfig.Builder subBuilder = null; + if (config_ != null) { + subBuilder = config_.toBuilder(); } - case 18: - { - com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.Builder - subBuilder = null; - if (config_ != null) { - subBuilder = config_.toBuilder(); - } - config_ = - input.readMessage( - com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(config_); - config_ = subBuilder.buildPartial(); - } - - break; + config_ = input.readMessage(com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(config_); + config_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - uuid_ = s; - break; - } - case 32: - { - int rawValue = input.readEnum(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + uuid_ = s; + break; + } + case 32: { + int rawValue = input.readEnum(); - state_ = rawValue; - break; + state_ = rawValue; + break; + } + case 42: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 42: - { - 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 50: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); } - case 50: - { - 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 58: - { - 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 58: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + com.google.protobuf.MapEntry + labels__ = input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + labels_.getMutableMap().put( + labels__.getKey(), labels__.getValue()); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -170,52 +140,48 @@ private Environment( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_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 7: return internalGetLabels(); 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.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.Environment.class, - com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.Environment.class, com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder.class); } /** - * - * *
        * State of the environment.
        * 
    * * Protobuf enum {@code google.cloud.orchestration.airflow.service.v1beta1.Environment.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
          * The state of the environment is unknown.
          * 
    @@ -224,8 +190,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
          * The environment is in the process of being created.
          * 
    @@ -234,8 +198,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ CREATING(1), /** - * - * *
          * The environment is currently running and healthy. It is ready for use.
          * 
    @@ -244,8 +206,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ RUNNING(2), /** - * - * *
          * The environment is being updated. It remains usable but cannot receive
          * additional update requests or be deleted at this time.
    @@ -255,8 +215,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
          */
         UPDATING(3),
         /**
    -     *
    -     *
          * 
          * The environment is undergoing deletion. It cannot be used.
          * 
    @@ -265,8 +223,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ DELETING(4), /** - * - * *
          * The environment has encountered an error and cannot be used.
          * 
    @@ -278,8 +234,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
          * The state of the environment is unknown.
          * 
    @@ -288,8 +242,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
          * The environment is in the process of being created.
          * 
    @@ -298,8 +250,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CREATING_VALUE = 1; /** - * - * *
          * The environment is currently running and healthy. It is ready for use.
          * 
    @@ -308,8 +258,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RUNNING_VALUE = 2; /** - * - * *
          * The environment is being updated. It remains usable but cannot receive
          * additional update requests or be deleted at this time.
    @@ -319,8 +267,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
          */
         public static final int UPDATING_VALUE = 3;
         /**
    -     *
    -     *
          * 
          * The environment is undergoing deletion. It cannot be used.
          * 
    @@ -329,8 +275,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DELETING_VALUE = 4; /** - * - * *
          * The environment has encountered an error and cannot be used.
          * 
    @@ -339,6 +283,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ERROR_VALUE = 5; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -363,57 +308,52 @@ 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 UPDATING; - case 4: - return DELETING; - case 5: - return ERROR; - default: - return null; + case 0: return STATE_UNSPECIFIED; + case 1: return CREATING; + case 2: return RUNNING; + case 3: return UPDATING; + case 4: return DELETING; + case 5: return ERROR; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + State> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public State findValueByNumber(int number) { - return State.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.Environment.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.Environment.getDescriptor().getEnumTypes().get(0); } private static final State[] VALUES = values(); - public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static State valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -433,8 +373,6 @@ private State(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
        * The resource name of the environment, in the form:
        * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
    @@ -443,7 +381,6 @@ private State(int value) {
        * 
    * * string name = 1; - * * @return The name. */ @java.lang.Override @@ -452,15 +389,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; } } /** - * - * *
        * The resource name of the environment, in the form:
        * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
    @@ -469,15 +405,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 { @@ -488,14 +425,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int CONFIG_FIELD_NUMBER = 2; private com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config_; /** - * - * *
        * Configuration parameters for this environment.
        * 
    * * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config = 2; - * * @return Whether the config field is set. */ @java.lang.Override @@ -503,26 +437,18 @@ public boolean hasConfig() { return config_ != null; } /** - * - * *
        * Configuration parameters for this environment.
        * 
    * * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config = 2; - * * @return The config. */ @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig getConfig() { - return config_ == null - ? com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig - .getDefaultInstance() - : config_; + return config_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.getDefaultInstance() : config_; } /** - * - * *
        * Configuration parameters for this environment.
        * 
    @@ -530,23 +456,19 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config = 2; */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfigOrBuilder - getConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfigOrBuilder getConfigOrBuilder() { return getConfig(); } public static final int UUID_FIELD_NUMBER = 3; private volatile java.lang.Object uuid_; /** - * - * *
        * Output only. The UUID (Universally Unique IDentifier) associated with this environment.
        * This value is generated when the environment is created.
        * 
    * * string uuid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uuid. */ @java.lang.Override @@ -555,30 +477,30 @@ public java.lang.String getUuid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uuid_ = s; return s; } } /** - * - * *
        * Output only. The UUID (Universally Unique IDentifier) associated with this environment.
        * This value is generated when the environment is created.
        * 
    * * string uuid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uuid. */ @java.lang.Override - public com.google.protobuf.ByteString getUuidBytes() { + public com.google.protobuf.ByteString + getUuidBytes() { java.lang.Object ref = uuid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uuid_ = b; return b; } else { @@ -589,53 +511,38 @@ public com.google.protobuf.ByteString getUuidBytes() { public static final int STATE_FIELD_NUMBER = 4; private int state_; /** - * - * *
        * The current state of the environment.
        * 
    * * .google.cloud.orchestration.airflow.service.v1beta1.Environment.State state = 4; - * * @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 current state of the environment.
        * 
    * * .google.cloud.orchestration.airflow.service.v1beta1.Environment.State state = 4; - * * @return The state. */ - @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.Environment.State getState() { + @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1beta1.Environment.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.orchestration.airflow.service.v1beta1.Environment.State result = - com.google.cloud.orchestration.airflow.service.v1beta1.Environment.State.valueOf(state_); - return result == null - ? com.google.cloud.orchestration.airflow.service.v1beta1.Environment.State.UNRECOGNIZED - : result; + com.google.cloud.orchestration.airflow.service.v1beta1.Environment.State result = com.google.cloud.orchestration.airflow.service.v1beta1.Environment.State.valueOf(state_); + return result == null ? com.google.cloud.orchestration.airflow.service.v1beta1.Environment.State.UNRECOGNIZED : result; } public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** - * - * *
        * Output only. The time at which this environment was created.
        * 
    * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -643,15 +550,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
        * Output only. The time at which this environment was created.
        * 
    * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -659,14 +562,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
        * Output only. The time at which this environment was created.
        * 
    * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -676,15 +576,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
        * Output only. The time at which this environment was last modified.
        * 
    * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -692,15 +588,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
        * Output only. The time at which this environment was last modified.
        * 
    * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -708,14 +600,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
        * Output only. The time at which this environment was last modified.
        * 
    * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -723,23 +612,24 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int LABELS_FIELD_NUMBER = 7; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_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.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_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_; } @@ -748,8 +638,6 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
        * Optional. User-defined labels for this environment.
        * The labels map can contain no more than 64 entries. Entries of the labels
    @@ -762,22 +650,22 @@ public int getLabelsCount() {
        *
        * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
        */
    +
       @java.lang.Override
    -  public boolean containsLabels(java.lang.String key) {
    -    if (key == null) {
    -      throw new NullPointerException("map key");
    -    }
    +  public boolean containsLabels(
    +      java.lang.String key) {
    +    if (key == null) { throw new NullPointerException("map key"); }
         return internalGetLabels().getMap().containsKey(key);
       }
    -  /** Use {@link #getLabelsMap()} instead. */
    +  /**
    +   * Use {@link #getLabelsMap()} instead.
    +   */
       @java.lang.Override
       @java.lang.Deprecated
       public java.util.Map getLabels() {
         return getLabelsMap();
       }
       /**
    -   *
    -   *
        * 
        * Optional. User-defined labels for this environment.
        * The labels map can contain no more than 64 entries. Entries of the labels
    @@ -791,12 +679,11 @@ public java.util.Map getLabels() {
        * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
        */
       @java.lang.Override
    +
       public java.util.Map getLabelsMap() {
         return internalGetLabels().getMap();
       }
       /**
    -   *
    -   *
        * 
        * Optional. User-defined labels for this environment.
        * The labels map can contain no more than 64 entries. Entries of the labels
    @@ -810,16 +697,16 @@ public java.util.Map getLabelsMap() {
        * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
        */
       @java.lang.Override
    -  public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
    -    if (key == null) {
    -      throw new NullPointerException("map key");
    -    }
    -    java.util.Map map = internalGetLabels().getMap();
    +
    +  public java.lang.String getLabelsOrDefault(
    +      java.lang.String key,
    +      java.lang.String defaultValue) {
    +    if (key == null) { throw new NullPointerException("map key"); }
    +    java.util.Map map =
    +        internalGetLabels().getMap();
         return map.containsKey(key) ? map.get(key) : defaultValue;
       }
       /**
    -   *
    -   *
        * 
        * Optional. User-defined labels for this environment.
        * The labels map can contain no more than 64 entries. Entries of the labels
    @@ -833,11 +720,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin
        * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
        */
       @java.lang.Override
    -  public java.lang.String getLabelsOrThrow(java.lang.String key) {
    -    if (key == null) {
    -      throw new NullPointerException("map key");
    -    }
    -    java.util.Map map = internalGetLabels().getMap();
    +
    +  public java.lang.String getLabelsOrThrow(
    +      java.lang.String key) {
    +    if (key == null) { throw new NullPointerException("map key"); }
    +    java.util.Map map =
    +        internalGetLabels().getMap();
         if (!map.containsKey(key)) {
           throw new java.lang.IllegalArgumentException();
         }
    @@ -845,7 +733,6 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
       }
     
       private byte memoizedIsInitialized = -1;
    -
       @java.lang.Override
       public final boolean isInitialized() {
         byte isInitialized = memoizedIsInitialized;
    @@ -857,7 +744,8 @@ public final boolean isInitialized() {
       }
     
       @java.lang.Override
    -  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    +  public void writeTo(com.google.protobuf.CodedOutputStream output)
    +                      throws java.io.IOException {
         if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
           com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
         }
    @@ -867,10 +755,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
         if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uuid_)) {
           com.google.protobuf.GeneratedMessageV3.writeString(output, 3, uuid_);
         }
    -    if (state_
    -        != com.google.cloud.orchestration.airflow.service.v1beta1.Environment.State
    -            .STATE_UNSPECIFIED
    -            .getNumber()) {
    +    if (state_ != com.google.cloud.orchestration.airflow.service.v1beta1.Environment.State.STATE_UNSPECIFIED.getNumber()) {
           output.writeEnum(4, state_);
         }
         if (createTime_ != null) {
    @@ -879,8 +764,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
         if (updateTime_ != null) {
           output.writeMessage(6, getUpdateTime());
         }
    -    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
    -        output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 7);
    +    com.google.protobuf.GeneratedMessageV3
    +      .serializeStringMapTo(
    +        output,
    +        internalGetLabels(),
    +        LabelsDefaultEntryHolder.defaultEntry,
    +        7);
         unknownFields.writeTo(output);
       }
     
    @@ -894,32 +783,33 @@ public int getSerializedSize() {
           size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
         }
         if (config_ != null) {
    -      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getConfig());
    +      size += com.google.protobuf.CodedOutputStream
    +        .computeMessageSize(2, getConfig());
         }
         if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uuid_)) {
           size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, uuid_);
         }
    -    if (state_
    -        != com.google.cloud.orchestration.airflow.service.v1beta1.Environment.State
    -            .STATE_UNSPECIFIED
    -            .getNumber()) {
    -      size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, state_);
    +    if (state_ != com.google.cloud.orchestration.airflow.service.v1beta1.Environment.State.STATE_UNSPECIFIED.getNumber()) {
    +      size += com.google.protobuf.CodedOutputStream
    +        .computeEnumSize(4, state_);
         }
         if (createTime_ != null) {
    -      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime());
    +      size += com.google.protobuf.CodedOutputStream
    +        .computeMessageSize(5, getCreateTime());
         }
         if (updateTime_ != null) {
    -      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime());
    -    }
    -    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(7, labels__);
    +      size += com.google.protobuf.CodedOutputStream
    +        .computeMessageSize(6, getUpdateTime());
    +    }
    +    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(7, labels__);
         }
         size += unknownFields.getSerializedSize();
         memoizedSize = size;
    @@ -929,30 +819,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.orchestration.airflow.service.v1beta1.Environment)) {
           return super.equals(obj);
         }
    -    com.google.cloud.orchestration.airflow.service.v1beta1.Environment other =
    -        (com.google.cloud.orchestration.airflow.service.v1beta1.Environment) obj;
    +    com.google.cloud.orchestration.airflow.service.v1beta1.Environment other = (com.google.cloud.orchestration.airflow.service.v1beta1.Environment) obj;
     
    -    if (!getName().equals(other.getName())) return false;
    +    if (!getName()
    +        .equals(other.getName())) return false;
         if (hasConfig() != other.hasConfig()) return false;
         if (hasConfig()) {
    -      if (!getConfig().equals(other.getConfig())) return false;
    +      if (!getConfig()
    +          .equals(other.getConfig())) return false;
         }
    -    if (!getUuid().equals(other.getUuid())) return false;
    +    if (!getUuid()
    +        .equals(other.getUuid())) return false;
         if (state_ != other.state_) return false;
         if (hasCreateTime() != other.hasCreateTime()) return false;
         if (hasCreateTime()) {
    -      if (!getCreateTime().equals(other.getCreateTime())) return false;
    +      if (!getCreateTime()
    +          .equals(other.getCreateTime())) return false;
         }
         if (hasUpdateTime() != other.hasUpdateTime()) return false;
         if (hasUpdateTime()) {
    -      if (!getUpdateTime().equals(other.getUpdateTime())) return false;
    +      if (!getUpdateTime()
    +          .equals(other.getUpdateTime())) return false;
         }
    -    if (!internalGetLabels().equals(other.internalGetLabels())) return false;
    +    if (!internalGetLabels().equals(
    +        other.internalGetLabels())) return false;
         if (!unknownFields.equals(other.unknownFields)) return false;
         return true;
       }
    @@ -992,165 +887,156 @@ public int hashCode() {
       }
     
       public static com.google.cloud.orchestration.airflow.service.v1beta1.Environment 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.orchestration.airflow.service.v1beta1.Environment parseFrom(
    -      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    +      java.nio.ByteBuffer data,
    +      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
    -
       public static com.google.cloud.orchestration.airflow.service.v1beta1.Environment parseFrom(
           com.google.protobuf.ByteString data)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
    -
       public static com.google.cloud.orchestration.airflow.service.v1beta1.Environment parseFrom(
           com.google.protobuf.ByteString data,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
    -
    -  public static com.google.cloud.orchestration.airflow.service.v1beta1.Environment parseFrom(
    -      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
    +  public static com.google.cloud.orchestration.airflow.service.v1beta1.Environment parseFrom(byte[] data)
    +      throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
    -
       public static com.google.cloud.orchestration.airflow.service.v1beta1.Environment parseFrom(
    -      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    +      byte[] data,
    +      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
    -
    -  public static com.google.cloud.orchestration.airflow.service.v1beta1.Environment parseFrom(
    -      java.io.InputStream input) throws java.io.IOException {
    -    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
    +  public static com.google.cloud.orchestration.airflow.service.v1beta1.Environment parseFrom(java.io.InputStream input)
    +      throws java.io.IOException {
    +    return com.google.protobuf.GeneratedMessageV3
    +        .parseWithIOException(PARSER, input);
       }
    -
       public static com.google.cloud.orchestration.airflow.service.v1beta1.Environment parseFrom(
    -      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    +      java.io.InputStream input,
    +      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
    -    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
    -        PARSER, input, extensionRegistry);
    +    return com.google.protobuf.GeneratedMessageV3
    +        .parseWithIOException(PARSER, input, extensionRegistry);
       }
    -
    -  public static com.google.cloud.orchestration.airflow.service.v1beta1.Environment
    -      parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
    -    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
    +  public static com.google.cloud.orchestration.airflow.service.v1beta1.Environment parseDelimitedFrom(java.io.InputStream input)
    +      throws java.io.IOException {
    +    return com.google.protobuf.GeneratedMessageV3
    +        .parseDelimitedWithIOException(PARSER, input);
       }
    -
    -  public static com.google.cloud.orchestration.airflow.service.v1beta1.Environment
    -      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.orchestration.airflow.service.v1beta1.Environment 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.orchestration.airflow.service.v1beta1.Environment parseFrom(
    -      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
    -    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
    +      com.google.protobuf.CodedInputStream input)
    +      throws java.io.IOException {
    +    return com.google.protobuf.GeneratedMessageV3
    +        .parseWithIOException(PARSER, input);
       }
    -
       public static com.google.cloud.orchestration.airflow.service.v1beta1.Environment parseFrom(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
    -    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
    -        PARSER, input, extensionRegistry);
    +    return com.google.protobuf.GeneratedMessageV3
    +        .parseWithIOException(PARSER, input, extensionRegistry);
       }
     
       @java.lang.Override
    -  public Builder newBuilderForType() {
    -    return newBuilder();
    -  }
    -
    +  public Builder newBuilderForType() { return newBuilder(); }
       public static Builder newBuilder() {
         return DEFAULT_INSTANCE.toBuilder();
       }
    -
    -  public static Builder newBuilder(
    -      com.google.cloud.orchestration.airflow.service.v1beta1.Environment prototype) {
    +  public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1beta1.Environment prototype) {
         return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
       }
    -
       @java.lang.Override
       public Builder toBuilder() {
    -    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
    +    return this == DEFAULT_INSTANCE
    +        ? new Builder() : new Builder().mergeFrom(this);
       }
     
       @java.lang.Override
    -  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    +  protected Builder newBuilderForType(
    +      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         Builder builder = new Builder(parent);
         return builder;
       }
       /**
    -   *
    -   *
        * 
        * An environment for running orchestration tasks.
        * 
    * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.Environment} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1beta1.Environment) com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 7: return internalGetLabels(); 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 7: return internalGetMutableLabels(); 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.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.Environment.class, - com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.Environment.class, com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder.class); } - // Construct using - // com.google.cloud.orchestration.airflow.service.v1beta1.Environment.newBuilder() + // Construct using com.google.cloud.orchestration.airflow.service.v1beta1.Environment.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1183,16 +1069,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.Environment - getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.Environment - .getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1beta1.Environment getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.Environment.getDefaultInstance(); } @java.lang.Override @@ -1206,8 +1090,7 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.Environment build( @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1beta1.Environment buildPartial() { - com.google.cloud.orchestration.airflow.service.v1beta1.Environment result = - new com.google.cloud.orchestration.airflow.service.v1beta1.Environment(this); + com.google.cloud.orchestration.airflow.service.v1beta1.Environment result = new com.google.cloud.orchestration.airflow.service.v1beta1.Environment(this); int from_bitField0_ = bitField0_; result.name_ = name_; if (configBuilder_ == null) { @@ -1237,51 +1120,46 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.Environment buildP public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.orchestration.airflow.service.v1beta1.Environment) { - return mergeFrom( - (com.google.cloud.orchestration.airflow.service.v1beta1.Environment) other); + return mergeFrom((com.google.cloud.orchestration.airflow.service.v1beta1.Environment)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.orchestration.airflow.service.v1beta1.Environment other) { - if (other - == com.google.cloud.orchestration.airflow.service.v1beta1.Environment - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1beta1.Environment other) { + if (other == com.google.cloud.orchestration.airflow.service.v1beta1.Environment.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -1302,7 +1180,8 @@ public Builder mergeFrom( if (other.hasUpdateTime()) { mergeUpdateTime(other.getUpdateTime()); } - internalGetMutableLabels().mergeFrom(other.internalGetLabels()); + internalGetMutableLabels().mergeFrom( + other.internalGetLabels()); this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -1322,9 +1201,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.orchestration.airflow.service.v1beta1.Environment) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.orchestration.airflow.service.v1beta1.Environment) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1333,13 +1210,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
          * The resource name of the environment, in the form:
          * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
    @@ -1348,13 +1222,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; @@ -1363,8 +1237,6 @@ public java.lang.String getName() { } } /** - * - * *
          * The resource name of the environment, in the form:
          * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
    @@ -1373,14 +1245,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 { @@ -1388,8 +1261,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
          * The resource name of the environment, in the form:
          * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
    @@ -1398,22 +1269,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; } /** - * - * *
          * The resource name of the environment, in the form:
          * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
    @@ -1422,18 +1291,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; } /** - * - * *
          * The resource name of the environment, in the form:
          * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
    @@ -1442,16 +1308,16 @@ 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; @@ -1459,59 +1325,41 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig, - com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.Builder, - com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfigOrBuilder> - configBuilder_; + com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig, com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfigOrBuilder> configBuilder_; /** - * - * *
          * Configuration parameters for this environment.
          * 
    * - * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config = 2; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config = 2; * @return Whether the config field is set. */ public boolean hasConfig() { return configBuilder_ != null || config_ != null; } /** - * - * *
          * Configuration parameters for this environment.
          * 
    * - * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config = 2; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config = 2; * @return The config. */ public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig getConfig() { if (configBuilder_ == null) { - return config_ == null - ? com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig - .getDefaultInstance() - : config_; + return config_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.getDefaultInstance() : config_; } else { return configBuilder_.getMessage(); } } /** - * - * *
          * Configuration parameters for this environment.
          * 
    * - * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config = 2; - * + * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config = 2; */ - public Builder setConfig( - com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig value) { + public Builder setConfig(com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig value) { if (configBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1525,18 +1373,14 @@ public Builder setConfig( return this; } /** - * - * *
          * Configuration parameters for this environment.
          * 
    * - * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config = 2; - * + * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config = 2; */ public Builder setConfig( - com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.Builder - builderForValue) { + com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.Builder builderForValue) { if (configBuilder_ == null) { config_ = builderForValue.build(); onChanged(); @@ -1547,24 +1391,17 @@ public Builder setConfig( return this; } /** - * - * *
          * Configuration parameters for this environment.
          * 
    * - * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config = 2; - * + * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config = 2; */ - public Builder mergeConfig( - com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig value) { + public Builder mergeConfig(com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig value) { if (configBuilder_ == null) { if (config_ != null) { config_ = - com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.newBuilder( - config_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.newBuilder(config_).mergeFrom(value).buildPartial(); } else { config_ = value; } @@ -1576,14 +1413,11 @@ public Builder mergeConfig( return this; } /** - * - * *
          * Configuration parameters for this environment.
          * 
    * - * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config = 2; - * + * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config = 2; */ public Builder clearConfig() { if (configBuilder_ == null) { @@ -1597,64 +1431,48 @@ public Builder clearConfig() { return this; } /** - * - * *
          * Configuration parameters for this environment.
          * 
    * - * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config = 2; - * + * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config = 2; */ - public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.Builder - getConfigBuilder() { - + public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.Builder getConfigBuilder() { + onChanged(); return getConfigFieldBuilder().getBuilder(); } /** - * - * *
          * Configuration parameters for this environment.
          * 
    * - * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config = 2; - * + * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config = 2; */ - public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfigOrBuilder - getConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfigOrBuilder getConfigOrBuilder() { if (configBuilder_ != null) { return configBuilder_.getMessageOrBuilder(); } else { - return config_ == null - ? com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig - .getDefaultInstance() - : config_; + return config_ == null ? + com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.getDefaultInstance() : config_; } } /** - * - * *
          * Configuration parameters for this environment.
          * 
    * - * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config = 2; - * + * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig, - com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.Builder, - com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfigOrBuilder> + com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig, com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfigOrBuilder> getConfigFieldBuilder() { if (configBuilder_ == null) { - configBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig, - com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.Builder, - com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfigOrBuilder>( - getConfig(), getParentForChildren(), isClean()); + configBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig, com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfigOrBuilder>( + getConfig(), + getParentForChildren(), + isClean()); config_ = null; } return configBuilder_; @@ -1662,21 +1480,19 @@ public Builder clearConfig() { private java.lang.Object uuid_ = ""; /** - * - * *
          * Output only. The UUID (Universally Unique IDentifier) associated with this environment.
          * This value is generated when the environment is created.
          * 
    * * string uuid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uuid. */ public java.lang.String getUuid() { java.lang.Object ref = uuid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uuid_ = s; return s; @@ -1685,22 +1501,21 @@ public java.lang.String getUuid() { } } /** - * - * *
          * Output only. The UUID (Universally Unique IDentifier) associated with this environment.
          * This value is generated when the environment is created.
          * 
    * * string uuid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uuid. */ - public com.google.protobuf.ByteString getUuidBytes() { + public com.google.protobuf.ByteString + getUuidBytes() { java.lang.Object ref = uuid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uuid_ = b; return b; } else { @@ -1708,64 +1523,57 @@ public com.google.protobuf.ByteString getUuidBytes() { } } /** - * - * *
          * Output only. The UUID (Universally Unique IDentifier) associated with this environment.
          * This value is generated when the environment is created.
          * 
    * * string uuid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The uuid to set. * @return This builder for chaining. */ - public Builder setUuid(java.lang.String value) { + public Builder setUuid( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uuid_ = value; onChanged(); return this; } /** - * - * *
          * Output only. The UUID (Universally Unique IDentifier) associated with this environment.
          * This value is generated when the environment is created.
          * 
    * * string uuid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearUuid() { - + uuid_ = getDefaultInstance().getUuid(); onChanged(); return this; } /** - * - * *
          * Output only. The UUID (Universally Unique IDentifier) associated with this environment.
          * This value is generated when the environment is created.
          * 
    * * string uuid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for uuid to set. * @return This builder for chaining. */ - public Builder setUuidBytes(com.google.protobuf.ByteString value) { + public Builder setUuidBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uuid_ = value; onChanged(); return this; @@ -1773,93 +1581,73 @@ public Builder setUuidBytes(com.google.protobuf.ByteString value) { private int state_ = 0; /** - * - * *
          * The current state of the environment.
          * 
    * * .google.cloud.orchestration.airflow.service.v1beta1.Environment.State state = 4; - * * @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 current state of the environment.
          * 
    * * .google.cloud.orchestration.airflow.service.v1beta1.Environment.State state = 4; - * * @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 current state of the environment.
          * 
    * * .google.cloud.orchestration.airflow.service.v1beta1.Environment.State state = 4; - * * @return The state. */ @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1beta1.Environment.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.orchestration.airflow.service.v1beta1.Environment.State result = - com.google.cloud.orchestration.airflow.service.v1beta1.Environment.State.valueOf(state_); - return result == null - ? com.google.cloud.orchestration.airflow.service.v1beta1.Environment.State.UNRECOGNIZED - : result; + com.google.cloud.orchestration.airflow.service.v1beta1.Environment.State result = com.google.cloud.orchestration.airflow.service.v1beta1.Environment.State.valueOf(state_); + return result == null ? com.google.cloud.orchestration.airflow.service.v1beta1.Environment.State.UNRECOGNIZED : result; } /** - * - * *
          * The current state of the environment.
          * 
    * * .google.cloud.orchestration.airflow.service.v1beta1.Environment.State state = 4; - * * @param value The state to set. * @return This builder for chaining. */ - public Builder setState( - com.google.cloud.orchestration.airflow.service.v1beta1.Environment.State value) { + public Builder setState(com.google.cloud.orchestration.airflow.service.v1beta1.Environment.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
          * The current state of the environment.
          * 
    * * .google.cloud.orchestration.airflow.service.v1beta1.Environment.State state = 4; - * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -1867,58 +1655,39 @@ public Builder clearState() { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
          * Output only. The time at which this environment was created.
          * 
    * - * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 5 [(.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 at which this environment was created.
          * 
    * - * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 5 [(.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 at which this environment was created.
          * 
    * - * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1934,17 +1703,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
          * Output only. The time at which this environment was created.
          * 
    * - * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 5 [(.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(); @@ -1955,21 +1721,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
          * Output only. The time at which this environment was created.
          * 
    * - * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 5 [(.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; } @@ -1981,15 +1743,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
          * Output only. The time at which this environment was created.
          * 
    * - * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -2003,64 +1761,48 @@ public Builder clearCreateTime() { return this; } /** - * - * *
          * Output only. The time at which this environment was created.
          * 
    * - * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
          * Output only. The time at which this environment was created.
          * 
    * - * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 5 [(.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 at which this environment was created.
          * 
    * - * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 5 [(.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_; @@ -2068,58 +1810,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 at which this environment was last modified.
          * 
    * - * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 6 [(.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 at which this environment was last modified.
          * 
    * - * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 6 [(.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 at which this environment was last modified.
          * 
    * - * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -2135,17 +1858,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
          * Output only. The time at which this environment was last modified.
          * 
    * - * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 6 [(.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(); @@ -2156,21 +1876,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
          * Output only. The time at which this environment was last modified.
          * 
    * - * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 6 [(.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; } @@ -2182,15 +1898,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
          * Output only. The time at which this environment was last modified.
          * 
    * - * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -2204,84 +1916,69 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
          * Output only. The time at which this environment was last modified.
          * 
    * - * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
          * Output only. The time at which this environment was last modified.
          * 
    * - * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 6 [(.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 at which this environment was last modified.
          * 
    * - * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 6 [(.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_; } - 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(); @@ -2293,8 +1990,6 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
          * Optional. User-defined labels for this environment.
          * The labels map can contain no more than 64 entries. Entries of the labels
    @@ -2307,22 +2002,22 @@ public int getLabelsCount() {
          *
          * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
          */
    +
         @java.lang.Override
    -    public boolean containsLabels(java.lang.String key) {
    -      if (key == null) {
    -        throw new NullPointerException("map key");
    -      }
    +    public boolean containsLabels(
    +        java.lang.String key) {
    +      if (key == null) { throw new NullPointerException("map key"); }
           return internalGetLabels().getMap().containsKey(key);
         }
    -    /** Use {@link #getLabelsMap()} instead. */
    +    /**
    +     * Use {@link #getLabelsMap()} instead.
    +     */
         @java.lang.Override
         @java.lang.Deprecated
         public java.util.Map getLabels() {
           return getLabelsMap();
         }
         /**
    -     *
    -     *
          * 
          * Optional. User-defined labels for this environment.
          * The labels map can contain no more than 64 entries. Entries of the labels
    @@ -2336,12 +2031,11 @@ public java.util.Map getLabels() {
          * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
          */
         @java.lang.Override
    +
         public java.util.Map getLabelsMap() {
           return internalGetLabels().getMap();
         }
         /**
    -     *
    -     *
          * 
          * Optional. User-defined labels for this environment.
          * The labels map can contain no more than 64 entries. Entries of the labels
    @@ -2355,17 +2049,16 @@ public java.util.Map getLabelsMap() {
          * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
          */
         @java.lang.Override
    +
         public java.lang.String getLabelsOrDefault(
    -        java.lang.String key, java.lang.String defaultValue) {
    -      if (key == null) {
    -        throw new NullPointerException("map key");
    -      }
    -      java.util.Map map = internalGetLabels().getMap();
    +        java.lang.String key,
    +        java.lang.String defaultValue) {
    +      if (key == null) { throw new NullPointerException("map key"); }
    +      java.util.Map map =
    +          internalGetLabels().getMap();
           return map.containsKey(key) ? map.get(key) : defaultValue;
         }
         /**
    -     *
    -     *
          * 
          * Optional. User-defined labels for this environment.
          * The labels map can contain no more than 64 entries. Entries of the labels
    @@ -2379,11 +2072,12 @@ public java.lang.String getLabelsOrDefault(
          * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
          */
         @java.lang.Override
    -    public java.lang.String getLabelsOrThrow(java.lang.String key) {
    -      if (key == null) {
    -        throw new NullPointerException("map key");
    -      }
    -      java.util.Map map = internalGetLabels().getMap();
    +
    +    public java.lang.String getLabelsOrThrow(
    +        java.lang.String key) {
    +      if (key == null) { throw new NullPointerException("map key"); }
    +      java.util.Map map =
    +          internalGetLabels().getMap();
           if (!map.containsKey(key)) {
             throw new java.lang.IllegalArgumentException();
           }
    @@ -2391,12 +2085,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
         }
     
         public Builder clearLabels() {
    -      internalGetMutableLabels().getMutableMap().clear();
    +      internalGetMutableLabels().getMutableMap()
    +          .clear();
           return this;
         }
         /**
    -     *
    -     *
          * 
          * Optional. User-defined labels for this environment.
          * The labels map can contain no more than 64 entries. Entries of the labels
    @@ -2409,21 +2102,23 @@ public Builder clearLabels() {
          *
          * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
          */
    -    public Builder removeLabels(java.lang.String key) {
    -      if (key == null) {
    -        throw new NullPointerException("map key");
    -      }
    -      internalGetMutableLabels().getMutableMap().remove(key);
    +
    +    public Builder removeLabels(
    +        java.lang.String key) {
    +      if (key == null) { throw new NullPointerException("map key"); }
    +      internalGetMutableLabels().getMutableMap()
    +          .remove(key);
           return this;
         }
    -    /** Use alternate mutation accessors instead. */
    +    /**
    +     * Use alternate mutation accessors instead.
    +     */
         @java.lang.Deprecated
    -    public java.util.Map getMutableLabels() {
    +    public java.util.Map
    +    getMutableLabels() {
           return internalGetMutableLabels().getMutableMap();
         }
         /**
    -     *
    -     *
          * 
          * Optional. User-defined labels for this environment.
          * The labels map can contain no more than 64 entries. Entries of the labels
    @@ -2436,20 +2131,19 @@ public java.util.Map getMutableLabels() {
          *
          * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
          */
    -    public Builder putLabels(java.lang.String key, java.lang.String value) {
    -      if (key == null) {
    -        throw new NullPointerException("map key");
    -      }
    +    public Builder putLabels(
    +        java.lang.String key,
    +        java.lang.String value) {
    +      if (key == null) { throw new NullPointerException("map key"); }
           if (value == null) {
    -        throw new NullPointerException("map value");
    -      }
    +  throw new NullPointerException("map value");
    +}
     
    -      internalGetMutableLabels().getMutableMap().put(key, value);
    +      internalGetMutableLabels().getMutableMap()
    +          .put(key, value);
           return this;
         }
         /**
    -     *
    -     *
          * 
          * Optional. User-defined labels for this environment.
          * The labels map can contain no more than 64 entries. Entries of the labels
    @@ -2462,13 +2156,16 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
          *
          * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
          */
    -    public Builder putAllLabels(java.util.Map values) {
    -      internalGetMutableLabels().getMutableMap().putAll(values);
    +
    +    public Builder putAllLabels(
    +        java.util.Map values) {
    +      internalGetMutableLabels().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);
         }
     
    @@ -2478,32 +2175,30 @@ public final Builder mergeUnknownFields(
           return super.mergeUnknownFields(unknownFields);
         }
     
    +
         // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1beta1.Environment)
       }
     
       // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1beta1.Environment)
    -  private static final com.google.cloud.orchestration.airflow.service.v1beta1.Environment
    -      DEFAULT_INSTANCE;
    -
    +  private static final com.google.cloud.orchestration.airflow.service.v1beta1.Environment DEFAULT_INSTANCE;
       static {
         DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1beta1.Environment();
       }
     
    -  public static com.google.cloud.orchestration.airflow.service.v1beta1.Environment
    -      getDefaultInstance() {
    +  public static com.google.cloud.orchestration.airflow.service.v1beta1.Environment getDefaultInstance() {
         return DEFAULT_INSTANCE;
       }
     
    -  private static final com.google.protobuf.Parser PARSER =
    -      new com.google.protobuf.AbstractParser() {
    -        @java.lang.Override
    -        public Environment parsePartialFrom(
    -            com.google.protobuf.CodedInputStream input,
    -            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    -            throws com.google.protobuf.InvalidProtocolBufferException {
    -          return new Environment(input, extensionRegistry);
    -        }
    -      };
    +  private static final com.google.protobuf.Parser
    +      PARSER = new com.google.protobuf.AbstractParser() {
    +    @java.lang.Override
    +    public Environment parsePartialFrom(
    +        com.google.protobuf.CodedInputStream input,
    +        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    +        throws com.google.protobuf.InvalidProtocolBufferException {
    +      return new Environment(input, extensionRegistry);
    +    }
    +  };
     
       public static com.google.protobuf.Parser parser() {
         return PARSER;
    @@ -2515,8 +2210,9 @@ public com.google.protobuf.Parser getParserForType() {
       }
     
       @java.lang.Override
    -  public com.google.cloud.orchestration.airflow.service.v1beta1.Environment
    -      getDefaultInstanceForType() {
    +  public com.google.cloud.orchestration.airflow.service.v1beta1.Environment getDefaultInstanceForType() {
         return DEFAULT_INSTANCE;
       }
    +
     }
    +
    diff --git a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentConfig.java b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentConfig.java
    similarity index 62%
    rename from proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentConfig.java
    rename to owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentConfig.java
    index 0a9641cb..18b9d994 100644
    --- a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentConfig.java
    +++ b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentConfig.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/orchestration/airflow/service/v1beta1/environments.proto
     
     package com.google.cloud.orchestration.airflow.service.v1beta1;
     
     /**
    - *
    - *
      * 
      * Configuration information for an environment.
      * 
    * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig} */ -public final class EnvironmentConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class EnvironmentConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig) EnvironmentConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use EnvironmentConfig.newBuilder() to construct. private EnvironmentConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private EnvironmentConfig() { gkeCluster_ = ""; dagGcsPrefix_ = ""; @@ -46,15 +28,16 @@ private EnvironmentConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new EnvironmentConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private EnvironmentConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,218 +56,159 @@ private EnvironmentConfig( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - gkeCluster_ = s; - break; + gkeCluster_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + dagGcsPrefix_ = s; + break; + } + case 24: { + + nodeCount_ = input.readInt32(); + break; + } + case 34: { + com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig.Builder subBuilder = null; + if (softwareConfig_ != null) { + subBuilder = softwareConfig_.toBuilder(); + } + softwareConfig_ = input.readMessage(com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(softwareConfig_); + softwareConfig_ = subBuilder.buildPartial(); } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - dagGcsPrefix_ = s; - break; + break; + } + case 42: { + com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig.Builder subBuilder = null; + if (nodeConfig_ != null) { + subBuilder = nodeConfig_.toBuilder(); } - case 24: - { - nodeCount_ = input.readInt32(); - break; + nodeConfig_ = input.readMessage(com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(nodeConfig_); + nodeConfig_ = subBuilder.buildPartial(); } - case 34: - { - com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig.Builder - subBuilder = null; - if (softwareConfig_ != null) { - subBuilder = softwareConfig_.toBuilder(); - } - softwareConfig_ = - input.readMessage( - com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(softwareConfig_); - softwareConfig_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + + airflowUri_ = s; + break; + } + case 58: { + com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig.Builder subBuilder = null; + if (privateEnvironmentConfig_ != null) { + subBuilder = privateEnvironmentConfig_.toBuilder(); + } + privateEnvironmentConfig_ = input.readMessage(com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(privateEnvironmentConfig_); + privateEnvironmentConfig_ = subBuilder.buildPartial(); + } + + break; + } + case 74: { + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.Builder subBuilder = null; + if (webServerNetworkAccessControl_ != null) { + subBuilder = webServerNetworkAccessControl_.toBuilder(); } - case 42: - { - com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig.Builder subBuilder = - null; - if (nodeConfig_ != null) { - subBuilder = nodeConfig_.toBuilder(); - } - nodeConfig_ = - input.readMessage( - com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(nodeConfig_); - nodeConfig_ = subBuilder.buildPartial(); - } - - break; + webServerNetworkAccessControl_ = input.readMessage(com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(webServerNetworkAccessControl_); + webServerNetworkAccessControl_ = subBuilder.buildPartial(); } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); - airflowUri_ = s; - break; + break; + } + case 82: { + com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig.Builder subBuilder = null; + if (databaseConfig_ != null) { + subBuilder = databaseConfig_.toBuilder(); } - case 58: - { - com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig - .Builder - subBuilder = null; - if (privateEnvironmentConfig_ != null) { - subBuilder = privateEnvironmentConfig_.toBuilder(); - } - privateEnvironmentConfig_ = - input.readMessage( - com.google.cloud.orchestration.airflow.service.v1beta1 - .PrivateEnvironmentConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(privateEnvironmentConfig_); - privateEnvironmentConfig_ = subBuilder.buildPartial(); - } - - break; + databaseConfig_ = input.readMessage(com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(databaseConfig_); + databaseConfig_ = subBuilder.buildPartial(); } - case 74: - { - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .Builder - subBuilder = null; - if (webServerNetworkAccessControl_ != null) { - subBuilder = webServerNetworkAccessControl_.toBuilder(); - } - webServerNetworkAccessControl_ = - input.readMessage( - com.google.cloud.orchestration.airflow.service.v1beta1 - .WebServerNetworkAccessControl.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(webServerNetworkAccessControl_); - webServerNetworkAccessControl_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 90: { + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig.Builder subBuilder = null; + if (webServerConfig_ != null) { + subBuilder = webServerConfig_.toBuilder(); } - case 82: - { - com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig.Builder - subBuilder = null; - if (databaseConfig_ != null) { - subBuilder = databaseConfig_.toBuilder(); - } - databaseConfig_ = - input.readMessage( - com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(databaseConfig_); - databaseConfig_ = subBuilder.buildPartial(); - } - - break; + webServerConfig_ = input.readMessage(com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(webServerConfig_); + webServerConfig_ = subBuilder.buildPartial(); } - case 90: - { - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig.Builder - subBuilder = null; - if (webServerConfig_ != null) { - subBuilder = webServerConfig_.toBuilder(); - } - webServerConfig_ = - input.readMessage( - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(webServerConfig_); - webServerConfig_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 98: { + com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig.Builder subBuilder = null; + if (encryptionConfig_ != null) { + subBuilder = encryptionConfig_.toBuilder(); } - case 98: - { - com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig.Builder - subBuilder = null; - if (encryptionConfig_ != null) { - subBuilder = encryptionConfig_.toBuilder(); - } - encryptionConfig_ = - input.readMessage( - com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(encryptionConfig_); - encryptionConfig_ = subBuilder.buildPartial(); - } - - break; + encryptionConfig_ = input.readMessage(com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(encryptionConfig_); + encryptionConfig_ = subBuilder.buildPartial(); } - case 106: - { - com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow.Builder - subBuilder = null; - if (maintenanceWindow_ != null) { - subBuilder = maintenanceWindow_.toBuilder(); - } - maintenanceWindow_ = - input.readMessage( - com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(maintenanceWindow_); - maintenanceWindow_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 106: { + com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow.Builder subBuilder = null; + if (maintenanceWindow_ != null) { + subBuilder = maintenanceWindow_.toBuilder(); } - case 122: - { - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.Builder - subBuilder = null; - if (workloadsConfig_ != null) { - subBuilder = workloadsConfig_.toBuilder(); - } - workloadsConfig_ = - input.readMessage( - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(workloadsConfig_); - workloadsConfig_ = subBuilder.buildPartial(); - } - - break; + maintenanceWindow_ = input.readMessage(com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(maintenanceWindow_); + maintenanceWindow_ = subBuilder.buildPartial(); } - case 128: - { - int rawValue = input.readEnum(); - environmentSize_ = rawValue; - break; + break; + } + case 122: { + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.Builder subBuilder = null; + if (workloadsConfig_ != null) { + subBuilder = workloadsConfig_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + workloadsConfig_ = input.readMessage(com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(workloadsConfig_); + workloadsConfig_ = subBuilder.buildPartial(); } + + break; + } + case 128: { + int rawValue = input.readEnum(); + + environmentSize_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -292,42 +216,36 @@ private EnvironmentConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_EnvironmentConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_EnvironmentConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_EnvironmentConfig_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_EnvironmentConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.class, - com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.class, com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.Builder.class); } /** - * - * *
        * The size of the Cloud Composer environment.
        * 
    * - * Protobuf enum {@code - * google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize} + * Protobuf enum {@code google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize} */ - public enum EnvironmentSize implements com.google.protobuf.ProtocolMessageEnum { + public enum EnvironmentSize + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
          * The size of the environment is unspecified.
          * 
    @@ -336,8 +254,6 @@ public enum EnvironmentSize implements com.google.protobuf.ProtocolMessageEnum { */ ENVIRONMENT_SIZE_UNSPECIFIED(0), /** - * - * *
          * The environment size is small.
          * 
    @@ -346,8 +262,6 @@ public enum EnvironmentSize implements com.google.protobuf.ProtocolMessageEnum { */ ENVIRONMENT_SIZE_SMALL(1), /** - * - * *
          * The environment size is medium.
          * 
    @@ -356,8 +270,6 @@ public enum EnvironmentSize implements com.google.protobuf.ProtocolMessageEnum { */ ENVIRONMENT_SIZE_MEDIUM(2), /** - * - * *
          * The environment size is large.
          * 
    @@ -369,8 +281,6 @@ public enum EnvironmentSize implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
          * The size of the environment is unspecified.
          * 
    @@ -379,8 +289,6 @@ public enum EnvironmentSize implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ENVIRONMENT_SIZE_UNSPECIFIED_VALUE = 0; /** - * - * *
          * The environment size is small.
          * 
    @@ -389,8 +297,6 @@ public enum EnvironmentSize implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ENVIRONMENT_SIZE_SMALL_VALUE = 1; /** - * - * *
          * The environment size is medium.
          * 
    @@ -399,8 +305,6 @@ public enum EnvironmentSize implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ENVIRONMENT_SIZE_MEDIUM_VALUE = 2; /** - * - * *
          * The environment size is large.
          * 
    @@ -409,6 +313,7 @@ public enum EnvironmentSize implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ENVIRONMENT_SIZE_LARGE_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -433,48 +338,41 @@ public static EnvironmentSize valueOf(int value) { */ public static EnvironmentSize forNumber(int value) { switch (value) { - case 0: - return ENVIRONMENT_SIZE_UNSPECIFIED; - case 1: - return ENVIRONMENT_SIZE_SMALL; - case 2: - return ENVIRONMENT_SIZE_MEDIUM; - case 3: - return ENVIRONMENT_SIZE_LARGE; - default: - return null; + case 0: return ENVIRONMENT_SIZE_UNSPECIFIED; + case 1: return ENVIRONMENT_SIZE_SMALL; + case 2: return ENVIRONMENT_SIZE_MEDIUM; + case 3: return ENVIRONMENT_SIZE_LARGE; + 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< + EnvironmentSize> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public EnvironmentSize findValueByNumber(int number) { + return EnvironmentSize.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public EnvironmentSize findValueByNumber(int number) { - return EnvironmentSize.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig - .getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.getDescriptor().getEnumTypes().get(0); } private static final EnvironmentSize[] VALUES = values(); @@ -482,7 +380,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static EnvironmentSize 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; @@ -502,14 +401,11 @@ private EnvironmentSize(int value) { public static final int GKE_CLUSTER_FIELD_NUMBER = 1; private volatile java.lang.Object gkeCluster_; /** - * - * *
        * Output only. The Kubernetes Engine cluster used to run this environment.
        * 
    * * string gke_cluster = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The gkeCluster. */ @java.lang.Override @@ -518,29 +414,29 @@ public java.lang.String getGkeCluster() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); gkeCluster_ = s; return s; } } /** - * - * *
        * Output only. The Kubernetes Engine cluster used to run this environment.
        * 
    * * string gke_cluster = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for gkeCluster. */ @java.lang.Override - public com.google.protobuf.ByteString getGkeClusterBytes() { + public com.google.protobuf.ByteString + getGkeClusterBytes() { java.lang.Object ref = gkeCluster_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); gkeCluster_ = b; return b; } else { @@ -551,8 +447,6 @@ public com.google.protobuf.ByteString getGkeClusterBytes() { public static final int DAG_GCS_PREFIX_FIELD_NUMBER = 2; private volatile java.lang.Object dagGcsPrefix_; /** - * - * *
        * Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud
        * Storage objects reside in a flat namespace, a hierarchical file tree
    @@ -561,7 +455,6 @@ public com.google.protobuf.ByteString getGkeClusterBytes() {
        * 
    * * string dag_gcs_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The dagGcsPrefix. */ @java.lang.Override @@ -570,15 +463,14 @@ public java.lang.String getDagGcsPrefix() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dagGcsPrefix_ = s; return s; } } /** - * - * *
        * Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud
        * Storage objects reside in a flat namespace, a hierarchical file tree
    @@ -587,15 +479,16 @@ public java.lang.String getDagGcsPrefix() {
        * 
    * * string dag_gcs_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for dagGcsPrefix. */ @java.lang.Override - public com.google.protobuf.ByteString getDagGcsPrefixBytes() { + public com.google.protobuf.ByteString + getDagGcsPrefixBytes() { java.lang.Object ref = dagGcsPrefix_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dagGcsPrefix_ = b; return b; } else { @@ -606,15 +499,12 @@ public com.google.protobuf.ByteString getDagGcsPrefixBytes() { public static final int NODE_COUNT_FIELD_NUMBER = 3; private int nodeCount_; /** - * - * *
        * The number of nodes in the Kubernetes Engine cluster that will be
        * used to run this environment.
        * 
    * * int32 node_count = 3; - * * @return The nodeCount. */ @java.lang.Override @@ -625,15 +515,11 @@ public int getNodeCount() { public static final int SOFTWARE_CONFIG_FIELD_NUMBER = 4; private com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig softwareConfig_; /** - * - * *
        * The configuration settings for software inside the environment.
        * 
    * - * .google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig software_config = 4; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig software_config = 4; * @return Whether the softwareConfig field is set. */ @java.lang.Override @@ -641,50 +527,37 @@ public boolean hasSoftwareConfig() { return softwareConfig_ != null; } /** - * - * *
        * The configuration settings for software inside the environment.
        * 
    * - * .google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig software_config = 4; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig software_config = 4; * @return The softwareConfig. */ @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig getSoftwareConfig() { - return softwareConfig_ == null - ? com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig.getDefaultInstance() - : softwareConfig_; + return softwareConfig_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig.getDefaultInstance() : softwareConfig_; } /** - * - * *
        * The configuration settings for software inside the environment.
        * 
    * - * .google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig software_config = 4; - * + * .google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig software_config = 4; */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfigOrBuilder - getSoftwareConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfigOrBuilder getSoftwareConfigOrBuilder() { return getSoftwareConfig(); } public static final int NODE_CONFIG_FIELD_NUMBER = 5; private com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig nodeConfig_; /** - * - * *
        * The configuration used for the Kubernetes Engine cluster.
        * 
    * * .google.cloud.orchestration.airflow.service.v1beta1.NodeConfig node_config = 5; - * * @return Whether the nodeConfig field is set. */ @java.lang.Override @@ -692,25 +565,18 @@ public boolean hasNodeConfig() { return nodeConfig_ != null; } /** - * - * *
        * The configuration used for the Kubernetes Engine cluster.
        * 
    * * .google.cloud.orchestration.airflow.service.v1beta1.NodeConfig node_config = 5; - * * @return The nodeConfig. */ @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig getNodeConfig() { - return nodeConfig_ == null - ? com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig.getDefaultInstance() - : nodeConfig_; + return nodeConfig_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig.getDefaultInstance() : nodeConfig_; } /** - * - * *
        * The configuration used for the Kubernetes Engine cluster.
        * 
    @@ -718,25 +584,18 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig getNode * .google.cloud.orchestration.airflow.service.v1beta1.NodeConfig node_config = 5; */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfigOrBuilder - getNodeConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfigOrBuilder getNodeConfigOrBuilder() { return getNodeConfig(); } public static final int PRIVATE_ENVIRONMENT_CONFIG_FIELD_NUMBER = 7; - private com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig - privateEnvironmentConfig_; + private com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig privateEnvironmentConfig_; /** - * - * *
        * The configuration used for the Private IP Cloud Composer environment.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig private_environment_config = 7; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig private_environment_config = 7; * @return Whether the privateEnvironmentConfig field is set. */ @java.lang.Override @@ -744,58 +603,38 @@ public boolean hasPrivateEnvironmentConfig() { return privateEnvironmentConfig_ != null; } /** - * - * *
        * The configuration used for the Private IP Cloud Composer environment.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig private_environment_config = 7; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig private_environment_config = 7; * @return The privateEnvironmentConfig. */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig - getPrivateEnvironmentConfig() { - return privateEnvironmentConfig_ == null - ? com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig - .getDefaultInstance() - : privateEnvironmentConfig_; + public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig getPrivateEnvironmentConfig() { + return privateEnvironmentConfig_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig.getDefaultInstance() : privateEnvironmentConfig_; } /** - * - * *
        * The configuration used for the Private IP Cloud Composer environment.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig private_environment_config = 7; - * + * .google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig private_environment_config = 7; */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfigOrBuilder - getPrivateEnvironmentConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfigOrBuilder getPrivateEnvironmentConfigOrBuilder() { return getPrivateEnvironmentConfig(); } public static final int WEB_SERVER_NETWORK_ACCESS_CONTROL_FIELD_NUMBER = 9; - private com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - webServerNetworkAccessControl_; + private com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl webServerNetworkAccessControl_; /** - * - * *
        * Optional. The network-level access control policy for the Airflow web server. If
        * unspecified, no network-level access restrictions will be applied.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the webServerNetworkAccessControl field is set. */ @java.lang.Override @@ -803,60 +642,40 @@ public boolean hasWebServerNetworkAccessControl() { return webServerNetworkAccessControl_ != null; } /** - * - * *
        * Optional. The network-level access control policy for the Airflow web server. If
        * unspecified, no network-level access restrictions will be applied.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return The webServerNetworkAccessControl. */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - getWebServerNetworkAccessControl() { - return webServerNetworkAccessControl_ == null - ? com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .getDefaultInstance() - : webServerNetworkAccessControl_; + public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl getWebServerNetworkAccessControl() { + return webServerNetworkAccessControl_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.getDefaultInstance() : webServerNetworkAccessControl_; } /** - * - * *
        * Optional. The network-level access control policy for the Airflow web server. If
        * unspecified, no network-level access restrictions will be applied.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1 - .WebServerNetworkAccessControlOrBuilder - getWebServerNetworkAccessControlOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControlOrBuilder getWebServerNetworkAccessControlOrBuilder() { return getWebServerNetworkAccessControl(); } public static final int DATABASE_CONFIG_FIELD_NUMBER = 10; private com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig databaseConfig_; /** - * - * *
        * Optional. The configuration settings for Cloud SQL instance used internally by Apache
        * Airflow software.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig database_config = 10 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig database_config = 10 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the databaseConfig field is set. */ @java.lang.Override @@ -864,56 +683,39 @@ public boolean hasDatabaseConfig() { return databaseConfig_ != null; } /** - * - * *
        * Optional. The configuration settings for Cloud SQL instance used internally by Apache
        * Airflow software.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig database_config = 10 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig database_config = 10 [(.google.api.field_behavior) = OPTIONAL]; * @return The databaseConfig. */ @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig getDatabaseConfig() { - return databaseConfig_ == null - ? com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig.getDefaultInstance() - : databaseConfig_; + return databaseConfig_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig.getDefaultInstance() : databaseConfig_; } /** - * - * *
        * Optional. The configuration settings for Cloud SQL instance used internally by Apache
        * Airflow software.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig database_config = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig database_config = 10 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfigOrBuilder - getDatabaseConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfigOrBuilder getDatabaseConfigOrBuilder() { return getDatabaseConfig(); } public static final int WEB_SERVER_CONFIG_FIELD_NUMBER = 11; private com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig webServerConfig_; /** - * - * *
        * Optional. The configuration settings for the Airflow web server App Engine instance.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig web_server_config = 11 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig web_server_config = 11 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the webServerConfig field is set. */ @java.lang.Override @@ -921,48 +723,32 @@ public boolean hasWebServerConfig() { return webServerConfig_ != null; } /** - * - * *
        * Optional. The configuration settings for the Airflow web server App Engine instance.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig web_server_config = 11 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig web_server_config = 11 [(.google.api.field_behavior) = OPTIONAL]; * @return The webServerConfig. */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig - getWebServerConfig() { - return webServerConfig_ == null - ? com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig - .getDefaultInstance() - : webServerConfig_; + public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig getWebServerConfig() { + return webServerConfig_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig.getDefaultInstance() : webServerConfig_; } /** - * - * *
        * Optional. The configuration settings for the Airflow web server App Engine instance.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig web_server_config = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig web_server_config = 11 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfigOrBuilder - getWebServerConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfigOrBuilder getWebServerConfigOrBuilder() { return getWebServerConfig(); } public static final int AIRFLOW_URI_FIELD_NUMBER = 6; private volatile java.lang.Object airflowUri_; /** - * - * *
        * Output only. The URI of the Apache Airflow Web UI hosted within this environment (see
        * [Airflow web
    @@ -970,7 +756,6 @@ public boolean hasWebServerConfig() {
        * 
    * * string airflow_uri = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The airflowUri. */ @java.lang.Override @@ -979,15 +764,14 @@ public java.lang.String getAirflowUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); airflowUri_ = s; return s; } } /** - * - * *
        * Output only. The URI of the Apache Airflow Web UI hosted within this environment (see
        * [Airflow web
    @@ -995,15 +779,16 @@ public java.lang.String getAirflowUri() {
        * 
    * * string airflow_uri = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for airflowUri. */ @java.lang.Override - public com.google.protobuf.ByteString getAirflowUriBytes() { + public com.google.protobuf.ByteString + getAirflowUriBytes() { java.lang.Object ref = airflowUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); airflowUri_ = b; return b; } else { @@ -1014,17 +799,12 @@ public com.google.protobuf.ByteString getAirflowUriBytes() { public static final int ENCRYPTION_CONFIG_FIELD_NUMBER = 12; private com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig encryptionConfig_; /** - * - * *
        * Optional. The encryption options for the Cloud Composer environment and its
        * dependencies. Cannot be updated.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the encryptionConfig field is set. */ @java.lang.Override @@ -1032,51 +812,34 @@ public boolean hasEncryptionConfig() { return encryptionConfig_ != null; } /** - * - * *
        * Optional. The encryption options for the Cloud Composer environment and its
        * dependencies. Cannot be updated.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return The encryptionConfig. */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig - getEncryptionConfig() { - return encryptionConfig_ == null - ? com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig - .getDefaultInstance() - : encryptionConfig_; + public com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig getEncryptionConfig() { + return encryptionConfig_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } /** - * - * *
        * Optional. The encryption options for the Cloud Composer environment and its
        * dependencies. Cannot be updated.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfigOrBuilder - getEncryptionConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { return getEncryptionConfig(); } public static final int MAINTENANCE_WINDOW_FIELD_NUMBER = 13; - private com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow - maintenanceWindow_; + private com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenanceWindow_; /** - * - * *
        * Optional. The maintenance window is the period when Cloud Composer components may
        * undergo maintenance. It is defined so that maintenance is not executed
    @@ -1091,10 +854,7 @@ public boolean hasEncryptionConfig() {
        * maintenance at any time.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the maintenanceWindow field is set. */ @java.lang.Override @@ -1102,8 +862,6 @@ public boolean hasMaintenanceWindow() { return maintenanceWindow_ != null; } /** - * - * *
        * Optional. The maintenance window is the period when Cloud Composer components may
        * undergo maintenance. It is defined so that maintenance is not executed
    @@ -1118,23 +876,14 @@ public boolean hasMaintenanceWindow() {
        * maintenance at any time.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL]; * @return The maintenanceWindow. */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow - getMaintenanceWindow() { - return maintenanceWindow_ == null - ? com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow - .getDefaultInstance() - : maintenanceWindow_; + public com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow getMaintenanceWindow() { + return maintenanceWindow_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow.getDefaultInstance() : maintenanceWindow_; } /** - * - * *
        * Optional. The maintenance window is the period when Cloud Composer components may
        * undergo maintenance. It is defined so that maintenance is not executed
    @@ -1149,21 +898,16 @@ public boolean hasMaintenanceWindow() {
        * maintenance at any time.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindowOrBuilder - getMaintenanceWindowOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindowOrBuilder getMaintenanceWindowOrBuilder() { return getMaintenanceWindow(); } public static final int WORKLOADS_CONFIG_FIELD_NUMBER = 15; private com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloadsConfig_; /** - * - * *
        * Optional. The workloads configuration settings for the GKE cluster associated with
        * the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web
    @@ -1172,10 +916,7 @@ public boolean hasMaintenanceWindow() {
        * composer-2.*.*-airflow-*.*.* and newer.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the workloadsConfig field is set. */ @java.lang.Override @@ -1183,8 +924,6 @@ public boolean hasWorkloadsConfig() { return workloadsConfig_ != null; } /** - * - * *
        * Optional. The workloads configuration settings for the GKE cluster associated with
        * the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web
    @@ -1193,23 +932,14 @@ public boolean hasWorkloadsConfig() {
        * composer-2.*.*-airflow-*.*.* and newer.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL]; * @return The workloadsConfig. */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - getWorkloadsConfig() { - return workloadsConfig_ == null - ? com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .getDefaultInstance() - : workloadsConfig_; + public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig getWorkloadsConfig() { + return workloadsConfig_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.getDefaultInstance() : workloadsConfig_; } /** - * - * *
        * Optional. The workloads configuration settings for the GKE cluster associated with
        * the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web
    @@ -1218,68 +948,45 @@ public boolean hasWorkloadsConfig() {
        * composer-2.*.*-airflow-*.*.* and newer.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfigOrBuilder - getWorkloadsConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfigOrBuilder getWorkloadsConfigOrBuilder() { return getWorkloadsConfig(); } public static final int ENVIRONMENT_SIZE_FIELD_NUMBER = 16; private int environmentSize_; /** - * - * *
        * Optional. The size of the Cloud Composer environment.
        * This field is supported for Cloud Composer environments in versions
        * composer-2.*.*-airflow-*.*.* and newer.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize environment_size = 16 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize environment_size = 16 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for environmentSize. */ - @java.lang.Override - public int getEnvironmentSizeValue() { + @java.lang.Override public int getEnvironmentSizeValue() { return environmentSize_; } /** - * - * *
        * Optional. The size of the Cloud Composer environment.
        * This field is supported for Cloud Composer environments in versions
        * composer-2.*.*-airflow-*.*.* and newer.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize environment_size = 16 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize environment_size = 16 [(.google.api.field_behavior) = OPTIONAL]; * @return The environmentSize. */ - @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize - getEnvironmentSize() { + @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize getEnvironmentSize() { @SuppressWarnings("deprecation") - com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize - result = - com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize - .valueOf(environmentSize_); - return result == null - ? com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize - .UNRECOGNIZED - : result; + com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize result = com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize.valueOf(environmentSize_); + return result == null ? com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1291,7 +998,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(gkeCluster_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, gkeCluster_); } @@ -1331,10 +1039,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (workloadsConfig_ != null) { output.writeMessage(15, getWorkloadsConfig()); } - if (environmentSize_ - != com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize - .ENVIRONMENT_SIZE_UNSPECIFIED - .getNumber()) { + if (environmentSize_ != com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize.ENVIRONMENT_SIZE_UNSPECIFIED.getNumber()) { output.writeEnum(16, environmentSize_); } unknownFields.writeTo(output); @@ -1353,47 +1058,51 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, dagGcsPrefix_); } if (nodeCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, nodeCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, nodeCount_); } if (softwareConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getSoftwareConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getSoftwareConfig()); } if (nodeConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getNodeConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getNodeConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(airflowUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, airflowUri_); } if (privateEnvironmentConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 7, getPrivateEnvironmentConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getPrivateEnvironmentConfig()); } if (webServerNetworkAccessControl_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 9, getWebServerNetworkAccessControl()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getWebServerNetworkAccessControl()); } if (databaseConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getDatabaseConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, getDatabaseConfig()); } if (webServerConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getWebServerConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, getWebServerConfig()); } if (encryptionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getEncryptionConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, getEncryptionConfig()); } if (maintenanceWindow_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, getMaintenanceWindow()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(13, getMaintenanceWindow()); } if (workloadsConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(15, getWorkloadsConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(15, getWorkloadsConfig()); } - if (environmentSize_ - != com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize - .ENVIRONMENT_SIZE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(16, environmentSize_); + if (environmentSize_ != com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize.ENVIRONMENT_SIZE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(16, environmentSize_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1403,56 +1112,65 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig)) { + if (!(obj instanceof com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig other = - (com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig) obj; + com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig other = (com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig) obj; - if (!getGkeCluster().equals(other.getGkeCluster())) return false; - if (!getDagGcsPrefix().equals(other.getDagGcsPrefix())) return false; - if (getNodeCount() != other.getNodeCount()) return false; + if (!getGkeCluster() + .equals(other.getGkeCluster())) return false; + if (!getDagGcsPrefix() + .equals(other.getDagGcsPrefix())) return false; + if (getNodeCount() + != other.getNodeCount()) return false; if (hasSoftwareConfig() != other.hasSoftwareConfig()) return false; if (hasSoftwareConfig()) { - if (!getSoftwareConfig().equals(other.getSoftwareConfig())) return false; + if (!getSoftwareConfig() + .equals(other.getSoftwareConfig())) return false; } if (hasNodeConfig() != other.hasNodeConfig()) return false; if (hasNodeConfig()) { - if (!getNodeConfig().equals(other.getNodeConfig())) return false; + if (!getNodeConfig() + .equals(other.getNodeConfig())) return false; } if (hasPrivateEnvironmentConfig() != other.hasPrivateEnvironmentConfig()) return false; if (hasPrivateEnvironmentConfig()) { - if (!getPrivateEnvironmentConfig().equals(other.getPrivateEnvironmentConfig())) return false; + if (!getPrivateEnvironmentConfig() + .equals(other.getPrivateEnvironmentConfig())) return false; } - if (hasWebServerNetworkAccessControl() != other.hasWebServerNetworkAccessControl()) - return false; + if (hasWebServerNetworkAccessControl() != other.hasWebServerNetworkAccessControl()) return false; if (hasWebServerNetworkAccessControl()) { - if (!getWebServerNetworkAccessControl().equals(other.getWebServerNetworkAccessControl())) - return false; + if (!getWebServerNetworkAccessControl() + .equals(other.getWebServerNetworkAccessControl())) return false; } if (hasDatabaseConfig() != other.hasDatabaseConfig()) return false; if (hasDatabaseConfig()) { - if (!getDatabaseConfig().equals(other.getDatabaseConfig())) return false; + if (!getDatabaseConfig() + .equals(other.getDatabaseConfig())) return false; } if (hasWebServerConfig() != other.hasWebServerConfig()) return false; if (hasWebServerConfig()) { - if (!getWebServerConfig().equals(other.getWebServerConfig())) return false; + if (!getWebServerConfig() + .equals(other.getWebServerConfig())) return false; } - if (!getAirflowUri().equals(other.getAirflowUri())) return false; + if (!getAirflowUri() + .equals(other.getAirflowUri())) return false; if (hasEncryptionConfig() != other.hasEncryptionConfig()) return false; if (hasEncryptionConfig()) { - if (!getEncryptionConfig().equals(other.getEncryptionConfig())) return false; + if (!getEncryptionConfig() + .equals(other.getEncryptionConfig())) return false; } if (hasMaintenanceWindow() != other.hasMaintenanceWindow()) return false; if (hasMaintenanceWindow()) { - if (!getMaintenanceWindow().equals(other.getMaintenanceWindow())) return false; + if (!getMaintenanceWindow() + .equals(other.getMaintenanceWindow())) return false; } if (hasWorkloadsConfig() != other.hasWorkloadsConfig()) return false; if (hasWorkloadsConfig()) { - if (!getWorkloadsConfig().equals(other.getWorkloadsConfig())) return false; + if (!getWorkloadsConfig() + .equals(other.getWorkloadsConfig())) return false; } if (environmentSize_ != other.environmentSize_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -1518,146 +1236,134 @@ public int hashCode() { } public static com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig 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.orchestration.airflow.service.v1beta1.EnvironmentConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig - 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.orchestration.airflow.service.v1beta1.EnvironmentConfig 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.orchestration.airflow.service.v1beta1.EnvironmentConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig prototype) { + public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
        * Configuration information for an environment.
        * 
    * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig) com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_EnvironmentConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_EnvironmentConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_EnvironmentConfig_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_EnvironmentConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.class, - com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.Builder - .class); + com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.class, com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.Builder.class); } - // Construct using - // com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.newBuilder() + // Construct using com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1729,22 +1435,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_EnvironmentConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_EnvironmentConfig_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig - getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig - .getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.getDefaultInstance(); } @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig build() { - com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig result = - buildPartial(); + com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1753,8 +1456,7 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig buildPartial() { - com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig result = - new com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig(this); + com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig result = new com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig(this); result.gkeCluster_ = gkeCluster_; result.dagGcsPrefix_ = dagGcsPrefix_; result.nodeCount_ = nodeCount_; @@ -1813,52 +1515,46 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig) { - return mergeFrom( - (com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig) other); + if (other instanceof com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig) { + return mergeFrom((com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig other) { - if (other - == com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig other) { + if (other == com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.getDefaultInstance()) return this; if (!other.getGkeCluster().isEmpty()) { gkeCluster_ = other.gkeCluster_; onChanged(); @@ -1923,9 +1619,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1937,20 +1631,18 @@ public Builder mergeFrom( private java.lang.Object gkeCluster_ = ""; /** - * - * *
          * Output only. The Kubernetes Engine cluster used to run this environment.
          * 
    * * string gke_cluster = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The gkeCluster. */ public java.lang.String getGkeCluster() { java.lang.Object ref = gkeCluster_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); gkeCluster_ = s; return s; @@ -1959,21 +1651,20 @@ public java.lang.String getGkeCluster() { } } /** - * - * *
          * Output only. The Kubernetes Engine cluster used to run this environment.
          * 
    * * string gke_cluster = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for gkeCluster. */ - public com.google.protobuf.ByteString getGkeClusterBytes() { + public com.google.protobuf.ByteString + getGkeClusterBytes() { java.lang.Object ref = gkeCluster_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); gkeCluster_ = b; return b; } else { @@ -1981,61 +1672,54 @@ public com.google.protobuf.ByteString getGkeClusterBytes() { } } /** - * - * *
          * Output only. The Kubernetes Engine cluster used to run this environment.
          * 
    * * string gke_cluster = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The gkeCluster to set. * @return This builder for chaining. */ - public Builder setGkeCluster(java.lang.String value) { + public Builder setGkeCluster( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + gkeCluster_ = value; onChanged(); return this; } /** - * - * *
          * Output only. The Kubernetes Engine cluster used to run this environment.
          * 
    * * string gke_cluster = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearGkeCluster() { - + gkeCluster_ = getDefaultInstance().getGkeCluster(); onChanged(); return this; } /** - * - * *
          * Output only. The Kubernetes Engine cluster used to run this environment.
          * 
    * * string gke_cluster = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for gkeCluster to set. * @return This builder for chaining. */ - public Builder setGkeClusterBytes(com.google.protobuf.ByteString value) { + public Builder setGkeClusterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + gkeCluster_ = value; onChanged(); return this; @@ -2043,8 +1727,6 @@ public Builder setGkeClusterBytes(com.google.protobuf.ByteString value) { private java.lang.Object dagGcsPrefix_ = ""; /** - * - * *
          * Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud
          * Storage objects reside in a flat namespace, a hierarchical file tree
    @@ -2053,13 +1735,13 @@ public Builder setGkeClusterBytes(com.google.protobuf.ByteString value) {
          * 
    * * string dag_gcs_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The dagGcsPrefix. */ public java.lang.String getDagGcsPrefix() { java.lang.Object ref = dagGcsPrefix_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dagGcsPrefix_ = s; return s; @@ -2068,8 +1750,6 @@ public java.lang.String getDagGcsPrefix() { } } /** - * - * *
          * Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud
          * Storage objects reside in a flat namespace, a hierarchical file tree
    @@ -2078,14 +1758,15 @@ public java.lang.String getDagGcsPrefix() {
          * 
    * * string dag_gcs_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for dagGcsPrefix. */ - public com.google.protobuf.ByteString getDagGcsPrefixBytes() { + public com.google.protobuf.ByteString + getDagGcsPrefixBytes() { java.lang.Object ref = dagGcsPrefix_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dagGcsPrefix_ = b; return b; } else { @@ -2093,8 +1774,6 @@ public com.google.protobuf.ByteString getDagGcsPrefixBytes() { } } /** - * - * *
          * Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud
          * Storage objects reside in a flat namespace, a hierarchical file tree
    @@ -2103,22 +1782,20 @@ public com.google.protobuf.ByteString getDagGcsPrefixBytes() {
          * 
    * * string dag_gcs_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The dagGcsPrefix to set. * @return This builder for chaining. */ - public Builder setDagGcsPrefix(java.lang.String value) { + public Builder setDagGcsPrefix( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + dagGcsPrefix_ = value; onChanged(); return this; } /** - * - * *
          * Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud
          * Storage objects reside in a flat namespace, a hierarchical file tree
    @@ -2127,18 +1804,15 @@ public Builder setDagGcsPrefix(java.lang.String value) {
          * 
    * * string dag_gcs_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearDagGcsPrefix() { - + dagGcsPrefix_ = getDefaultInstance().getDagGcsPrefix(); onChanged(); return this; } /** - * - * *
          * Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud
          * Storage objects reside in a flat namespace, a hierarchical file tree
    @@ -2147,32 +1821,29 @@ public Builder clearDagGcsPrefix() {
          * 
    * * string dag_gcs_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for dagGcsPrefix to set. * @return This builder for chaining. */ - public Builder setDagGcsPrefixBytes(com.google.protobuf.ByteString value) { + public Builder setDagGcsPrefixBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + dagGcsPrefix_ = value; onChanged(); return this; } - private int nodeCount_; + private int nodeCount_ ; /** - * - * *
          * The number of nodes in the Kubernetes Engine cluster that will be
          * used to run this environment.
          * 
    * * int32 node_count = 3; - * * @return The nodeCount. */ @java.lang.Override @@ -2180,38 +1851,32 @@ public int getNodeCount() { return nodeCount_; } /** - * - * *
          * The number of nodes in the Kubernetes Engine cluster that will be
          * used to run this environment.
          * 
    * * int32 node_count = 3; - * * @param value The nodeCount to set. * @return This builder for chaining. */ public Builder setNodeCount(int value) { - + nodeCount_ = value; onChanged(); return this; } /** - * - * *
          * The number of nodes in the Kubernetes Engine cluster that will be
          * used to run this environment.
          * 
    * * int32 node_count = 3; - * * @return This builder for chaining. */ public Builder clearNodeCount() { - + nodeCount_ = 0; onChanged(); return this; @@ -2219,60 +1884,41 @@ public Builder clearNodeCount() { private com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig softwareConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig, - com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig.Builder, - com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfigOrBuilder> - softwareConfigBuilder_; + com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig, com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfigOrBuilder> softwareConfigBuilder_; /** - * - * *
          * The configuration settings for software inside the environment.
          * 
    * - * .google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig software_config = 4; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig software_config = 4; * @return Whether the softwareConfig field is set. */ public boolean hasSoftwareConfig() { return softwareConfigBuilder_ != null || softwareConfig_ != null; } /** - * - * *
          * The configuration settings for software inside the environment.
          * 
    * - * .google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig software_config = 4; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig software_config = 4; * @return The softwareConfig. */ - public com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig - getSoftwareConfig() { + public com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig getSoftwareConfig() { if (softwareConfigBuilder_ == null) { - return softwareConfig_ == null - ? com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig - .getDefaultInstance() - : softwareConfig_; + return softwareConfig_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig.getDefaultInstance() : softwareConfig_; } else { return softwareConfigBuilder_.getMessage(); } } /** - * - * *
          * The configuration settings for software inside the environment.
          * 
    * - * .google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig software_config = 4; - * + * .google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig software_config = 4; */ - public Builder setSoftwareConfig( - com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig value) { + public Builder setSoftwareConfig(com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig value) { if (softwareConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2286,18 +1932,14 @@ public Builder setSoftwareConfig( return this; } /** - * - * *
          * The configuration settings for software inside the environment.
          * 
    * - * .google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig software_config = 4; - * + * .google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig software_config = 4; */ public Builder setSoftwareConfig( - com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig.Builder - builderForValue) { + com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig.Builder builderForValue) { if (softwareConfigBuilder_ == null) { softwareConfig_ = builderForValue.build(); onChanged(); @@ -2308,24 +1950,17 @@ public Builder setSoftwareConfig( return this; } /** - * - * *
          * The configuration settings for software inside the environment.
          * 
    * - * .google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig software_config = 4; - * + * .google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig software_config = 4; */ - public Builder mergeSoftwareConfig( - com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig value) { + public Builder mergeSoftwareConfig(com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig value) { if (softwareConfigBuilder_ == null) { if (softwareConfig_ != null) { softwareConfig_ = - com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig.newBuilder( - softwareConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig.newBuilder(softwareConfig_).mergeFrom(value).buildPartial(); } else { softwareConfig_ = value; } @@ -2337,14 +1972,11 @@ public Builder mergeSoftwareConfig( return this; } /** - * - * *
          * The configuration settings for software inside the environment.
          * 
    * - * .google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig software_config = 4; - * + * .google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig software_config = 4; */ public Builder clearSoftwareConfig() { if (softwareConfigBuilder_ == null) { @@ -2358,64 +1990,48 @@ public Builder clearSoftwareConfig() { return this; } /** - * - * *
          * The configuration settings for software inside the environment.
          * 
    * - * .google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig software_config = 4; - * + * .google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig software_config = 4; */ - public com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig.Builder - getSoftwareConfigBuilder() { - + public com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig.Builder getSoftwareConfigBuilder() { + onChanged(); return getSoftwareConfigFieldBuilder().getBuilder(); } /** - * - * *
          * The configuration settings for software inside the environment.
          * 
    * - * .google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig software_config = 4; - * + * .google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig software_config = 4; */ - public com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfigOrBuilder - getSoftwareConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfigOrBuilder getSoftwareConfigOrBuilder() { if (softwareConfigBuilder_ != null) { return softwareConfigBuilder_.getMessageOrBuilder(); } else { - return softwareConfig_ == null - ? com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig - .getDefaultInstance() - : softwareConfig_; + return softwareConfig_ == null ? + com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig.getDefaultInstance() : softwareConfig_; } } /** - * - * *
          * The configuration settings for software inside the environment.
          * 
    * - * .google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig software_config = 4; - * + * .google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig software_config = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig, - com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig.Builder, - com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfigOrBuilder> + com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig, com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfigOrBuilder> getSoftwareConfigFieldBuilder() { if (softwareConfigBuilder_ == null) { - softwareConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig, - com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig.Builder, - com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfigOrBuilder>( - getSoftwareConfig(), getParentForChildren(), isClean()); + softwareConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig, com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfigOrBuilder>( + getSoftwareConfig(), + getParentForChildren(), + isClean()); softwareConfig_ = null; } return softwareConfigBuilder_; @@ -2423,55 +2039,41 @@ public Builder clearSoftwareConfig() { private com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig nodeConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig, - com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig.Builder, - com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfigOrBuilder> - nodeConfigBuilder_; + com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig, com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfigOrBuilder> nodeConfigBuilder_; /** - * - * *
          * The configuration used for the Kubernetes Engine cluster.
          * 
    * * .google.cloud.orchestration.airflow.service.v1beta1.NodeConfig node_config = 5; - * * @return Whether the nodeConfig field is set. */ public boolean hasNodeConfig() { return nodeConfigBuilder_ != null || nodeConfig_ != null; } /** - * - * *
          * The configuration used for the Kubernetes Engine cluster.
          * 
    * * .google.cloud.orchestration.airflow.service.v1beta1.NodeConfig node_config = 5; - * * @return The nodeConfig. */ public com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig getNodeConfig() { if (nodeConfigBuilder_ == null) { - return nodeConfig_ == null - ? com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig.getDefaultInstance() - : nodeConfig_; + return nodeConfig_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig.getDefaultInstance() : nodeConfig_; } else { return nodeConfigBuilder_.getMessage(); } } /** - * - * *
          * The configuration used for the Kubernetes Engine cluster.
          * 
    * * .google.cloud.orchestration.airflow.service.v1beta1.NodeConfig node_config = 5; */ - public Builder setNodeConfig( - com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig value) { + public Builder setNodeConfig(com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig value) { if (nodeConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2485,8 +2087,6 @@ public Builder setNodeConfig( return this; } /** - * - * *
          * The configuration used for the Kubernetes Engine cluster.
          * 
    @@ -2505,23 +2105,17 @@ public Builder setNodeConfig( return this; } /** - * - * *
          * The configuration used for the Kubernetes Engine cluster.
          * 
    * * .google.cloud.orchestration.airflow.service.v1beta1.NodeConfig node_config = 5; */ - public Builder mergeNodeConfig( - com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig value) { + public Builder mergeNodeConfig(com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig value) { if (nodeConfigBuilder_ == null) { if (nodeConfig_ != null) { nodeConfig_ = - com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig.newBuilder( - nodeConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig.newBuilder(nodeConfig_).mergeFrom(value).buildPartial(); } else { nodeConfig_ = value; } @@ -2533,8 +2127,6 @@ public Builder mergeNodeConfig( return this; } /** - * - * *
          * The configuration used for the Kubernetes Engine cluster.
          * 
    @@ -2553,42 +2145,33 @@ public Builder clearNodeConfig() { return this; } /** - * - * *
          * The configuration used for the Kubernetes Engine cluster.
          * 
    * * .google.cloud.orchestration.airflow.service.v1beta1.NodeConfig node_config = 5; */ - public com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig.Builder - getNodeConfigBuilder() { - + public com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig.Builder getNodeConfigBuilder() { + onChanged(); return getNodeConfigFieldBuilder().getBuilder(); } /** - * - * *
          * The configuration used for the Kubernetes Engine cluster.
          * 
    * * .google.cloud.orchestration.airflow.service.v1beta1.NodeConfig node_config = 5; */ - public com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfigOrBuilder - getNodeConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfigOrBuilder getNodeConfigOrBuilder() { if (nodeConfigBuilder_ != null) { return nodeConfigBuilder_.getMessageOrBuilder(); } else { - return nodeConfig_ == null - ? com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig.getDefaultInstance() - : nodeConfig_; + return nodeConfig_ == null ? + com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig.getDefaultInstance() : nodeConfig_; } } /** - * - * *
          * The configuration used for the Kubernetes Engine cluster.
          * 
    @@ -2596,83 +2179,56 @@ public Builder clearNodeConfig() { * .google.cloud.orchestration.airflow.service.v1beta1.NodeConfig node_config = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig, - com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig.Builder, - com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfigOrBuilder> + com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig, com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfigOrBuilder> getNodeConfigFieldBuilder() { if (nodeConfigBuilder_ == null) { - nodeConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig, - com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig.Builder, - com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfigOrBuilder>( - getNodeConfig(), getParentForChildren(), isClean()); + nodeConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig, com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfigOrBuilder>( + getNodeConfig(), + getParentForChildren(), + isClean()); nodeConfig_ = null; } return nodeConfigBuilder_; } - private com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig - privateEnvironmentConfig_; + private com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig privateEnvironmentConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig, - com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig.Builder, - com.google.cloud.orchestration.airflow.service.v1beta1 - .PrivateEnvironmentConfigOrBuilder> - privateEnvironmentConfigBuilder_; + com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig, com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfigOrBuilder> privateEnvironmentConfigBuilder_; /** - * - * *
          * The configuration used for the Private IP Cloud Composer environment.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig private_environment_config = 7; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig private_environment_config = 7; * @return Whether the privateEnvironmentConfig field is set. */ public boolean hasPrivateEnvironmentConfig() { return privateEnvironmentConfigBuilder_ != null || privateEnvironmentConfig_ != null; } /** - * - * *
          * The configuration used for the Private IP Cloud Composer environment.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig private_environment_config = 7; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig private_environment_config = 7; * @return The privateEnvironmentConfig. */ - public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig - getPrivateEnvironmentConfig() { + public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig getPrivateEnvironmentConfig() { if (privateEnvironmentConfigBuilder_ == null) { - return privateEnvironmentConfig_ == null - ? com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig - .getDefaultInstance() - : privateEnvironmentConfig_; + return privateEnvironmentConfig_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig.getDefaultInstance() : privateEnvironmentConfig_; } else { return privateEnvironmentConfigBuilder_.getMessage(); } } /** - * - * *
          * The configuration used for the Private IP Cloud Composer environment.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig private_environment_config = 7; - * + * .google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig private_environment_config = 7; */ - public Builder setPrivateEnvironmentConfig( - com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig value) { + public Builder setPrivateEnvironmentConfig(com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig value) { if (privateEnvironmentConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2686,19 +2242,14 @@ public Builder setPrivateEnvironmentConfig( return this; } /** - * - * *
          * The configuration used for the Private IP Cloud Composer environment.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig private_environment_config = 7; - * + * .google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig private_environment_config = 7; */ public Builder setPrivateEnvironmentConfig( - com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig.Builder - builderForValue) { + com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig.Builder builderForValue) { if (privateEnvironmentConfigBuilder_ == null) { privateEnvironmentConfig_ = builderForValue.build(); onChanged(); @@ -2709,25 +2260,17 @@ public Builder setPrivateEnvironmentConfig( return this; } /** - * - * *
          * The configuration used for the Private IP Cloud Composer environment.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig private_environment_config = 7; - * + * .google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig private_environment_config = 7; */ - public Builder mergePrivateEnvironmentConfig( - com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig value) { + public Builder mergePrivateEnvironmentConfig(com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig value) { if (privateEnvironmentConfigBuilder_ == null) { if (privateEnvironmentConfig_ != null) { privateEnvironmentConfig_ = - com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig - .newBuilder(privateEnvironmentConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig.newBuilder(privateEnvironmentConfig_).mergeFrom(value).buildPartial(); } else { privateEnvironmentConfig_ = value; } @@ -2739,15 +2282,11 @@ public Builder mergePrivateEnvironmentConfig( return this; } /** - * - * *
          * The configuration used for the Private IP Cloud Composer environment.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig private_environment_config = 7; - * + * .google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig private_environment_config = 7; */ public Builder clearPrivateEnvironmentConfig() { if (privateEnvironmentConfigBuilder_ == null) { @@ -2761,142 +2300,93 @@ public Builder clearPrivateEnvironmentConfig() { return this; } /** - * - * *
          * The configuration used for the Private IP Cloud Composer environment.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig private_environment_config = 7; - * + * .google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig private_environment_config = 7; */ - public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig.Builder - getPrivateEnvironmentConfigBuilder() { - + public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig.Builder getPrivateEnvironmentConfigBuilder() { + onChanged(); return getPrivateEnvironmentConfigFieldBuilder().getBuilder(); } /** - * - * *
          * The configuration used for the Private IP Cloud Composer environment.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig private_environment_config = 7; - * + * .google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig private_environment_config = 7; */ - public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfigOrBuilder - getPrivateEnvironmentConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfigOrBuilder getPrivateEnvironmentConfigOrBuilder() { if (privateEnvironmentConfigBuilder_ != null) { return privateEnvironmentConfigBuilder_.getMessageOrBuilder(); } else { - return privateEnvironmentConfig_ == null - ? com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig - .getDefaultInstance() - : privateEnvironmentConfig_; + return privateEnvironmentConfig_ == null ? + com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig.getDefaultInstance() : privateEnvironmentConfig_; } } /** - * - * *
          * The configuration used for the Private IP Cloud Composer environment.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig private_environment_config = 7; - * + * .google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig private_environment_config = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig, - com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig.Builder, - com.google.cloud.orchestration.airflow.service.v1beta1 - .PrivateEnvironmentConfigOrBuilder> + com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig, com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfigOrBuilder> getPrivateEnvironmentConfigFieldBuilder() { if (privateEnvironmentConfigBuilder_ == null) { - privateEnvironmentConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig, - com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig - .Builder, - com.google.cloud.orchestration.airflow.service.v1beta1 - .PrivateEnvironmentConfigOrBuilder>( - getPrivateEnvironmentConfig(), getParentForChildren(), isClean()); + privateEnvironmentConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig, com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfigOrBuilder>( + getPrivateEnvironmentConfig(), + getParentForChildren(), + isClean()); privateEnvironmentConfig_ = null; } return privateEnvironmentConfigBuilder_; } - private com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - webServerNetworkAccessControl_; + private com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl webServerNetworkAccessControl_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl, - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .Builder, - com.google.cloud.orchestration.airflow.service.v1beta1 - .WebServerNetworkAccessControlOrBuilder> - webServerNetworkAccessControlBuilder_; + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl, com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControlOrBuilder> webServerNetworkAccessControlBuilder_; /** - * - * *
          * Optional. The network-level access control policy for the Airflow web server. If
          * unspecified, no network-level access restrictions will be applied.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the webServerNetworkAccessControl field is set. */ public boolean hasWebServerNetworkAccessControl() { - return webServerNetworkAccessControlBuilder_ != null - || webServerNetworkAccessControl_ != null; + return webServerNetworkAccessControlBuilder_ != null || webServerNetworkAccessControl_ != null; } /** - * - * *
          * Optional. The network-level access control policy for the Airflow web server. If
          * unspecified, no network-level access restrictions will be applied.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return The webServerNetworkAccessControl. */ - public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - getWebServerNetworkAccessControl() { + public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl getWebServerNetworkAccessControl() { if (webServerNetworkAccessControlBuilder_ == null) { - return webServerNetworkAccessControl_ == null - ? com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .getDefaultInstance() - : webServerNetworkAccessControl_; + return webServerNetworkAccessControl_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.getDefaultInstance() : webServerNetworkAccessControl_; } else { return webServerNetworkAccessControlBuilder_.getMessage(); } } /** - * - * *
          * Optional. The network-level access control policy for the Airflow web server. If
          * unspecified, no network-level access restrictions will be applied.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setWebServerNetworkAccessControl( - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - value) { + public Builder setWebServerNetworkAccessControl(com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl value) { if (webServerNetworkAccessControlBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2910,20 +2400,15 @@ public Builder setWebServerNetworkAccessControl( return this; } /** - * - * *
          * Optional. The network-level access control policy for the Airflow web server. If
          * unspecified, no network-level access restrictions will be applied.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setWebServerNetworkAccessControl( - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.Builder - builderForValue) { + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.Builder builderForValue) { if (webServerNetworkAccessControlBuilder_ == null) { webServerNetworkAccessControl_ = builderForValue.build(); onChanged(); @@ -2934,27 +2419,18 @@ public Builder setWebServerNetworkAccessControl( return this; } /** - * - * *
          * Optional. The network-level access control policy for the Airflow web server. If
          * unspecified, no network-level access restrictions will be applied.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergeWebServerNetworkAccessControl( - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - value) { + public Builder mergeWebServerNetworkAccessControl(com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl value) { if (webServerNetworkAccessControlBuilder_ == null) { if (webServerNetworkAccessControl_ != null) { webServerNetworkAccessControl_ = - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .newBuilder(webServerNetworkAccessControl_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.newBuilder(webServerNetworkAccessControl_).mergeFrom(value).buildPartial(); } else { webServerNetworkAccessControl_ = value; } @@ -2966,16 +2442,12 @@ public Builder mergeWebServerNetworkAccessControl( return this; } /** - * - * *
          * Optional. The network-level access control policy for the Airflow web server. If
          * unspecified, no network-level access restrictions will be applied.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearWebServerNetworkAccessControl() { if (webServerNetworkAccessControlBuilder_ == null) { @@ -2989,77 +2461,51 @@ public Builder clearWebServerNetworkAccessControl() { return this; } /** - * - * *
          * Optional. The network-level access control policy for the Airflow web server. If
          * unspecified, no network-level access restrictions will be applied.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .Builder - getWebServerNetworkAccessControlBuilder() { - + public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.Builder getWebServerNetworkAccessControlBuilder() { + onChanged(); return getWebServerNetworkAccessControlFieldBuilder().getBuilder(); } /** - * - * *
          * Optional. The network-level access control policy for the Airflow web server. If
          * unspecified, no network-level access restrictions will be applied.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.orchestration.airflow.service.v1beta1 - .WebServerNetworkAccessControlOrBuilder - getWebServerNetworkAccessControlOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControlOrBuilder getWebServerNetworkAccessControlOrBuilder() { if (webServerNetworkAccessControlBuilder_ != null) { return webServerNetworkAccessControlBuilder_.getMessageOrBuilder(); } else { - return webServerNetworkAccessControl_ == null - ? com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .getDefaultInstance() - : webServerNetworkAccessControl_; + return webServerNetworkAccessControl_ == null ? + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.getDefaultInstance() : webServerNetworkAccessControl_; } } /** - * - * *
          * Optional. The network-level access control policy for the Airflow web server. If
          * unspecified, no network-level access restrictions will be applied.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl, - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .Builder, - com.google.cloud.orchestration.airflow.service.v1beta1 - .WebServerNetworkAccessControlOrBuilder> + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl, com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControlOrBuilder> getWebServerNetworkAccessControlFieldBuilder() { if (webServerNetworkAccessControlBuilder_ == null) { - webServerNetworkAccessControlBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1 - .WebServerNetworkAccessControl, - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .Builder, - com.google.cloud.orchestration.airflow.service.v1beta1 - .WebServerNetworkAccessControlOrBuilder>( - getWebServerNetworkAccessControl(), getParentForChildren(), isClean()); + webServerNetworkAccessControlBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl, com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControlOrBuilder>( + getWebServerNetworkAccessControl(), + getParentForChildren(), + isClean()); webServerNetworkAccessControl_ = null; } return webServerNetworkAccessControlBuilder_; @@ -3067,66 +2513,44 @@ public Builder clearWebServerNetworkAccessControl() { private com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig databaseConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig, - com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig.Builder, - com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfigOrBuilder> - databaseConfigBuilder_; + com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig, com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfigOrBuilder> databaseConfigBuilder_; /** - * - * *
          * Optional. The configuration settings for Cloud SQL instance used internally by Apache
          * Airflow software.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig database_config = 10 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig database_config = 10 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the databaseConfig field is set. */ public boolean hasDatabaseConfig() { return databaseConfigBuilder_ != null || databaseConfig_ != null; } /** - * - * *
          * Optional. The configuration settings for Cloud SQL instance used internally by Apache
          * Airflow software.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig database_config = 10 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig database_config = 10 [(.google.api.field_behavior) = OPTIONAL]; * @return The databaseConfig. */ - public com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig - getDatabaseConfig() { + public com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig getDatabaseConfig() { if (databaseConfigBuilder_ == null) { - return databaseConfig_ == null - ? com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig - .getDefaultInstance() - : databaseConfig_; + return databaseConfig_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig.getDefaultInstance() : databaseConfig_; } else { return databaseConfigBuilder_.getMessage(); } } /** - * - * *
          * Optional. The configuration settings for Cloud SQL instance used internally by Apache
          * Airflow software.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig database_config = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig database_config = 10 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setDatabaseConfig( - com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig value) { + public Builder setDatabaseConfig(com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig value) { if (databaseConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3140,20 +2564,15 @@ public Builder setDatabaseConfig( return this; } /** - * - * *
          * Optional. The configuration settings for Cloud SQL instance used internally by Apache
          * Airflow software.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig database_config = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig database_config = 10 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setDatabaseConfig( - com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig.Builder - builderForValue) { + com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig.Builder builderForValue) { if (databaseConfigBuilder_ == null) { databaseConfig_ = builderForValue.build(); onChanged(); @@ -3164,26 +2583,18 @@ public Builder setDatabaseConfig( return this; } /** - * - * *
          * Optional. The configuration settings for Cloud SQL instance used internally by Apache
          * Airflow software.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig database_config = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig database_config = 10 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergeDatabaseConfig( - com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig value) { + public Builder mergeDatabaseConfig(com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig value) { if (databaseConfigBuilder_ == null) { if (databaseConfig_ != null) { databaseConfig_ = - com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig.newBuilder( - databaseConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig.newBuilder(databaseConfig_).mergeFrom(value).buildPartial(); } else { databaseConfig_ = value; } @@ -3195,16 +2606,12 @@ public Builder mergeDatabaseConfig( return this; } /** - * - * *
          * Optional. The configuration settings for Cloud SQL instance used internally by Apache
          * Airflow software.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig database_config = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig database_config = 10 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearDatabaseConfig() { if (databaseConfigBuilder_ == null) { @@ -3218,70 +2625,51 @@ public Builder clearDatabaseConfig() { return this; } /** - * - * *
          * Optional. The configuration settings for Cloud SQL instance used internally by Apache
          * Airflow software.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig database_config = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig database_config = 10 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig.Builder - getDatabaseConfigBuilder() { - + public com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig.Builder getDatabaseConfigBuilder() { + onChanged(); return getDatabaseConfigFieldBuilder().getBuilder(); } /** - * - * *
          * Optional. The configuration settings for Cloud SQL instance used internally by Apache
          * Airflow software.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig database_config = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig database_config = 10 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfigOrBuilder - getDatabaseConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfigOrBuilder getDatabaseConfigOrBuilder() { if (databaseConfigBuilder_ != null) { return databaseConfigBuilder_.getMessageOrBuilder(); } else { - return databaseConfig_ == null - ? com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig - .getDefaultInstance() - : databaseConfig_; + return databaseConfig_ == null ? + com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig.getDefaultInstance() : databaseConfig_; } } /** - * - * *
          * Optional. The configuration settings for Cloud SQL instance used internally by Apache
          * Airflow software.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig database_config = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig database_config = 10 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig, - com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig.Builder, - com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfigOrBuilder> + com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig, com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfigOrBuilder> getDatabaseConfigFieldBuilder() { if (databaseConfigBuilder_ == null) { - databaseConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig, - com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig.Builder, - com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfigOrBuilder>( - getDatabaseConfig(), getParentForChildren(), isClean()); + databaseConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig, com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfigOrBuilder>( + getDatabaseConfig(), + getParentForChildren(), + isClean()); databaseConfig_ = null; } return databaseConfigBuilder_; @@ -3289,63 +2677,41 @@ public Builder clearDatabaseConfig() { private com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig webServerConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig, - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig.Builder, - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfigOrBuilder> - webServerConfigBuilder_; + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig, com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfigOrBuilder> webServerConfigBuilder_; /** - * - * *
          * Optional. The configuration settings for the Airflow web server App Engine instance.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig web_server_config = 11 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig web_server_config = 11 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the webServerConfig field is set. */ public boolean hasWebServerConfig() { return webServerConfigBuilder_ != null || webServerConfig_ != null; } /** - * - * *
          * Optional. The configuration settings for the Airflow web server App Engine instance.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig web_server_config = 11 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig web_server_config = 11 [(.google.api.field_behavior) = OPTIONAL]; * @return The webServerConfig. */ - public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig - getWebServerConfig() { + public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig getWebServerConfig() { if (webServerConfigBuilder_ == null) { - return webServerConfig_ == null - ? com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig - .getDefaultInstance() - : webServerConfig_; + return webServerConfig_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig.getDefaultInstance() : webServerConfig_; } else { return webServerConfigBuilder_.getMessage(); } } /** - * - * *
          * Optional. The configuration settings for the Airflow web server App Engine instance.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig web_server_config = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig web_server_config = 11 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setWebServerConfig( - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig value) { + public Builder setWebServerConfig(com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig value) { if (webServerConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3359,19 +2725,14 @@ public Builder setWebServerConfig( return this; } /** - * - * *
          * Optional. The configuration settings for the Airflow web server App Engine instance.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig web_server_config = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig web_server_config = 11 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setWebServerConfig( - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig.Builder - builderForValue) { + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig.Builder builderForValue) { if (webServerConfigBuilder_ == null) { webServerConfig_ = builderForValue.build(); onChanged(); @@ -3382,25 +2743,17 @@ public Builder setWebServerConfig( return this; } /** - * - * *
          * Optional. The configuration settings for the Airflow web server App Engine instance.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig web_server_config = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig web_server_config = 11 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergeWebServerConfig( - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig value) { + public Builder mergeWebServerConfig(com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig value) { if (webServerConfigBuilder_ == null) { if (webServerConfig_ != null) { webServerConfig_ = - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig.newBuilder( - webServerConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig.newBuilder(webServerConfig_).mergeFrom(value).buildPartial(); } else { webServerConfig_ = value; } @@ -3412,15 +2765,11 @@ public Builder mergeWebServerConfig( return this; } /** - * - * *
          * Optional. The configuration settings for the Airflow web server App Engine instance.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig web_server_config = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig web_server_config = 11 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearWebServerConfig() { if (webServerConfigBuilder_ == null) { @@ -3434,67 +2783,48 @@ public Builder clearWebServerConfig() { return this; } /** - * - * *
          * Optional. The configuration settings for the Airflow web server App Engine instance.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig web_server_config = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig web_server_config = 11 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig.Builder - getWebServerConfigBuilder() { - + public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig.Builder getWebServerConfigBuilder() { + onChanged(); return getWebServerConfigFieldBuilder().getBuilder(); } /** - * - * *
          * Optional. The configuration settings for the Airflow web server App Engine instance.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig web_server_config = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig web_server_config = 11 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfigOrBuilder - getWebServerConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfigOrBuilder getWebServerConfigOrBuilder() { if (webServerConfigBuilder_ != null) { return webServerConfigBuilder_.getMessageOrBuilder(); } else { - return webServerConfig_ == null - ? com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig - .getDefaultInstance() - : webServerConfig_; + return webServerConfig_ == null ? + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig.getDefaultInstance() : webServerConfig_; } } /** - * - * *
          * Optional. The configuration settings for the Airflow web server App Engine instance.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig web_server_config = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig web_server_config = 11 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig, - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig.Builder, - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfigOrBuilder> + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig, com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfigOrBuilder> getWebServerConfigFieldBuilder() { if (webServerConfigBuilder_ == null) { - webServerConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig, - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig.Builder, - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfigOrBuilder>( - getWebServerConfig(), getParentForChildren(), isClean()); + webServerConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig, com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfigOrBuilder>( + getWebServerConfig(), + getParentForChildren(), + isClean()); webServerConfig_ = null; } return webServerConfigBuilder_; @@ -3502,8 +2832,6 @@ public Builder clearWebServerConfig() { private java.lang.Object airflowUri_ = ""; /** - * - * *
          * Output only. The URI of the Apache Airflow Web UI hosted within this environment (see
          * [Airflow web
    @@ -3511,13 +2839,13 @@ public Builder clearWebServerConfig() {
          * 
    * * string airflow_uri = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The airflowUri. */ public java.lang.String getAirflowUri() { java.lang.Object ref = airflowUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); airflowUri_ = s; return s; @@ -3526,8 +2854,6 @@ public java.lang.String getAirflowUri() { } } /** - * - * *
          * Output only. The URI of the Apache Airflow Web UI hosted within this environment (see
          * [Airflow web
    @@ -3535,14 +2861,15 @@ public java.lang.String getAirflowUri() {
          * 
    * * string airflow_uri = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for airflowUri. */ - public com.google.protobuf.ByteString getAirflowUriBytes() { + public com.google.protobuf.ByteString + getAirflowUriBytes() { java.lang.Object ref = airflowUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); airflowUri_ = b; return b; } else { @@ -3550,8 +2877,6 @@ public com.google.protobuf.ByteString getAirflowUriBytes() { } } /** - * - * *
          * Output only. The URI of the Apache Airflow Web UI hosted within this environment (see
          * [Airflow web
    @@ -3559,22 +2884,20 @@ public com.google.protobuf.ByteString getAirflowUriBytes() {
          * 
    * * string airflow_uri = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The airflowUri to set. * @return This builder for chaining. */ - public Builder setAirflowUri(java.lang.String value) { + public Builder setAirflowUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + airflowUri_ = value; onChanged(); return this; } /** - * - * *
          * Output only. The URI of the Apache Airflow Web UI hosted within this environment (see
          * [Airflow web
    @@ -3582,18 +2905,15 @@ public Builder setAirflowUri(java.lang.String value) {
          * 
    * * string airflow_uri = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearAirflowUri() { - + airflowUri_ = getDefaultInstance().getAirflowUri(); onChanged(); return this; } /** - * - * *
          * Output only. The URI of the Apache Airflow Web UI hosted within this environment (see
          * [Airflow web
    @@ -3601,84 +2921,61 @@ public Builder clearAirflowUri() {
          * 
    * * string airflow_uri = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for airflowUri to set. * @return This builder for chaining. */ - public Builder setAirflowUriBytes(com.google.protobuf.ByteString value) { + public Builder setAirflowUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + airflowUri_ = value; onChanged(); return this; } - private com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig - encryptionConfig_; + private com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig encryptionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig, - com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig.Builder, - com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfigOrBuilder> - encryptionConfigBuilder_; + com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig, com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfigOrBuilder> encryptionConfigBuilder_; /** - * - * *
          * Optional. The encryption options for the Cloud Composer environment and its
          * dependencies. Cannot be updated.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the encryptionConfig field is set. */ public boolean hasEncryptionConfig() { return encryptionConfigBuilder_ != null || encryptionConfig_ != null; } /** - * - * *
          * Optional. The encryption options for the Cloud Composer environment and its
          * dependencies. Cannot be updated.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return The encryptionConfig. */ - public com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig - getEncryptionConfig() { + public com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig getEncryptionConfig() { if (encryptionConfigBuilder_ == null) { - return encryptionConfig_ == null - ? com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig - .getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } else { return encryptionConfigBuilder_.getMessage(); } } /** - * - * *
          * Optional. The encryption options for the Cloud Composer environment and its
          * dependencies. Cannot be updated.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setEncryptionConfig( - com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig value) { + public Builder setEncryptionConfig(com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig value) { if (encryptionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3692,20 +2989,15 @@ public Builder setEncryptionConfig( return this; } /** - * - * *
          * Optional. The encryption options for the Cloud Composer environment and its
          * dependencies. Cannot be updated.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setEncryptionConfig( - com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig.Builder - builderForValue) { + com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig.Builder builderForValue) { if (encryptionConfigBuilder_ == null) { encryptionConfig_ = builderForValue.build(); onChanged(); @@ -3716,26 +3008,18 @@ public Builder setEncryptionConfig( return this; } /** - * - * *
          * Optional. The encryption options for the Cloud Composer environment and its
          * dependencies. Cannot be updated.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergeEncryptionConfig( - com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig value) { + public Builder mergeEncryptionConfig(com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig value) { if (encryptionConfigBuilder_ == null) { if (encryptionConfig_ != null) { encryptionConfig_ = - com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig.newBuilder( - encryptionConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig.newBuilder(encryptionConfig_).mergeFrom(value).buildPartial(); } else { encryptionConfig_ = value; } @@ -3747,16 +3031,12 @@ public Builder mergeEncryptionConfig( return this; } /** - * - * *
          * Optional. The encryption options for the Cloud Composer environment and its
          * dependencies. Cannot be updated.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearEncryptionConfig() { if (encryptionConfigBuilder_ == null) { @@ -3770,85 +3050,60 @@ public Builder clearEncryptionConfig() { return this; } /** - * - * *
          * Optional. The encryption options for the Cloud Composer environment and its
          * dependencies. Cannot be updated.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig.Builder - getEncryptionConfigBuilder() { - + public com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig.Builder getEncryptionConfigBuilder() { + onChanged(); return getEncryptionConfigFieldBuilder().getBuilder(); } /** - * - * *
          * Optional. The encryption options for the Cloud Composer environment and its
          * dependencies. Cannot be updated.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfigOrBuilder - getEncryptionConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { if (encryptionConfigBuilder_ != null) { return encryptionConfigBuilder_.getMessageOrBuilder(); } else { - return encryptionConfig_ == null - ? com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig - .getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? + com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } } /** - * - * *
          * Optional. The encryption options for the Cloud Composer environment and its
          * dependencies. Cannot be updated.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig, - com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig.Builder, - com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfigOrBuilder> + com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig, com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfigOrBuilder> getEncryptionConfigFieldBuilder() { if (encryptionConfigBuilder_ == null) { - encryptionConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig, - com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig.Builder, - com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfigOrBuilder>( - getEncryptionConfig(), getParentForChildren(), isClean()); + encryptionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig, com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfigOrBuilder>( + getEncryptionConfig(), + getParentForChildren(), + isClean()); encryptionConfig_ = null; } return encryptionConfigBuilder_; } - private com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow - maintenanceWindow_; + private com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenanceWindow_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow, - com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow.Builder, - com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindowOrBuilder> - maintenanceWindowBuilder_; + com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow, com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindowOrBuilder> maintenanceWindowBuilder_; /** - * - * *
          * Optional. The maintenance window is the period when Cloud Composer components may
          * undergo maintenance. It is defined so that maintenance is not executed
    @@ -3863,18 +3118,13 @@ public Builder clearEncryptionConfig() {
          * maintenance at any time.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the maintenanceWindow field is set. */ public boolean hasMaintenanceWindow() { return maintenanceWindowBuilder_ != null || maintenanceWindow_ != null; } /** - * - * *
          * Optional. The maintenance window is the period when Cloud Composer components may
          * undergo maintenance. It is defined so that maintenance is not executed
    @@ -3889,26 +3139,17 @@ public boolean hasMaintenanceWindow() {
          * maintenance at any time.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL]; * @return The maintenanceWindow. */ - public com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow - getMaintenanceWindow() { + public com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow getMaintenanceWindow() { if (maintenanceWindowBuilder_ == null) { - return maintenanceWindow_ == null - ? com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow - .getDefaultInstance() - : maintenanceWindow_; + return maintenanceWindow_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow.getDefaultInstance() : maintenanceWindow_; } else { return maintenanceWindowBuilder_.getMessage(); } } /** - * - * *
          * Optional. The maintenance window is the period when Cloud Composer components may
          * undergo maintenance. It is defined so that maintenance is not executed
    @@ -3923,12 +3164,9 @@ public boolean hasMaintenanceWindow() {
          * maintenance at any time.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setMaintenanceWindow( - com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow value) { + public Builder setMaintenanceWindow(com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow value) { if (maintenanceWindowBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3942,8 +3180,6 @@ public Builder setMaintenanceWindow( return this; } /** - * - * *
          * Optional. The maintenance window is the period when Cloud Composer components may
          * undergo maintenance. It is defined so that maintenance is not executed
    @@ -3958,13 +3194,10 @@ public Builder setMaintenanceWindow(
          * maintenance at any time.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setMaintenanceWindow( - com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow.Builder - builderForValue) { + com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow.Builder builderForValue) { if (maintenanceWindowBuilder_ == null) { maintenanceWindow_ = builderForValue.build(); onChanged(); @@ -3975,8 +3208,6 @@ public Builder setMaintenanceWindow( return this; } /** - * - * *
          * Optional. The maintenance window is the period when Cloud Composer components may
          * undergo maintenance. It is defined so that maintenance is not executed
    @@ -3991,19 +3222,13 @@ public Builder setMaintenanceWindow(
          * maintenance at any time.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergeMaintenanceWindow( - com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow value) { + public Builder mergeMaintenanceWindow(com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow value) { if (maintenanceWindowBuilder_ == null) { if (maintenanceWindow_ != null) { maintenanceWindow_ = - com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow.newBuilder( - maintenanceWindow_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow.newBuilder(maintenanceWindow_).mergeFrom(value).buildPartial(); } else { maintenanceWindow_ = value; } @@ -4015,8 +3240,6 @@ public Builder mergeMaintenanceWindow( return this; } /** - * - * *
          * Optional. The maintenance window is the period when Cloud Composer components may
          * undergo maintenance. It is defined so that maintenance is not executed
    @@ -4031,9 +3254,7 @@ public Builder mergeMaintenanceWindow(
          * maintenance at any time.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearMaintenanceWindow() { if (maintenanceWindowBuilder_ == null) { @@ -4047,8 +3268,6 @@ public Builder clearMaintenanceWindow() { return this; } /** - * - * *
          * Optional. The maintenance window is the period when Cloud Composer components may
          * undergo maintenance. It is defined so that maintenance is not executed
    @@ -4063,19 +3282,14 @@ public Builder clearMaintenanceWindow() {
          * maintenance at any time.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow.Builder - getMaintenanceWindowBuilder() { - + public com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow.Builder getMaintenanceWindowBuilder() { + onChanged(); return getMaintenanceWindowFieldBuilder().getBuilder(); } /** - * - * *
          * Optional. The maintenance window is the period when Cloud Composer components may
          * undergo maintenance. It is defined so that maintenance is not executed
    @@ -4090,24 +3304,17 @@ public Builder clearMaintenanceWindow() {
          * maintenance at any time.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindowOrBuilder - getMaintenanceWindowOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindowOrBuilder getMaintenanceWindowOrBuilder() { if (maintenanceWindowBuilder_ != null) { return maintenanceWindowBuilder_.getMessageOrBuilder(); } else { - return maintenanceWindow_ == null - ? com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow - .getDefaultInstance() - : maintenanceWindow_; + return maintenanceWindow_ == null ? + com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow.getDefaultInstance() : maintenanceWindow_; } } /** - * - * *
          * Optional. The maintenance window is the period when Cloud Composer components may
          * undergo maintenance. It is defined so that maintenance is not executed
    @@ -4122,22 +3329,17 @@ public Builder clearMaintenanceWindow() {
          * maintenance at any time.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow, - com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow.Builder, - com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindowOrBuilder> + com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow, com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindowOrBuilder> getMaintenanceWindowFieldBuilder() { if (maintenanceWindowBuilder_ == null) { - maintenanceWindowBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow, - com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow.Builder, - com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindowOrBuilder>( - getMaintenanceWindow(), getParentForChildren(), isClean()); + maintenanceWindowBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow, com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindowOrBuilder>( + getMaintenanceWindow(), + getParentForChildren(), + isClean()); maintenanceWindow_ = null; } return maintenanceWindowBuilder_; @@ -4145,13 +3347,8 @@ public Builder clearMaintenanceWindow() { private com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloadsConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig, - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.Builder, - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfigOrBuilder> - workloadsConfigBuilder_; + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig, com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfigOrBuilder> workloadsConfigBuilder_; /** - * - * *
          * Optional. The workloads configuration settings for the GKE cluster associated with
          * the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web
    @@ -4160,18 +3357,13 @@ public Builder clearMaintenanceWindow() {
          * composer-2.*.*-airflow-*.*.* and newer.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the workloadsConfig field is set. */ public boolean hasWorkloadsConfig() { return workloadsConfigBuilder_ != null || workloadsConfig_ != null; } /** - * - * *
          * Optional. The workloads configuration settings for the GKE cluster associated with
          * the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web
    @@ -4180,26 +3372,17 @@ public boolean hasWorkloadsConfig() {
          * composer-2.*.*-airflow-*.*.* and newer.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL]; * @return The workloadsConfig. */ - public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - getWorkloadsConfig() { + public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig getWorkloadsConfig() { if (workloadsConfigBuilder_ == null) { - return workloadsConfig_ == null - ? com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .getDefaultInstance() - : workloadsConfig_; + return workloadsConfig_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.getDefaultInstance() : workloadsConfig_; } else { return workloadsConfigBuilder_.getMessage(); } } /** - * - * *
          * Optional. The workloads configuration settings for the GKE cluster associated with
          * the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web
    @@ -4208,12 +3391,9 @@ public boolean hasWorkloadsConfig() {
          * composer-2.*.*-airflow-*.*.* and newer.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setWorkloadsConfig( - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig value) { + public Builder setWorkloadsConfig(com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig value) { if (workloadsConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4227,8 +3407,6 @@ public Builder setWorkloadsConfig( return this; } /** - * - * *
          * Optional. The workloads configuration settings for the GKE cluster associated with
          * the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web
    @@ -4237,13 +3415,10 @@ public Builder setWorkloadsConfig(
          * composer-2.*.*-airflow-*.*.* and newer.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setWorkloadsConfig( - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.Builder - builderForValue) { + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.Builder builderForValue) { if (workloadsConfigBuilder_ == null) { workloadsConfig_ = builderForValue.build(); onChanged(); @@ -4254,8 +3429,6 @@ public Builder setWorkloadsConfig( return this; } /** - * - * *
          * Optional. The workloads configuration settings for the GKE cluster associated with
          * the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web
    @@ -4264,19 +3437,13 @@ public Builder setWorkloadsConfig(
          * composer-2.*.*-airflow-*.*.* and newer.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergeWorkloadsConfig( - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig value) { + public Builder mergeWorkloadsConfig(com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig value) { if (workloadsConfigBuilder_ == null) { if (workloadsConfig_ != null) { workloadsConfig_ = - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.newBuilder( - workloadsConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.newBuilder(workloadsConfig_).mergeFrom(value).buildPartial(); } else { workloadsConfig_ = value; } @@ -4288,8 +3455,6 @@ public Builder mergeWorkloadsConfig( return this; } /** - * - * *
          * Optional. The workloads configuration settings for the GKE cluster associated with
          * the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web
    @@ -4298,9 +3463,7 @@ public Builder mergeWorkloadsConfig(
          * composer-2.*.*-airflow-*.*.* and newer.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearWorkloadsConfig() { if (workloadsConfigBuilder_ == null) { @@ -4314,8 +3477,6 @@ public Builder clearWorkloadsConfig() { return this; } /** - * - * *
          * Optional. The workloads configuration settings for the GKE cluster associated with
          * the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web
    @@ -4324,19 +3485,14 @@ public Builder clearWorkloadsConfig() {
          * composer-2.*.*-airflow-*.*.* and newer.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.Builder - getWorkloadsConfigBuilder() { - + public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.Builder getWorkloadsConfigBuilder() { + onChanged(); return getWorkloadsConfigFieldBuilder().getBuilder(); } /** - * - * *
          * Optional. The workloads configuration settings for the GKE cluster associated with
          * the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web
    @@ -4345,24 +3501,17 @@ public Builder clearWorkloadsConfig() {
          * composer-2.*.*-airflow-*.*.* and newer.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfigOrBuilder - getWorkloadsConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfigOrBuilder getWorkloadsConfigOrBuilder() { if (workloadsConfigBuilder_ != null) { return workloadsConfigBuilder_.getMessageOrBuilder(); } else { - return workloadsConfig_ == null - ? com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .getDefaultInstance() - : workloadsConfig_; + return workloadsConfig_ == null ? + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.getDefaultInstance() : workloadsConfig_; } } /** - * - * *
          * Optional. The workloads configuration settings for the GKE cluster associated with
          * the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web
    @@ -4371,22 +3520,17 @@ public Builder clearWorkloadsConfig() {
          * composer-2.*.*-airflow-*.*.* and newer.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig, - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.Builder, - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfigOrBuilder> + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig, com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfigOrBuilder> getWorkloadsConfigFieldBuilder() { if (workloadsConfigBuilder_ == null) { - workloadsConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig, - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.Builder, - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfigOrBuilder>( - getWorkloadsConfig(), getParentForChildren(), isClean()); + workloadsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig, com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfigOrBuilder>( + getWorkloadsConfig(), + getParentForChildren(), + isClean()); workloadsConfig_ = null; } return workloadsConfigBuilder_; @@ -4394,125 +3538,90 @@ public Builder clearWorkloadsConfig() { private int environmentSize_ = 0; /** - * - * *
          * Optional. The size of the Cloud Composer environment.
          * This field is supported for Cloud Composer environments in versions
          * composer-2.*.*-airflow-*.*.* and newer.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize environment_size = 16 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize environment_size = 16 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for environmentSize. */ - @java.lang.Override - public int getEnvironmentSizeValue() { + @java.lang.Override public int getEnvironmentSizeValue() { return environmentSize_; } /** - * - * *
          * Optional. The size of the Cloud Composer environment.
          * This field is supported for Cloud Composer environments in versions
          * composer-2.*.*-airflow-*.*.* and newer.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize environment_size = 16 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize environment_size = 16 [(.google.api.field_behavior) = OPTIONAL]; * @param value The enum numeric value on the wire for environmentSize to set. * @return This builder for chaining. */ public Builder setEnvironmentSizeValue(int value) { - + environmentSize_ = value; onChanged(); return this; } /** - * - * *
          * Optional. The size of the Cloud Composer environment.
          * This field is supported for Cloud Composer environments in versions
          * composer-2.*.*-airflow-*.*.* and newer.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize environment_size = 16 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize environment_size = 16 [(.google.api.field_behavior) = OPTIONAL]; * @return The environmentSize. */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize - getEnvironmentSize() { + public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize getEnvironmentSize() { @SuppressWarnings("deprecation") - com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize - result = - com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig - .EnvironmentSize.valueOf(environmentSize_); - return result == null - ? com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize - .UNRECOGNIZED - : result; + com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize result = com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize.valueOf(environmentSize_); + return result == null ? com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize.UNRECOGNIZED : result; } /** - * - * *
          * Optional. The size of the Cloud Composer environment.
          * This field is supported for Cloud Composer environments in versions
          * composer-2.*.*-airflow-*.*.* and newer.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize environment_size = 16 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize environment_size = 16 [(.google.api.field_behavior) = OPTIONAL]; * @param value The environmentSize to set. * @return This builder for chaining. */ - public Builder setEnvironmentSize( - com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize - value) { + public Builder setEnvironmentSize(com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize value) { if (value == null) { throw new NullPointerException(); } - + environmentSize_ = value.getNumber(); onChanged(); return this; } /** - * - * *
          * Optional. The size of the Cloud Composer environment.
          * This field is supported for Cloud Composer environments in versions
          * composer-2.*.*-airflow-*.*.* and newer.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize environment_size = 16 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize environment_size = 16 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearEnvironmentSize() { - + environmentSize_ = 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); } @@ -4522,33 +3631,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig) - private static final com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig(); + DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig(); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig - getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EnvironmentConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new EnvironmentConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EnvironmentConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new EnvironmentConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4560,8 +3666,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig - getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentConfigOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentConfigOrBuilder.java similarity index 67% rename from proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentConfigOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentConfigOrBuilder.java index 8689c501..7d77dcd4 100644 --- a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentConfigOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentConfigOrBuilder.java @@ -1,56 +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/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; -public interface EnvironmentConfigOrBuilder - extends +public interface EnvironmentConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * Output only. The Kubernetes Engine cluster used to run this environment.
        * 
    * * string gke_cluster = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The gkeCluster. */ java.lang.String getGkeCluster(); /** - * - * *
        * Output only. The Kubernetes Engine cluster used to run this environment.
        * 
    * * string gke_cluster = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for gkeCluster. */ - com.google.protobuf.ByteString getGkeClusterBytes(); + com.google.protobuf.ByteString + getGkeClusterBytes(); /** - * - * *
        * Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud
        * Storage objects reside in a flat namespace, a hierarchical file tree
    @@ -59,13 +36,10 @@ public interface EnvironmentConfigOrBuilder
        * 
    * * string dag_gcs_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The dagGcsPrefix. */ java.lang.String getDagGcsPrefix(); /** - * - * *
        * Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud
        * Storage objects reside in a flat namespace, a hierarchical file tree
    @@ -74,279 +48,191 @@ public interface EnvironmentConfigOrBuilder
        * 
    * * string dag_gcs_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for dagGcsPrefix. */ - com.google.protobuf.ByteString getDagGcsPrefixBytes(); + com.google.protobuf.ByteString + getDagGcsPrefixBytes(); /** - * - * *
        * The number of nodes in the Kubernetes Engine cluster that will be
        * used to run this environment.
        * 
    * * int32 node_count = 3; - * * @return The nodeCount. */ int getNodeCount(); /** - * - * *
        * The configuration settings for software inside the environment.
        * 
    * - * .google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig software_config = 4; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig software_config = 4; * @return Whether the softwareConfig field is set. */ boolean hasSoftwareConfig(); /** - * - * *
        * The configuration settings for software inside the environment.
        * 
    * - * .google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig software_config = 4; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig software_config = 4; * @return The softwareConfig. */ com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig getSoftwareConfig(); /** - * - * *
        * The configuration settings for software inside the environment.
        * 
    * - * .google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig software_config = 4; - * + * .google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig software_config = 4; */ - com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfigOrBuilder - getSoftwareConfigOrBuilder(); + com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfigOrBuilder getSoftwareConfigOrBuilder(); /** - * - * *
        * The configuration used for the Kubernetes Engine cluster.
        * 
    * * .google.cloud.orchestration.airflow.service.v1beta1.NodeConfig node_config = 5; - * * @return Whether the nodeConfig field is set. */ boolean hasNodeConfig(); /** - * - * *
        * The configuration used for the Kubernetes Engine cluster.
        * 
    * * .google.cloud.orchestration.airflow.service.v1beta1.NodeConfig node_config = 5; - * * @return The nodeConfig. */ com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig getNodeConfig(); /** - * - * *
        * The configuration used for the Kubernetes Engine cluster.
        * 
    * * .google.cloud.orchestration.airflow.service.v1beta1.NodeConfig node_config = 5; */ - com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfigOrBuilder - getNodeConfigOrBuilder(); + com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfigOrBuilder getNodeConfigOrBuilder(); /** - * - * *
        * The configuration used for the Private IP Cloud Composer environment.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig private_environment_config = 7; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig private_environment_config = 7; * @return Whether the privateEnvironmentConfig field is set. */ boolean hasPrivateEnvironmentConfig(); /** - * - * *
        * The configuration used for the Private IP Cloud Composer environment.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig private_environment_config = 7; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig private_environment_config = 7; * @return The privateEnvironmentConfig. */ - com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig - getPrivateEnvironmentConfig(); + com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig getPrivateEnvironmentConfig(); /** - * - * *
        * The configuration used for the Private IP Cloud Composer environment.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig private_environment_config = 7; - * + * .google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig private_environment_config = 7; */ - com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfigOrBuilder - getPrivateEnvironmentConfigOrBuilder(); + com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfigOrBuilder getPrivateEnvironmentConfigOrBuilder(); /** - * - * *
        * Optional. The network-level access control policy for the Airflow web server. If
        * unspecified, no network-level access restrictions will be applied.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the webServerNetworkAccessControl field is set. */ boolean hasWebServerNetworkAccessControl(); /** - * - * *
        * Optional. The network-level access control policy for the Airflow web server. If
        * unspecified, no network-level access restrictions will be applied.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return The webServerNetworkAccessControl. */ - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - getWebServerNetworkAccessControl(); + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl getWebServerNetworkAccessControl(); /** - * - * *
        * Optional. The network-level access control policy for the Airflow web server. If
        * unspecified, no network-level access restrictions will be applied.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControlOrBuilder - getWebServerNetworkAccessControlOrBuilder(); + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControlOrBuilder getWebServerNetworkAccessControlOrBuilder(); /** - * - * *
        * Optional. The configuration settings for Cloud SQL instance used internally by Apache
        * Airflow software.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig database_config = 10 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig database_config = 10 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the databaseConfig field is set. */ boolean hasDatabaseConfig(); /** - * - * *
        * Optional. The configuration settings for Cloud SQL instance used internally by Apache
        * Airflow software.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig database_config = 10 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig database_config = 10 [(.google.api.field_behavior) = OPTIONAL]; * @return The databaseConfig. */ com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig getDatabaseConfig(); /** - * - * *
        * Optional. The configuration settings for Cloud SQL instance used internally by Apache
        * Airflow software.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig database_config = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig database_config = 10 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfigOrBuilder - getDatabaseConfigOrBuilder(); + com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfigOrBuilder getDatabaseConfigOrBuilder(); /** - * - * *
        * Optional. The configuration settings for the Airflow web server App Engine instance.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig web_server_config = 11 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig web_server_config = 11 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the webServerConfig field is set. */ boolean hasWebServerConfig(); /** - * - * *
        * Optional. The configuration settings for the Airflow web server App Engine instance.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig web_server_config = 11 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig web_server_config = 11 [(.google.api.field_behavior) = OPTIONAL]; * @return The webServerConfig. */ com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig getWebServerConfig(); /** - * - * *
        * Optional. The configuration settings for the Airflow web server App Engine instance.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig web_server_config = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig web_server_config = 11 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfigOrBuilder - getWebServerConfigOrBuilder(); + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfigOrBuilder getWebServerConfigOrBuilder(); /** - * - * *
        * Output only. The URI of the Apache Airflow Web UI hosted within this environment (see
        * [Airflow web
    @@ -354,13 +240,10 @@ public interface EnvironmentConfigOrBuilder
        * 
    * * string airflow_uri = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The airflowUri. */ java.lang.String getAirflowUri(); /** - * - * *
        * Output only. The URI of the Apache Airflow Web UI hosted within this environment (see
        * [Airflow web
    @@ -368,59 +251,42 @@ public interface EnvironmentConfigOrBuilder
        * 
    * * string airflow_uri = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for airflowUri. */ - com.google.protobuf.ByteString getAirflowUriBytes(); + com.google.protobuf.ByteString + getAirflowUriBytes(); /** - * - * *
        * Optional. The encryption options for the Cloud Composer environment and its
        * dependencies. Cannot be updated.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the encryptionConfig field is set. */ boolean hasEncryptionConfig(); /** - * - * *
        * Optional. The encryption options for the Cloud Composer environment and its
        * dependencies. Cannot be updated.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return The encryptionConfig. */ com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig getEncryptionConfig(); /** - * - * *
        * Optional. The encryption options for the Cloud Composer environment and its
        * dependencies. Cannot be updated.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfigOrBuilder - getEncryptionConfigOrBuilder(); + com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder(); /** - * - * *
        * Optional. The maintenance window is the period when Cloud Composer components may
        * undergo maintenance. It is defined so that maintenance is not executed
    @@ -435,16 +301,11 @@ public interface EnvironmentConfigOrBuilder
        * maintenance at any time.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the maintenanceWindow field is set. */ boolean hasMaintenanceWindow(); /** - * - * *
        * Optional. The maintenance window is the period when Cloud Composer components may
        * undergo maintenance. It is defined so that maintenance is not executed
    @@ -459,16 +320,11 @@ public interface EnvironmentConfigOrBuilder
        * maintenance at any time.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL]; * @return The maintenanceWindow. */ com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow getMaintenanceWindow(); /** - * - * *
        * Optional. The maintenance window is the period when Cloud Composer components may
        * undergo maintenance. It is defined so that maintenance is not executed
    @@ -483,16 +339,11 @@ public interface EnvironmentConfigOrBuilder
        * maintenance at any time.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindowOrBuilder - getMaintenanceWindowOrBuilder(); + com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindowOrBuilder getMaintenanceWindowOrBuilder(); /** - * - * *
        * Optional. The workloads configuration settings for the GKE cluster associated with
        * the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web
    @@ -501,16 +352,11 @@ public interface EnvironmentConfigOrBuilder
        * composer-2.*.*-airflow-*.*.* and newer.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the workloadsConfig field is set. */ boolean hasWorkloadsConfig(); /** - * - * *
        * Optional. The workloads configuration settings for the GKE cluster associated with
        * the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web
    @@ -519,16 +365,11 @@ public interface EnvironmentConfigOrBuilder
        * composer-2.*.*-airflow-*.*.* and newer.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL]; * @return The workloadsConfig. */ com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig getWorkloadsConfig(); /** - * - * *
        * Optional. The workloads configuration settings for the GKE cluster associated with
        * the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web
    @@ -537,44 +378,30 @@ public interface EnvironmentConfigOrBuilder
        * composer-2.*.*-airflow-*.*.* and newer.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfigOrBuilder - getWorkloadsConfigOrBuilder(); + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfigOrBuilder getWorkloadsConfigOrBuilder(); /** - * - * *
        * Optional. The size of the Cloud Composer environment.
        * This field is supported for Cloud Composer environments in versions
        * composer-2.*.*-airflow-*.*.* and newer.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize environment_size = 16 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize environment_size = 16 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for environmentSize. */ int getEnvironmentSizeValue(); /** - * - * *
        * Optional. The size of the Cloud Composer environment.
        * This field is supported for Cloud Composer environments in versions
        * composer-2.*.*-airflow-*.*.* and newer.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize environment_size = 16 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize environment_size = 16 [(.google.api.field_behavior) = OPTIONAL]; * @return The environmentSize. */ - com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize - getEnvironmentSize(); + com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize getEnvironmentSize(); } diff --git a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentOrBuilder.java similarity index 82% rename from proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentOrBuilder.java index a2e1763e..e14c125b 100644 --- a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentOrBuilder.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/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; -public interface EnvironmentOrBuilder - extends +public interface EnvironmentOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1beta1.Environment) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * The resource name of the environment, in the form:
        * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
    @@ -34,13 +16,10 @@ public interface EnvironmentOrBuilder
        * 
    * * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
        * The resource name of the environment, in the form:
        * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
    @@ -49,178 +28,134 @@ public interface EnvironmentOrBuilder
        * 
    * * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
        * Configuration parameters for this environment.
        * 
    * * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config = 2; - * * @return Whether the config field is set. */ boolean hasConfig(); /** - * - * *
        * Configuration parameters for this environment.
        * 
    * * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config = 2; - * * @return The config. */ com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig getConfig(); /** - * - * *
        * Configuration parameters for this environment.
        * 
    * * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config = 2; */ - com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfigOrBuilder - getConfigOrBuilder(); + com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfigOrBuilder getConfigOrBuilder(); /** - * - * *
        * Output only. The UUID (Universally Unique IDentifier) associated with this environment.
        * This value is generated when the environment is created.
        * 
    * * string uuid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uuid. */ java.lang.String getUuid(); /** - * - * *
        * Output only. The UUID (Universally Unique IDentifier) associated with this environment.
        * This value is generated when the environment is created.
        * 
    * * string uuid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uuid. */ - com.google.protobuf.ByteString getUuidBytes(); + com.google.protobuf.ByteString + getUuidBytes(); /** - * - * *
        * The current state of the environment.
        * 
    * * .google.cloud.orchestration.airflow.service.v1beta1.Environment.State state = 4; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
        * The current state of the environment.
        * 
    * * .google.cloud.orchestration.airflow.service.v1beta1.Environment.State state = 4; - * * @return The state. */ com.google.cloud.orchestration.airflow.service.v1beta1.Environment.State getState(); /** - * - * *
        * Output only. The time at which this environment was created.
        * 
    * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
        * Output only. The time at which this environment was created.
        * 
    * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
        * Output only. The time at which this environment was created.
        * 
    * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
        * Output only. The time at which this environment was last modified.
        * 
    * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
        * Output only. The time at which this environment was last modified.
        * 
    * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
        * Output only. The time at which this environment was last modified.
        * 
    * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
        * Optional. User-defined labels for this environment.
        * The labels map can contain no more than 64 entries. Entries of the labels
    @@ -235,8 +170,6 @@ public interface EnvironmentOrBuilder
        */
       int getLabelsCount();
       /**
    -   *
    -   *
        * 
        * Optional. User-defined labels for this environment.
        * The labels map can contain no more than 64 entries. Entries of the labels
    @@ -249,13 +182,15 @@ public interface EnvironmentOrBuilder
        *
        * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
        */
    -  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();
       /**
    -   *
    -   *
        * 
        * Optional. User-defined labels for this environment.
        * The labels map can contain no more than 64 entries. Entries of the labels
    @@ -268,10 +203,9 @@ public interface EnvironmentOrBuilder
        *
        * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
        */
    -  java.util.Map getLabelsMap();
    +  java.util.Map
    +  getLabelsMap();
       /**
    -   *
    -   *
        * 
        * Optional. User-defined labels for this environment.
        * The labels map can contain no more than 64 entries. Entries of the labels
    @@ -286,13 +220,11 @@ public interface EnvironmentOrBuilder
        */
     
       /* nullable */
    -  java.lang.String getLabelsOrDefault(
    +java.lang.String getLabelsOrDefault(
           java.lang.String key,
           /* nullable */
    -      java.lang.String defaultValue);
    +java.lang.String defaultValue);
       /**
    -   *
    -   *
        * 
        * Optional. User-defined labels for this environment.
        * The labels map can contain no more than 64 entries. Entries of the labels
    @@ -305,5 +237,7 @@ java.lang.String getLabelsOrDefault(
        *
        * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
        */
    -  java.lang.String getLabelsOrThrow(java.lang.String key);
    +
    +  java.lang.String getLabelsOrThrow(
    +      java.lang.String key);
     }
    diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsOuterClass.java b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsOuterClass.java
    new file mode 100644
    index 00000000..a5622a2c
    --- /dev/null
    +++ b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsOuterClass.java
    @@ -0,0 +1,621 @@
    +// Generated by the protocol buffer compiler.  DO NOT EDIT!
    +// source: google/cloud/orchestration/airflow/service/v1beta1/environments.proto
    +
    +package com.google.cloud.orchestration.airflow.service.v1beta1;
    +
    +public final class EnvironmentsOuterClass {
    +  private EnvironmentsOuterClass() {}
    +  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_orchestration_airflow_service_v1beta1_CreateEnvironmentRequest_descriptor;
    +  static final 
    +    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
    +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_CreateEnvironmentRequest_fieldAccessorTable;
    +  static final com.google.protobuf.Descriptors.Descriptor
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_GetEnvironmentRequest_descriptor;
    +  static final 
    +    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
    +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_GetEnvironmentRequest_fieldAccessorTable;
    +  static final com.google.protobuf.Descriptors.Descriptor
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsRequest_descriptor;
    +  static final 
    +    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
    +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsRequest_fieldAccessorTable;
    +  static final com.google.protobuf.Descriptors.Descriptor
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsResponse_descriptor;
    +  static final 
    +    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
    +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsResponse_fieldAccessorTable;
    +  static final com.google.protobuf.Descriptors.Descriptor
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_DeleteEnvironmentRequest_descriptor;
    +  static final 
    +    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
    +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_DeleteEnvironmentRequest_fieldAccessorTable;
    +  static final com.google.protobuf.Descriptors.Descriptor
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_UpdateEnvironmentRequest_descriptor;
    +  static final 
    +    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
    +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_UpdateEnvironmentRequest_fieldAccessorTable;
    +  static final com.google.protobuf.Descriptors.Descriptor
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_RestartWebServerRequest_descriptor;
    +  static final 
    +    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
    +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_RestartWebServerRequest_fieldAccessorTable;
    +  static final com.google.protobuf.Descriptors.Descriptor
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_EnvironmentConfig_descriptor;
    +  static final 
    +    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
    +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_EnvironmentConfig_fieldAccessorTable;
    +  static final com.google.protobuf.Descriptors.Descriptor
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_descriptor;
    +  static final 
    +    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
    +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_fieldAccessorTable;
    +  static final com.google.protobuf.Descriptors.Descriptor
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_AllowedIpRange_descriptor;
    +  static final 
    +    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
    +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_AllowedIpRange_fieldAccessorTable;
    +  static final com.google.protobuf.Descriptors.Descriptor
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_descriptor;
    +  static final 
    +    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
    +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_fieldAccessorTable;
    +  static final com.google.protobuf.Descriptors.Descriptor
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_AirflowConfigOverridesEntry_descriptor;
    +  static final 
    +    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
    +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_AirflowConfigOverridesEntry_fieldAccessorTable;
    +  static final com.google.protobuf.Descriptors.Descriptor
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_PypiPackagesEntry_descriptor;
    +  static final 
    +    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
    +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_PypiPackagesEntry_fieldAccessorTable;
    +  static final com.google.protobuf.Descriptors.Descriptor
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_EnvVariablesEntry_descriptor;
    +  static final 
    +    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
    +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_EnvVariablesEntry_fieldAccessorTable;
    +  static final com.google.protobuf.Descriptors.Descriptor
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_IPAllocationPolicy_descriptor;
    +  static final 
    +    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
    +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_IPAllocationPolicy_fieldAccessorTable;
    +  static final com.google.protobuf.Descriptors.Descriptor
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_NodeConfig_descriptor;
    +  static final 
    +    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
    +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_NodeConfig_fieldAccessorTable;
    +  static final com.google.protobuf.Descriptors.Descriptor
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateClusterConfig_descriptor;
    +  static final 
    +    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
    +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateClusterConfig_fieldAccessorTable;
    +  static final com.google.protobuf.Descriptors.Descriptor
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateEnvironmentConfig_descriptor;
    +  static final 
    +    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
    +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateEnvironmentConfig_fieldAccessorTable;
    +  static final com.google.protobuf.Descriptors.Descriptor
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_DatabaseConfig_descriptor;
    +  static final 
    +    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
    +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_DatabaseConfig_fieldAccessorTable;
    +  static final com.google.protobuf.Descriptors.Descriptor
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerConfig_descriptor;
    +  static final 
    +    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
    +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerConfig_fieldAccessorTable;
    +  static final com.google.protobuf.Descriptors.Descriptor
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_EncryptionConfig_descriptor;
    +  static final 
    +    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
    +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_EncryptionConfig_fieldAccessorTable;
    +  static final com.google.protobuf.Descriptors.Descriptor
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_MaintenanceWindow_descriptor;
    +  static final 
    +    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
    +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_MaintenanceWindow_fieldAccessorTable;
    +  static final com.google.protobuf.Descriptors.Descriptor
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_descriptor;
    +  static final 
    +    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
    +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_fieldAccessorTable;
    +  static final com.google.protobuf.Descriptors.Descriptor
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_SchedulerResource_descriptor;
    +  static final 
    +    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
    +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_SchedulerResource_fieldAccessorTable;
    +  static final com.google.protobuf.Descriptors.Descriptor
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WebServerResource_descriptor;
    +  static final 
    +    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
    +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WebServerResource_fieldAccessorTable;
    +  static final com.google.protobuf.Descriptors.Descriptor
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WorkerResource_descriptor;
    +  static final 
    +    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
    +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WorkerResource_fieldAccessorTable;
    +  static final com.google.protobuf.Descriptors.Descriptor
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_descriptor;
    +  static final 
    +    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
    +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_fieldAccessorTable;
    +  static final com.google.protobuf.Descriptors.Descriptor
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_LabelsEntry_descriptor;
    +  static final 
    +    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
    +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_LabelsEntry_fieldAccessorTable;
    +  static final com.google.protobuf.Descriptors.Descriptor
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeRequest_descriptor;
    +  static final 
    +    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
    +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeRequest_fieldAccessorTable;
    +  static final com.google.protobuf.Descriptors.Descriptor
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_descriptor;
    +  static final 
    +    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
    +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_fieldAccessorTable;
    +  static final com.google.protobuf.Descriptors.Descriptor
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_PypiDependenciesEntry_descriptor;
    +  static final 
    +    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
    +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_PypiDependenciesEntry_fieldAccessorTable;
    +
    +  public static com.google.protobuf.Descriptors.FileDescriptor
    +      getDescriptor() {
    +    return descriptor;
    +  }
    +  private static  com.google.protobuf.Descriptors.FileDescriptor
    +      descriptor;
    +  static {
    +    java.lang.String[] descriptorData = {
    +      "\nEgoogle/cloud/orchestration/airflow/ser" +
    +      "vice/v1beta1/environments.proto\0222google." +
    +      "cloud.orchestration.airflow.service.v1be" +
    +      "ta1\032\034google/api/annotations.proto\032\027googl" +
    +      "e/api/client.proto\032\037google/api/field_beh" +
    +      "avior.proto\032\031google/api/resource.proto\032#" +
    +      "google/longrunning/operations.proto\032 goo" +
    +      "gle/protobuf/field_mask.proto\032\037google/pr" +
    +      "otobuf/timestamp.proto\"\200\001\n\030CreateEnviron" +
    +      "mentRequest\022\016\n\006parent\030\001 \001(\t\022T\n\013environme" +
    +      "nt\030\002 \001(\0132?.google.cloud.orchestration.ai" +
    +      "rflow.service.v1beta1.Environment\"%\n\025Get" +
    +      "EnvironmentRequest\022\014\n\004name\030\001 \001(\t\"P\n\027List" +
    +      "EnvironmentsRequest\022\016\n\006parent\030\001 \001(\t\022\021\n\tp" +
    +      "age_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\212\001\n\030L" +
    +      "istEnvironmentsResponse\022U\n\014environments\030" +
    +      "\001 \003(\0132?.google.cloud.orchestration.airfl" +
    +      "ow.service.v1beta1.Environment\022\027\n\017next_p" +
    +      "age_token\030\002 \001(\t\"(\n\030DeleteEnvironmentRequ" +
    +      "est\022\014\n\004name\030\001 \001(\t\"\264\001\n\030UpdateEnvironmentR" +
    +      "equest\022\014\n\004name\030\002 \001(\t\022T\n\013environment\030\001 \001(" +
    +      "\0132?.google.cloud.orchestration.airflow.s" +
    +      "ervice.v1beta1.Environment\0224\n\013update_mas" +
    +      "k\030\003 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002" +
    +      "\"\'\n\027RestartWebServerRequest\022\014\n\004name\030\001 \001(" +
    +      "\t\"\232\n\n\021EnvironmentConfig\022\030\n\013gke_cluster\030\001" +
    +      " \001(\tB\003\340A\003\022\033\n\016dag_gcs_prefix\030\002 \001(\tB\003\340A\003\022\022" +
    +      "\n\nnode_count\030\003 \001(\005\022[\n\017software_config\030\004 " +
    +      "\001(\0132B.google.cloud.orchestration.airflow" +
    +      ".service.v1beta1.SoftwareConfig\022S\n\013node_" +
    +      "config\030\005 \001(\0132>.google.cloud.orchestratio" +
    +      "n.airflow.service.v1beta1.NodeConfig\022p\n\032" +
    +      "private_environment_config\030\007 \001(\0132L.googl" +
    +      "e.cloud.orchestration.airflow.service.v1" +
    +      "beta1.PrivateEnvironmentConfig\022\201\001\n!web_s" +
    +      "erver_network_access_control\030\t \001(\0132Q.goo" +
    +      "gle.cloud.orchestration.airflow.service." +
    +      "v1beta1.WebServerNetworkAccessControlB\003\340" +
    +      "A\001\022`\n\017database_config\030\n \001(\0132B.google.clo" +
    +      "ud.orchestration.airflow.service.v1beta1" +
    +      ".DatabaseConfigB\003\340A\001\022c\n\021web_server_confi" +
    +      "g\030\013 \001(\0132C.google.cloud.orchestration.air" +
    +      "flow.service.v1beta1.WebServerConfigB\003\340A" +
    +      "\001\022\030\n\013airflow_uri\030\006 \001(\tB\003\340A\003\022d\n\021encryptio" +
    +      "n_config\030\014 \001(\0132D.google.cloud.orchestrat" +
    +      "ion.airflow.service.v1beta1.EncryptionCo" +
    +      "nfigB\003\340A\001\022f\n\022maintenance_window\030\r \001(\0132E." +
    +      "google.cloud.orchestration.airflow.servi" +
    +      "ce.v1beta1.MaintenanceWindowB\003\340A\001\022b\n\020wor" +
    +      "kloads_config\030\017 \001(\0132C.google.cloud.orche" +
    +      "stration.airflow.service.v1beta1.Workloa" +
    +      "dsConfigB\003\340A\001\022t\n\020environment_size\030\020 \001(\0162" +
    +      "U.google.cloud.orchestration.airflow.ser" +
    +      "vice.v1beta1.EnvironmentConfig.Environme" +
    +      "ntSizeB\003\340A\001\"\210\001\n\017EnvironmentSize\022 \n\034ENVIR" +
    +      "ONMENT_SIZE_UNSPECIFIED\020\000\022\032\n\026ENVIRONMENT" +
    +      "_SIZE_SMALL\020\001\022\033\n\027ENVIRONMENT_SIZE_MEDIUM" +
    +      "\020\002\022\032\n\026ENVIRONMENT_SIZE_LARGE\020\003\"\327\001\n\035WebSe" +
    +      "rverNetworkAccessControl\022{\n\021allowed_ip_r" +
    +      "anges\030\001 \003(\0132`.google.cloud.orchestration" +
    +      ".airflow.service.v1beta1.WebServerNetwor" +
    +      "kAccessControl.AllowedIpRange\0329\n\016Allowed" +
    +      "IpRange\022\r\n\005value\030\001 \001(\t\022\030\n\013description\030\002 " +
    +      "\001(\tB\003\340A\001\"\331\004\n\016SoftwareConfig\022\025\n\rimage_ver" +
    +      "sion\030\001 \001(\t\022\205\001\n\030airflow_config_overrides\030" +
    +      "\002 \003(\0132^.google.cloud.orchestration.airfl" +
    +      "ow.service.v1beta1.SoftwareConfig.Airflo" +
    +      "wConfigOverridesEntryB\003\340A\001\022p\n\rpypi_packa" +
    +      "ges\030\003 \003(\0132T.google.cloud.orchestration.a" +
    +      "irflow.service.v1beta1.SoftwareConfig.Py" +
    +      "piPackagesEntryB\003\340A\001\022p\n\renv_variables\030\004 " +
    +      "\003(\0132T.google.cloud.orchestration.airflow" +
    +      ".service.v1beta1.SoftwareConfig.EnvVaria" +
    +      "blesEntryB\003\340A\001\022\033\n\016python_version\030\006 \001(\tB\003" +
    +      "\340A\001\032=\n\033AirflowConfigOverridesEntry\022\013\n\003ke" +
    +      "y\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\0323\n\021PypiPackag" +
    +      "esEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032" +
    +      "3\n\021EnvVariablesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005val" +
    +      "ue\030\002 \001(\t:\0028\001\"\325\001\n\022IPAllocationPolicy\022\033\n\016u" +
    +      "se_ip_aliases\030\001 \001(\010B\003\340A\001\022)\n\034cluster_seco" +
    +      "ndary_range_name\030\002 \001(\tB\003\340A\001\022*\n\035services_" +
    +      "secondary_range_name\030\003 \001(\tB\003\340A\001\022$\n\027clust" +
    +      "er_ipv4_cidr_block\030\004 \001(\tB\003\340A\001\022%\n\030service" +
    +      "s_ipv4_cidr_block\030\005 \001(\tB\003\340A\001\"\337\002\n\nNodeCon" +
    +      "fig\022\025\n\010location\030\001 \001(\tB\003\340A\001\022\031\n\014machine_ty" +
    +      "pe\030\002 \001(\tB\003\340A\001\022\024\n\007network\030\003 \001(\tB\003\340A\001\022\027\n\ns" +
    +      "ubnetwork\030\004 \001(\tB\003\340A\001\022\031\n\014disk_size_gb\030\005 \001" +
    +      "(\005B\003\340A\001\022\031\n\014oauth_scopes\030\006 \003(\tB\003\340A\001\022\034\n\017se" +
    +      "rvice_account\030\007 \001(\tB\003\340A\001\022\021\n\004tags\030\010 \003(\tB\003" +
    +      "\340A\001\022i\n\024ip_allocation_policy\030\t \001(\0132F.goog" +
    +      "le.cloud.orchestration.airflow.service.v" +
    +      "1beta1.IPAllocationPolicyB\003\340A\001\022\036\n\021max_po" +
    +      "ds_per_node\030\n \001(\005B\003\340A\001\"\212\001\n\024PrivateCluste" +
    +      "rConfig\022$\n\027enable_private_endpoint\030\001 \001(\010" +
    +      "B\003\340A\001\022#\n\026master_ipv4_cidr_block\030\002 \001(\tB\003\340" +
    +      "A\001\022\'\n\032master_ipv4_reserved_range\030\003 \001(\tB\003" +
    +      "\340A\003\"\236\003\n\030PrivateEnvironmentConfig\022\'\n\032enab" +
    +      "le_private_environment\030\001 \001(\010B\003\340A\001\022m\n\026pri" +
    +      "vate_cluster_config\030\002 \001(\0132H.google.cloud" +
    +      ".orchestration.airflow.service.v1beta1.P" +
    +      "rivateClusterConfigB\003\340A\001\022\'\n\032web_server_i" +
    +      "pv4_cidr_block\030\003 \001(\tB\003\340A\001\022&\n\031cloud_sql_i" +
    +      "pv4_cidr_block\030\004 \001(\tB\003\340A\001\022+\n\036web_server_" +
    +      "ipv4_reserved_range\030\005 \001(\tB\003\340A\003\0223\n&cloud_" +
    +      "composer_network_ipv4_cidr_block\030\007 \001(\tB\003" +
    +      "\340A\001\0227\n*cloud_composer_network_ipv4_reser" +
    +      "ved_range\030\010 \001(\tB\003\340A\003\"+\n\016DatabaseConfig\022\031" +
    +      "\n\014machine_type\030\001 \001(\tB\003\340A\001\",\n\017WebServerCo" +
    +      "nfig\022\031\n\014machine_type\030\001 \001(\tB\003\340A\001\"-\n\020Encry" +
    +      "ptionConfig\022\031\n\014kms_key_name\030\001 \001(\tB\003\340A\001\"\224" +
    +      "\001\n\021MaintenanceWindow\0223\n\nstart_time\030\001 \001(\013" +
    +      "2\032.google.protobuf.TimestampB\003\340A\002\0221\n\010end" +
    +      "_time\030\002 \001(\0132\032.google.protobuf.TimestampB" +
    +      "\003\340A\002\022\027\n\nrecurrence\030\003 \001(\tB\003\340A\002\"\243\005\n\017Worklo" +
    +      "adsConfig\022m\n\tscheduler\030\001 \001(\0132U.google.cl" +
    +      "oud.orchestration.airflow.service.v1beta" +
    +      "1.WorkloadsConfig.SchedulerResourceB\003\340A\001" +
    +      "\022n\n\nweb_server\030\002 \001(\0132U.google.cloud.orch" +
    +      "estration.airflow.service.v1beta1.Worklo" +
    +      "adsConfig.WebServerResourceB\003\340A\001\022g\n\006work" +
    +      "er\030\003 \001(\0132R.google.cloud.orchestration.ai" +
    +      "rflow.service.v1beta1.WorkloadsConfig.Wo" +
    +      "rkerResourceB\003\340A\001\032j\n\021SchedulerResource\022\020" +
    +      "\n\003cpu\030\001 \001(\002B\003\340A\001\022\026\n\tmemory_gb\030\002 \001(\002B\003\340A\001" +
    +      "\022\027\n\nstorage_gb\030\003 \001(\002B\003\340A\001\022\022\n\005count\030\004 \001(\005" +
    +      "B\003\340A\001\032V\n\021WebServerResource\022\020\n\003cpu\030\001 \001(\002B" +
    +      "\003\340A\001\022\026\n\tmemory_gb\030\002 \001(\002B\003\340A\001\022\027\n\nstorage_" +
    +      "gb\030\003 \001(\002B\003\340A\001\032\203\001\n\016WorkerResource\022\020\n\003cpu\030" +
    +      "\001 \001(\002B\003\340A\001\022\026\n\tmemory_gb\030\002 \001(\002B\003\340A\001\022\027\n\nst" +
    +      "orage_gb\030\003 \001(\002B\003\340A\001\022\026\n\tmin_count\030\004 \001(\005B\003" +
    +      "\340A\001\022\026\n\tmax_count\030\005 \001(\005B\003\340A\001\"\250\005\n\013Environm" +
    +      "ent\022\014\n\004name\030\001 \001(\t\022U\n\006config\030\002 \001(\0132E.goog" +
    +      "le.cloud.orchestration.airflow.service.v" +
    +      "1beta1.EnvironmentConfig\022\021\n\004uuid\030\003 \001(\tB\003" +
    +      "\340A\003\022T\n\005state\030\004 \001(\0162E.google.cloud.orches" +
    +      "tration.airflow.service.v1beta1.Environm" +
    +      "ent.State\0224\n\013create_time\030\005 \001(\0132\032.google." +
    +      "protobuf.TimestampB\003\340A\003\0224\n\013update_time\030\006" +
    +      " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022`\n" +
    +      "\006labels\030\007 \003(\0132K.google.cloud.orchestrati" +
    +      "on.airflow.service.v1beta1.Environment.L" +
    +      "abelsEntryB\003\340A\001\032-\n\013LabelsEntry\022\013\n\003key\030\001 " +
    +      "\001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"`\n\005State\022\025\n\021STATE" +
    +      "_UNSPECIFIED\020\000\022\014\n\010CREATING\020\001\022\013\n\007RUNNING\020" +
    +      "\002\022\014\n\010UPDATING\020\003\022\014\n\010DELETING\020\004\022\t\n\005ERROR\020\005" +
    +      ":l\352Ai\n#composer.googleapis.com/Environme" +
    +      "nt\022Bprojects/{project}/locations/{locati" +
    +      "on}/environments/{environment}\"A\n\023CheckU" +
    +      "pgradeRequest\022\023\n\013environment\030\001 \001(\t\022\025\n\rim" +
    +      "age_version\030\002 \001(\t\"\204\004\n\024CheckUpgradeRespon" +
    +      "se\022\032\n\rbuild_log_uri\030\001 \001(\tB\003\340A\003\022\204\001\n\036conta" +
    +      "ins_pypi_modules_conflict\030\004 \001(\0162W.google" +
    +      ".cloud.orchestration.airflow.service.v1b" +
    +      "eta1.CheckUpgradeResponse.ConflictResult" +
    +      "B\003\340A\003\022,\n\037pypi_conflict_build_log_extract" +
    +      "\030\003 \001(\tB\003\340A\003\022\025\n\rimage_version\030\005 \001(\t\022y\n\021py" +
    +      "pi_dependencies\030\006 \003(\0132^.google.cloud.orc" +
    +      "hestration.airflow.service.v1beta1.Check" +
    +      "UpgradeResponse.PypiDependenciesEntry\0327\n" +
    +      "\025PypiDependenciesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005v" +
    +      "alue\030\002 \001(\t:\0028\001\"P\n\016ConflictResult\022\037\n\033CONF" +
    +      "LICT_RESULT_UNSPECIFIED\020\000\022\014\n\010CONFLICT\020\001\022" +
    +      "\017\n\013NO_CONFLICT\020\0022\360\020\n\014Environments\022\270\002\n\021Cr" +
    +      "eateEnvironment\022L.google.cloud.orchestra" +
    +      "tion.airflow.service.v1beta1.CreateEnvir" +
    +      "onmentRequest\032\035.google.longrunning.Opera" +
    +      "tion\"\265\001\202\323\344\223\002D\"5/v1beta1/{parent=projects" +
    +      "/*/locations/*}/environments:\013environmen" +
    +      "t\332A\022parent,environment\312AS\n\013Environment\022D" +
    +      "google.cloud.orchestration.airflow.servi" +
    +      "ce.v1beta1.OperationMetadata\022\342\001\n\016GetEnvi" +
    +      "ronment\022I.google.cloud.orchestration.air" +
    +      "flow.service.v1beta1.GetEnvironmentReque" +
    +      "st\032?.google.cloud.orchestration.airflow." +
    +      "service.v1beta1.Environment\"D\202\323\344\223\0027\0225/v1" +
    +      "beta1/{name=projects/*/locations/*/envir" +
    +      "onments/*}\332A\004name\022\365\001\n\020ListEnvironments\022K" +
    +      ".google.cloud.orchestration.airflow.serv" +
    +      "ice.v1beta1.ListEnvironmentsRequest\032L.go" +
    +      "ogle.cloud.orchestration.airflow.service" +
    +      ".v1beta1.ListEnvironmentsResponse\"F\202\323\344\223\002" +
    +      "7\0225/v1beta1/{parent=projects/*/locations" +
    +      "/*}/environments\332A\006parent\022\302\002\n\021UpdateEnvi" +
    +      "ronment\022L.google.cloud.orchestration.air" +
    +      "flow.service.v1beta1.UpdateEnvironmentRe" +
    +      "quest\032\035.google.longrunning.Operation\"\277\001\202" +
    +      "\323\344\223\002D25/v1beta1/{name=projects/*/locatio" +
    +      "ns/*/environments/*}:\013environment\332A\034name" +
    +      ",environment,update_mask\312AS\n\013Environment" +
    +      "\022Dgoogle.cloud.orchestration.airflow.ser" +
    +      "vice.v1beta1.OperationMetadata\022\247\002\n\021Delet" +
    +      "eEnvironment\022L.google.cloud.orchestratio" +
    +      "n.airflow.service.v1beta1.DeleteEnvironm" +
    +      "entRequest\032\035.google.longrunning.Operatio" +
    +      "n\"\244\001\202\323\344\223\0027*5/v1beta1/{name=projects/*/lo" +
    +      "cations/*/environments/*}\332A\004name\312A]\n\025goo" +
    +      "gle.protobuf.Empty\022Dgoogle.cloud.orchest" +
    +      "ration.airflow.service.v1beta1.Operation" +
    +      "Metadata\022\250\002\n\020RestartWebServer\022K.google.c" +
    +      "loud.orchestration.airflow.service.v1bet" +
    +      "a1.RestartWebServerRequest\032\035.google.long" +
    +      "running.Operation\"\247\001\202\323\344\223\002K\"F/v1beta1/{na" +
    +      "me=projects/*/locations/*/environments/*" +
    +      "}:restartWebServer:\001*\312AS\n\013Environment\022Dg" +
    +      "oogle.cloud.orchestration.airflow.servic" +
    +      "e.v1beta1.OperationMetadata\022\340\002\n\014CheckUpg" +
    +      "rade\022G.google.cloud.orchestration.airflo" +
    +      "w.service.v1beta1.CheckUpgradeRequest\032\035." +
    +      "google.longrunning.Operation\"\347\001\202\323\344\223\002N\"I/" +
    +      "v1beta1/{environment=projects/*/location" +
    +      "s/*/environments/*}:checkUpgrade:\001*\312A\217\001\n" +
    +      "Ggoogle.cloud.orchestration.airflow.serv" +
    +      "ice.v1beta1.CheckUpgradeResponse\022Dgoogle" +
    +      ".cloud.orchestration.airflow.service.v1b" +
    +      "eta1.OperationMetadata\032K\312A\027composer.goog" +
    +      "leapis.com\322A.https://www.googleapis.com/" +
    +      "auth/cloud-platformB\225\001\n6com.google.cloud" +
    +      ".orchestration.airflow.service.v1beta1P\001" +
    +      "ZYgoogle.golang.org/genproto/googleapis/" +
    +      "cloud/orchestration/airflow/service/v1be" +
    +      "ta1;serviceb\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.longrunning.OperationsProto.getDescriptor(),
    +          com.google.protobuf.FieldMaskProto.getDescriptor(),
    +          com.google.protobuf.TimestampProto.getDescriptor(),
    +        });
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_CreateEnvironmentRequest_descriptor =
    +      getDescriptor().getMessageTypes().get(0);
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_CreateEnvironmentRequest_fieldAccessorTable = new
    +      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
    +        internal_static_google_cloud_orchestration_airflow_service_v1beta1_CreateEnvironmentRequest_descriptor,
    +        new java.lang.String[] { "Parent", "Environment", });
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_GetEnvironmentRequest_descriptor =
    +      getDescriptor().getMessageTypes().get(1);
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_GetEnvironmentRequest_fieldAccessorTable = new
    +      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
    +        internal_static_google_cloud_orchestration_airflow_service_v1beta1_GetEnvironmentRequest_descriptor,
    +        new java.lang.String[] { "Name", });
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsRequest_descriptor =
    +      getDescriptor().getMessageTypes().get(2);
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsRequest_fieldAccessorTable = new
    +      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
    +        internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsRequest_descriptor,
    +        new java.lang.String[] { "Parent", "PageSize", "PageToken", });
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsResponse_descriptor =
    +      getDescriptor().getMessageTypes().get(3);
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsResponse_fieldAccessorTable = new
    +      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
    +        internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsResponse_descriptor,
    +        new java.lang.String[] { "Environments", "NextPageToken", });
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_DeleteEnvironmentRequest_descriptor =
    +      getDescriptor().getMessageTypes().get(4);
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_DeleteEnvironmentRequest_fieldAccessorTable = new
    +      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
    +        internal_static_google_cloud_orchestration_airflow_service_v1beta1_DeleteEnvironmentRequest_descriptor,
    +        new java.lang.String[] { "Name", });
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_UpdateEnvironmentRequest_descriptor =
    +      getDescriptor().getMessageTypes().get(5);
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_UpdateEnvironmentRequest_fieldAccessorTable = new
    +      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
    +        internal_static_google_cloud_orchestration_airflow_service_v1beta1_UpdateEnvironmentRequest_descriptor,
    +        new java.lang.String[] { "Name", "Environment", "UpdateMask", });
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_RestartWebServerRequest_descriptor =
    +      getDescriptor().getMessageTypes().get(6);
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_RestartWebServerRequest_fieldAccessorTable = new
    +      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
    +        internal_static_google_cloud_orchestration_airflow_service_v1beta1_RestartWebServerRequest_descriptor,
    +        new java.lang.String[] { "Name", });
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_EnvironmentConfig_descriptor =
    +      getDescriptor().getMessageTypes().get(7);
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_EnvironmentConfig_fieldAccessorTable = new
    +      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
    +        internal_static_google_cloud_orchestration_airflow_service_v1beta1_EnvironmentConfig_descriptor,
    +        new java.lang.String[] { "GkeCluster", "DagGcsPrefix", "NodeCount", "SoftwareConfig", "NodeConfig", "PrivateEnvironmentConfig", "WebServerNetworkAccessControl", "DatabaseConfig", "WebServerConfig", "AirflowUri", "EncryptionConfig", "MaintenanceWindow", "WorkloadsConfig", "EnvironmentSize", });
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_descriptor =
    +      getDescriptor().getMessageTypes().get(8);
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_fieldAccessorTable = new
    +      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
    +        internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_descriptor,
    +        new java.lang.String[] { "AllowedIpRanges", });
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_AllowedIpRange_descriptor =
    +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_descriptor.getNestedTypes().get(0);
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_AllowedIpRange_fieldAccessorTable = new
    +      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
    +        internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_AllowedIpRange_descriptor,
    +        new java.lang.String[] { "Value", "Description", });
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_descriptor =
    +      getDescriptor().getMessageTypes().get(9);
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_fieldAccessorTable = new
    +      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
    +        internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_descriptor,
    +        new java.lang.String[] { "ImageVersion", "AirflowConfigOverrides", "PypiPackages", "EnvVariables", "PythonVersion", });
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_AirflowConfigOverridesEntry_descriptor =
    +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_descriptor.getNestedTypes().get(0);
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_AirflowConfigOverridesEntry_fieldAccessorTable = new
    +      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
    +        internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_AirflowConfigOverridesEntry_descriptor,
    +        new java.lang.String[] { "Key", "Value", });
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_PypiPackagesEntry_descriptor =
    +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_descriptor.getNestedTypes().get(1);
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_PypiPackagesEntry_fieldAccessorTable = new
    +      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
    +        internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_PypiPackagesEntry_descriptor,
    +        new java.lang.String[] { "Key", "Value", });
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_EnvVariablesEntry_descriptor =
    +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_descriptor.getNestedTypes().get(2);
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_EnvVariablesEntry_fieldAccessorTable = new
    +      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
    +        internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_EnvVariablesEntry_descriptor,
    +        new java.lang.String[] { "Key", "Value", });
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_IPAllocationPolicy_descriptor =
    +      getDescriptor().getMessageTypes().get(10);
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_IPAllocationPolicy_fieldAccessorTable = new
    +      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
    +        internal_static_google_cloud_orchestration_airflow_service_v1beta1_IPAllocationPolicy_descriptor,
    +        new java.lang.String[] { "UseIpAliases", "ClusterSecondaryRangeName", "ServicesSecondaryRangeName", "ClusterIpv4CidrBlock", "ServicesIpv4CidrBlock", });
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_NodeConfig_descriptor =
    +      getDescriptor().getMessageTypes().get(11);
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_NodeConfig_fieldAccessorTable = new
    +      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
    +        internal_static_google_cloud_orchestration_airflow_service_v1beta1_NodeConfig_descriptor,
    +        new java.lang.String[] { "Location", "MachineType", "Network", "Subnetwork", "DiskSizeGb", "OauthScopes", "ServiceAccount", "Tags", "IpAllocationPolicy", "MaxPodsPerNode", });
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateClusterConfig_descriptor =
    +      getDescriptor().getMessageTypes().get(12);
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateClusterConfig_fieldAccessorTable = new
    +      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
    +        internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateClusterConfig_descriptor,
    +        new java.lang.String[] { "EnablePrivateEndpoint", "MasterIpv4CidrBlock", "MasterIpv4ReservedRange", });
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateEnvironmentConfig_descriptor =
    +      getDescriptor().getMessageTypes().get(13);
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateEnvironmentConfig_fieldAccessorTable = new
    +      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
    +        internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateEnvironmentConfig_descriptor,
    +        new java.lang.String[] { "EnablePrivateEnvironment", "PrivateClusterConfig", "WebServerIpv4CidrBlock", "CloudSqlIpv4CidrBlock", "WebServerIpv4ReservedRange", "CloudComposerNetworkIpv4CidrBlock", "CloudComposerNetworkIpv4ReservedRange", });
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_DatabaseConfig_descriptor =
    +      getDescriptor().getMessageTypes().get(14);
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_DatabaseConfig_fieldAccessorTable = new
    +      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
    +        internal_static_google_cloud_orchestration_airflow_service_v1beta1_DatabaseConfig_descriptor,
    +        new java.lang.String[] { "MachineType", });
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerConfig_descriptor =
    +      getDescriptor().getMessageTypes().get(15);
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerConfig_fieldAccessorTable = new
    +      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
    +        internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerConfig_descriptor,
    +        new java.lang.String[] { "MachineType", });
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_EncryptionConfig_descriptor =
    +      getDescriptor().getMessageTypes().get(16);
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_EncryptionConfig_fieldAccessorTable = new
    +      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
    +        internal_static_google_cloud_orchestration_airflow_service_v1beta1_EncryptionConfig_descriptor,
    +        new java.lang.String[] { "KmsKeyName", });
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_MaintenanceWindow_descriptor =
    +      getDescriptor().getMessageTypes().get(17);
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_MaintenanceWindow_fieldAccessorTable = new
    +      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
    +        internal_static_google_cloud_orchestration_airflow_service_v1beta1_MaintenanceWindow_descriptor,
    +        new java.lang.String[] { "StartTime", "EndTime", "Recurrence", });
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_descriptor =
    +      getDescriptor().getMessageTypes().get(18);
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_fieldAccessorTable = new
    +      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
    +        internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_descriptor,
    +        new java.lang.String[] { "Scheduler", "WebServer", "Worker", });
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_SchedulerResource_descriptor =
    +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_descriptor.getNestedTypes().get(0);
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_SchedulerResource_fieldAccessorTable = new
    +      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
    +        internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_SchedulerResource_descriptor,
    +        new java.lang.String[] { "Cpu", "MemoryGb", "StorageGb", "Count", });
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WebServerResource_descriptor =
    +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_descriptor.getNestedTypes().get(1);
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WebServerResource_fieldAccessorTable = new
    +      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
    +        internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WebServerResource_descriptor,
    +        new java.lang.String[] { "Cpu", "MemoryGb", "StorageGb", });
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WorkerResource_descriptor =
    +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_descriptor.getNestedTypes().get(2);
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WorkerResource_fieldAccessorTable = new
    +      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
    +        internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WorkerResource_descriptor,
    +        new java.lang.String[] { "Cpu", "MemoryGb", "StorageGb", "MinCount", "MaxCount", });
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_descriptor =
    +      getDescriptor().getMessageTypes().get(19);
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_fieldAccessorTable = new
    +      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
    +        internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_descriptor,
    +        new java.lang.String[] { "Name", "Config", "Uuid", "State", "CreateTime", "UpdateTime", "Labels", });
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_LabelsEntry_descriptor =
    +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_descriptor.getNestedTypes().get(0);
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_LabelsEntry_fieldAccessorTable = new
    +      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
    +        internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_LabelsEntry_descriptor,
    +        new java.lang.String[] { "Key", "Value", });
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeRequest_descriptor =
    +      getDescriptor().getMessageTypes().get(20);
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeRequest_fieldAccessorTable = new
    +      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
    +        internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeRequest_descriptor,
    +        new java.lang.String[] { "Environment", "ImageVersion", });
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_descriptor =
    +      getDescriptor().getMessageTypes().get(21);
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_fieldAccessorTable = new
    +      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
    +        internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_descriptor,
    +        new java.lang.String[] { "BuildLogUri", "ContainsPypiModulesConflict", "PypiConflictBuildLogExtract", "ImageVersion", "PypiDependencies", });
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_PypiDependenciesEntry_descriptor =
    +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_descriptor.getNestedTypes().get(0);
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_PypiDependenciesEntry_fieldAccessorTable = new
    +      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
    +        internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_PypiDependenciesEntry_descriptor,
    +        new java.lang.String[] { "Key", "Value", });
    +    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.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.longrunning.OperationsProto.getDescriptor();
    +    com.google.protobuf.FieldMaskProto.getDescriptor();
    +    com.google.protobuf.TimestampProto.getDescriptor();
    +  }
    +
    +  // @@protoc_insertion_point(outer_class_scope)
    +}
    diff --git a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/GetEnvironmentRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/GetEnvironmentRequest.java
    similarity index 58%
    rename from proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/GetEnvironmentRequest.java
    rename to owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/GetEnvironmentRequest.java
    index ae3e71a3..e5ceb5de 100644
    --- a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/GetEnvironmentRequest.java
    +++ b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/GetEnvironmentRequest.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/orchestration/airflow/service/v1beta1/environments.proto
     
     package com.google.cloud.orchestration.airflow.service.v1beta1;
     
     /**
    - *
    - *
      * 
      * Get an environment.
      * 
    * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest} */ -public final class GetEnvironmentRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetEnvironmentRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest) GetEnvironmentRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetEnvironmentRequest.newBuilder() to construct. private GetEnvironmentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetEnvironmentRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetEnvironmentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetEnvironmentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetEnvironmentRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,35 @@ private GetEnvironmentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_GetEnvironmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_GetEnvironmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_GetEnvironmentRequest_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_GetEnvironmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest.class, - com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest.Builder - .class); + com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest.class, com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
        * The resource name of the environment to get, in the form:
        * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
        * 
    * * string name = 1; - * * @return The name. */ @java.lang.Override @@ -134,30 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
        * The resource name of the environment to get, in the form:
        * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
        * 
    * * 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 { @@ -166,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -178,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -202,16 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest)) { + if (!(obj instanceof com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest other = - (com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest) obj; + com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest other = (com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -230,152 +205,135 @@ public int hashCode() { return hash; } - public static com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest - 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.orchestration.airflow.service.v1beta1.GetEnvironmentRequest 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.orchestration.airflow.service.v1beta1.GetEnvironmentRequest - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest prototype) { + public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
        * Get an environment.
        * 
    * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest) com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_GetEnvironmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_GetEnvironmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_GetEnvironmentRequest_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_GetEnvironmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest.class, - com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest.Builder - .class); + com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest.class, com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest.Builder.class); } - // Construct using - // com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest.newBuilder() + // Construct using com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -385,22 +343,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_GetEnvironmentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_GetEnvironmentRequest_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest - getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest - .getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest.getDefaultInstance(); } @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest build() { - com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest result = - buildPartial(); + com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -408,10 +363,8 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequ } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest - buildPartial() { - com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest result = - new com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest(this); + public com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest buildPartial() { + com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest result = new com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest(this); result.name_ = name_; onBuilt(); return result; @@ -421,52 +374,46 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequ public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest) { - return mergeFrom( - (com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest) other); + if (other instanceof com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest) { + return mergeFrom((com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest other) { - if (other - == com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest other) { + if (other == com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -486,14 +433,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest parsedMessage = - null; + com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -505,21 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
          * The resource name of the environment to get, in the form:
          * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
          * 
    * * 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; @@ -528,22 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
          * The resource name of the environment to get, in the form:
          * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
          * 
    * * 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 { @@ -551,71 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
          * The resource name of the environment to get, in the form:
          * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
          * 
    * * 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 resource name of the environment to get, in the form:
          * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
          * 
    * * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
          * The resource name of the environment to get, in the form:
          * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
          * 
    * * 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); } @@ -625,33 +559,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest) - private static final com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest(); + DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest(); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest - getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetEnvironmentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetEnvironmentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetEnvironmentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetEnvironmentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -663,8 +594,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest - getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/GetEnvironmentRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/GetEnvironmentRequestOrBuilder.java similarity index 55% rename from proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/GetEnvironmentRequestOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/GetEnvironmentRequestOrBuilder.java index 64bc4b40..a96b4a41 100644 --- a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/GetEnvironmentRequestOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/GetEnvironmentRequestOrBuilder.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/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; -public interface GetEnvironmentRequestOrBuilder - extends +public interface GetEnvironmentRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * The resource name of the environment to get, in the form:
        * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
        * 
    * * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
        * The resource name of the environment to get, in the form:
        * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
        * 
    * * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/IPAllocationPolicy.java b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/IPAllocationPolicy.java similarity index 75% rename from proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/IPAllocationPolicy.java rename to owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/IPAllocationPolicy.java index e0ff2a31..f71a005f 100644 --- a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/IPAllocationPolicy.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/IPAllocationPolicy.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/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; /** - * - * *
      * Configuration for controlling how IPs are allocated in the
      * GKE cluster.
    @@ -28,16 +11,15 @@
      *
      * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy}
      */
    -public final class IPAllocationPolicy extends com.google.protobuf.GeneratedMessageV3
    -    implements
    +public final class IPAllocationPolicy extends
    +    com.google.protobuf.GeneratedMessageV3 implements
         // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy)
         IPAllocationPolicyOrBuilder {
    -  private static final long serialVersionUID = 0L;
    +private static final long serialVersionUID = 0L;
       // Use IPAllocationPolicy.newBuilder() to construct.
       private IPAllocationPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
    -
       private IPAllocationPolicy() {
         clusterSecondaryRangeName_ = "";
         servicesSecondaryRangeName_ = "";
    @@ -47,15 +29,16 @@ private IPAllocationPolicy() {
     
       @java.lang.Override
       @SuppressWarnings({"unused"})
    -  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
    +  protected java.lang.Object newInstance(
    +      UnusedPrivateParameter unused) {
         return new IPAllocationPolicy();
       }
     
       @java.lang.Override
    -  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
    +  public final com.google.protobuf.UnknownFieldSet
    +  getUnknownFields() {
         return this.unknownFields;
       }
    -
       private IPAllocationPolicy(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    @@ -74,46 +57,42 @@ private IPAllocationPolicy(
               case 0:
                 done = true;
                 break;
    -          case 8:
    -            {
    -              useIpAliases_ = input.readBool();
    -              break;
    -            }
    -          case 18:
    -            {
    -              java.lang.String s = input.readStringRequireUtf8();
    +          case 8: {
     
    -              clusterSecondaryRangeName_ = s;
    -              break;
    -            }
    -          case 26:
    -            {
    -              java.lang.String s = input.readStringRequireUtf8();
    +            useIpAliases_ = input.readBool();
    +            break;
    +          }
    +          case 18: {
    +            java.lang.String s = input.readStringRequireUtf8();
     
    -              servicesSecondaryRangeName_ = s;
    -              break;
    -            }
    -          case 34:
    -            {
    -              java.lang.String s = input.readStringRequireUtf8();
    +            clusterSecondaryRangeName_ = s;
    +            break;
    +          }
    +          case 26: {
    +            java.lang.String s = input.readStringRequireUtf8();
     
    -              clusterIpv4CidrBlock_ = s;
    -              break;
    -            }
    -          case 42:
    -            {
    -              java.lang.String s = input.readStringRequireUtf8();
    +            servicesSecondaryRangeName_ = s;
    +            break;
    +          }
    +          case 34: {
    +            java.lang.String s = input.readStringRequireUtf8();
     
    -              servicesIpv4CidrBlock_ = s;
    -              break;
    -            }
    -          default:
    -            {
    -              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
    -                done = true;
    -              }
    -              break;
    +            clusterIpv4CidrBlock_ = s;
    +            break;
    +          }
    +          case 42: {
    +            java.lang.String s = input.readStringRequireUtf8();
    +
    +            servicesIpv4CidrBlock_ = s;
    +            break;
    +          }
    +          default: {
    +            if (!parseUnknownField(
    +                input, unknownFields, extensionRegistry, tag)) {
    +              done = true;
                 }
    +            break;
    +          }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
    @@ -121,41 +100,35 @@ private IPAllocationPolicy(
         } catch (com.google.protobuf.UninitializedMessageException e) {
           throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
    -      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
    +      throw new com.google.protobuf.InvalidProtocolBufferException(
    +          e).setUnfinishedMessage(this);
         } finally {
           this.unknownFields = unknownFields.build();
           makeExtensionsImmutable();
         }
       }
    -
    -  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    -    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
    -        .internal_static_google_cloud_orchestration_airflow_service_v1beta1_IPAllocationPolicy_descriptor;
    +  public static final com.google.protobuf.Descriptors.Descriptor
    +      getDescriptor() {
    +    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_IPAllocationPolicy_descriptor;
       }
     
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
    -    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
    -        .internal_static_google_cloud_orchestration_airflow_service_v1beta1_IPAllocationPolicy_fieldAccessorTable
    +    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_IPAllocationPolicy_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
    -            com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy.class,
    -            com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy.Builder
    -                .class);
    +            com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy.class, com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy.Builder.class);
       }
     
       public static final int USE_IP_ALIASES_FIELD_NUMBER = 1;
       private boolean useIpAliases_;
       /**
    -   *
    -   *
        * 
        * Optional. Whether or not to enable Alias IPs in the GKE cluster.
        * If `true`, a VPC-native cluster is created.
        * 
    * * bool use_ip_aliases = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The useIpAliases. */ @java.lang.Override @@ -166,8 +139,6 @@ public boolean getUseIpAliases() { public static final int CLUSTER_SECONDARY_RANGE_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object clusterSecondaryRangeName_; /** - * - * *
        * Optional. The name of the cluster's secondary range used to allocate
        * IP addresses to pods. Specify either `cluster_secondary_range_name`
    @@ -176,7 +147,6 @@ public boolean getUseIpAliases() {
        * 
    * * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The clusterSecondaryRangeName. */ @java.lang.Override @@ -185,15 +155,14 @@ public java.lang.String getClusterSecondaryRangeName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterSecondaryRangeName_ = s; return s; } } /** - * - * *
        * Optional. The name of the cluster's secondary range used to allocate
        * IP addresses to pods. Specify either `cluster_secondary_range_name`
    @@ -202,15 +171,16 @@ public java.lang.String getClusterSecondaryRangeName() {
        * 
    * * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for clusterSecondaryRangeName. */ @java.lang.Override - public com.google.protobuf.ByteString getClusterSecondaryRangeNameBytes() { + public com.google.protobuf.ByteString + getClusterSecondaryRangeNameBytes() { java.lang.Object ref = clusterSecondaryRangeName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterSecondaryRangeName_ = b; return b; } else { @@ -221,8 +191,6 @@ public com.google.protobuf.ByteString getClusterSecondaryRangeNameBytes() { public static final int SERVICES_SECONDARY_RANGE_NAME_FIELD_NUMBER = 3; private volatile java.lang.Object servicesSecondaryRangeName_; /** - * - * *
        * Optional. The name of the services' secondary range used to allocate
        * IP addresses to the cluster. Specify either `services_secondary_range_name`
    @@ -230,9 +198,7 @@ public com.google.protobuf.ByteString getClusterSecondaryRangeNameBytes() {
        * This field is applicable only when `use_ip_aliases` is true.
        * 
    * - * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The servicesSecondaryRangeName. */ @java.lang.Override @@ -241,15 +207,14 @@ public java.lang.String getServicesSecondaryRangeName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); servicesSecondaryRangeName_ = s; return s; } } /** - * - * *
        * Optional. The name of the services' secondary range used to allocate
        * IP addresses to the cluster. Specify either `services_secondary_range_name`
    @@ -257,17 +222,17 @@ public java.lang.String getServicesSecondaryRangeName() {
        * This field is applicable only when `use_ip_aliases` is true.
        * 
    * - * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The bytes for servicesSecondaryRangeName. */ @java.lang.Override - public com.google.protobuf.ByteString getServicesSecondaryRangeNameBytes() { + public com.google.protobuf.ByteString + getServicesSecondaryRangeNameBytes() { java.lang.Object ref = servicesSecondaryRangeName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); servicesSecondaryRangeName_ = b; return b; } else { @@ -278,8 +243,6 @@ public com.google.protobuf.ByteString getServicesSecondaryRangeNameBytes() { public static final int CLUSTER_IPV4_CIDR_BLOCK_FIELD_NUMBER = 4; private volatile java.lang.Object clusterIpv4CidrBlock_; /** - * - * *
        * Optional. The IP address range used to allocate IP addresses to pods in
        * the cluster.
    @@ -297,7 +260,6 @@ public com.google.protobuf.ByteString getServicesSecondaryRangeNameBytes() {
        * 
    * * string cluster_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The clusterIpv4CidrBlock. */ @java.lang.Override @@ -306,15 +268,14 @@ public java.lang.String getClusterIpv4CidrBlock() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterIpv4CidrBlock_ = s; return s; } } /** - * - * *
        * Optional. The IP address range used to allocate IP addresses to pods in
        * the cluster.
    @@ -332,15 +293,16 @@ public java.lang.String getClusterIpv4CidrBlock() {
        * 
    * * string cluster_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for clusterIpv4CidrBlock. */ @java.lang.Override - public com.google.protobuf.ByteString getClusterIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString + getClusterIpv4CidrBlockBytes() { java.lang.Object ref = clusterIpv4CidrBlock_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterIpv4CidrBlock_ = b; return b; } else { @@ -351,8 +313,6 @@ public com.google.protobuf.ByteString getClusterIpv4CidrBlockBytes() { public static final int SERVICES_IPV4_CIDR_BLOCK_FIELD_NUMBER = 5; private volatile java.lang.Object servicesIpv4CidrBlock_; /** - * - * *
        * Optional. The IP address range of the services IP addresses in this
        * cluster.
    @@ -370,7 +330,6 @@ public com.google.protobuf.ByteString getClusterIpv4CidrBlockBytes() {
        * 
    * * string services_ipv4_cidr_block = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The servicesIpv4CidrBlock. */ @java.lang.Override @@ -379,15 +338,14 @@ public java.lang.String getServicesIpv4CidrBlock() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); servicesIpv4CidrBlock_ = s; return s; } } /** - * - * *
        * Optional. The IP address range of the services IP addresses in this
        * cluster.
    @@ -405,15 +363,16 @@ public java.lang.String getServicesIpv4CidrBlock() {
        * 
    * * string services_ipv4_cidr_block = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for servicesIpv4CidrBlock. */ @java.lang.Override - public com.google.protobuf.ByteString getServicesIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString + getServicesIpv4CidrBlockBytes() { java.lang.Object ref = servicesIpv4CidrBlock_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); servicesIpv4CidrBlock_ = b; return b; } else { @@ -422,7 +381,6 @@ public com.google.protobuf.ByteString getServicesIpv4CidrBlockBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -434,7 +392,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 (useIpAliases_ != false) { output.writeBool(1, useIpAliases_); } @@ -460,15 +419,14 @@ public int getSerializedSize() { size = 0; if (useIpAliases_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, useIpAliases_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, useIpAliases_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterSecondaryRangeName_)) { - size += - com.google.protobuf.GeneratedMessageV3.computeStringSize(2, clusterSecondaryRangeName_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, clusterSecondaryRangeName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(servicesSecondaryRangeName_)) { - size += - com.google.protobuf.GeneratedMessageV3.computeStringSize(3, servicesSecondaryRangeName_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, servicesSecondaryRangeName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterIpv4CidrBlock_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, clusterIpv4CidrBlock_); @@ -484,21 +442,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.orchestration.airflow.service.v1beta1.IPAllocationPolicy)) { + if (!(obj instanceof com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy other = - (com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy) obj; - - if (getUseIpAliases() != other.getUseIpAliases()) return false; - if (!getClusterSecondaryRangeName().equals(other.getClusterSecondaryRangeName())) return false; - if (!getServicesSecondaryRangeName().equals(other.getServicesSecondaryRangeName())) - return false; - if (!getClusterIpv4CidrBlock().equals(other.getClusterIpv4CidrBlock())) return false; - if (!getServicesIpv4CidrBlock().equals(other.getServicesIpv4CidrBlock())) return false; + com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy other = (com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy) obj; + + if (getUseIpAliases() + != other.getUseIpAliases()) return false; + if (!getClusterSecondaryRangeName() + .equals(other.getClusterSecondaryRangeName())) return false; + if (!getServicesSecondaryRangeName() + .equals(other.getServicesSecondaryRangeName())) return false; + if (!getClusterIpv4CidrBlock() + .equals(other.getClusterIpv4CidrBlock())) return false; + if (!getServicesIpv4CidrBlock() + .equals(other.getServicesIpv4CidrBlock())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -511,7 +471,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + USE_IP_ALIASES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUseIpAliases()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getUseIpAliases()); hash = (37 * hash) + CLUSTER_SECONDARY_RANGE_NAME_FIELD_NUMBER; hash = (53 * hash) + getClusterSecondaryRangeName().hashCode(); hash = (37 * hash) + SERVICES_SECONDARY_RANGE_NAME_FIELD_NUMBER; @@ -526,105 +487,96 @@ public int hashCode() { } public static com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy 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.orchestration.airflow.service.v1beta1.IPAllocationPolicy parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy - 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.orchestration.airflow.service.v1beta1.IPAllocationPolicy 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.orchestration.airflow.service.v1beta1.IPAllocationPolicy parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy prototype) { + public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
        * Configuration for controlling how IPs are allocated in the
        * GKE cluster.
    @@ -632,41 +584,38 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
        *
        * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy}
        */
    -  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
    -      implements
    +  public static final class Builder extends
    +      com.google.protobuf.GeneratedMessageV3.Builder implements
           // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy)
           com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicyOrBuilder {
    -    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    -      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
    -          .internal_static_google_cloud_orchestration_airflow_service_v1beta1_IPAllocationPolicy_descriptor;
    +    public static final com.google.protobuf.Descriptors.Descriptor
    +        getDescriptor() {
    +      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_IPAllocationPolicy_descriptor;
         }
     
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
    -      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
    -          .internal_static_google_cloud_orchestration_airflow_service_v1beta1_IPAllocationPolicy_fieldAccessorTable
    +      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_IPAllocationPolicy_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
    -              com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy.class,
    -              com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy.Builder
    -                  .class);
    +              com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy.class, com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy.Builder.class);
         }
     
    -    // Construct using
    -    // com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy.newBuilder()
    +    // Construct using com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy.newBuilder()
         private Builder() {
           maybeForceBuilderInitialization();
         }
     
    -    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    +    private Builder(
    +        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
           super(parent);
           maybeForceBuilderInitialization();
         }
    -
         private void maybeForceBuilderInitialization() {
    -      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
    +      if (com.google.protobuf.GeneratedMessageV3
    +              .alwaysUseFieldBuilders) {
    +      }
         }
    -
         @java.lang.Override
         public Builder clear() {
           super.clear();
    @@ -684,22 +633,19 @@ public Builder clear() {
         }
     
         @java.lang.Override
    -    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
    -      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
    -          .internal_static_google_cloud_orchestration_airflow_service_v1beta1_IPAllocationPolicy_descriptor;
    +    public com.google.protobuf.Descriptors.Descriptor
    +        getDescriptorForType() {
    +      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_IPAllocationPolicy_descriptor;
         }
     
         @java.lang.Override
    -    public com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy
    -        getDefaultInstanceForType() {
    -      return com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy
    -          .getDefaultInstance();
    +    public com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy getDefaultInstanceForType() {
    +      return com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy.getDefaultInstance();
         }
     
         @java.lang.Override
         public com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy build() {
    -      com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy result =
    -          buildPartial();
    +      com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy result = buildPartial();
           if (!result.isInitialized()) {
             throw newUninitializedMessageException(result);
           }
    @@ -707,10 +653,8 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy
         }
     
         @java.lang.Override
    -    public com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy
    -        buildPartial() {
    -      com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy result =
    -          new com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy(this);
    +    public com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy buildPartial() {
    +      com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy result = new com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy(this);
           result.useIpAliases_ = useIpAliases_;
           result.clusterSecondaryRangeName_ = clusterSecondaryRangeName_;
           result.servicesSecondaryRangeName_ = servicesSecondaryRangeName_;
    @@ -724,52 +668,46 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy
         public Builder clone() {
           return super.clone();
         }
    -
         @java.lang.Override
         public Builder setField(
    -        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
    +        com.google.protobuf.Descriptors.FieldDescriptor field,
    +        java.lang.Object value) {
           return super.setField(field, value);
         }
    -
         @java.lang.Override
    -    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
    +    public Builder clearField(
    +        com.google.protobuf.Descriptors.FieldDescriptor field) {
           return super.clearField(field);
         }
    -
         @java.lang.Override
    -    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
    +    public Builder clearOneof(
    +        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
           return super.clearOneof(oneof);
         }
    -
         @java.lang.Override
         public Builder setRepeatedField(
    -        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
    +        com.google.protobuf.Descriptors.FieldDescriptor field,
    +        int index, java.lang.Object value) {
           return super.setRepeatedField(field, index, value);
         }
    -
         @java.lang.Override
         public Builder addRepeatedField(
    -        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
    +        com.google.protobuf.Descriptors.FieldDescriptor field,
    +        java.lang.Object value) {
           return super.addRepeatedField(field, value);
         }
    -
         @java.lang.Override
         public Builder mergeFrom(com.google.protobuf.Message other) {
    -      if (other
    -          instanceof com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy) {
    -        return mergeFrom(
    -            (com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy) other);
    +      if (other instanceof com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy) {
    +        return mergeFrom((com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy)other);
           } else {
             super.mergeFrom(other);
             return this;
           }
         }
     
    -    public Builder mergeFrom(
    -        com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy other) {
    -      if (other
    -          == com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy
    -              .getDefaultInstance()) return this;
    +    public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy other) {
    +      if (other == com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy.getDefaultInstance()) return this;
           if (other.getUseIpAliases() != false) {
             setUseIpAliases(other.getUseIpAliases());
           }
    @@ -804,14 +742,11 @@ public Builder mergeFrom(
             com.google.protobuf.CodedInputStream input,
             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
             throws java.io.IOException {
    -      com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy parsedMessage =
    -          null;
    +      com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy parsedMessage = null;
           try {
             parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
    -        parsedMessage =
    -            (com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy)
    -                e.getUnfinishedMessage();
    +        parsedMessage = (com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy) e.getUnfinishedMessage();
             throw e.unwrapIOException();
           } finally {
             if (parsedMessage != null) {
    @@ -821,17 +756,14 @@ public Builder mergeFrom(
           return this;
         }
     
    -    private boolean useIpAliases_;
    +    private boolean useIpAliases_ ;
         /**
    -     *
    -     *
          * 
          * Optional. Whether or not to enable Alias IPs in the GKE cluster.
          * If `true`, a VPC-native cluster is created.
          * 
    * * bool use_ip_aliases = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The useIpAliases. */ @java.lang.Override @@ -839,38 +771,32 @@ public boolean getUseIpAliases() { return useIpAliases_; } /** - * - * *
          * Optional. Whether or not to enable Alias IPs in the GKE cluster.
          * If `true`, a VPC-native cluster is created.
          * 
    * * bool use_ip_aliases = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The useIpAliases to set. * @return This builder for chaining. */ public Builder setUseIpAliases(boolean value) { - + useIpAliases_ = value; onChanged(); return this; } /** - * - * *
          * Optional. Whether or not to enable Alias IPs in the GKE cluster.
          * If `true`, a VPC-native cluster is created.
          * 
    * * bool use_ip_aliases = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearUseIpAliases() { - + useIpAliases_ = false; onChanged(); return this; @@ -878,8 +804,6 @@ public Builder clearUseIpAliases() { private java.lang.Object clusterSecondaryRangeName_ = ""; /** - * - * *
          * Optional. The name of the cluster's secondary range used to allocate
          * IP addresses to pods. Specify either `cluster_secondary_range_name`
    @@ -887,15 +811,14 @@ public Builder clearUseIpAliases() {
          * This field is applicable only when `use_ip_aliases` is true.
          * 
    * - * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The clusterSecondaryRangeName. */ public java.lang.String getClusterSecondaryRangeName() { java.lang.Object ref = clusterSecondaryRangeName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterSecondaryRangeName_ = s; return s; @@ -904,8 +827,6 @@ public java.lang.String getClusterSecondaryRangeName() { } } /** - * - * *
          * Optional. The name of the cluster's secondary range used to allocate
          * IP addresses to pods. Specify either `cluster_secondary_range_name`
    @@ -913,16 +834,16 @@ public java.lang.String getClusterSecondaryRangeName() {
          * This field is applicable only when `use_ip_aliases` is true.
          * 
    * - * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The bytes for clusterSecondaryRangeName. */ - public com.google.protobuf.ByteString getClusterSecondaryRangeNameBytes() { + public com.google.protobuf.ByteString + getClusterSecondaryRangeNameBytes() { java.lang.Object ref = clusterSecondaryRangeName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterSecondaryRangeName_ = b; return b; } else { @@ -930,8 +851,6 @@ public com.google.protobuf.ByteString getClusterSecondaryRangeNameBytes() { } } /** - * - * *
          * Optional. The name of the cluster's secondary range used to allocate
          * IP addresses to pods. Specify either `cluster_secondary_range_name`
    @@ -939,24 +858,21 @@ public com.google.protobuf.ByteString getClusterSecondaryRangeNameBytes() {
          * This field is applicable only when `use_ip_aliases` is true.
          * 
    * - * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param value The clusterSecondaryRangeName to set. * @return This builder for chaining. */ - public Builder setClusterSecondaryRangeName(java.lang.String value) { + public Builder setClusterSecondaryRangeName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterSecondaryRangeName_ = value; onChanged(); return this; } /** - * - * *
          * Optional. The name of the cluster's secondary range used to allocate
          * IP addresses to pods. Specify either `cluster_secondary_range_name`
    @@ -964,20 +880,16 @@ public Builder setClusterSecondaryRangeName(java.lang.String value) {
          * This field is applicable only when `use_ip_aliases` is true.
          * 
    * - * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearClusterSecondaryRangeName() { - + clusterSecondaryRangeName_ = getDefaultInstance().getClusterSecondaryRangeName(); onChanged(); return this; } /** - * - * *
          * Optional. The name of the cluster's secondary range used to allocate
          * IP addresses to pods. Specify either `cluster_secondary_range_name`
    @@ -985,18 +897,17 @@ public Builder clearClusterSecondaryRangeName() {
          * This field is applicable only when `use_ip_aliases` is true.
          * 
    * - * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param value The bytes for clusterSecondaryRangeName to set. * @return This builder for chaining. */ - public Builder setClusterSecondaryRangeNameBytes(com.google.protobuf.ByteString value) { + public Builder setClusterSecondaryRangeNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterSecondaryRangeName_ = value; onChanged(); return this; @@ -1004,8 +915,6 @@ public Builder setClusterSecondaryRangeNameBytes(com.google.protobuf.ByteString private java.lang.Object servicesSecondaryRangeName_ = ""; /** - * - * *
          * Optional. The name of the services' secondary range used to allocate
          * IP addresses to the cluster. Specify either `services_secondary_range_name`
    @@ -1013,15 +922,14 @@ public Builder setClusterSecondaryRangeNameBytes(com.google.protobuf.ByteString
          * This field is applicable only when `use_ip_aliases` is true.
          * 
    * - * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The servicesSecondaryRangeName. */ public java.lang.String getServicesSecondaryRangeName() { java.lang.Object ref = servicesSecondaryRangeName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); servicesSecondaryRangeName_ = s; return s; @@ -1030,8 +938,6 @@ public java.lang.String getServicesSecondaryRangeName() { } } /** - * - * *
          * Optional. The name of the services' secondary range used to allocate
          * IP addresses to the cluster. Specify either `services_secondary_range_name`
    @@ -1039,16 +945,16 @@ public java.lang.String getServicesSecondaryRangeName() {
          * This field is applicable only when `use_ip_aliases` is true.
          * 
    * - * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The bytes for servicesSecondaryRangeName. */ - public com.google.protobuf.ByteString getServicesSecondaryRangeNameBytes() { + public com.google.protobuf.ByteString + getServicesSecondaryRangeNameBytes() { java.lang.Object ref = servicesSecondaryRangeName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); servicesSecondaryRangeName_ = b; return b; } else { @@ -1056,8 +962,6 @@ public com.google.protobuf.ByteString getServicesSecondaryRangeNameBytes() { } } /** - * - * *
          * Optional. The name of the services' secondary range used to allocate
          * IP addresses to the cluster. Specify either `services_secondary_range_name`
    @@ -1065,24 +969,21 @@ public com.google.protobuf.ByteString getServicesSecondaryRangeNameBytes() {
          * This field is applicable only when `use_ip_aliases` is true.
          * 
    * - * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param value The servicesSecondaryRangeName to set. * @return This builder for chaining. */ - public Builder setServicesSecondaryRangeName(java.lang.String value) { + public Builder setServicesSecondaryRangeName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + servicesSecondaryRangeName_ = value; onChanged(); return this; } /** - * - * *
          * Optional. The name of the services' secondary range used to allocate
          * IP addresses to the cluster. Specify either `services_secondary_range_name`
    @@ -1090,20 +991,16 @@ public Builder setServicesSecondaryRangeName(java.lang.String value) {
          * This field is applicable only when `use_ip_aliases` is true.
          * 
    * - * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearServicesSecondaryRangeName() { - + servicesSecondaryRangeName_ = getDefaultInstance().getServicesSecondaryRangeName(); onChanged(); return this; } /** - * - * *
          * Optional. The name of the services' secondary range used to allocate
          * IP addresses to the cluster. Specify either `services_secondary_range_name`
    @@ -1111,18 +1008,17 @@ public Builder clearServicesSecondaryRangeName() {
          * This field is applicable only when `use_ip_aliases` is true.
          * 
    * - * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param value The bytes for servicesSecondaryRangeName to set. * @return This builder for chaining. */ - public Builder setServicesSecondaryRangeNameBytes(com.google.protobuf.ByteString value) { + public Builder setServicesSecondaryRangeNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + servicesSecondaryRangeName_ = value; onChanged(); return this; @@ -1130,8 +1026,6 @@ public Builder setServicesSecondaryRangeNameBytes(com.google.protobuf.ByteString private java.lang.Object clusterIpv4CidrBlock_ = ""; /** - * - * *
          * Optional. The IP address range used to allocate IP addresses to pods in
          * the cluster.
    @@ -1149,13 +1043,13 @@ public Builder setServicesSecondaryRangeNameBytes(com.google.protobuf.ByteString
          * 
    * * string cluster_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The clusterIpv4CidrBlock. */ public java.lang.String getClusterIpv4CidrBlock() { java.lang.Object ref = clusterIpv4CidrBlock_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterIpv4CidrBlock_ = s; return s; @@ -1164,8 +1058,6 @@ public java.lang.String getClusterIpv4CidrBlock() { } } /** - * - * *
          * Optional. The IP address range used to allocate IP addresses to pods in
          * the cluster.
    @@ -1183,14 +1075,15 @@ public java.lang.String getClusterIpv4CidrBlock() {
          * 
    * * string cluster_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for clusterIpv4CidrBlock. */ - public com.google.protobuf.ByteString getClusterIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString + getClusterIpv4CidrBlockBytes() { java.lang.Object ref = clusterIpv4CidrBlock_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterIpv4CidrBlock_ = b; return b; } else { @@ -1198,8 +1091,6 @@ public com.google.protobuf.ByteString getClusterIpv4CidrBlockBytes() { } } /** - * - * *
          * Optional. The IP address range used to allocate IP addresses to pods in
          * the cluster.
    @@ -1217,22 +1108,20 @@ public com.google.protobuf.ByteString getClusterIpv4CidrBlockBytes() {
          * 
    * * string cluster_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The clusterIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setClusterIpv4CidrBlock(java.lang.String value) { + public Builder setClusterIpv4CidrBlock( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterIpv4CidrBlock_ = value; onChanged(); return this; } /** - * - * *
          * Optional. The IP address range used to allocate IP addresses to pods in
          * the cluster.
    @@ -1250,18 +1139,15 @@ public Builder setClusterIpv4CidrBlock(java.lang.String value) {
          * 
    * * string cluster_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearClusterIpv4CidrBlock() { - + clusterIpv4CidrBlock_ = getDefaultInstance().getClusterIpv4CidrBlock(); onChanged(); return this; } /** - * - * *
          * Optional. The IP address range used to allocate IP addresses to pods in
          * the cluster.
    @@ -1279,16 +1165,16 @@ public Builder clearClusterIpv4CidrBlock() {
          * 
    * * string cluster_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for clusterIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setClusterIpv4CidrBlockBytes(com.google.protobuf.ByteString value) { + public Builder setClusterIpv4CidrBlockBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterIpv4CidrBlock_ = value; onChanged(); return this; @@ -1296,8 +1182,6 @@ public Builder setClusterIpv4CidrBlockBytes(com.google.protobuf.ByteString value private java.lang.Object servicesIpv4CidrBlock_ = ""; /** - * - * *
          * Optional. The IP address range of the services IP addresses in this
          * cluster.
    @@ -1315,13 +1199,13 @@ public Builder setClusterIpv4CidrBlockBytes(com.google.protobuf.ByteString value
          * 
    * * string services_ipv4_cidr_block = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The servicesIpv4CidrBlock. */ public java.lang.String getServicesIpv4CidrBlock() { java.lang.Object ref = servicesIpv4CidrBlock_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); servicesIpv4CidrBlock_ = s; return s; @@ -1330,8 +1214,6 @@ public java.lang.String getServicesIpv4CidrBlock() { } } /** - * - * *
          * Optional. The IP address range of the services IP addresses in this
          * cluster.
    @@ -1349,14 +1231,15 @@ public java.lang.String getServicesIpv4CidrBlock() {
          * 
    * * string services_ipv4_cidr_block = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for servicesIpv4CidrBlock. */ - public com.google.protobuf.ByteString getServicesIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString + getServicesIpv4CidrBlockBytes() { java.lang.Object ref = servicesIpv4CidrBlock_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); servicesIpv4CidrBlock_ = b; return b; } else { @@ -1364,8 +1247,6 @@ public com.google.protobuf.ByteString getServicesIpv4CidrBlockBytes() { } } /** - * - * *
          * Optional. The IP address range of the services IP addresses in this
          * cluster.
    @@ -1383,22 +1264,20 @@ public com.google.protobuf.ByteString getServicesIpv4CidrBlockBytes() {
          * 
    * * string services_ipv4_cidr_block = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The servicesIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setServicesIpv4CidrBlock(java.lang.String value) { + public Builder setServicesIpv4CidrBlock( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + servicesIpv4CidrBlock_ = value; onChanged(); return this; } /** - * - * *
          * Optional. The IP address range of the services IP addresses in this
          * cluster.
    @@ -1416,18 +1295,15 @@ public Builder setServicesIpv4CidrBlock(java.lang.String value) {
          * 
    * * string services_ipv4_cidr_block = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearServicesIpv4CidrBlock() { - + servicesIpv4CidrBlock_ = getDefaultInstance().getServicesIpv4CidrBlock(); onChanged(); return this; } /** - * - * *
          * Optional. The IP address range of the services IP addresses in this
          * cluster.
    @@ -1445,23 +1321,23 @@ public Builder clearServicesIpv4CidrBlock() {
          * 
    * * string services_ipv4_cidr_block = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for servicesIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setServicesIpv4CidrBlockBytes(com.google.protobuf.ByteString value) { + public Builder setServicesIpv4CidrBlockBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + servicesIpv4CidrBlock_ = 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); } @@ -1471,33 +1347,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy) - private static final com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy - DEFAULT_INSTANCE; - + private static final com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy(); + DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy(); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy - getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IPAllocationPolicy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new IPAllocationPolicy(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IPAllocationPolicy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IPAllocationPolicy(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1509,8 +1382,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy - getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/IPAllocationPolicyOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/IPAllocationPolicyOrBuilder.java similarity index 83% rename from proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/IPAllocationPolicyOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/IPAllocationPolicyOrBuilder.java index 89c45606..8ce8ed3e 100644 --- a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/IPAllocationPolicyOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/IPAllocationPolicyOrBuilder.java @@ -1,45 +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/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; -public interface IPAllocationPolicyOrBuilder - extends +public interface IPAllocationPolicyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * Optional. Whether or not to enable Alias IPs in the GKE cluster.
        * If `true`, a VPC-native cluster is created.
        * 
    * * bool use_ip_aliases = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The useIpAliases. */ boolean getUseIpAliases(); /** - * - * *
        * Optional. The name of the cluster's secondary range used to allocate
        * IP addresses to pods. Specify either `cluster_secondary_range_name`
    @@ -48,13 +27,10 @@ public interface IPAllocationPolicyOrBuilder
        * 
    * * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The clusterSecondaryRangeName. */ java.lang.String getClusterSecondaryRangeName(); /** - * - * *
        * Optional. The name of the cluster's secondary range used to allocate
        * IP addresses to pods. Specify either `cluster_secondary_range_name`
    @@ -63,14 +39,12 @@ public interface IPAllocationPolicyOrBuilder
        * 
    * * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for clusterSecondaryRangeName. */ - com.google.protobuf.ByteString getClusterSecondaryRangeNameBytes(); + com.google.protobuf.ByteString + getClusterSecondaryRangeNameBytes(); /** - * - * *
        * Optional. The name of the services' secondary range used to allocate
        * IP addresses to the cluster. Specify either `services_secondary_range_name`
    @@ -78,15 +52,11 @@ public interface IPAllocationPolicyOrBuilder
        * This field is applicable only when `use_ip_aliases` is true.
        * 
    * - * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The servicesSecondaryRangeName. */ java.lang.String getServicesSecondaryRangeName(); /** - * - * *
        * Optional. The name of the services' secondary range used to allocate
        * IP addresses to the cluster. Specify either `services_secondary_range_name`
    @@ -94,16 +64,13 @@ public interface IPAllocationPolicyOrBuilder
        * This field is applicable only when `use_ip_aliases` is true.
        * 
    * - * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The bytes for servicesSecondaryRangeName. */ - com.google.protobuf.ByteString getServicesSecondaryRangeNameBytes(); + com.google.protobuf.ByteString + getServicesSecondaryRangeNameBytes(); /** - * - * *
        * Optional. The IP address range used to allocate IP addresses to pods in
        * the cluster.
    @@ -121,13 +88,10 @@ public interface IPAllocationPolicyOrBuilder
        * 
    * * string cluster_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The clusterIpv4CidrBlock. */ java.lang.String getClusterIpv4CidrBlock(); /** - * - * *
        * Optional. The IP address range used to allocate IP addresses to pods in
        * the cluster.
    @@ -145,14 +109,12 @@ public interface IPAllocationPolicyOrBuilder
        * 
    * * string cluster_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for clusterIpv4CidrBlock. */ - com.google.protobuf.ByteString getClusterIpv4CidrBlockBytes(); + com.google.protobuf.ByteString + getClusterIpv4CidrBlockBytes(); /** - * - * *
        * Optional. The IP address range of the services IP addresses in this
        * cluster.
    @@ -170,13 +132,10 @@ public interface IPAllocationPolicyOrBuilder
        * 
    * * string services_ipv4_cidr_block = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The servicesIpv4CidrBlock. */ java.lang.String getServicesIpv4CidrBlock(); /** - * - * *
        * Optional. The IP address range of the services IP addresses in this
        * cluster.
    @@ -194,8 +153,8 @@ public interface IPAllocationPolicyOrBuilder
        * 
    * * string services_ipv4_cidr_block = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for servicesIpv4CidrBlock. */ - com.google.protobuf.ByteString getServicesIpv4CidrBlockBytes(); + com.google.protobuf.ByteString + getServicesIpv4CidrBlockBytes(); } diff --git a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersion.java b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersion.java similarity index 72% rename from proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersion.java rename to owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersion.java index 5770d56e..5170f21c 100644 --- a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersion.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersion.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/orchestration/airflow/service/v1beta1/image_versions.proto package com.google.cloud.orchestration.airflow.service.v1beta1; /** - * - * *
      * Image Version information
      * 
    * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.ImageVersion} */ -public final class ImageVersion extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImageVersion extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1beta1.ImageVersion) ImageVersionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImageVersion.newBuilder() to construct. private ImageVersion(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImageVersion() { imageVersionId_ = ""; supportedPythonVersions_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -44,15 +26,16 @@ private ImageVersion() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImageVersion(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImageVersion( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,59 +55,56 @@ private ImageVersion( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - imageVersionId_ = s; - break; - } - case 16: - { - isDefault_ = input.readBool(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - supportedPythonVersions_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - supportedPythonVersions_.add(s); - break; - } - case 34: - { - com.google.type.Date.Builder subBuilder = null; - if (releaseDate_ != null) { - subBuilder = releaseDate_.toBuilder(); - } - releaseDate_ = input.readMessage(com.google.type.Date.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(releaseDate_); - releaseDate_ = subBuilder.buildPartial(); - } + imageVersionId_ = s; + break; + } + case 16: { - break; + isDefault_ = input.readBool(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + supportedPythonVersions_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 40: - { - creationDisabled_ = input.readBool(); - break; + supportedPythonVersions_.add(s); + break; + } + case 34: { + com.google.type.Date.Builder subBuilder = null; + if (releaseDate_ != null) { + subBuilder = releaseDate_.toBuilder(); } - case 48: - { - upgradeDisabled_ = input.readBool(); - break; + releaseDate_ = input.readMessage(com.google.type.Date.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(releaseDate_); + releaseDate_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 40: { + + creationDisabled_ = input.readBool(); + break; + } + case 48: { + + upgradeDisabled_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -132,7 +112,8 @@ private ImageVersion( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { supportedPythonVersions_ = supportedPythonVersions_.getUnmodifiableView(); @@ -141,34 +122,28 @@ private ImageVersion( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_ImageVersion_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_ImageVersion_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_ImageVersion_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_ImageVersion_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.class, - com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.class, com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.Builder.class); } public static final int IMAGE_VERSION_ID_FIELD_NUMBER = 1; private volatile java.lang.Object imageVersionId_; /** - * - * *
        * The string identifier of the ImageVersion, in the form:
        * "composer-x.y.z-airflow-a.b(.c)"
        * 
    * * string image_version_id = 1; - * * @return The imageVersionId. */ @java.lang.Override @@ -177,30 +152,30 @@ public java.lang.String getImageVersionId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageVersionId_ = s; return s; } } /** - * - * *
        * The string identifier of the ImageVersion, in the form:
        * "composer-x.y.z-airflow-a.b(.c)"
        * 
    * * string image_version_id = 1; - * * @return The bytes for imageVersionId. */ @java.lang.Override - public com.google.protobuf.ByteString getImageVersionIdBytes() { + public com.google.protobuf.ByteString + getImageVersionIdBytes() { java.lang.Object ref = imageVersionId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); imageVersionId_ = b; return b; } else { @@ -211,15 +186,12 @@ public com.google.protobuf.ByteString getImageVersionIdBytes() { public static final int IS_DEFAULT_FIELD_NUMBER = 2; private boolean isDefault_; /** - * - * *
        * Whether this is the default ImageVersion used by Composer during
        * environment creation if no input ImageVersion is specified.
        * 
    * * bool is_default = 2; - * * @return The isDefault. */ @java.lang.Override @@ -230,42 +202,34 @@ public boolean getIsDefault() { public static final int SUPPORTED_PYTHON_VERSIONS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList supportedPythonVersions_; /** - * - * *
        * supported python versions
        * 
    * * repeated string supported_python_versions = 3; - * * @return A list containing the supportedPythonVersions. */ - public com.google.protobuf.ProtocolStringList getSupportedPythonVersionsList() { + public com.google.protobuf.ProtocolStringList + getSupportedPythonVersionsList() { return supportedPythonVersions_; } /** - * - * *
        * supported python versions
        * 
    * * repeated string supported_python_versions = 3; - * * @return The count of supportedPythonVersions. */ public int getSupportedPythonVersionsCount() { return supportedPythonVersions_.size(); } /** - * - * *
        * supported python versions
        * 
    * * repeated string supported_python_versions = 3; - * * @param index The index of the element to return. * @return The supportedPythonVersions at the given index. */ @@ -273,32 +237,27 @@ public java.lang.String getSupportedPythonVersions(int index) { return supportedPythonVersions_.get(index); } /** - * - * *
        * supported python versions
        * 
    * * repeated string supported_python_versions = 3; - * * @param index The index of the value to return. * @return The bytes of the supportedPythonVersions at the given index. */ - public com.google.protobuf.ByteString getSupportedPythonVersionsBytes(int index) { + public com.google.protobuf.ByteString + getSupportedPythonVersionsBytes(int index) { return supportedPythonVersions_.getByteString(index); } public static final int RELEASE_DATE_FIELD_NUMBER = 4; private com.google.type.Date releaseDate_; /** - * - * *
        * The date of the version release.
        * 
    * * .google.type.Date release_date = 4; - * * @return Whether the releaseDate field is set. */ @java.lang.Override @@ -306,14 +265,11 @@ public boolean hasReleaseDate() { return releaseDate_ != null; } /** - * - * *
        * The date of the version release.
        * 
    * * .google.type.Date release_date = 4; - * * @return The releaseDate. */ @java.lang.Override @@ -321,8 +277,6 @@ public com.google.type.Date getReleaseDate() { return releaseDate_ == null ? com.google.type.Date.getDefaultInstance() : releaseDate_; } /** - * - * *
        * The date of the version release.
        * 
    @@ -337,14 +291,11 @@ public com.google.type.DateOrBuilder getReleaseDateOrBuilder() { public static final int CREATION_DISABLED_FIELD_NUMBER = 5; private boolean creationDisabled_; /** - * - * *
        * Whether it is impossible to create an environment with the image version.
        * 
    * * bool creation_disabled = 5; - * * @return The creationDisabled. */ @java.lang.Override @@ -355,15 +306,12 @@ public boolean getCreationDisabled() { public static final int UPGRADE_DISABLED_FIELD_NUMBER = 6; private boolean upgradeDisabled_; /** - * - * *
        * Whether it is impossible to upgrade an environment running with the image
        * version.
        * 
    * * bool upgrade_disabled = 6; - * * @return The upgradeDisabled. */ @java.lang.Override @@ -372,7 +320,6 @@ public boolean getUpgradeDisabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -384,7 +331,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageVersionId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, imageVersionId_); } @@ -392,8 +340,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeBool(2, isDefault_); } for (int i = 0; i < supportedPythonVersions_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 3, supportedPythonVersions_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, supportedPythonVersions_.getRaw(i)); } if (releaseDate_ != null) { output.writeMessage(4, getReleaseDate()); @@ -417,7 +364,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, imageVersionId_); } if (isDefault_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, isDefault_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, isDefault_); } { int dataSize = 0; @@ -428,13 +376,16 @@ public int getSerializedSize() { size += 1 * getSupportedPythonVersionsList().size(); } if (releaseDate_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getReleaseDate()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getReleaseDate()); } if (creationDisabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, creationDisabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, creationDisabled_); } if (upgradeDisabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, upgradeDisabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, upgradeDisabled_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -444,24 +395,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.orchestration.airflow.service.v1beta1.ImageVersion)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion other = - (com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion) obj; + com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion other = (com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion) obj; - if (!getImageVersionId().equals(other.getImageVersionId())) return false; - if (getIsDefault() != other.getIsDefault()) return false; - if (!getSupportedPythonVersionsList().equals(other.getSupportedPythonVersionsList())) - return false; + if (!getImageVersionId() + .equals(other.getImageVersionId())) return false; + if (getIsDefault() + != other.getIsDefault()) return false; + if (!getSupportedPythonVersionsList() + .equals(other.getSupportedPythonVersionsList())) return false; if (hasReleaseDate() != other.hasReleaseDate()) return false; if (hasReleaseDate()) { - if (!getReleaseDate().equals(other.getReleaseDate())) return false; + if (!getReleaseDate() + .equals(other.getReleaseDate())) return false; } - if (getCreationDisabled() != other.getCreationDisabled()) return false; - if (getUpgradeDisabled() != other.getUpgradeDisabled()) return false; + if (getCreationDisabled() + != other.getCreationDisabled()) return false; + if (getUpgradeDisabled() + != other.getUpgradeDisabled()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -476,7 +431,8 @@ public int hashCode() { hash = (37 * hash) + IMAGE_VERSION_ID_FIELD_NUMBER; hash = (53 * hash) + getImageVersionId().hashCode(); hash = (37 * hash) + IS_DEFAULT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsDefault()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIsDefault()); if (getSupportedPythonVersionsCount() > 0) { hash = (37 * hash) + SUPPORTED_PYTHON_VERSIONS_FIELD_NUMBER; hash = (53 * hash) + getSupportedPythonVersionsList().hashCode(); @@ -486,154 +442,145 @@ public int hashCode() { hash = (53 * hash) + getReleaseDate().hashCode(); } hash = (37 * hash) + CREATION_DISABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCreationDisabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getCreationDisabled()); hash = (37 * hash) + UPGRADE_DISABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUpgradeDisabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getUpgradeDisabled()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion 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.orchestration.airflow.service.v1beta1.ImageVersion parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion - 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.orchestration.airflow.service.v1beta1.ImageVersion 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.orchestration.airflow.service.v1beta1.ImageVersion parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion prototype) { + public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
        * Image Version information
        * 
    * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.ImageVersion} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1beta1.ImageVersion) com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_ImageVersion_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_ImageVersion_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_ImageVersion_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_ImageVersion_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.class, - com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.class, com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.Builder.class); } - // Construct using - // com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.newBuilder() + // Construct using com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -657,16 +604,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_ImageVersion_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_ImageVersion_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion - getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion - .getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.getDefaultInstance(); } @java.lang.Override @@ -680,8 +625,7 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion build @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion buildPartial() { - com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion result = - new com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion(this); + com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion result = new com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion(this); int from_bitField0_ = bitField0_; result.imageVersionId_ = imageVersionId_; result.isDefault_ = isDefault_; @@ -705,51 +649,46 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion build public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion) { - return mergeFrom( - (com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion) other); + return mergeFrom((com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion other) { - if (other - == com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion other) { + if (other == com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.getDefaultInstance()) return this; if (!other.getImageVersionId().isEmpty()) { imageVersionId_ = other.imageVersionId_; onChanged(); @@ -795,9 +734,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -806,26 +743,23 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object imageVersionId_ = ""; /** - * - * *
          * The string identifier of the ImageVersion, in the form:
          * "composer-x.y.z-airflow-a.b(.c)"
          * 
    * * string image_version_id = 1; - * * @return The imageVersionId. */ public java.lang.String getImageVersionId() { java.lang.Object ref = imageVersionId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageVersionId_ = s; return s; @@ -834,22 +768,21 @@ public java.lang.String getImageVersionId() { } } /** - * - * *
          * The string identifier of the ImageVersion, in the form:
          * "composer-x.y.z-airflow-a.b(.c)"
          * 
    * * string image_version_id = 1; - * * @return The bytes for imageVersionId. */ - public com.google.protobuf.ByteString getImageVersionIdBytes() { + public com.google.protobuf.ByteString + getImageVersionIdBytes() { java.lang.Object ref = imageVersionId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); imageVersionId_ = b; return b; } else { @@ -857,80 +790,70 @@ public com.google.protobuf.ByteString getImageVersionIdBytes() { } } /** - * - * *
          * The string identifier of the ImageVersion, in the form:
          * "composer-x.y.z-airflow-a.b(.c)"
          * 
    * * string image_version_id = 1; - * * @param value The imageVersionId to set. * @return This builder for chaining. */ - public Builder setImageVersionId(java.lang.String value) { + public Builder setImageVersionId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + imageVersionId_ = value; onChanged(); return this; } /** - * - * *
          * The string identifier of the ImageVersion, in the form:
          * "composer-x.y.z-airflow-a.b(.c)"
          * 
    * * string image_version_id = 1; - * * @return This builder for chaining. */ public Builder clearImageVersionId() { - + imageVersionId_ = getDefaultInstance().getImageVersionId(); onChanged(); return this; } /** - * - * *
          * The string identifier of the ImageVersion, in the form:
          * "composer-x.y.z-airflow-a.b(.c)"
          * 
    * * string image_version_id = 1; - * * @param value The bytes for imageVersionId to set. * @return This builder for chaining. */ - public Builder setImageVersionIdBytes(com.google.protobuf.ByteString value) { + public Builder setImageVersionIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + imageVersionId_ = value; onChanged(); return this; } - private boolean isDefault_; + private boolean isDefault_ ; /** - * - * *
          * Whether this is the default ImageVersion used by Composer during
          * environment creation if no input ImageVersion is specified.
          * 
    * * bool is_default = 2; - * * @return The isDefault. */ @java.lang.Override @@ -938,90 +861,73 @@ public boolean getIsDefault() { return isDefault_; } /** - * - * *
          * Whether this is the default ImageVersion used by Composer during
          * environment creation if no input ImageVersion is specified.
          * 
    * * bool is_default = 2; - * * @param value The isDefault to set. * @return This builder for chaining. */ public Builder setIsDefault(boolean value) { - + isDefault_ = value; onChanged(); return this; } /** - * - * *
          * Whether this is the default ImageVersion used by Composer during
          * environment creation if no input ImageVersion is specified.
          * 
    * * bool is_default = 2; - * * @return This builder for chaining. */ public Builder clearIsDefault() { - + isDefault_ = false; onChanged(); return this; } - private com.google.protobuf.LazyStringList supportedPythonVersions_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList supportedPythonVersions_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureSupportedPythonVersionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - supportedPythonVersions_ = - new com.google.protobuf.LazyStringArrayList(supportedPythonVersions_); + supportedPythonVersions_ = new com.google.protobuf.LazyStringArrayList(supportedPythonVersions_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
          * supported python versions
          * 
    * * repeated string supported_python_versions = 3; - * * @return A list containing the supportedPythonVersions. */ - public com.google.protobuf.ProtocolStringList getSupportedPythonVersionsList() { + public com.google.protobuf.ProtocolStringList + getSupportedPythonVersionsList() { return supportedPythonVersions_.getUnmodifiableView(); } /** - * - * *
          * supported python versions
          * 
    * * repeated string supported_python_versions = 3; - * * @return The count of supportedPythonVersions. */ public int getSupportedPythonVersionsCount() { return supportedPythonVersions_.size(); } /** - * - * *
          * supported python versions
          * 
    * * repeated string supported_python_versions = 3; - * * @param index The index of the element to return. * @return The supportedPythonVersions at the given index. */ @@ -1029,90 +935,80 @@ public java.lang.String getSupportedPythonVersions(int index) { return supportedPythonVersions_.get(index); } /** - * - * *
          * supported python versions
          * 
    * * repeated string supported_python_versions = 3; - * * @param index The index of the value to return. * @return The bytes of the supportedPythonVersions at the given index. */ - public com.google.protobuf.ByteString getSupportedPythonVersionsBytes(int index) { + public com.google.protobuf.ByteString + getSupportedPythonVersionsBytes(int index) { return supportedPythonVersions_.getByteString(index); } /** - * - * *
          * supported python versions
          * 
    * * repeated string supported_python_versions = 3; - * * @param index The index to set the value at. * @param value The supportedPythonVersions to set. * @return This builder for chaining. */ - public Builder setSupportedPythonVersions(int index, java.lang.String value) { + public Builder setSupportedPythonVersions( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureSupportedPythonVersionsIsMutable(); + throw new NullPointerException(); + } + ensureSupportedPythonVersionsIsMutable(); supportedPythonVersions_.set(index, value); onChanged(); return this; } /** - * - * *
          * supported python versions
          * 
    * * repeated string supported_python_versions = 3; - * * @param value The supportedPythonVersions to add. * @return This builder for chaining. */ - public Builder addSupportedPythonVersions(java.lang.String value) { + public Builder addSupportedPythonVersions( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureSupportedPythonVersionsIsMutable(); + throw new NullPointerException(); + } + ensureSupportedPythonVersionsIsMutable(); supportedPythonVersions_.add(value); onChanged(); return this; } /** - * - * *
          * supported python versions
          * 
    * * repeated string supported_python_versions = 3; - * * @param values The supportedPythonVersions to add. * @return This builder for chaining. */ - public Builder addAllSupportedPythonVersions(java.lang.Iterable values) { + public Builder addAllSupportedPythonVersions( + java.lang.Iterable values) { ensureSupportedPythonVersionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, supportedPythonVersions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, supportedPythonVersions_); onChanged(); return this; } /** - * - * *
          * supported python versions
          * 
    * * repeated string supported_python_versions = 3; - * * @return This builder for chaining. */ public Builder clearSupportedPythonVersions() { @@ -1122,22 +1018,20 @@ public Builder clearSupportedPythonVersions() { return this; } /** - * - * *
          * supported python versions
          * 
    * * repeated string supported_python_versions = 3; - * * @param value The bytes of the supportedPythonVersions to add. * @return This builder for chaining. */ - public Builder addSupportedPythonVersionsBytes(com.google.protobuf.ByteString value) { + public Builder addSupportedPythonVersionsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureSupportedPythonVersionsIsMutable(); supportedPythonVersions_.add(value); onChanged(); @@ -1146,31 +1040,24 @@ public Builder addSupportedPythonVersionsBytes(com.google.protobuf.ByteString va private com.google.type.Date releaseDate_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> - releaseDateBuilder_; + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> releaseDateBuilder_; /** - * - * *
          * The date of the version release.
          * 
    * * .google.type.Date release_date = 4; - * * @return Whether the releaseDate field is set. */ public boolean hasReleaseDate() { return releaseDateBuilder_ != null || releaseDate_ != null; } /** - * - * *
          * The date of the version release.
          * 
    * * .google.type.Date release_date = 4; - * * @return The releaseDate. */ public com.google.type.Date getReleaseDate() { @@ -1181,8 +1068,6 @@ public com.google.type.Date getReleaseDate() { } } /** - * - * *
          * The date of the version release.
          * 
    @@ -1203,15 +1088,14 @@ public Builder setReleaseDate(com.google.type.Date value) { return this; } /** - * - * *
          * The date of the version release.
          * 
    * * .google.type.Date release_date = 4; */ - public Builder setReleaseDate(com.google.type.Date.Builder builderForValue) { + public Builder setReleaseDate( + com.google.type.Date.Builder builderForValue) { if (releaseDateBuilder_ == null) { releaseDate_ = builderForValue.build(); onChanged(); @@ -1222,8 +1106,6 @@ public Builder setReleaseDate(com.google.type.Date.Builder builderForValue) { return this; } /** - * - * *
          * The date of the version release.
          * 
    @@ -1234,7 +1116,7 @@ public Builder mergeReleaseDate(com.google.type.Date value) { if (releaseDateBuilder_ == null) { if (releaseDate_ != null) { releaseDate_ = - com.google.type.Date.newBuilder(releaseDate_).mergeFrom(value).buildPartial(); + com.google.type.Date.newBuilder(releaseDate_).mergeFrom(value).buildPartial(); } else { releaseDate_ = value; } @@ -1246,8 +1128,6 @@ public Builder mergeReleaseDate(com.google.type.Date value) { return this; } /** - * - * *
          * The date of the version release.
          * 
    @@ -1266,8 +1146,6 @@ public Builder clearReleaseDate() { return this; } /** - * - * *
          * The date of the version release.
          * 
    @@ -1275,13 +1153,11 @@ public Builder clearReleaseDate() { * .google.type.Date release_date = 4; */ public com.google.type.Date.Builder getReleaseDateBuilder() { - + onChanged(); return getReleaseDateFieldBuilder().getBuilder(); } /** - * - * *
          * The date of the version release.
          * 
    @@ -1292,12 +1168,11 @@ public com.google.type.DateOrBuilder getReleaseDateOrBuilder() { if (releaseDateBuilder_ != null) { return releaseDateBuilder_.getMessageOrBuilder(); } else { - return releaseDate_ == null ? com.google.type.Date.getDefaultInstance() : releaseDate_; + return releaseDate_ == null ? + com.google.type.Date.getDefaultInstance() : releaseDate_; } } /** - * - * *
          * The date of the version release.
          * 
    @@ -1305,28 +1180,26 @@ public com.google.type.DateOrBuilder getReleaseDateOrBuilder() { * .google.type.Date release_date = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> getReleaseDateFieldBuilder() { if (releaseDateBuilder_ == null) { - releaseDateBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>( - getReleaseDate(), getParentForChildren(), isClean()); + releaseDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>( + getReleaseDate(), + getParentForChildren(), + isClean()); releaseDate_ = null; } return releaseDateBuilder_; } - private boolean creationDisabled_; + private boolean creationDisabled_ ; /** - * - * *
          * Whether it is impossible to create an environment with the image version.
          * 
    * * bool creation_disabled = 5; - * * @return The creationDisabled. */ @java.lang.Override @@ -1334,52 +1207,43 @@ public boolean getCreationDisabled() { return creationDisabled_; } /** - * - * *
          * Whether it is impossible to create an environment with the image version.
          * 
    * * bool creation_disabled = 5; - * * @param value The creationDisabled to set. * @return This builder for chaining. */ public Builder setCreationDisabled(boolean value) { - + creationDisabled_ = value; onChanged(); return this; } /** - * - * *
          * Whether it is impossible to create an environment with the image version.
          * 
    * * bool creation_disabled = 5; - * * @return This builder for chaining. */ public Builder clearCreationDisabled() { - + creationDisabled_ = false; onChanged(); return this; } - private boolean upgradeDisabled_; + private boolean upgradeDisabled_ ; /** - * - * *
          * Whether it is impossible to upgrade an environment running with the image
          * version.
          * 
    * * bool upgrade_disabled = 6; - * * @return The upgradeDisabled. */ @java.lang.Override @@ -1387,45 +1251,39 @@ public boolean getUpgradeDisabled() { return upgradeDisabled_; } /** - * - * *
          * Whether it is impossible to upgrade an environment running with the image
          * version.
          * 
    * * bool upgrade_disabled = 6; - * * @param value The upgradeDisabled to set. * @return This builder for chaining. */ public Builder setUpgradeDisabled(boolean value) { - + upgradeDisabled_ = value; onChanged(); return this; } /** - * - * *
          * Whether it is impossible to upgrade an environment running with the image
          * version.
          * 
    * * bool upgrade_disabled = 6; - * * @return This builder for chaining. */ public Builder clearUpgradeDisabled() { - + upgradeDisabled_ = 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); } @@ -1435,32 +1293,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1beta1.ImageVersion) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1beta1.ImageVersion) - private static final com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion - DEFAULT_INSTANCE; - + private static final com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion(); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion - getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImageVersion parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImageVersion(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImageVersion parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImageVersion(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1472,8 +1328,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion - getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionOrBuilder.java similarity index 75% rename from proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionOrBuilder.java index 2fb1b0c6..24b09479 100644 --- a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionOrBuilder.java @@ -1,147 +1,105 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/orchestration/airflow/service/v1beta1/image_versions.proto package com.google.cloud.orchestration.airflow.service.v1beta1; -public interface ImageVersionOrBuilder - extends +public interface ImageVersionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1beta1.ImageVersion) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * The string identifier of the ImageVersion, in the form:
        * "composer-x.y.z-airflow-a.b(.c)"
        * 
    * * string image_version_id = 1; - * * @return The imageVersionId. */ java.lang.String getImageVersionId(); /** - * - * *
        * The string identifier of the ImageVersion, in the form:
        * "composer-x.y.z-airflow-a.b(.c)"
        * 
    * * string image_version_id = 1; - * * @return The bytes for imageVersionId. */ - com.google.protobuf.ByteString getImageVersionIdBytes(); + com.google.protobuf.ByteString + getImageVersionIdBytes(); /** - * - * *
        * Whether this is the default ImageVersion used by Composer during
        * environment creation if no input ImageVersion is specified.
        * 
    * * bool is_default = 2; - * * @return The isDefault. */ boolean getIsDefault(); /** - * - * *
        * supported python versions
        * 
    * * repeated string supported_python_versions = 3; - * * @return A list containing the supportedPythonVersions. */ - java.util.List getSupportedPythonVersionsList(); + java.util.List + getSupportedPythonVersionsList(); /** - * - * *
        * supported python versions
        * 
    * * repeated string supported_python_versions = 3; - * * @return The count of supportedPythonVersions. */ int getSupportedPythonVersionsCount(); /** - * - * *
        * supported python versions
        * 
    * * repeated string supported_python_versions = 3; - * * @param index The index of the element to return. * @return The supportedPythonVersions at the given index. */ java.lang.String getSupportedPythonVersions(int index); /** - * - * *
        * supported python versions
        * 
    * * repeated string supported_python_versions = 3; - * * @param index The index of the value to return. * @return The bytes of the supportedPythonVersions at the given index. */ - com.google.protobuf.ByteString getSupportedPythonVersionsBytes(int index); + com.google.protobuf.ByteString + getSupportedPythonVersionsBytes(int index); /** - * - * *
        * The date of the version release.
        * 
    * * .google.type.Date release_date = 4; - * * @return Whether the releaseDate field is set. */ boolean hasReleaseDate(); /** - * - * *
        * The date of the version release.
        * 
    * * .google.type.Date release_date = 4; - * * @return The releaseDate. */ com.google.type.Date getReleaseDate(); /** - * - * *
        * The date of the version release.
        * 
    @@ -151,28 +109,22 @@ public interface ImageVersionOrBuilder com.google.type.DateOrBuilder getReleaseDateOrBuilder(); /** - * - * *
        * Whether it is impossible to create an environment with the image version.
        * 
    * * bool creation_disabled = 5; - * * @return The creationDisabled. */ boolean getCreationDisabled(); /** - * - * *
        * Whether it is impossible to upgrade an environment running with the image
        * version.
        * 
    * * bool upgrade_disabled = 6; - * * @return The upgradeDisabled. */ boolean getUpgradeDisabled(); diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsOuterClass.java b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsOuterClass.java new file mode 100644 index 00000000..eb2d0329 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsOuterClass.java @@ -0,0 +1,111 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/orchestration/airflow/service/v1beta1/image_versions.proto + +package com.google.cloud.orchestration.airflow.service.v1beta1; + +public final class ImageVersionsOuterClass { + private ImageVersionsOuterClass() {} + 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_orchestration_airflow_service_v1beta1_ListImageVersionsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_orchestration_airflow_service_v1beta1_ImageVersion_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_orchestration_airflow_service_v1beta1_ImageVersion_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\nGgoogle/cloud/orchestration/airflow/ser" + + "vice/v1beta1/image_versions.proto\0222googl" + + "e.cloud.orchestration.airflow.service.v1" + + "beta1\032\034google/api/annotations.proto\032\027goo" + + "gle/api/client.proto\032\026google/type/date.p" + + "roto\"p\n\030ListImageVersionsRequest\022\016\n\006pare" + + "nt\030\001 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_toke" + + "n\030\003 \001(\t\022\035\n\025include_past_releases\030\004 \001(\010\"\216" + + "\001\n\031ListImageVersionsResponse\022X\n\016image_ve" + + "rsions\030\001 \003(\0132@.google.cloud.orchestratio" + + "n.airflow.service.v1beta1.ImageVersion\022\027" + + "\n\017next_page_token\030\002 \001(\t\"\275\001\n\014ImageVersion" + + "\022\030\n\020image_version_id\030\001 \001(\t\022\022\n\nis_default" + + "\030\002 \001(\010\022!\n\031supported_python_versions\030\003 \003(" + + "\t\022\'\n\014release_date\030\004 \001(\0132\021.google.type.Da" + + "te\022\031\n\021creation_disabled\030\005 \001(\010\022\030\n\020upgrade" + + "_disabled\030\006 \001(\0102\330\002\n\rImageVersions\022\371\001\n\021Li" + + "stImageVersions\022L.google.cloud.orchestra" + + "tion.airflow.service.v1beta1.ListImageVe" + + "rsionsRequest\032M.google.cloud.orchestrati" + + "on.airflow.service.v1beta1.ListImageVers" + + "ionsResponse\"G\202\323\344\223\0028\0226/v1beta1/{parent=p" + + "rojects/*/locations/*}/imageVersions\332A\006p" + + "arent\032K\312A\027composer.googleapis.com\322A.http" + + "s://www.googleapis.com/auth/cloud-platfo" + + "rmB\225\001\n6com.google.cloud.orchestration.ai" + + "rflow.service.v1beta1P\001ZYgoogle.golang.o" + + "rg/genproto/googleapis/cloud/orchestrati" + + "on/airflow/service/v1beta1;serviceb\006prot" + + "o3" + }; + 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.type.DateProto.getDescriptor(), + }); + internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", "IncludePastReleases", }); + internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsResponse_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsResponse_descriptor, + new java.lang.String[] { "ImageVersions", "NextPageToken", }); + internal_static_google_cloud_orchestration_airflow_service_v1beta1_ImageVersion_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_orchestration_airflow_service_v1beta1_ImageVersion_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_orchestration_airflow_service_v1beta1_ImageVersion_descriptor, + new java.lang.String[] { "ImageVersionId", "IsDefault", "SupportedPythonVersions", "ReleaseDate", "CreationDisabled", "UpgradeDisabled", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.type.DateProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListEnvironmentsRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListEnvironmentsRequest.java similarity index 62% rename from proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListEnvironmentsRequest.java rename to owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListEnvironmentsRequest.java index a202f34e..72179fd4 100644 --- a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListEnvironmentsRequest.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListEnvironmentsRequest.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/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; /** - * - * *
      * List environments in a project and location.
      * 
    * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest} */ -public final class ListEnvironmentsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListEnvironmentsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest) ListEnvironmentsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListEnvironmentsRequest.newBuilder() to construct. private ListEnvironmentsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListEnvironmentsRequest() { parent_ = ""; pageToken_ = ""; @@ -44,15 +26,16 @@ private ListEnvironmentsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListEnvironmentsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListEnvironmentsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,32 +54,30 @@ private ListEnvironmentsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,41 +85,35 @@ private ListEnvironmentsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsRequest_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest.class, - com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest.Builder - .class); + com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest.class, com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
        * List environments in the given project and location, in the form:
        * "projects/{projectId}/locations/{locationId}"
        * 
    * * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -147,30 +122,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; } } /** - * - * *
        * List environments in the given project and location, in the form:
        * "projects/{projectId}/locations/{locationId}"
        * 
    * * 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 { @@ -181,14 +156,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
        * The maximum number of environments to return.
        * 
    * * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -199,14 +171,11 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
        * The next_page_token value returned from a previous List request, if any.
        * 
    * * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -215,29 +184,29 @@ 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 returned from a previous List request, if any.
        * 
    * * 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 { @@ -246,7 +215,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -258,7 +226,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -281,7 +250,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -294,19 +264,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest)) { + if (!(obj instanceof com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest other = - (com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest) obj; + com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest other = (com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest) 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,153 +299,135 @@ public int hashCode() { return hash; } - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest - 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.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest 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.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest prototype) { + public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 environments in a project and location.
        * 
    * - * Protobuf type {@code - * google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest} + * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest) com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsRequest_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest.class, - com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest.Builder - .class); + com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest.class, com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest.Builder.class); } - // Construct using - // com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest.newBuilder() + // Construct using com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -489,22 +441,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsRequest_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest - getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest - .getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest.getDefaultInstance(); } @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest build() { - com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest result = - buildPartial(); + com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -512,10 +461,8 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRe } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest - buildPartial() { - com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest result = - new com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest(this); + public com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest buildPartial() { + com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest result = new com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -527,53 +474,46 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRe public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest) { - return mergeFrom( - (com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest) other); + if (other instanceof com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest) { + return mergeFrom((com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest other) { - if (other - == com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest other) { + if (other == com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -600,14 +540,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest parsedMessage = - null; + com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -619,21 +556,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
          * List environments in the given project and location, in the form:
          * "projects/{projectId}/locations/{locationId}"
          * 
    * * 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; @@ -642,22 +577,21 @@ public java.lang.String getParent() { } } /** - * - * *
          * List environments in the given project and location, in the form:
          * "projects/{projectId}/locations/{locationId}"
          * 
    * * 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 { @@ -665,79 +599,69 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
          * List environments in the given project and location, in the form:
          * "projects/{projectId}/locations/{locationId}"
          * 
    * * 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; } /** - * - * *
          * List environments in the given project and location, in the form:
          * "projects/{projectId}/locations/{locationId}"
          * 
    * * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
          * List environments in the given project and location, in the form:
          * "projects/{projectId}/locations/{locationId}"
          * 
    * * 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 environments to return.
          * 
    * * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -745,36 +669,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
          * The maximum number of environments 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 environments to return.
          * 
    * * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -782,20 +700,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
          * The next_page_token value returned from a previous List request, if any.
          * 
    * * 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; @@ -804,21 +720,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
          * The next_page_token value returned from a previous List request, if any.
          * 
    * * 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 { @@ -826,68 +741,61 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
          * The next_page_token value returned from a previous List request, if any.
          * 
    * * 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 returned from a previous List request, if any.
          * 
    * * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
          * The next_page_token value returned from a previous List request, if any.
          * 
    * * 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); } @@ -897,34 +805,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest) - private static final com.google.cloud.orchestration.airflow.service.v1beta1 - .ListEnvironmentsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest(); + DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest(); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest - getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListEnvironmentsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListEnvironmentsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListEnvironmentsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListEnvironmentsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -936,8 +840,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest - getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListEnvironmentsRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListEnvironmentsRequestOrBuilder.java similarity index 63% rename from proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListEnvironmentsRequestOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListEnvironmentsRequestOrBuilder.java index 5147205e..5f6893be 100644 --- a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListEnvironmentsRequestOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListEnvironmentsRequestOrBuilder.java @@ -1,90 +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/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; -public interface ListEnvironmentsRequestOrBuilder - extends +public interface ListEnvironmentsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * List environments in the given project and location, in the form:
        * "projects/{projectId}/locations/{locationId}"
        * 
    * * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
        * List environments in the given project and location, in the form:
        * "projects/{projectId}/locations/{locationId}"
        * 
    * * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
        * The maximum number of environments to return.
        * 
    * * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
        * The next_page_token value returned from a previous List request, if any.
        * 
    * * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
        * The next_page_token value returned from a previous List request, if any.
        * 
    * * 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-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListEnvironmentsResponse.java b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListEnvironmentsResponse.java similarity index 58% rename from proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListEnvironmentsResponse.java rename to owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListEnvironmentsResponse.java index a1520f0b..37521e18 100644 --- a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListEnvironmentsResponse.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListEnvironmentsResponse.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/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; /** - * - * *
      * The environments in a project and location.
      * 
    * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse} */ -public final class ListEnvironmentsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListEnvironmentsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse) ListEnvironmentsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListEnvironmentsResponse.newBuilder() to construct. private ListEnvironmentsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListEnvironmentsResponse() { environments_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListEnvironmentsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListEnvironmentsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListEnvironmentsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,34 +55,28 @@ private ListEnvironmentsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - environments_ = - new java.util.ArrayList< - com.google.cloud.orchestration.airflow.service.v1beta1.Environment>(); - mutable_bitField0_ |= 0x00000001; - } - environments_.add( - input.readMessage( - com.google.cloud.orchestration.airflow.service.v1beta1.Environment.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + environments_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + environments_.add( + input.readMessage(com.google.cloud.orchestration.airflow.service.v1beta1.Environment.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -107,7 +84,8 @@ private ListEnvironmentsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { environments_ = java.util.Collections.unmodifiableList(environments_); @@ -116,118 +94,87 @@ private ListEnvironmentsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsResponse_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse.class, - com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse.Builder - .class); + com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse.class, com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse.Builder.class); } public static final int ENVIRONMENTS_FIELD_NUMBER = 1; - private java.util.List - environments_; + private java.util.List environments_; /** - * - * *
        * The list of environments returned by a ListEnvironmentsRequest.
        * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; */ @java.lang.Override - public java.util.List - getEnvironmentsList() { + public java.util.List getEnvironmentsList() { return environments_; } /** - * - * *
        * The list of environments returned by a ListEnvironmentsRequest.
        * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder> + public java.util.List getEnvironmentsOrBuilderList() { return environments_; } /** - * - * *
        * The list of environments returned by a ListEnvironmentsRequest.
        * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; */ @java.lang.Override public int getEnvironmentsCount() { return environments_.size(); } /** - * - * *
        * The list of environments returned by a ListEnvironmentsRequest.
        * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.Environment getEnvironments( - int index) { + public com.google.cloud.orchestration.airflow.service.v1beta1.Environment getEnvironments(int index) { return environments_.get(index); } /** - * - * *
        * The list of environments returned by a ListEnvironmentsRequest.
        * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder - getEnvironmentsOrBuilder(int index) { + public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder getEnvironmentsOrBuilder( + int index) { return environments_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
        * The page token used to query for the next page if one exists.
        * 
    * * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -236,29 +183,29 @@ 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; } } /** - * - * *
        * The page token used to query for the next page if one exists.
        * 
    * * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -267,7 +214,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -279,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 < environments_.size(); i++) { output.writeMessage(1, environments_.get(i)); } @@ -296,7 +243,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < environments_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, environments_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, environments_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -309,18 +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.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse)) { + if (!(obj instanceof com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse other = - (com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse) obj; + com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse other = (com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse) obj; - if (!getEnvironmentsList().equals(other.getEnvironmentsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getEnvironmentsList() + .equals(other.getEnvironmentsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -343,155 +290,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse - 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.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse 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.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse prototype) { + public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 environments in a project and location.
        * 
    * - * Protobuf type {@code - * google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse} + * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse) com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsResponse_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse.class, - com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse - .Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse.class, com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse.Builder.class); } - // Construct using - // com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse.newBuilder() + // Construct using com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse.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) { getEnvironmentsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -507,22 +435,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsResponse_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse - getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse - .getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse.getDefaultInstance(); } @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse build() { - com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse result = - buildPartial(); + com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -530,10 +455,8 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRe } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse - buildPartial() { - com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse result = - new com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse(this); + public com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse buildPartial() { + com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse result = new com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse(this); int from_bitField0_ = bitField0_; if (environmentsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -553,54 +476,46 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRe public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse) { - return mergeFrom( - (com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse) - other); + if (other instanceof com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse) { + return mergeFrom((com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse other) { - if (other - == com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse other) { + if (other == com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse.getDefaultInstance()) return this; if (environmentsBuilder_ == null) { if (!other.environments_.isEmpty()) { if (environments_.isEmpty()) { @@ -619,10 +534,9 @@ public Builder mergeFrom( environmentsBuilder_ = null; environments_ = other.environments_; bitField0_ = (bitField0_ & ~0x00000001); - environmentsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getEnvironmentsFieldBuilder() - : null; + environmentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getEnvironmentsFieldBuilder() : null; } else { environmentsBuilder_.addAllMessages(other.environments_); } @@ -647,14 +561,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse - parsedMessage = null; + com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -663,40 +574,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private java.util.List - environments_ = java.util.Collections.emptyList(); - + private java.util.List environments_ = + java.util.Collections.emptyList(); private void ensureEnvironmentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - environments_ = - new java.util.ArrayList< - com.google.cloud.orchestration.airflow.service.v1beta1.Environment>(environments_); + environments_ = new java.util.ArrayList(environments_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.Environment, - com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder, - com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder> - environmentsBuilder_; + com.google.cloud.orchestration.airflow.service.v1beta1.Environment, com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder> environmentsBuilder_; /** - * - * *
          * The list of environments returned by a ListEnvironmentsRequest.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; */ - public java.util.List - getEnvironmentsList() { + public java.util.List getEnvironmentsList() { if (environmentsBuilder_ == null) { return java.util.Collections.unmodifiableList(environments_); } else { @@ -704,15 +603,11 @@ private void ensureEnvironmentsIsMutable() { } } /** - * - * *
          * The list of environments returned by a ListEnvironmentsRequest.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; */ public int getEnvironmentsCount() { if (environmentsBuilder_ == null) { @@ -722,18 +617,13 @@ public int getEnvironmentsCount() { } } /** - * - * *
          * The list of environments returned by a ListEnvironmentsRequest.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; */ - public com.google.cloud.orchestration.airflow.service.v1beta1.Environment getEnvironments( - int index) { + public com.google.cloud.orchestration.airflow.service.v1beta1.Environment getEnvironments(int index) { if (environmentsBuilder_ == null) { return environments_.get(index); } else { @@ -741,15 +631,11 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.Environment getEnv } } /** - * - * *
          * The list of environments returned by a ListEnvironmentsRequest.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; */ public Builder setEnvironments( int index, com.google.cloud.orchestration.airflow.service.v1beta1.Environment value) { @@ -766,20 +652,14 @@ public Builder setEnvironments( return this; } /** - * - * *
          * The list of environments returned by a ListEnvironmentsRequest.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; */ public Builder setEnvironments( - int index, - com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder - builderForValue) { + int index, com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder builderForValue) { if (environmentsBuilder_ == null) { ensureEnvironmentsIsMutable(); environments_.set(index, builderForValue.build()); @@ -790,18 +670,13 @@ public Builder setEnvironments( return this; } /** - * - * *
          * The list of environments returned by a ListEnvironmentsRequest.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; */ - public Builder addEnvironments( - com.google.cloud.orchestration.airflow.service.v1beta1.Environment value) { + public Builder addEnvironments(com.google.cloud.orchestration.airflow.service.v1beta1.Environment value) { if (environmentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -815,15 +690,11 @@ public Builder addEnvironments( return this; } /** - * - * *
          * The list of environments returned by a ListEnvironmentsRequest.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; */ public Builder addEnvironments( int index, com.google.cloud.orchestration.airflow.service.v1beta1.Environment value) { @@ -840,19 +711,14 @@ public Builder addEnvironments( return this; } /** - * - * *
          * The list of environments returned by a ListEnvironmentsRequest.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; */ public Builder addEnvironments( - com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder - builderForValue) { + com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder builderForValue) { if (environmentsBuilder_ == null) { ensureEnvironmentsIsMutable(); environments_.add(builderForValue.build()); @@ -863,20 +729,14 @@ public Builder addEnvironments( return this; } /** - * - * *
          * The list of environments returned by a ListEnvironmentsRequest.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; */ public Builder addEnvironments( - int index, - com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder - builderForValue) { + int index, com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder builderForValue) { if (environmentsBuilder_ == null) { ensureEnvironmentsIsMutable(); environments_.add(index, builderForValue.build()); @@ -887,23 +747,18 @@ public Builder addEnvironments( return this; } /** - * - * *
          * The list of environments returned by a ListEnvironmentsRequest.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; */ public Builder addAllEnvironments( - java.lang.Iterable< - ? extends com.google.cloud.orchestration.airflow.service.v1beta1.Environment> - values) { + java.lang.Iterable values) { if (environmentsBuilder_ == null) { ensureEnvironmentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, environments_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, environments_); onChanged(); } else { environmentsBuilder_.addAllMessages(values); @@ -911,15 +766,11 @@ public Builder addAllEnvironments( return this; } /** - * - * *
          * The list of environments returned by a ListEnvironmentsRequest.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; */ public Builder clearEnvironments() { if (environmentsBuilder_ == null) { @@ -932,15 +783,11 @@ public Builder clearEnvironments() { return this; } /** - * - * *
          * The list of environments returned by a ListEnvironmentsRequest.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; */ public Builder removeEnvironments(int index) { if (environmentsBuilder_ == null) { @@ -953,53 +800,39 @@ public Builder removeEnvironments(int index) { return this; } /** - * - * *
          * The list of environments returned by a ListEnvironmentsRequest.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; */ - public com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder - getEnvironmentsBuilder(int index) { + public com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder getEnvironmentsBuilder( + int index) { return getEnvironmentsFieldBuilder().getBuilder(index); } /** - * - * *
          * The list of environments returned by a ListEnvironmentsRequest.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; */ - public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder - getEnvironmentsOrBuilder(int index) { + public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder getEnvironmentsOrBuilder( + int index) { if (environmentsBuilder_ == null) { - return environments_.get(index); - } else { + return environments_.get(index); } else { return environmentsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
          * The list of environments returned by a ListEnvironmentsRequest.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; */ - public java.util.List< - ? extends com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder> - getEnvironmentsOrBuilderList() { + public java.util.List + getEnvironmentsOrBuilderList() { if (environmentsBuilder_ != null) { return environmentsBuilder_.getMessageOrBuilderList(); } else { @@ -1007,71 +840,49 @@ public Builder removeEnvironments(int index) { } } /** - * - * *
          * The list of environments returned by a ListEnvironmentsRequest.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; */ - public com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder - addEnvironmentsBuilder() { - return getEnvironmentsFieldBuilder() - .addBuilder( - com.google.cloud.orchestration.airflow.service.v1beta1.Environment - .getDefaultInstance()); + public com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder addEnvironmentsBuilder() { + return getEnvironmentsFieldBuilder().addBuilder( + com.google.cloud.orchestration.airflow.service.v1beta1.Environment.getDefaultInstance()); } /** - * - * *
          * The list of environments returned by a ListEnvironmentsRequest.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; */ - public com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder - addEnvironmentsBuilder(int index) { - return getEnvironmentsFieldBuilder() - .addBuilder( - index, - com.google.cloud.orchestration.airflow.service.v1beta1.Environment - .getDefaultInstance()); + public com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder addEnvironmentsBuilder( + int index) { + return getEnvironmentsFieldBuilder().addBuilder( + index, com.google.cloud.orchestration.airflow.service.v1beta1.Environment.getDefaultInstance()); } /** - * - * *
          * The list of environments returned by a ListEnvironmentsRequest.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; */ - public java.util.List< - com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder> - getEnvironmentsBuilderList() { + public java.util.List + getEnvironmentsBuilderList() { return getEnvironmentsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.Environment, - com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder, - com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder> + com.google.cloud.orchestration.airflow.service.v1beta1.Environment, com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder> getEnvironmentsFieldBuilder() { if (environmentsBuilder_ == null) { - environmentsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.Environment, - com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder, - com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder>( - environments_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + environmentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.orchestration.airflow.service.v1beta1.Environment, com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder>( + environments_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); environments_ = null; } return environmentsBuilder_; @@ -1079,20 +890,18 @@ public Builder removeEnvironments(int index) { private java.lang.Object nextPageToken_ = ""; /** - * - * *
          * The page token used to query for the next page if one exists.
          * 
    * * 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; @@ -1101,21 +910,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
          * The page token used to query for the next page if one exists.
          * 
    * * 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 { @@ -1123,68 +931,61 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
          * The page token used to query for the next page if one exists.
          * 
    * * 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; } /** - * - * *
          * The page token used to query for the next page if one exists.
          * 
    * * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
          * The page token used to query for the next page if one exists.
          * 
    * * 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); } @@ -1194,34 +995,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse) - private static final com.google.cloud.orchestration.airflow.service.v1beta1 - .ListEnvironmentsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse(); + DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse(); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse - getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListEnvironmentsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListEnvironmentsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListEnvironmentsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListEnvironmentsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1233,8 +1030,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse - getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListEnvironmentsResponseOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListEnvironmentsResponseOrBuilder.java similarity index 51% rename from proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListEnvironmentsResponseOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListEnvironmentsResponseOrBuilder.java index 19177e2e..83a7fd20 100644 --- a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListEnvironmentsResponseOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListEnvironmentsResponseOrBuilder.java @@ -1,115 +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/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; -public interface ListEnvironmentsResponseOrBuilder - extends +public interface ListEnvironmentsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * The list of environments returned by a ListEnvironmentsRequest.
        * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; */ - java.util.List + java.util.List getEnvironmentsList(); /** - * - * *
        * The list of environments returned by a ListEnvironmentsRequest.
        * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; */ com.google.cloud.orchestration.airflow.service.v1beta1.Environment getEnvironments(int index); /** - * - * *
        * The list of environments returned by a ListEnvironmentsRequest.
        * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; */ int getEnvironmentsCount(); /** - * - * *
        * The list of environments returned by a ListEnvironmentsRequest.
        * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; */ - java.util.List< - ? extends com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder> + java.util.List getEnvironmentsOrBuilderList(); /** - * - * *
        * The list of environments returned by a ListEnvironmentsRequest.
        * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; */ - com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder - getEnvironmentsOrBuilder(int index); + com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder getEnvironmentsOrBuilder( + int index); /** - * - * *
        * The page token used to query for the next page if one exists.
        * 
    * * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
        * The page token used to query for the next page if one exists.
        * 
    * * 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-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListImageVersionsRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListImageVersionsRequest.java similarity index 63% rename from proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListImageVersionsRequest.java rename to owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListImageVersionsRequest.java index df3ce5c6..33f8c734 100644 --- a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListImageVersionsRequest.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListImageVersionsRequest.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/orchestration/airflow/service/v1beta1/image_versions.proto package com.google.cloud.orchestration.airflow.service.v1beta1; /** - * - * *
      * List ImageVersions in a project and location.
      * 
    * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest} */ -public final class ListImageVersionsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListImageVersionsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest) ListImageVersionsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListImageVersionsRequest.newBuilder() to construct. private ListImageVersionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListImageVersionsRequest() { parent_ = ""; pageToken_ = ""; @@ -44,15 +26,16 @@ private ListImageVersionsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListImageVersionsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListImageVersionsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,37 +54,35 @@ private ListImageVersionsRequest( 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: - { - includePastReleases_ = 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: { + + includePastReleases_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -109,41 +90,35 @@ private ListImageVersionsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsRequest_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest.class, - com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest.Builder - .class); + com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest.class, com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
        * List ImageVersions in the given project and location, in the form:
        * "projects/{projectId}/locations/{locationId}"
        * 
    * * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -152,30 +127,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
        * List ImageVersions in the given project and location, in the form:
        * "projects/{projectId}/locations/{locationId}"
        * 
    * * 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 { @@ -186,14 +161,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
        * The maximum number of image_versions to return.
        * 
    * * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -204,14 +176,11 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
        * The next_page_token value returned from a previous List request, if any.
        * 
    * * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -220,29 +189,29 @@ 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 returned from a previous List request, if any.
        * 
    * * 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 { @@ -253,14 +222,11 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int INCLUDE_PAST_RELEASES_FIELD_NUMBER = 4; private boolean includePastReleases_; /** - * - * *
        * Whether or not image versions from old releases should be included.
        * 
    * * bool include_past_releases = 4; - * * @return The includePastReleases. */ @java.lang.Override @@ -269,7 +235,6 @@ public boolean getIncludePastReleases() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -281,7 +246,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -307,13 +273,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } if (includePastReleases_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, includePastReleases_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, includePastReleases_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -323,20 +291,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.orchestration.airflow.service.v1beta1.ListImageVersionsRequest)) { + if (!(obj instanceof com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest other = - (com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest) obj; + com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest other = (com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (getIncludePastReleases() != other.getIncludePastReleases()) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (getIncludePastReleases() + != other.getIncludePastReleases()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -355,159 +324,142 @@ public int hashCode() { hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getPageToken().hashCode(); hash = (37 * hash) + INCLUDE_PAST_RELEASES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIncludePastReleases()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIncludePastReleases()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest - 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.orchestration.airflow.service.v1beta1.ListImageVersionsRequest 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.orchestration.airflow.service.v1beta1.ListImageVersionsRequest - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest prototype) { + public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 ImageVersions in a project and location.
        * 
    * - * Protobuf type {@code - * google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest} + * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest) com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsRequest_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest.class, - com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest - .Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest.class, com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest.Builder.class); } - // Construct using - // com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest.newBuilder() + // Construct using com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -523,22 +475,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsRequest_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest - getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest - .getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest.getDefaultInstance(); } @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest build() { - com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest result = - buildPartial(); + com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -546,10 +495,8 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsR } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest - buildPartial() { - com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest result = - new com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest(this); + public com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest buildPartial() { + com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest result = new com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -562,54 +509,46 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsR public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest) { - return mergeFrom( - (com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest) - other); + if (other instanceof com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest) { + return mergeFrom((com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest other) { - if (other - == com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest other) { + if (other == com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -639,14 +578,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest - parsedMessage = null; + com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -658,21 +594,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
          * List ImageVersions in the given project and location, in the form:
          * "projects/{projectId}/locations/{locationId}"
          * 
    * * 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; @@ -681,22 +615,21 @@ public java.lang.String getParent() { } } /** - * - * *
          * List ImageVersions in the given project and location, in the form:
          * "projects/{projectId}/locations/{locationId}"
          * 
    * * 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 { @@ -704,79 +637,69 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
          * List ImageVersions in the given project and location, in the form:
          * "projects/{projectId}/locations/{locationId}"
          * 
    * * 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; } /** - * - * *
          * List ImageVersions in the given project and location, in the form:
          * "projects/{projectId}/locations/{locationId}"
          * 
    * * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
          * List ImageVersions in the given project and location, in the form:
          * "projects/{projectId}/locations/{locationId}"
          * 
    * * 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 image_versions to return.
          * 
    * * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -784,36 +707,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
          * The maximum number of image_versions 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 image_versions to return.
          * 
    * * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -821,20 +738,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
          * The next_page_token value returned from a previous List request, if any.
          * 
    * * 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; @@ -843,21 +758,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
          * The next_page_token value returned from a previous List request, if any.
          * 
    * * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -865,76 +779,66 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
          * The next_page_token value returned from a previous List request, if any.
          * 
    * * 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 returned from a previous List request, if any.
          * 
    * * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
          * The next_page_token value returned from a previous List request, if any.
          * 
    * * 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 includePastReleases_; + private boolean includePastReleases_ ; /** - * - * *
          * Whether or not image versions from old releases should be included.
          * 
    * * bool include_past_releases = 4; - * * @return The includePastReleases. */ @java.lang.Override @@ -942,43 +846,37 @@ public boolean getIncludePastReleases() { return includePastReleases_; } /** - * - * *
          * Whether or not image versions from old releases should be included.
          * 
    * * bool include_past_releases = 4; - * * @param value The includePastReleases to set. * @return This builder for chaining. */ public Builder setIncludePastReleases(boolean value) { - + includePastReleases_ = value; onChanged(); return this; } /** - * - * *
          * Whether or not image versions from old releases should be included.
          * 
    * * bool include_past_releases = 4; - * * @return This builder for chaining. */ public Builder clearIncludePastReleases() { - + includePastReleases_ = 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); } @@ -988,34 +886,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest) - private static final com.google.cloud.orchestration.airflow.service.v1beta1 - .ListImageVersionsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest(); + DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest(); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest - getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListImageVersionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListImageVersionsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListImageVersionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListImageVersionsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1027,8 +921,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest - getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListImageVersionsRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListImageVersionsRequestOrBuilder.java similarity index 66% rename from proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListImageVersionsRequestOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListImageVersionsRequestOrBuilder.java index 6f3a45a6..a9ee4072 100644 --- a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListImageVersionsRequestOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListImageVersionsRequestOrBuilder.java @@ -1,102 +1,70 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/orchestration/airflow/service/v1beta1/image_versions.proto package com.google.cloud.orchestration.airflow.service.v1beta1; -public interface ListImageVersionsRequestOrBuilder - extends +public interface ListImageVersionsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * List ImageVersions in the given project and location, in the form:
        * "projects/{projectId}/locations/{locationId}"
        * 
    * * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
        * List ImageVersions in the given project and location, in the form:
        * "projects/{projectId}/locations/{locationId}"
        * 
    * * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
        * The maximum number of image_versions to return.
        * 
    * * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
        * The next_page_token value returned from a previous List request, if any.
        * 
    * * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
        * The next_page_token value returned from a previous List request, if any.
        * 
    * * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
        * Whether or not image versions from old releases should be included.
        * 
    * * bool include_past_releases = 4; - * * @return The includePastReleases. */ boolean getIncludePastReleases(); diff --git a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListImageVersionsResponse.java b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListImageVersionsResponse.java similarity index 58% rename from proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListImageVersionsResponse.java rename to owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListImageVersionsResponse.java index ecf14220..6ac4a669 100644 --- a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListImageVersionsResponse.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListImageVersionsResponse.java @@ -1,43 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/orchestration/airflow/service/v1beta1/image_versions.proto package com.google.cloud.orchestration.airflow.service.v1beta1; /** - * - * *
      * The ImageVersions in a project and location.
      * 
    * - * Protobuf type {@code - * google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse} + * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse} */ -public final class ListImageVersionsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListImageVersionsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse) ListImageVersionsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListImageVersionsResponse.newBuilder() to construct. private ListImageVersionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListImageVersionsResponse() { imageVersions_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -45,15 +26,16 @@ private ListImageVersionsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListImageVersionsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListImageVersionsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,34 +55,28 @@ private ListImageVersionsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - imageVersions_ = - new java.util.ArrayList< - com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion>(); - mutable_bitField0_ |= 0x00000001; - } - imageVersions_.add( - input.readMessage( - com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + imageVersions_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + imageVersions_.add( + input.readMessage(com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -108,7 +84,8 @@ private ListImageVersionsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { imageVersions_ = java.util.Collections.unmodifiableList(imageVersions_); @@ -117,118 +94,87 @@ private ListImageVersionsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsResponse_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse.class, - com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse.Builder - .class); + com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse.class, com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse.Builder.class); } public static final int IMAGE_VERSIONS_FIELD_NUMBER = 1; - private java.util.List - imageVersions_; + private java.util.List imageVersions_; /** - * - * *
        * The list of supported ImageVersions in a location.
        * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; */ @java.lang.Override - public java.util.List - getImageVersionsList() { + public java.util.List getImageVersionsList() { return imageVersions_; } /** - * - * *
        * The list of supported ImageVersions in a location.
        * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionOrBuilder> + public java.util.List getImageVersionsOrBuilderList() { return imageVersions_; } /** - * - * *
        * The list of supported ImageVersions in a location.
        * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; */ @java.lang.Override public int getImageVersionsCount() { return imageVersions_.size(); } /** - * - * *
        * The list of supported ImageVersions in a location.
        * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion getImageVersions( - int index) { + public com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion getImageVersions(int index) { return imageVersions_.get(index); } /** - * - * *
        * The list of supported ImageVersions in a location.
        * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionOrBuilder - getImageVersionsOrBuilder(int index) { + public com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionOrBuilder getImageVersionsOrBuilder( + int index) { return imageVersions_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
        * The page token used to query for the next page if one exists.
        * 
    * * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -237,29 +183,29 @@ 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; } } /** - * - * *
        * The page token used to query for the next page if one exists.
        * 
    * * 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 { @@ -268,7 +214,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -280,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 < imageVersions_.size(); i++) { output.writeMessage(1, imageVersions_.get(i)); } @@ -297,7 +243,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < imageVersions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, imageVersions_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, imageVersions_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -310,18 +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.orchestration.airflow.service.v1beta1.ListImageVersionsResponse)) { + if (!(obj instanceof com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse other = - (com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse) obj; + com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse other = (com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse) obj; - if (!getImageVersionsList().equals(other.getImageVersionsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getImageVersionsList() + .equals(other.getImageVersionsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -344,156 +290,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse - 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.orchestration.airflow.service.v1beta1.ListImageVersionsResponse 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.orchestration.airflow.service.v1beta1.ListImageVersionsResponse - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse prototype) { + public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 ImageVersions in a project and location.
        * 
    * - * Protobuf type {@code - * google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse} + * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse) com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsResponse_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse - .class, - com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse - .Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse.class, com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse.Builder.class); } - // Construct using - // com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse.newBuilder() + // Construct using com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse.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) { getImageVersionsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -509,23 +435,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsResponse_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse - getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse - .getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse - build() { - com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse result = - buildPartial(); + public com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse build() { + com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -533,11 +455,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse - buildPartial() { - com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse result = - new com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse( - this); + public com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse buildPartial() { + com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse result = new com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse(this); int from_bitField0_ = bitField0_; if (imageVersionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -557,54 +476,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse) { - return mergeFrom( - (com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse) - other); + if (other instanceof com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse) { + return mergeFrom((com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse other) { - if (other - == com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse other) { + if (other == com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse.getDefaultInstance()) return this; if (imageVersionsBuilder_ == null) { if (!other.imageVersions_.isEmpty()) { if (imageVersions_.isEmpty()) { @@ -623,10 +534,9 @@ public Builder mergeFrom( imageVersionsBuilder_ = null; imageVersions_ = other.imageVersions_; bitField0_ = (bitField0_ & ~0x00000001); - imageVersionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getImageVersionsFieldBuilder() - : null; + imageVersionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getImageVersionsFieldBuilder() : null; } else { imageVersionsBuilder_.addAllMessages(other.imageVersions_); } @@ -651,14 +561,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse - parsedMessage = null; + com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -667,41 +574,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private java.util.List - imageVersions_ = java.util.Collections.emptyList(); - + private java.util.List imageVersions_ = + java.util.Collections.emptyList(); private void ensureImageVersionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - imageVersions_ = - new java.util.ArrayList< - com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion>( - imageVersions_); + imageVersions_ = new java.util.ArrayList(imageVersions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion, - com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.Builder, - com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionOrBuilder> - imageVersionsBuilder_; + com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion, com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionOrBuilder> imageVersionsBuilder_; /** - * - * *
          * The list of supported ImageVersions in a location.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; */ - public java.util.List - getImageVersionsList() { + public java.util.List getImageVersionsList() { if (imageVersionsBuilder_ == null) { return java.util.Collections.unmodifiableList(imageVersions_); } else { @@ -709,15 +603,11 @@ private void ensureImageVersionsIsMutable() { } } /** - * - * *
          * The list of supported ImageVersions in a location.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; */ public int getImageVersionsCount() { if (imageVersionsBuilder_ == null) { @@ -727,18 +617,13 @@ public int getImageVersionsCount() { } } /** - * - * *
          * The list of supported ImageVersions in a location.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; */ - public com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion getImageVersions( - int index) { + public com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion getImageVersions(int index) { if (imageVersionsBuilder_ == null) { return imageVersions_.get(index); } else { @@ -746,15 +631,11 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion getIm } } /** - * - * *
          * The list of supported ImageVersions in a location.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; */ public Builder setImageVersions( int index, com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion value) { @@ -771,20 +652,14 @@ public Builder setImageVersions( return this; } /** - * - * *
          * The list of supported ImageVersions in a location.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; */ public Builder setImageVersions( - int index, - com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.Builder - builderForValue) { + int index, com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.Builder builderForValue) { if (imageVersionsBuilder_ == null) { ensureImageVersionsIsMutable(); imageVersions_.set(index, builderForValue.build()); @@ -795,18 +670,13 @@ public Builder setImageVersions( return this; } /** - * - * *
          * The list of supported ImageVersions in a location.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; */ - public Builder addImageVersions( - com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion value) { + public Builder addImageVersions(com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion value) { if (imageVersionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -820,15 +690,11 @@ public Builder addImageVersions( return this; } /** - * - * *
          * The list of supported ImageVersions in a location.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; */ public Builder addImageVersions( int index, com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion value) { @@ -845,19 +711,14 @@ public Builder addImageVersions( return this; } /** - * - * *
          * The list of supported ImageVersions in a location.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; */ public Builder addImageVersions( - com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.Builder - builderForValue) { + com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.Builder builderForValue) { if (imageVersionsBuilder_ == null) { ensureImageVersionsIsMutable(); imageVersions_.add(builderForValue.build()); @@ -868,20 +729,14 @@ public Builder addImageVersions( return this; } /** - * - * *
          * The list of supported ImageVersions in a location.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; */ public Builder addImageVersions( - int index, - com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.Builder - builderForValue) { + int index, com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.Builder builderForValue) { if (imageVersionsBuilder_ == null) { ensureImageVersionsIsMutable(); imageVersions_.add(index, builderForValue.build()); @@ -892,23 +747,18 @@ public Builder addImageVersions( return this; } /** - * - * *
          * The list of supported ImageVersions in a location.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; */ public Builder addAllImageVersions( - java.lang.Iterable< - ? extends com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion> - values) { + java.lang.Iterable values) { if (imageVersionsBuilder_ == null) { ensureImageVersionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, imageVersions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, imageVersions_); onChanged(); } else { imageVersionsBuilder_.addAllMessages(values); @@ -916,15 +766,11 @@ public Builder addAllImageVersions( return this; } /** - * - * *
          * The list of supported ImageVersions in a location.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; */ public Builder clearImageVersions() { if (imageVersionsBuilder_ == null) { @@ -937,15 +783,11 @@ public Builder clearImageVersions() { return this; } /** - * - * *
          * The list of supported ImageVersions in a location.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; */ public Builder removeImageVersions(int index) { if (imageVersionsBuilder_ == null) { @@ -958,53 +800,39 @@ public Builder removeImageVersions(int index) { return this; } /** - * - * *
          * The list of supported ImageVersions in a location.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; */ - public com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.Builder - getImageVersionsBuilder(int index) { + public com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.Builder getImageVersionsBuilder( + int index) { return getImageVersionsFieldBuilder().getBuilder(index); } /** - * - * *
          * The list of supported ImageVersions in a location.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; */ - public com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionOrBuilder - getImageVersionsOrBuilder(int index) { + public com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionOrBuilder getImageVersionsOrBuilder( + int index) { if (imageVersionsBuilder_ == null) { - return imageVersions_.get(index); - } else { + return imageVersions_.get(index); } else { return imageVersionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
          * The list of supported ImageVersions in a location.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; */ - public java.util.List< - ? extends com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionOrBuilder> - getImageVersionsOrBuilderList() { + public java.util.List + getImageVersionsOrBuilderList() { if (imageVersionsBuilder_ != null) { return imageVersionsBuilder_.getMessageOrBuilderList(); } else { @@ -1012,70 +840,45 @@ public Builder removeImageVersions(int index) { } } /** - * - * *
          * The list of supported ImageVersions in a location.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; */ - public com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.Builder - addImageVersionsBuilder() { - return getImageVersionsFieldBuilder() - .addBuilder( - com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion - .getDefaultInstance()); + public com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.Builder addImageVersionsBuilder() { + return getImageVersionsFieldBuilder().addBuilder( + com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.getDefaultInstance()); } /** - * - * *
          * The list of supported ImageVersions in a location.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; */ - public com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.Builder - addImageVersionsBuilder(int index) { - return getImageVersionsFieldBuilder() - .addBuilder( - index, - com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion - .getDefaultInstance()); + public com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.Builder addImageVersionsBuilder( + int index) { + return getImageVersionsFieldBuilder().addBuilder( + index, com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.getDefaultInstance()); } /** - * - * *
          * The list of supported ImageVersions in a location.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; */ - public java.util.List< - com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.Builder> - getImageVersionsBuilderList() { + public java.util.List + getImageVersionsBuilderList() { return getImageVersionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion, - com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.Builder, - com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionOrBuilder> + com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion, com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionOrBuilder> getImageVersionsFieldBuilder() { if (imageVersionsBuilder_ == null) { - imageVersionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion, - com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.Builder, - com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionOrBuilder>( + imageVersionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion, com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionOrBuilder>( imageVersions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1087,20 +890,18 @@ public Builder removeImageVersions(int index) { private java.lang.Object nextPageToken_ = ""; /** - * - * *
          * The page token used to query for the next page if one exists.
          * 
    * * 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,21 +910,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
          * The page token used to query for the next page if one exists.
          * 
    * * 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 { @@ -1131,68 +931,61 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
          * The page token used to query for the next page if one exists.
          * 
    * * 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; } /** - * - * *
          * The page token used to query for the next page if one exists.
          * 
    * * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
          * The page token used to query for the next page if one exists.
          * 
    * * 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); } @@ -1202,34 +995,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse) - private static final com.google.cloud.orchestration.airflow.service.v1beta1 - .ListImageVersionsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse(); + DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse(); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse - getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListImageVersionsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListImageVersionsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListImageVersionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListImageVersionsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1241,8 +1030,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse - getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListImageVersionsResponseOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListImageVersionsResponseOrBuilder.java new file mode 100644 index 00000000..7e52c016 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListImageVersionsResponseOrBuilder.java @@ -0,0 +1,73 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/orchestration/airflow/service/v1beta1/image_versions.proto + +package com.google.cloud.orchestration.airflow.service.v1beta1; + +public interface ListImageVersionsResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse) + com.google.protobuf.MessageOrBuilder { + + /** + *
    +   * The list of supported ImageVersions in a location.
    +   * 
    + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; + */ + java.util.List + getImageVersionsList(); + /** + *
    +   * The list of supported ImageVersions in a location.
    +   * 
    + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; + */ + com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion getImageVersions(int index); + /** + *
    +   * The list of supported ImageVersions in a location.
    +   * 
    + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; + */ + int getImageVersionsCount(); + /** + *
    +   * The list of supported ImageVersions in a location.
    +   * 
    + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; + */ + java.util.List + getImageVersionsOrBuilderList(); + /** + *
    +   * The list of supported ImageVersions in a location.
    +   * 
    + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; + */ + com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionOrBuilder getImageVersionsOrBuilder( + int index); + + /** + *
    +   * The page token used to query for the next page if one exists.
    +   * 
    + * + * string next_page_token = 2; + * @return The nextPageToken. + */ + java.lang.String getNextPageToken(); + /** + *
    +   * The page token used to query for the next page if one exists.
    +   * 
    + * + * string next_page_token = 2; + * @return The bytes for nextPageToken. + */ + com.google.protobuf.ByteString + getNextPageTokenBytes(); +} diff --git a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/MaintenanceWindow.java b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/MaintenanceWindow.java similarity index 70% rename from proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/MaintenanceWindow.java rename to owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/MaintenanceWindow.java index 179272e0..ad569245 100644 --- a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/MaintenanceWindow.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/MaintenanceWindow.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/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; /** - * - * *
      * The configuration settings for Cloud Composer maintenance window.
      * The following example:
    @@ -37,31 +20,31 @@
      *
      * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow}
      */
    -public final class MaintenanceWindow extends com.google.protobuf.GeneratedMessageV3
    -    implements
    +public final class MaintenanceWindow extends
    +    com.google.protobuf.GeneratedMessageV3 implements
         // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow)
         MaintenanceWindowOrBuilder {
    -  private static final long serialVersionUID = 0L;
    +private static final long serialVersionUID = 0L;
       // Use MaintenanceWindow.newBuilder() to construct.
       private MaintenanceWindow(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
    -
       private MaintenanceWindow() {
         recurrence_ = "";
       }
     
       @java.lang.Override
       @SuppressWarnings({"unused"})
    -  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
    +  protected java.lang.Object newInstance(
    +      UnusedPrivateParameter unused) {
         return new MaintenanceWindow();
       }
     
       @java.lang.Override
    -  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
    +  public final com.google.protobuf.UnknownFieldSet
    +  getUnknownFields() {
         return this.unknownFields;
       }
    -
       private MaintenanceWindow(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    @@ -80,50 +63,45 @@ private MaintenanceWindow(
               case 0:
                 done = true;
                 break;
    -          case 10:
    -            {
    -              com.google.protobuf.Timestamp.Builder subBuilder = null;
    -              if (startTime_ != null) {
    -                subBuilder = startTime_.toBuilder();
    -              }
    -              startTime_ =
    -                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
    -              if (subBuilder != null) {
    -                subBuilder.mergeFrom(startTime_);
    -                startTime_ = subBuilder.buildPartial();
    -              }
    -
    -              break;
    +          case 10: {
    +            com.google.protobuf.Timestamp.Builder subBuilder = null;
    +            if (startTime_ != null) {
    +              subBuilder = startTime_.toBuilder();
                 }
    -          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;
    +            startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
    +            if (subBuilder != null) {
    +              subBuilder.mergeFrom(startTime_);
    +              startTime_ = subBuilder.buildPartial();
                 }
    -          case 26:
    -            {
    -              java.lang.String s = input.readStringRequireUtf8();
     
    -              recurrence_ = s;
    -              break;
    +            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();
                 }
    -          default:
    -            {
    -              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
    -                done = true;
    -              }
    -              break;
    +
    +            break;
    +          }
    +          case 26: {
    +            java.lang.String s = input.readStringRequireUtf8();
    +
    +            recurrence_ = s;
    +            break;
    +          }
    +          default: {
    +            if (!parseUnknownField(
    +                input, unknownFields, extensionRegistry, tag)) {
    +              done = true;
                 }
    +            break;
    +          }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
    @@ -131,40 +109,34 @@ private MaintenanceWindow(
         } catch (com.google.protobuf.UninitializedMessageException e) {
           throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
    -      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
    +      throw new com.google.protobuf.InvalidProtocolBufferException(
    +          e).setUnfinishedMessage(this);
         } finally {
           this.unknownFields = unknownFields.build();
           makeExtensionsImmutable();
         }
       }
    -
    -  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    -    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
    -        .internal_static_google_cloud_orchestration_airflow_service_v1beta1_MaintenanceWindow_descriptor;
    +  public static final com.google.protobuf.Descriptors.Descriptor
    +      getDescriptor() {
    +    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_MaintenanceWindow_descriptor;
       }
     
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
    -    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
    -        .internal_static_google_cloud_orchestration_airflow_service_v1beta1_MaintenanceWindow_fieldAccessorTable
    +    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_MaintenanceWindow_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
    -            com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow.class,
    -            com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow.Builder.class);
    +            com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow.class, com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow.Builder.class);
       }
     
       public static final int START_TIME_FIELD_NUMBER = 1;
       private com.google.protobuf.Timestamp startTime_;
       /**
    -   *
    -   *
        * 
        * Required. Start time of the first recurrence of the maintenance window.
        * 
    * - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the startTime field is set. */ @java.lang.Override @@ -172,15 +144,11 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
        * Required. Start time of the first recurrence of the maintenance window.
        * 
    * - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The startTime. */ @java.lang.Override @@ -188,14 +156,11 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
        * Required. Start time of the first recurrence of the maintenance window.
        * 
    * - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { @@ -205,8 +170,6 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** - * - * *
        * Required. Maintenance window end time. It is used only to calculate the duration of
        * the maintenance window.
    @@ -214,7 +177,6 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
        * 
    * * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -222,8 +184,6 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
        * Required. Maintenance window end time. It is used only to calculate the duration of
        * the maintenance window.
    @@ -231,7 +191,6 @@ public boolean hasEndTime() {
        * 
    * * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The endTime. */ @java.lang.Override @@ -239,8 +198,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
        * Required. Maintenance window end time. It is used only to calculate the duration of
        * the maintenance window.
    @@ -257,8 +214,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
       public static final int RECURRENCE_FIELD_NUMBER = 3;
       private volatile java.lang.Object recurrence_;
       /**
    -   *
    -   *
        * 
        * Required. Maintenance window recurrence. Format is a subset of
        * [RFC-5545](https://tools.ietf.org/html/rfc5545) `RRULE`. The only allowed
    @@ -267,7 +222,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
        * 
    * * string recurrence = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The recurrence. */ @java.lang.Override @@ -276,15 +230,14 @@ public java.lang.String getRecurrence() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); recurrence_ = s; return s; } } /** - * - * *
        * Required. Maintenance window recurrence. Format is a subset of
        * [RFC-5545](https://tools.ietf.org/html/rfc5545) `RRULE`. The only allowed
    @@ -293,15 +246,16 @@ public java.lang.String getRecurrence() {
        * 
    * * string recurrence = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for recurrence. */ @java.lang.Override - public com.google.protobuf.ByteString getRecurrenceBytes() { + public com.google.protobuf.ByteString + getRecurrenceBytes() { java.lang.Object ref = recurrence_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); recurrence_ = b; return b; } else { @@ -310,7 +264,6 @@ public com.google.protobuf.ByteString getRecurrenceBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -322,7 +275,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (startTime_ != null) { output.writeMessage(1, getStartTime()); } @@ -342,10 +296,12 @@ public int getSerializedSize() { size = 0; if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getEndTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(recurrence_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, recurrence_); @@ -358,24 +314,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow)) { + if (!(obj instanceof com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow other = - (com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow) obj; + com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow other = (com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow) obj; if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime().equals(other.getStartTime())) return false; + if (!getStartTime() + .equals(other.getStartTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; } - if (!getRecurrence().equals(other.getRecurrence())) return false; + if (!getRecurrence() + .equals(other.getRecurrence())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -403,105 +360,96 @@ public int hashCode() { } public static com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow 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.orchestration.airflow.service.v1beta1.MaintenanceWindow parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow - 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.orchestration.airflow.service.v1beta1.MaintenanceWindow 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.orchestration.airflow.service.v1beta1.MaintenanceWindow parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow prototype) { + public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 configuration settings for Cloud Composer maintenance window.
        * The following example:
    @@ -518,41 +466,38 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
        *
        * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow}
        */
    -  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
    -      implements
    +  public static final class Builder extends
    +      com.google.protobuf.GeneratedMessageV3.Builder implements
           // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow)
           com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindowOrBuilder {
    -    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    -      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
    -          .internal_static_google_cloud_orchestration_airflow_service_v1beta1_MaintenanceWindow_descriptor;
    +    public static final com.google.protobuf.Descriptors.Descriptor
    +        getDescriptor() {
    +      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_MaintenanceWindow_descriptor;
         }
     
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
    -      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
    -          .internal_static_google_cloud_orchestration_airflow_service_v1beta1_MaintenanceWindow_fieldAccessorTable
    +      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_MaintenanceWindow_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
    -              com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow.class,
    -              com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow.Builder
    -                  .class);
    +              com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow.class, com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow.Builder.class);
         }
     
    -    // Construct using
    -    // com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow.newBuilder()
    +    // Construct using com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow.newBuilder()
         private Builder() {
           maybeForceBuilderInitialization();
         }
     
    -    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    +    private Builder(
    +        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
           super(parent);
           maybeForceBuilderInitialization();
         }
    -
         private void maybeForceBuilderInitialization() {
    -      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
    +      if (com.google.protobuf.GeneratedMessageV3
    +              .alwaysUseFieldBuilders) {
    +      }
         }
    -
         @java.lang.Override
         public Builder clear() {
           super.clear();
    @@ -574,22 +519,19 @@ public Builder clear() {
         }
     
         @java.lang.Override
    -    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
    -      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
    -          .internal_static_google_cloud_orchestration_airflow_service_v1beta1_MaintenanceWindow_descriptor;
    +    public com.google.protobuf.Descriptors.Descriptor
    +        getDescriptorForType() {
    +      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_MaintenanceWindow_descriptor;
         }
     
         @java.lang.Override
    -    public com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow
    -        getDefaultInstanceForType() {
    -      return com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow
    -          .getDefaultInstance();
    +    public com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow getDefaultInstanceForType() {
    +      return com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow.getDefaultInstance();
         }
     
         @java.lang.Override
         public com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow build() {
    -      com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow result =
    -          buildPartial();
    +      com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow result = buildPartial();
           if (!result.isInitialized()) {
             throw newUninitializedMessageException(result);
           }
    @@ -598,8 +540,7 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow
     
         @java.lang.Override
         public com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow buildPartial() {
    -      com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow result =
    -          new com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow(this);
    +      com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow result = new com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow(this);
           if (startTimeBuilder_ == null) {
             result.startTime_ = startTime_;
           } else {
    @@ -619,52 +560,46 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow
         public Builder clone() {
           return super.clone();
         }
    -
         @java.lang.Override
         public Builder setField(
    -        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
    +        com.google.protobuf.Descriptors.FieldDescriptor field,
    +        java.lang.Object value) {
           return super.setField(field, value);
         }
    -
         @java.lang.Override
    -    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
    +    public Builder clearField(
    +        com.google.protobuf.Descriptors.FieldDescriptor field) {
           return super.clearField(field);
         }
    -
         @java.lang.Override
    -    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
    +    public Builder clearOneof(
    +        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
           return super.clearOneof(oneof);
         }
    -
         @java.lang.Override
         public Builder setRepeatedField(
    -        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
    +        com.google.protobuf.Descriptors.FieldDescriptor field,
    +        int index, java.lang.Object value) {
           return super.setRepeatedField(field, index, value);
         }
    -
         @java.lang.Override
         public Builder addRepeatedField(
    -        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
    +        com.google.protobuf.Descriptors.FieldDescriptor field,
    +        java.lang.Object value) {
           return super.addRepeatedField(field, value);
         }
    -
         @java.lang.Override
         public Builder mergeFrom(com.google.protobuf.Message other) {
    -      if (other
    -          instanceof com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow) {
    -        return mergeFrom(
    -            (com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow) other);
    +      if (other instanceof com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow) {
    +        return mergeFrom((com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow)other);
           } else {
             super.mergeFrom(other);
             return this;
           }
         }
     
    -    public Builder mergeFrom(
    -        com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow other) {
    -      if (other
    -          == com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow
    -              .getDefaultInstance()) return this;
    +    public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow other) {
    +      if (other == com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow.getDefaultInstance()) return this;
           if (other.hasStartTime()) {
             mergeStartTime(other.getStartTime());
           }
    @@ -694,9 +629,7 @@ public Builder mergeFrom(
           try {
             parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
    -        parsedMessage =
    -            (com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow)
    -                e.getUnfinishedMessage();
    +        parsedMessage = (com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow) e.getUnfinishedMessage();
             throw e.unwrapIOException();
           } finally {
             if (parsedMessage != null) {
    @@ -708,35 +641,24 @@ public Builder mergeFrom(
     
         private com.google.protobuf.Timestamp startTime_;
         private com.google.protobuf.SingleFieldBuilderV3<
    -            com.google.protobuf.Timestamp,
    -            com.google.protobuf.Timestamp.Builder,
    -            com.google.protobuf.TimestampOrBuilder>
    -        startTimeBuilder_;
    +        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_;
         /**
    -     *
    -     *
          * 
          * Required. Start time of the first recurrence of the maintenance window.
          * 
    * - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** - * - * *
          * Required. Start time of the first recurrence of the maintenance window.
          * 
    * - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -747,14 +669,11 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
          * Required. Start time of the first recurrence of the maintenance window.
          * 
    * - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { @@ -770,16 +689,14 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
          * Required. Start time of the first recurrence of the maintenance window.
          * 
    * - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); onChanged(); @@ -790,20 +707,17 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
          * Required. Start time of the first recurrence of the maintenance window.
          * 
    * - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -815,14 +729,11 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
          * Required. Start time of the first recurrence of the maintenance window.
          * 
    * - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearStartTime() { if (startTimeBuilder_ == null) { @@ -836,59 +747,48 @@ public Builder clearStartTime() { return this; } /** - * - * *
          * Required. Start time of the first recurrence of the maintenance window.
          * 
    * - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
          * Required. Start time of the first recurrence of the maintenance window.
          * 
    * - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** - * - * *
          * Required. Start time of the first recurrence of the maintenance window.
          * 
    * - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getStartTime(), getParentForChildren(), isClean()); + startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStartTime(), + getParentForChildren(), + isClean()); startTime_ = null; } return startTimeBuilder_; @@ -896,39 +796,28 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
          * Required. Maintenance window end time. It is used only to calculate the duration of
          * the maintenance window.
          * The value for end_time must be in the future, relative to `start_time`.
          * 
    * - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** - * - * *
          * Required. Maintenance window end time. It is used only to calculate the duration of
          * the maintenance window.
          * The value for end_time must be in the future, relative to `start_time`.
          * 
    * - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -939,16 +828,13 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
          * Required. Maintenance window end time. It is used only to calculate the duration of
          * the maintenance window.
          * The value for end_time must be in the future, relative to `start_time`.
          * 
    * - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -964,18 +850,16 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
          * Required. Maintenance window end time. It is used only to calculate the duration of
          * the maintenance window.
          * The value for end_time must be in the future, relative to `start_time`.
          * 
    * - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); onChanged(); @@ -986,22 +870,19 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
          * Required. Maintenance window end time. It is used only to calculate the duration of
          * the maintenance window.
          * The value for end_time must be in the future, relative to `start_time`.
          * 
    * - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -1013,16 +894,13 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
          * Required. Maintenance window end time. It is used only to calculate the duration of
          * the maintenance window.
          * The value for end_time must be in the future, relative to `start_time`.
          * 
    * - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearEndTime() { if (endTimeBuilder_ == null) { @@ -1036,65 +914,54 @@ public Builder clearEndTime() { return this; } /** - * - * *
          * Required. Maintenance window end time. It is used only to calculate the duration of
          * the maintenance window.
          * The value for end_time must be in the future, relative to `start_time`.
          * 
    * - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
          * Required. Maintenance window end time. It is used only to calculate the duration of
          * the maintenance window.
          * The value for end_time must be in the future, relative to `start_time`.
          * 
    * - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
          * Required. Maintenance window end time. It is used only to calculate the duration of
          * the maintenance window.
          * The value for end_time must be in the future, relative to `start_time`.
          * 
    * - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEndTime(), getParentForChildren(), isClean()); + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); endTime_ = null; } return endTimeBuilder_; @@ -1102,8 +969,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private java.lang.Object recurrence_ = ""; /** - * - * *
          * Required. Maintenance window recurrence. Format is a subset of
          * [RFC-5545](https://tools.ietf.org/html/rfc5545) `RRULE`. The only allowed
    @@ -1112,13 +977,13 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
          * 
    * * string recurrence = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The recurrence. */ public java.lang.String getRecurrence() { java.lang.Object ref = recurrence_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); recurrence_ = s; return s; @@ -1127,8 +992,6 @@ public java.lang.String getRecurrence() { } } /** - * - * *
          * Required. Maintenance window recurrence. Format is a subset of
          * [RFC-5545](https://tools.ietf.org/html/rfc5545) `RRULE`. The only allowed
    @@ -1137,14 +1000,15 @@ public java.lang.String getRecurrence() {
          * 
    * * string recurrence = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for recurrence. */ - public com.google.protobuf.ByteString getRecurrenceBytes() { + public com.google.protobuf.ByteString + getRecurrenceBytes() { java.lang.Object ref = recurrence_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); recurrence_ = b; return b; } else { @@ -1152,8 +1016,6 @@ public com.google.protobuf.ByteString getRecurrenceBytes() { } } /** - * - * *
          * Required. Maintenance window recurrence. Format is a subset of
          * [RFC-5545](https://tools.ietf.org/html/rfc5545) `RRULE`. The only allowed
    @@ -1162,22 +1024,20 @@ public com.google.protobuf.ByteString getRecurrenceBytes() {
          * 
    * * string recurrence = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The recurrence to set. * @return This builder for chaining. */ - public Builder setRecurrence(java.lang.String value) { + public Builder setRecurrence( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + recurrence_ = value; onChanged(); return this; } /** - * - * *
          * Required. Maintenance window recurrence. Format is a subset of
          * [RFC-5545](https://tools.ietf.org/html/rfc5545) `RRULE`. The only allowed
    @@ -1186,18 +1046,15 @@ public Builder setRecurrence(java.lang.String value) {
          * 
    * * string recurrence = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearRecurrence() { - + recurrence_ = getDefaultInstance().getRecurrence(); onChanged(); return this; } /** - * - * *
          * Required. Maintenance window recurrence. Format is a subset of
          * [RFC-5545](https://tools.ietf.org/html/rfc5545) `RRULE`. The only allowed
    @@ -1206,23 +1063,23 @@ public Builder clearRecurrence() {
          * 
    * * string recurrence = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for recurrence to set. * @return This builder for chaining. */ - public Builder setRecurrenceBytes(com.google.protobuf.ByteString value) { + public Builder setRecurrenceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + recurrence_ = 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); } @@ -1232,33 +1089,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow) - private static final com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow - DEFAULT_INSTANCE; - + private static final com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow(); + DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow(); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow - getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MaintenanceWindow parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MaintenanceWindow(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MaintenanceWindow parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MaintenanceWindow(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1270,8 +1124,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow - getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/MaintenanceWindowOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/MaintenanceWindowOrBuilder.java similarity index 77% rename from proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/MaintenanceWindowOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/MaintenanceWindowOrBuilder.java index 564e85ce..aeea4ba7 100644 --- a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/MaintenanceWindowOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/MaintenanceWindowOrBuilder.java @@ -1,69 +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/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; -public interface MaintenanceWindowOrBuilder - extends +public interface MaintenanceWindowOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * Required. Start time of the first recurrence of the maintenance window.
        * 
    * - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
        * Required. Start time of the first recurrence of the maintenance window.
        * 
    * - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
        * Required. Start time of the first recurrence of the maintenance window.
        * 
    * - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** - * - * *
        * Required. Maintenance window end time. It is used only to calculate the duration of
        * the maintenance window.
    @@ -71,13 +42,10 @@ public interface MaintenanceWindowOrBuilder
        * 
    * * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
        * Required. Maintenance window end time. It is used only to calculate the duration of
        * the maintenance window.
    @@ -85,13 +53,10 @@ public interface MaintenanceWindowOrBuilder
        * 
    * * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
        * Required. Maintenance window end time. It is used only to calculate the duration of
        * the maintenance window.
    @@ -103,8 +68,6 @@ public interface MaintenanceWindowOrBuilder
       com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder();
     
       /**
    -   *
    -   *
        * 
        * Required. Maintenance window recurrence. Format is a subset of
        * [RFC-5545](https://tools.ietf.org/html/rfc5545) `RRULE`. The only allowed
    @@ -113,13 +76,10 @@ public interface MaintenanceWindowOrBuilder
        * 
    * * string recurrence = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The recurrence. */ java.lang.String getRecurrence(); /** - * - * *
        * Required. Maintenance window recurrence. Format is a subset of
        * [RFC-5545](https://tools.ietf.org/html/rfc5545) `RRULE`. The only allowed
    @@ -128,8 +88,8 @@ public interface MaintenanceWindowOrBuilder
        * 
    * * string recurrence = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for recurrence. */ - com.google.protobuf.ByteString getRecurrenceBytes(); + com.google.protobuf.ByteString + getRecurrenceBytes(); } diff --git a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/NodeConfig.java b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/NodeConfig.java similarity index 78% rename from proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/NodeConfig.java rename to owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/NodeConfig.java index 4243430d..fe4adc50 100644 --- a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/NodeConfig.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/NodeConfig.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/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; /** - * - * *
      * The configuration information for the Kubernetes Engine nodes running
      * the Apache Airflow software.
    @@ -28,16 +11,15 @@
      *
      * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.NodeConfig}
      */
    -public final class NodeConfig extends com.google.protobuf.GeneratedMessageV3
    -    implements
    +public final class NodeConfig extends
    +    com.google.protobuf.GeneratedMessageV3 implements
         // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1beta1.NodeConfig)
         NodeConfigOrBuilder {
    -  private static final long serialVersionUID = 0L;
    +private static final long serialVersionUID = 0L;
       // Use NodeConfig.newBuilder() to construct.
       private NodeConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
    -
       private NodeConfig() {
         location_ = "";
         machineType_ = "";
    @@ -50,15 +32,16 @@ private NodeConfig() {
     
       @java.lang.Override
       @SuppressWarnings({"unused"})
    -  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
    +  protected java.lang.Object newInstance(
    +      UnusedPrivateParameter unused) {
         return new NodeConfig();
       }
     
       @java.lang.Override
    -  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
    +  public final com.google.protobuf.UnknownFieldSet
    +  getUnknownFields() {
         return this.unknownFields;
       }
    -
       private NodeConfig(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    @@ -78,97 +61,84 @@ private NodeConfig(
               case 0:
                 done = true;
                 break;
    -          case 10:
    -            {
    -              java.lang.String s = input.readStringRequireUtf8();
    +          case 10: {
    +            java.lang.String s = input.readStringRequireUtf8();
     
    -              location_ = s;
    -              break;
    -            }
    -          case 18:
    -            {
    -              java.lang.String s = input.readStringRequireUtf8();
    +            location_ = s;
    +            break;
    +          }
    +          case 18: {
    +            java.lang.String s = input.readStringRequireUtf8();
     
    -              machineType_ = s;
    -              break;
    -            }
    -          case 26:
    -            {
    -              java.lang.String s = input.readStringRequireUtf8();
    +            machineType_ = s;
    +            break;
    +          }
    +          case 26: {
    +            java.lang.String s = input.readStringRequireUtf8();
     
    -              network_ = s;
    -              break;
    -            }
    -          case 34:
    -            {
    -              java.lang.String s = input.readStringRequireUtf8();
    +            network_ = s;
    +            break;
    +          }
    +          case 34: {
    +            java.lang.String s = input.readStringRequireUtf8();
     
    -              subnetwork_ = s;
    -              break;
    -            }
    -          case 40:
    -            {
    -              diskSizeGb_ = input.readInt32();
    -              break;
    -            }
    -          case 50:
    -            {
    -              java.lang.String s = input.readStringRequireUtf8();
    -              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
    -                oauthScopes_ = new com.google.protobuf.LazyStringArrayList();
    -                mutable_bitField0_ |= 0x00000001;
    -              }
    -              oauthScopes_.add(s);
    -              break;
    -            }
    -          case 58:
    -            {
    -              java.lang.String s = input.readStringRequireUtf8();
    +            subnetwork_ = s;
    +            break;
    +          }
    +          case 40: {
     
    -              serviceAccount_ = s;
    -              break;
    +            diskSizeGb_ = input.readInt32();
    +            break;
    +          }
    +          case 50: {
    +            java.lang.String s = input.readStringRequireUtf8();
    +            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
    +              oauthScopes_ = new com.google.protobuf.LazyStringArrayList();
    +              mutable_bitField0_ |= 0x00000001;
                 }
    -          case 66:
    -            {
    -              java.lang.String s = input.readStringRequireUtf8();
    -              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
    -                tags_ = new com.google.protobuf.LazyStringArrayList();
    -                mutable_bitField0_ |= 0x00000002;
    -              }
    -              tags_.add(s);
    -              break;
    +            oauthScopes_.add(s);
    +            break;
    +          }
    +          case 58: {
    +            java.lang.String s = input.readStringRequireUtf8();
    +
    +            serviceAccount_ = s;
    +            break;
    +          }
    +          case 66: {
    +            java.lang.String s = input.readStringRequireUtf8();
    +            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
    +              tags_ = new com.google.protobuf.LazyStringArrayList();
    +              mutable_bitField0_ |= 0x00000002;
                 }
    -          case 74:
    -            {
    -              com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy.Builder
    -                  subBuilder = null;
    -              if (ipAllocationPolicy_ != null) {
    -                subBuilder = ipAllocationPolicy_.toBuilder();
    -              }
    -              ipAllocationPolicy_ =
    -                  input.readMessage(
    -                      com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy
    -                          .parser(),
    -                      extensionRegistry);
    -              if (subBuilder != null) {
    -                subBuilder.mergeFrom(ipAllocationPolicy_);
    -                ipAllocationPolicy_ = subBuilder.buildPartial();
    -              }
    -
    -              break;
    +            tags_.add(s);
    +            break;
    +          }
    +          case 74: {
    +            com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy.Builder subBuilder = null;
    +            if (ipAllocationPolicy_ != null) {
    +              subBuilder = ipAllocationPolicy_.toBuilder();
                 }
    -          case 80:
    -            {
    -              maxPodsPerNode_ = input.readInt32();
    -              break;
    +            ipAllocationPolicy_ = input.readMessage(com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy.parser(), extensionRegistry);
    +            if (subBuilder != null) {
    +              subBuilder.mergeFrom(ipAllocationPolicy_);
    +              ipAllocationPolicy_ = subBuilder.buildPartial();
                 }
    -          default:
    -            {
    -              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
    -                done = true;
    -              }
    -              break;
    +
    +            break;
    +          }
    +          case 80: {
    +
    +            maxPodsPerNode_ = input.readInt32();
    +            break;
    +          }
    +          default: {
    +            if (!parseUnknownField(
    +                input, unknownFields, extensionRegistry, tag)) {
    +              done = true;
                 }
    +            break;
    +          }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
    @@ -176,7 +146,8 @@ private NodeConfig(
         } catch (com.google.protobuf.UninitializedMessageException e) {
           throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
    -      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
    +      throw new com.google.protobuf.InvalidProtocolBufferException(
    +          e).setUnfinishedMessage(this);
         } finally {
           if (((mutable_bitField0_ & 0x00000001) != 0)) {
             oauthScopes_ = oauthScopes_.getUnmodifiableView();
    @@ -188,27 +159,22 @@ private NodeConfig(
           makeExtensionsImmutable();
         }
       }
    -
    -  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    -    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
    -        .internal_static_google_cloud_orchestration_airflow_service_v1beta1_NodeConfig_descriptor;
    +  public static final com.google.protobuf.Descriptors.Descriptor
    +      getDescriptor() {
    +    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_NodeConfig_descriptor;
       }
     
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
    -    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
    -        .internal_static_google_cloud_orchestration_airflow_service_v1beta1_NodeConfig_fieldAccessorTable
    +    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_NodeConfig_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
    -            com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig.class,
    -            com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig.Builder.class);
    +            com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig.class, com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig.Builder.class);
       }
     
       public static final int LOCATION_FIELD_NUMBER = 1;
       private volatile java.lang.Object location_;
       /**
    -   *
    -   *
        * 
        * Optional. The Compute Engine [zone](/compute/docs/regions-zones) in which
        * to deploy the VMs used to run the Apache Airflow software, specified as a
    @@ -226,7 +192,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        * 
    * * string location = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The location. */ @java.lang.Override @@ -235,15 +200,14 @@ public java.lang.String getLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; } } /** - * - * *
        * Optional. The Compute Engine [zone](/compute/docs/regions-zones) in which
        * to deploy the VMs used to run the Apache Airflow software, specified as a
    @@ -261,15 +225,16 @@ public java.lang.String getLocation() {
        * 
    * * string location = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for location. */ @java.lang.Override - public com.google.protobuf.ByteString getLocationBytes() { + public com.google.protobuf.ByteString + getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); location_ = b; return b; } else { @@ -280,8 +245,6 @@ public com.google.protobuf.ByteString getLocationBytes() { public static final int MACHINE_TYPE_FIELD_NUMBER = 2; private volatile java.lang.Object machineType_; /** - * - * *
        * Optional. The Compute Engine
        * [machine type](/compute/docs/machine-types) used for cluster instances,
    @@ -304,7 +267,6 @@ public com.google.protobuf.ByteString getLocationBytes() {
        * 
    * * string machine_type = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The machineType. */ @java.lang.Override @@ -313,15 +275,14 @@ public java.lang.String getMachineType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); machineType_ = s; return s; } } /** - * - * *
        * Optional. The Compute Engine
        * [machine type](/compute/docs/machine-types) used for cluster instances,
    @@ -344,15 +305,16 @@ public java.lang.String getMachineType() {
        * 
    * * string machine_type = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for machineType. */ @java.lang.Override - public com.google.protobuf.ByteString getMachineTypeBytes() { + public com.google.protobuf.ByteString + getMachineTypeBytes() { java.lang.Object ref = machineType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); machineType_ = b; return b; } else { @@ -363,8 +325,6 @@ public com.google.protobuf.ByteString getMachineTypeBytes() { public static final int NETWORK_FIELD_NUMBER = 3; private volatile java.lang.Object network_; /** - * - * *
        * Optional. The Compute Engine network to be used for machine
        * communications, specified as a
    @@ -379,7 +339,6 @@ public com.google.protobuf.ByteString getMachineTypeBytes() {
        * 
    * * string network = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The network. */ @java.lang.Override @@ -388,15 +347,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; } } /** - * - * *
        * Optional. The Compute Engine network to be used for machine
        * communications, specified as a
    @@ -411,15 +369,16 @@ public java.lang.String getNetwork() {
        * 
    * * string network = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -430,8 +389,6 @@ public com.google.protobuf.ByteString getNetworkBytes() { public static final int SUBNETWORK_FIELD_NUMBER = 4; private volatile java.lang.Object subnetwork_; /** - * - * *
        * Optional. The Compute Engine subnetwork to be used for machine
        * communications, specified as a
    @@ -444,7 +401,6 @@ public com.google.protobuf.ByteString getNetworkBytes() {
        * 
    * * string subnetwork = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The subnetwork. */ @java.lang.Override @@ -453,15 +409,14 @@ public java.lang.String getSubnetwork() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subnetwork_ = s; return s; } } /** - * - * *
        * Optional. The Compute Engine subnetwork to be used for machine
        * communications, specified as a
    @@ -474,15 +429,16 @@ public java.lang.String getSubnetwork() {
        * 
    * * string subnetwork = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for subnetwork. */ @java.lang.Override - public com.google.protobuf.ByteString getSubnetworkBytes() { + public com.google.protobuf.ByteString + getSubnetworkBytes() { java.lang.Object ref = subnetwork_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); subnetwork_ = b; return b; } else { @@ -493,15 +449,12 @@ public com.google.protobuf.ByteString getSubnetworkBytes() { public static final int DISK_SIZE_GB_FIELD_NUMBER = 5; private int diskSizeGb_; /** - * - * *
        * Optional. The disk size in GB used for node VMs. Minimum size is 20GB.
        * If unspecified, defaults to 100GB. Cannot be updated.
        * 
    * * int32 disk_size_gb = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The diskSizeGb. */ @java.lang.Override @@ -512,8 +465,6 @@ public int getDiskSizeGb() { public static final int OAUTH_SCOPES_FIELD_NUMBER = 6; private com.google.protobuf.LazyStringList oauthScopes_; /** - * - * *
        * Optional. The set of Google API scopes to be made available on all
        * node VMs. If `oauth_scopes` is empty, defaults to
    @@ -521,15 +472,13 @@ public int getDiskSizeGb() {
        * 
    * * repeated string oauth_scopes = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the oauthScopes. */ - public com.google.protobuf.ProtocolStringList getOauthScopesList() { + public com.google.protobuf.ProtocolStringList + getOauthScopesList() { return oauthScopes_; } /** - * - * *
        * Optional. The set of Google API scopes to be made available on all
        * node VMs. If `oauth_scopes` is empty, defaults to
    @@ -537,15 +486,12 @@ public com.google.protobuf.ProtocolStringList getOauthScopesList() {
        * 
    * * repeated string oauth_scopes = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of oauthScopes. */ public int getOauthScopesCount() { return oauthScopes_.size(); } /** - * - * *
        * Optional. The set of Google API scopes to be made available on all
        * node VMs. If `oauth_scopes` is empty, defaults to
    @@ -553,7 +499,6 @@ public int getOauthScopesCount() {
        * 
    * * repeated string oauth_scopes = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The oauthScopes at the given index. */ @@ -561,8 +506,6 @@ public java.lang.String getOauthScopes(int index) { return oauthScopes_.get(index); } /** - * - * *
        * Optional. The set of Google API scopes to be made available on all
        * node VMs. If `oauth_scopes` is empty, defaults to
    @@ -570,19 +513,17 @@ public java.lang.String getOauthScopes(int index) {
        * 
    * * repeated string oauth_scopes = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the oauthScopes at the given index. */ - public com.google.protobuf.ByteString getOauthScopesBytes(int index) { + public com.google.protobuf.ByteString + getOauthScopesBytes(int index) { return oauthScopes_.getByteString(index); } public static final int SERVICE_ACCOUNT_FIELD_NUMBER = 7; private volatile java.lang.Object serviceAccount_; /** - * - * *
        * Optional. The Google Cloud Platform Service Account to be used by the workloads. If a
        * service account is not specified, the "default" Compute Engine service
    @@ -590,7 +531,6 @@ public com.google.protobuf.ByteString getOauthScopesBytes(int index) {
        * 
    * * string service_account = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The serviceAccount. */ @java.lang.Override @@ -599,15 +539,14 @@ public java.lang.String getServiceAccount() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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; } } /** - * - * *
        * Optional. The Google Cloud Platform Service Account to be used by the workloads. If a
        * service account is not specified, the "default" Compute Engine service
    @@ -615,15 +554,16 @@ public java.lang.String getServiceAccount() {
        * 
    * * string service_account = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for serviceAccount. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceAccountBytes() { + 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 { @@ -634,8 +574,6 @@ public com.google.protobuf.ByteString getServiceAccountBytes() { public static final int TAGS_FIELD_NUMBER = 8; private com.google.protobuf.LazyStringList tags_; /** - * - * *
        * Optional. The list of instance tags applied to all node VMs. Tags are used
        * to identify valid sources or targets for network firewalls. Each tag within
    @@ -644,15 +582,13 @@ public com.google.protobuf.ByteString getServiceAccountBytes() {
        * 
    * * repeated string tags = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the tags. */ - public com.google.protobuf.ProtocolStringList getTagsList() { + public com.google.protobuf.ProtocolStringList + getTagsList() { return tags_; } /** - * - * *
        * Optional. The list of instance tags applied to all node VMs. Tags are used
        * to identify valid sources or targets for network firewalls. Each tag within
    @@ -661,15 +597,12 @@ public com.google.protobuf.ProtocolStringList getTagsList() {
        * 
    * * repeated string tags = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** - * - * *
        * Optional. The list of instance tags applied to all node VMs. Tags are used
        * to identify valid sources or targets for network firewalls. Each tag within
    @@ -678,7 +611,6 @@ public int getTagsCount() {
        * 
    * * repeated string tags = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The tags at the given index. */ @@ -686,8 +618,6 @@ public java.lang.String getTags(int index) { return tags_.get(index); } /** - * - * *
        * Optional. The list of instance tags applied to all node VMs. Tags are used
        * to identify valid sources or targets for network firewalls. Each tag within
    @@ -696,28 +626,22 @@ public java.lang.String getTags(int index) {
        * 
    * * repeated string tags = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - public com.google.protobuf.ByteString getTagsBytes(int index) { + public com.google.protobuf.ByteString + getTagsBytes(int index) { return tags_.getByteString(index); } public static final int IP_ALLOCATION_POLICY_FIELD_NUMBER = 9; - private com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy - ipAllocationPolicy_; + private com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy ipAllocationPolicy_; /** - * - * *
        * Optional. The IPAllocationPolicy fields for the GKE cluster.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the ipAllocationPolicy field is set. */ @java.lang.Override @@ -725,48 +649,32 @@ public boolean hasIpAllocationPolicy() { return ipAllocationPolicy_ != null; } /** - * - * *
        * Optional. The IPAllocationPolicy fields for the GKE cluster.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return The ipAllocationPolicy. */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy - getIpAllocationPolicy() { - return ipAllocationPolicy_ == null - ? com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy - .getDefaultInstance() - : ipAllocationPolicy_; + public com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy getIpAllocationPolicy() { + return ipAllocationPolicy_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy.getDefaultInstance() : ipAllocationPolicy_; } /** - * - * *
        * Optional. The IPAllocationPolicy fields for the GKE cluster.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicyOrBuilder - getIpAllocationPolicyOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicyOrBuilder getIpAllocationPolicyOrBuilder() { return getIpAllocationPolicy(); } public static final int MAX_PODS_PER_NODE_FIELD_NUMBER = 10; private int maxPodsPerNode_; /** - * - * *
        * Optional. The maximum number of pods per node in the Cloud Composer GKE cluster.
        * The value must be between 8 and 110 and it can be set only if
    @@ -781,7 +689,6 @@ public boolean hasIpAllocationPolicy() {
        * 
    * * int32 max_pods_per_node = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The maxPodsPerNode. */ @java.lang.Override @@ -790,7 +697,6 @@ public int getMaxPodsPerNode() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -802,7 +708,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(location_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, location_); } @@ -855,7 +762,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, subnetwork_); } if (diskSizeGb_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, diskSizeGb_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, diskSizeGb_); } { int dataSize = 0; @@ -877,10 +785,12 @@ public int getSerializedSize() { size += 1 * getTagsList().size(); } if (ipAllocationPolicy_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getIpAllocationPolicy()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getIpAllocationPolicy()); } if (maxPodsPerNode_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(10, maxPodsPerNode_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(10, maxPodsPerNode_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -890,27 +800,36 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig other = - (com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig) obj; - - if (!getLocation().equals(other.getLocation())) return false; - if (!getMachineType().equals(other.getMachineType())) return false; - if (!getNetwork().equals(other.getNetwork())) return false; - if (!getSubnetwork().equals(other.getSubnetwork())) return false; - if (getDiskSizeGb() != other.getDiskSizeGb()) return false; - if (!getOauthScopesList().equals(other.getOauthScopesList())) return false; - if (!getServiceAccount().equals(other.getServiceAccount())) return false; - if (!getTagsList().equals(other.getTagsList())) return false; + com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig other = (com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig) obj; + + if (!getLocation() + .equals(other.getLocation())) return false; + if (!getMachineType() + .equals(other.getMachineType())) return false; + if (!getNetwork() + .equals(other.getNetwork())) return false; + if (!getSubnetwork() + .equals(other.getSubnetwork())) return false; + if (getDiskSizeGb() + != other.getDiskSizeGb()) return false; + if (!getOauthScopesList() + .equals(other.getOauthScopesList())) return false; + if (!getServiceAccount() + .equals(other.getServiceAccount())) return false; + if (!getTagsList() + .equals(other.getTagsList())) return false; if (hasIpAllocationPolicy() != other.hasIpAllocationPolicy()) return false; if (hasIpAllocationPolicy()) { - if (!getIpAllocationPolicy().equals(other.getIpAllocationPolicy())) return false; + if (!getIpAllocationPolicy() + .equals(other.getIpAllocationPolicy())) return false; } - if (getMaxPodsPerNode() != other.getMaxPodsPerNode()) return false; + if (getMaxPodsPerNode() + != other.getMaxPodsPerNode()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -954,105 +873,96 @@ public int hashCode() { } public static com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig 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.orchestration.airflow.service.v1beta1.NodeConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig - 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.orchestration.airflow.service.v1beta1.NodeConfig 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.orchestration.airflow.service.v1beta1.NodeConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig prototype) { + public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 configuration information for the Kubernetes Engine nodes running
        * the Apache Airflow software.
    @@ -1060,40 +970,38 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
        *
        * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.NodeConfig}
        */
    -  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
    -      implements
    +  public static final class Builder extends
    +      com.google.protobuf.GeneratedMessageV3.Builder implements
           // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1beta1.NodeConfig)
           com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfigOrBuilder {
    -    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    -      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
    -          .internal_static_google_cloud_orchestration_airflow_service_v1beta1_NodeConfig_descriptor;
    +    public static final com.google.protobuf.Descriptors.Descriptor
    +        getDescriptor() {
    +      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_NodeConfig_descriptor;
         }
     
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
    -      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
    -          .internal_static_google_cloud_orchestration_airflow_service_v1beta1_NodeConfig_fieldAccessorTable
    +      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_NodeConfig_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
    -              com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig.class,
    -              com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig.Builder.class);
    +              com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig.class, com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig.Builder.class);
         }
     
    -    // Construct using
    -    // com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig.newBuilder()
    +    // Construct using com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig.newBuilder()
         private Builder() {
           maybeForceBuilderInitialization();
         }
     
    -    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    +    private Builder(
    +        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
           super(parent);
           maybeForceBuilderInitialization();
         }
    -
         private void maybeForceBuilderInitialization() {
    -      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
    +      if (com.google.protobuf.GeneratedMessageV3
    +              .alwaysUseFieldBuilders) {
    +      }
         }
    -
         @java.lang.Override
         public Builder clear() {
           super.clear();
    @@ -1125,14 +1033,13 @@ public Builder clear() {
         }
     
         @java.lang.Override
    -    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
    -      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
    -          .internal_static_google_cloud_orchestration_airflow_service_v1beta1_NodeConfig_descriptor;
    +    public com.google.protobuf.Descriptors.Descriptor
    +        getDescriptorForType() {
    +      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_NodeConfig_descriptor;
         }
     
         @java.lang.Override
    -    public com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig
    -        getDefaultInstanceForType() {
    +    public com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig getDefaultInstanceForType() {
           return com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig.getDefaultInstance();
         }
     
    @@ -1147,8 +1054,7 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig build()
     
         @java.lang.Override
         public com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig buildPartial() {
    -      com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig result =
    -          new com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig(this);
    +      com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig result = new com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig(this);
           int from_bitField0_ = bitField0_;
           result.location_ = location_;
           result.machineType_ = machineType_;
    @@ -1180,50 +1086,46 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig 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.orchestration.airflow.service.v1beta1.NodeConfig) {
    -        return mergeFrom((com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig) other);
    +        return mergeFrom((com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig)other);
           } else {
             super.mergeFrom(other);
             return this;
           }
         }
     
    -    public Builder mergeFrom(
    -        com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig other) {
    -      if (other
    -          == com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig.getDefaultInstance())
    -        return this;
    +    public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig other) {
    +      if (other == com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig.getDefaultInstance()) return this;
           if (!other.getLocation().isEmpty()) {
             location_ = other.location_;
             onChanged();
    @@ -1292,9 +1194,7 @@ public Builder mergeFrom(
           try {
             parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
    -        parsedMessage =
    -            (com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig)
    -                e.getUnfinishedMessage();
    +        parsedMessage = (com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig) e.getUnfinishedMessage();
             throw e.unwrapIOException();
           } finally {
             if (parsedMessage != null) {
    @@ -1303,13 +1203,10 @@ public Builder mergeFrom(
           }
           return this;
         }
    -
         private int bitField0_;
     
         private java.lang.Object location_ = "";
         /**
    -     *
    -     *
          * 
          * Optional. The Compute Engine [zone](/compute/docs/regions-zones) in which
          * to deploy the VMs used to run the Apache Airflow software, specified as a
    @@ -1327,13 +1224,13 @@ public Builder mergeFrom(
          * 
    * * string location = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The location. */ public java.lang.String getLocation() { java.lang.Object ref = location_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; @@ -1342,8 +1239,6 @@ public java.lang.String getLocation() { } } /** - * - * *
          * Optional. The Compute Engine [zone](/compute/docs/regions-zones) in which
          * to deploy the VMs used to run the Apache Airflow software, specified as a
    @@ -1361,14 +1256,15 @@ public java.lang.String getLocation() {
          * 
    * * string location = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for location. */ - public com.google.protobuf.ByteString getLocationBytes() { + public com.google.protobuf.ByteString + getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); location_ = b; return b; } else { @@ -1376,8 +1272,6 @@ public com.google.protobuf.ByteString getLocationBytes() { } } /** - * - * *
          * Optional. The Compute Engine [zone](/compute/docs/regions-zones) in which
          * to deploy the VMs used to run the Apache Airflow software, specified as a
    @@ -1395,22 +1289,20 @@ public com.google.protobuf.ByteString getLocationBytes() {
          * 
    * * string location = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation(java.lang.String value) { + public Builder setLocation( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + location_ = value; onChanged(); return this; } /** - * - * *
          * Optional. The Compute Engine [zone](/compute/docs/regions-zones) in which
          * to deploy the VMs used to run the Apache Airflow software, specified as a
    @@ -1428,18 +1320,15 @@ public Builder setLocation(java.lang.String value) {
          * 
    * * string location = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearLocation() { - + location_ = getDefaultInstance().getLocation(); onChanged(); return this; } /** - * - * *
          * Optional. The Compute Engine [zone](/compute/docs/regions-zones) in which
          * to deploy the VMs used to run the Apache Airflow software, specified as a
    @@ -1457,16 +1346,16 @@ public Builder clearLocation() {
          * 
    * * string location = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes(com.google.protobuf.ByteString value) { + public Builder setLocationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + location_ = value; onChanged(); return this; @@ -1474,8 +1363,6 @@ public Builder setLocationBytes(com.google.protobuf.ByteString value) { private java.lang.Object machineType_ = ""; /** - * - * *
          * Optional. The Compute Engine
          * [machine type](/compute/docs/machine-types) used for cluster instances,
    @@ -1498,13 +1385,13 @@ public Builder setLocationBytes(com.google.protobuf.ByteString value) {
          * 
    * * string machine_type = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The machineType. */ public java.lang.String getMachineType() { java.lang.Object ref = machineType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); machineType_ = s; return s; @@ -1513,8 +1400,6 @@ public java.lang.String getMachineType() { } } /** - * - * *
          * Optional. The Compute Engine
          * [machine type](/compute/docs/machine-types) used for cluster instances,
    @@ -1537,14 +1422,15 @@ public java.lang.String getMachineType() {
          * 
    * * string machine_type = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for machineType. */ - public com.google.protobuf.ByteString getMachineTypeBytes() { + public com.google.protobuf.ByteString + getMachineTypeBytes() { java.lang.Object ref = machineType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); machineType_ = b; return b; } else { @@ -1552,8 +1438,6 @@ public com.google.protobuf.ByteString getMachineTypeBytes() { } } /** - * - * *
          * Optional. The Compute Engine
          * [machine type](/compute/docs/machine-types) used for cluster instances,
    @@ -1576,22 +1460,20 @@ public com.google.protobuf.ByteString getMachineTypeBytes() {
          * 
    * * string machine_type = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The machineType to set. * @return This builder for chaining. */ - public Builder setMachineType(java.lang.String value) { + public Builder setMachineType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + machineType_ = value; onChanged(); return this; } /** - * - * *
          * Optional. The Compute Engine
          * [machine type](/compute/docs/machine-types) used for cluster instances,
    @@ -1614,18 +1496,15 @@ public Builder setMachineType(java.lang.String value) {
          * 
    * * string machine_type = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearMachineType() { - + machineType_ = getDefaultInstance().getMachineType(); onChanged(); return this; } /** - * - * *
          * Optional. The Compute Engine
          * [machine type](/compute/docs/machine-types) used for cluster instances,
    @@ -1648,16 +1527,16 @@ public Builder clearMachineType() {
          * 
    * * string machine_type = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for machineType to set. * @return This builder for chaining. */ - public Builder setMachineTypeBytes(com.google.protobuf.ByteString value) { + public Builder setMachineTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + machineType_ = value; onChanged(); return this; @@ -1665,8 +1544,6 @@ public Builder setMachineTypeBytes(com.google.protobuf.ByteString value) { private java.lang.Object network_ = ""; /** - * - * *
          * Optional. The Compute Engine network to be used for machine
          * communications, specified as a
    @@ -1681,13 +1558,13 @@ public Builder setMachineTypeBytes(com.google.protobuf.ByteString value) {
          * 
    * * string network = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -1696,8 +1573,6 @@ public java.lang.String getNetwork() { } } /** - * - * *
          * Optional. The Compute Engine network to be used for machine
          * communications, specified as a
    @@ -1712,14 +1587,15 @@ public java.lang.String getNetwork() {
          * 
    * * string network = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -1727,8 +1603,6 @@ public com.google.protobuf.ByteString getNetworkBytes() { } } /** - * - * *
          * Optional. The Compute Engine network to be used for machine
          * communications, specified as a
    @@ -1743,22 +1617,20 @@ public com.google.protobuf.ByteString getNetworkBytes() {
          * 
    * * string network = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; } /** - * - * *
          * Optional. The Compute Engine network to be used for machine
          * communications, specified as a
    @@ -1773,18 +1645,15 @@ public Builder setNetwork(java.lang.String value) {
          * 
    * * string network = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearNetwork() { - + network_ = getDefaultInstance().getNetwork(); onChanged(); return this; } /** - * - * *
          * Optional. The Compute Engine network to be used for machine
          * communications, specified as a
    @@ -1799,16 +1668,16 @@ public Builder clearNetwork() {
          * 
    * * string network = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -1816,8 +1685,6 @@ public Builder setNetworkBytes(com.google.protobuf.ByteString value) { private java.lang.Object subnetwork_ = ""; /** - * - * *
          * Optional. The Compute Engine subnetwork to be used for machine
          * communications, specified as a
    @@ -1830,13 +1697,13 @@ public Builder setNetworkBytes(com.google.protobuf.ByteString value) {
          * 
    * * string subnetwork = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The subnetwork. */ public java.lang.String getSubnetwork() { java.lang.Object ref = subnetwork_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subnetwork_ = s; return s; @@ -1845,8 +1712,6 @@ public java.lang.String getSubnetwork() { } } /** - * - * *
          * Optional. The Compute Engine subnetwork to be used for machine
          * communications, specified as a
    @@ -1859,14 +1724,15 @@ public java.lang.String getSubnetwork() {
          * 
    * * string subnetwork = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for subnetwork. */ - public com.google.protobuf.ByteString getSubnetworkBytes() { + public com.google.protobuf.ByteString + getSubnetworkBytes() { java.lang.Object ref = subnetwork_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); subnetwork_ = b; return b; } else { @@ -1874,8 +1740,6 @@ public com.google.protobuf.ByteString getSubnetworkBytes() { } } /** - * - * *
          * Optional. The Compute Engine subnetwork to be used for machine
          * communications, specified as a
    @@ -1888,22 +1752,20 @@ public com.google.protobuf.ByteString getSubnetworkBytes() {
          * 
    * * string subnetwork = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The subnetwork to set. * @return This builder for chaining. */ - public Builder setSubnetwork(java.lang.String value) { + public Builder setSubnetwork( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + subnetwork_ = value; onChanged(); return this; } /** - * - * *
          * Optional. The Compute Engine subnetwork to be used for machine
          * communications, specified as a
    @@ -1916,18 +1778,15 @@ public Builder setSubnetwork(java.lang.String value) {
          * 
    * * string subnetwork = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearSubnetwork() { - + subnetwork_ = getDefaultInstance().getSubnetwork(); onChanged(); return this; } /** - * - * *
          * Optional. The Compute Engine subnetwork to be used for machine
          * communications, specified as a
    @@ -1940,32 +1799,29 @@ public Builder clearSubnetwork() {
          * 
    * * string subnetwork = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for subnetwork to set. * @return This builder for chaining. */ - public Builder setSubnetworkBytes(com.google.protobuf.ByteString value) { + public Builder setSubnetworkBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + subnetwork_ = value; onChanged(); return this; } - private int diskSizeGb_; + private int diskSizeGb_ ; /** - * - * *
          * Optional. The disk size in GB used for node VMs. Minimum size is 20GB.
          * If unspecified, defaults to 100GB. Cannot be updated.
          * 
    * * int32 disk_size_gb = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The diskSizeGb. */ @java.lang.Override @@ -1973,55 +1829,45 @@ public int getDiskSizeGb() { return diskSizeGb_; } /** - * - * *
          * Optional. The disk size in GB used for node VMs. Minimum size is 20GB.
          * If unspecified, defaults to 100GB. Cannot be updated.
          * 
    * * int32 disk_size_gb = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The diskSizeGb to set. * @return This builder for chaining. */ public Builder setDiskSizeGb(int value) { - + diskSizeGb_ = value; onChanged(); return this; } /** - * - * *
          * Optional. The disk size in GB used for node VMs. Minimum size is 20GB.
          * If unspecified, defaults to 100GB. Cannot be updated.
          * 
    * * int32 disk_size_gb = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDiskSizeGb() { - + diskSizeGb_ = 0; onChanged(); return this; } - private com.google.protobuf.LazyStringList oauthScopes_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList oauthScopes_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureOauthScopesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { oauthScopes_ = new com.google.protobuf.LazyStringArrayList(oauthScopes_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
          * Optional. The set of Google API scopes to be made available on all
          * node VMs. If `oauth_scopes` is empty, defaults to
    @@ -2029,15 +1875,13 @@ private void ensureOauthScopesIsMutable() {
          * 
    * * repeated string oauth_scopes = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the oauthScopes. */ - public com.google.protobuf.ProtocolStringList getOauthScopesList() { + public com.google.protobuf.ProtocolStringList + getOauthScopesList() { return oauthScopes_.getUnmodifiableView(); } /** - * - * *
          * Optional. The set of Google API scopes to be made available on all
          * node VMs. If `oauth_scopes` is empty, defaults to
    @@ -2045,15 +1889,12 @@ public com.google.protobuf.ProtocolStringList getOauthScopesList() {
          * 
    * * repeated string oauth_scopes = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of oauthScopes. */ public int getOauthScopesCount() { return oauthScopes_.size(); } /** - * - * *
          * Optional. The set of Google API scopes to be made available on all
          * node VMs. If `oauth_scopes` is empty, defaults to
    @@ -2061,7 +1902,6 @@ public int getOauthScopesCount() {
          * 
    * * repeated string oauth_scopes = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The oauthScopes at the given index. */ @@ -2069,8 +1909,6 @@ public java.lang.String getOauthScopes(int index) { return oauthScopes_.get(index); } /** - * - * *
          * Optional. The set of Google API scopes to be made available on all
          * node VMs. If `oauth_scopes` is empty, defaults to
    @@ -2078,16 +1916,14 @@ public java.lang.String getOauthScopes(int index) {
          * 
    * * repeated string oauth_scopes = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the oauthScopes at the given index. */ - public com.google.protobuf.ByteString getOauthScopesBytes(int index) { + public com.google.protobuf.ByteString + getOauthScopesBytes(int index) { return oauthScopes_.getByteString(index); } /** - * - * *
          * Optional. The set of Google API scopes to be made available on all
          * node VMs. If `oauth_scopes` is empty, defaults to
    @@ -2095,23 +1931,21 @@ public com.google.protobuf.ByteString getOauthScopesBytes(int index) {
          * 
    * * repeated string oauth_scopes = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index to set the value at. * @param value The oauthScopes to set. * @return This builder for chaining. */ - public Builder setOauthScopes(int index, java.lang.String value) { + public Builder setOauthScopes( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureOauthScopesIsMutable(); + throw new NullPointerException(); + } + ensureOauthScopesIsMutable(); oauthScopes_.set(index, value); onChanged(); return this; } /** - * - * *
          * Optional. The set of Google API scopes to be made available on all
          * node VMs. If `oauth_scopes` is empty, defaults to
    @@ -2119,22 +1953,20 @@ public Builder setOauthScopes(int index, java.lang.String value) {
          * 
    * * repeated string oauth_scopes = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The oauthScopes to add. * @return This builder for chaining. */ - public Builder addOauthScopes(java.lang.String value) { + public Builder addOauthScopes( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureOauthScopesIsMutable(); + throw new NullPointerException(); + } + ensureOauthScopesIsMutable(); oauthScopes_.add(value); onChanged(); return this; } /** - * - * *
          * Optional. The set of Google API scopes to be made available on all
          * node VMs. If `oauth_scopes` is empty, defaults to
    @@ -2142,19 +1974,18 @@ public Builder addOauthScopes(java.lang.String value) {
          * 
    * * repeated string oauth_scopes = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param values The oauthScopes to add. * @return This builder for chaining. */ - public Builder addAllOauthScopes(java.lang.Iterable values) { + public Builder addAllOauthScopes( + java.lang.Iterable values) { ensureOauthScopesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, oauthScopes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, oauthScopes_); onChanged(); return this; } /** - * - * *
          * Optional. The set of Google API scopes to be made available on all
          * node VMs. If `oauth_scopes` is empty, defaults to
    @@ -2162,7 +1993,6 @@ public Builder addAllOauthScopes(java.lang.Iterable values) {
          * 
    * * repeated string oauth_scopes = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearOauthScopes() { @@ -2172,8 +2002,6 @@ public Builder clearOauthScopes() { return this; } /** - * - * *
          * Optional. The set of Google API scopes to be made available on all
          * node VMs. If `oauth_scopes` is empty, defaults to
    @@ -2181,15 +2009,15 @@ public Builder clearOauthScopes() {
          * 
    * * repeated string oauth_scopes = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes of the oauthScopes to add. * @return This builder for chaining. */ - public Builder addOauthScopesBytes(com.google.protobuf.ByteString value) { + public Builder addOauthScopesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureOauthScopesIsMutable(); oauthScopes_.add(value); onChanged(); @@ -2198,8 +2026,6 @@ public Builder addOauthScopesBytes(com.google.protobuf.ByteString value) { private java.lang.Object serviceAccount_ = ""; /** - * - * *
          * Optional. The Google Cloud Platform Service Account to be used by the workloads. If a
          * service account is not specified, the "default" Compute Engine service
    @@ -2207,13 +2033,13 @@ public Builder addOauthScopesBytes(com.google.protobuf.ByteString value) {
          * 
    * * string service_account = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The serviceAccount. */ 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; @@ -2222,8 +2048,6 @@ public java.lang.String getServiceAccount() { } } /** - * - * *
          * Optional. The Google Cloud Platform Service Account to be used by the workloads. If a
          * service account is not specified, the "default" Compute Engine service
    @@ -2231,14 +2055,15 @@ public java.lang.String getServiceAccount() {
          * 
    * * string service_account = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for serviceAccount. */ - public com.google.protobuf.ByteString getServiceAccountBytes() { + 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 { @@ -2246,8 +2071,6 @@ public com.google.protobuf.ByteString getServiceAccountBytes() { } } /** - * - * *
          * Optional. The Google Cloud Platform Service Account to be used by the workloads. If a
          * service account is not specified, the "default" Compute Engine service
    @@ -2255,22 +2078,20 @@ public com.google.protobuf.ByteString getServiceAccountBytes() {
          * 
    * * string service_account = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccount(java.lang.String value) { + public Builder setServiceAccount( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceAccount_ = value; onChanged(); return this; } /** - * - * *
          * Optional. The Google Cloud Platform Service Account to be used by the workloads. If a
          * service account is not specified, the "default" Compute Engine service
    @@ -2278,18 +2099,15 @@ public Builder setServiceAccount(java.lang.String value) {
          * 
    * * string service_account = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearServiceAccount() { - + serviceAccount_ = getDefaultInstance().getServiceAccount(); onChanged(); return this; } /** - * - * *
          * Optional. The Google Cloud Platform Service Account to be used by the workloads. If a
          * service account is not specified, the "default" Compute Engine service
    @@ -2297,33 +2115,29 @@ public Builder clearServiceAccount() {
          * 
    * * string service_account = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { + 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; } - private com.google.protobuf.LazyStringList tags_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureTagsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { tags_ = new com.google.protobuf.LazyStringArrayList(tags_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
          * Optional. The list of instance tags applied to all node VMs. Tags are used
          * to identify valid sources or targets for network firewalls. Each tag within
    @@ -2332,15 +2146,13 @@ private void ensureTagsIsMutable() {
          * 
    * * repeated string tags = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the tags. */ - public com.google.protobuf.ProtocolStringList getTagsList() { + public com.google.protobuf.ProtocolStringList + getTagsList() { return tags_.getUnmodifiableView(); } /** - * - * *
          * Optional. The list of instance tags applied to all node VMs. Tags are used
          * to identify valid sources or targets for network firewalls. Each tag within
    @@ -2349,15 +2161,12 @@ public com.google.protobuf.ProtocolStringList getTagsList() {
          * 
    * * repeated string tags = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** - * - * *
          * Optional. The list of instance tags applied to all node VMs. Tags are used
          * to identify valid sources or targets for network firewalls. Each tag within
    @@ -2366,7 +2175,6 @@ public int getTagsCount() {
          * 
    * * repeated string tags = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The tags at the given index. */ @@ -2374,8 +2182,6 @@ public java.lang.String getTags(int index) { return tags_.get(index); } /** - * - * *
          * Optional. The list of instance tags applied to all node VMs. Tags are used
          * to identify valid sources or targets for network firewalls. Each tag within
    @@ -2384,16 +2190,14 @@ public java.lang.String getTags(int index) {
          * 
    * * repeated string tags = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - public com.google.protobuf.ByteString getTagsBytes(int index) { + public com.google.protobuf.ByteString + getTagsBytes(int index) { return tags_.getByteString(index); } /** - * - * *
          * Optional. The list of instance tags applied to all node VMs. Tags are used
          * to identify valid sources or targets for network firewalls. Each tag within
    @@ -2402,23 +2206,21 @@ public com.google.protobuf.ByteString getTagsBytes(int index) {
          * 
    * * repeated string tags = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index to set the value at. * @param value The tags to set. * @return This builder for chaining. */ - public Builder setTags(int index, java.lang.String value) { + public Builder setTags( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); + throw new NullPointerException(); + } + ensureTagsIsMutable(); tags_.set(index, value); onChanged(); return this; } /** - * - * *
          * Optional. The list of instance tags applied to all node VMs. Tags are used
          * to identify valid sources or targets for network firewalls. Each tag within
    @@ -2427,22 +2229,20 @@ public Builder setTags(int index, java.lang.String value) {
          * 
    * * repeated string tags = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The tags to add. * @return This builder for chaining. */ - public Builder addTags(java.lang.String value) { + public Builder addTags( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); + throw new NullPointerException(); + } + ensureTagsIsMutable(); tags_.add(value); onChanged(); return this; } /** - * - * *
          * Optional. The list of instance tags applied to all node VMs. Tags are used
          * to identify valid sources or targets for network firewalls. Each tag within
    @@ -2451,19 +2251,18 @@ public Builder addTags(java.lang.String value) {
          * 
    * * repeated string tags = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @param values The tags to add. * @return This builder for chaining. */ - public Builder addAllTags(java.lang.Iterable values) { + public Builder addAllTags( + java.lang.Iterable values) { ensureTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, tags_); onChanged(); return this; } /** - * - * *
          * Optional. The list of instance tags applied to all node VMs. Tags are used
          * to identify valid sources or targets for network firewalls. Each tag within
    @@ -2472,7 +2271,6 @@ public Builder addAllTags(java.lang.Iterable values) {
          * 
    * * repeated string tags = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearTags() { @@ -2482,8 +2280,6 @@ public Builder clearTags() { return this; } /** - * - * *
          * Optional. The list of instance tags applied to all node VMs. Tags are used
          * to identify valid sources or targets for network firewalls. Each tag within
    @@ -2492,81 +2288,58 @@ public Builder clearTags() {
          * 
    * * repeated string tags = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes of the tags to add. * @return This builder for chaining. */ - public Builder addTagsBytes(com.google.protobuf.ByteString value) { + public Builder addTagsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureTagsIsMutable(); tags_.add(value); onChanged(); return this; } - private com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy - ipAllocationPolicy_; + private com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy ipAllocationPolicy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy, - com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy.Builder, - com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicyOrBuilder> - ipAllocationPolicyBuilder_; + com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy, com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicyOrBuilder> ipAllocationPolicyBuilder_; /** - * - * *
          * Optional. The IPAllocationPolicy fields for the GKE cluster.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the ipAllocationPolicy field is set. */ public boolean hasIpAllocationPolicy() { return ipAllocationPolicyBuilder_ != null || ipAllocationPolicy_ != null; } /** - * - * *
          * Optional. The IPAllocationPolicy fields for the GKE cluster.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return The ipAllocationPolicy. */ - public com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy - getIpAllocationPolicy() { + public com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy getIpAllocationPolicy() { if (ipAllocationPolicyBuilder_ == null) { - return ipAllocationPolicy_ == null - ? com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy - .getDefaultInstance() - : ipAllocationPolicy_; + return ipAllocationPolicy_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy.getDefaultInstance() : ipAllocationPolicy_; } else { return ipAllocationPolicyBuilder_.getMessage(); } } /** - * - * *
          * Optional. The IPAllocationPolicy fields for the GKE cluster.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setIpAllocationPolicy( - com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy value) { + public Builder setIpAllocationPolicy(com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy value) { if (ipAllocationPolicyBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2580,19 +2353,14 @@ public Builder setIpAllocationPolicy( return this; } /** - * - * *
          * Optional. The IPAllocationPolicy fields for the GKE cluster.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setIpAllocationPolicy( - com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy.Builder - builderForValue) { + com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy.Builder builderForValue) { if (ipAllocationPolicyBuilder_ == null) { ipAllocationPolicy_ = builderForValue.build(); onChanged(); @@ -2603,25 +2371,17 @@ public Builder setIpAllocationPolicy( return this; } /** - * - * *
          * Optional. The IPAllocationPolicy fields for the GKE cluster.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergeIpAllocationPolicy( - com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy value) { + public Builder mergeIpAllocationPolicy(com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy value) { if (ipAllocationPolicyBuilder_ == null) { if (ipAllocationPolicy_ != null) { ipAllocationPolicy_ = - com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy.newBuilder( - ipAllocationPolicy_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy.newBuilder(ipAllocationPolicy_).mergeFrom(value).buildPartial(); } else { ipAllocationPolicy_ = value; } @@ -2633,15 +2393,11 @@ public Builder mergeIpAllocationPolicy( return this; } /** - * - * *
          * Optional. The IPAllocationPolicy fields for the GKE cluster.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearIpAllocationPolicy() { if (ipAllocationPolicyBuilder_ == null) { @@ -2655,76 +2411,55 @@ public Builder clearIpAllocationPolicy() { return this; } /** - * - * *
          * Optional. The IPAllocationPolicy fields for the GKE cluster.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy.Builder - getIpAllocationPolicyBuilder() { - + public com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy.Builder getIpAllocationPolicyBuilder() { + onChanged(); return getIpAllocationPolicyFieldBuilder().getBuilder(); } /** - * - * *
          * Optional. The IPAllocationPolicy fields for the GKE cluster.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicyOrBuilder - getIpAllocationPolicyOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicyOrBuilder getIpAllocationPolicyOrBuilder() { if (ipAllocationPolicyBuilder_ != null) { return ipAllocationPolicyBuilder_.getMessageOrBuilder(); } else { - return ipAllocationPolicy_ == null - ? com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy - .getDefaultInstance() - : ipAllocationPolicy_; + return ipAllocationPolicy_ == null ? + com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy.getDefaultInstance() : ipAllocationPolicy_; } } /** - * - * *
          * Optional. The IPAllocationPolicy fields for the GKE cluster.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy, - com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy.Builder, - com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicyOrBuilder> + com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy, com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicyOrBuilder> getIpAllocationPolicyFieldBuilder() { if (ipAllocationPolicyBuilder_ == null) { - ipAllocationPolicyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy, - com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy.Builder, - com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicyOrBuilder>( - getIpAllocationPolicy(), getParentForChildren(), isClean()); + ipAllocationPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy, com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicyOrBuilder>( + getIpAllocationPolicy(), + getParentForChildren(), + isClean()); ipAllocationPolicy_ = null; } return ipAllocationPolicyBuilder_; } - private int maxPodsPerNode_; + private int maxPodsPerNode_ ; /** - * - * *
          * Optional. The maximum number of pods per node in the Cloud Composer GKE cluster.
          * The value must be between 8 and 110 and it can be set only if
    @@ -2739,7 +2474,6 @@ public Builder clearIpAllocationPolicy() {
          * 
    * * int32 max_pods_per_node = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The maxPodsPerNode. */ @java.lang.Override @@ -2747,8 +2481,6 @@ public int getMaxPodsPerNode() { return maxPodsPerNode_; } /** - * - * *
          * Optional. The maximum number of pods per node in the Cloud Composer GKE cluster.
          * The value must be between 8 and 110 and it can be set only if
    @@ -2763,19 +2495,16 @@ public int getMaxPodsPerNode() {
          * 
    * * int32 max_pods_per_node = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The maxPodsPerNode to set. * @return This builder for chaining. */ public Builder setMaxPodsPerNode(int value) { - + maxPodsPerNode_ = value; onChanged(); return this; } /** - * - * *
          * Optional. The maximum number of pods per node in the Cloud Composer GKE cluster.
          * The value must be between 8 and 110 and it can be set only if
    @@ -2790,18 +2519,17 @@ public Builder setMaxPodsPerNode(int value) {
          * 
    * * int32 max_pods_per_node = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearMaxPodsPerNode() { - + maxPodsPerNode_ = 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); } @@ -2811,32 +2539,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1beta1.NodeConfig) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1beta1.NodeConfig) - private static final com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig(); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig - getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodeConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NodeConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NodeConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new NodeConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2848,8 +2574,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig - getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/NodeConfigOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/NodeConfigOrBuilder.java similarity index 87% rename from proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/NodeConfigOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/NodeConfigOrBuilder.java index c1a7368b..d80c0619 100644 --- a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/NodeConfigOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/NodeConfigOrBuilder.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/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; -public interface NodeConfigOrBuilder - extends +public interface NodeConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1beta1.NodeConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * Optional. The Compute Engine [zone](/compute/docs/regions-zones) in which
        * to deploy the VMs used to run the Apache Airflow software, specified as a
    @@ -43,13 +25,10 @@ public interface NodeConfigOrBuilder
        * 
    * * string location = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The location. */ java.lang.String getLocation(); /** - * - * *
        * Optional. The Compute Engine [zone](/compute/docs/regions-zones) in which
        * to deploy the VMs used to run the Apache Airflow software, specified as a
    @@ -67,14 +46,12 @@ public interface NodeConfigOrBuilder
        * 
    * * string location = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for location. */ - com.google.protobuf.ByteString getLocationBytes(); + com.google.protobuf.ByteString + getLocationBytes(); /** - * - * *
        * Optional. The Compute Engine
        * [machine type](/compute/docs/machine-types) used for cluster instances,
    @@ -97,13 +74,10 @@ public interface NodeConfigOrBuilder
        * 
    * * string machine_type = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The machineType. */ java.lang.String getMachineType(); /** - * - * *
        * Optional. The Compute Engine
        * [machine type](/compute/docs/machine-types) used for cluster instances,
    @@ -126,14 +100,12 @@ public interface NodeConfigOrBuilder
        * 
    * * string machine_type = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for machineType. */ - com.google.protobuf.ByteString getMachineTypeBytes(); + com.google.protobuf.ByteString + getMachineTypeBytes(); /** - * - * *
        * Optional. The Compute Engine network to be used for machine
        * communications, specified as a
    @@ -148,13 +120,10 @@ public interface NodeConfigOrBuilder
        * 
    * * string network = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The network. */ java.lang.String getNetwork(); /** - * - * *
        * Optional. The Compute Engine network to be used for machine
        * communications, specified as a
    @@ -169,14 +138,12 @@ public interface NodeConfigOrBuilder
        * 
    * * string network = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for network. */ - com.google.protobuf.ByteString getNetworkBytes(); + com.google.protobuf.ByteString + getNetworkBytes(); /** - * - * *
        * Optional. The Compute Engine subnetwork to be used for machine
        * communications, specified as a
    @@ -189,13 +156,10 @@ public interface NodeConfigOrBuilder
        * 
    * * string subnetwork = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The subnetwork. */ java.lang.String getSubnetwork(); /** - * - * *
        * Optional. The Compute Engine subnetwork to be used for machine
        * communications, specified as a
    @@ -208,28 +172,23 @@ public interface NodeConfigOrBuilder
        * 
    * * string subnetwork = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for subnetwork. */ - com.google.protobuf.ByteString getSubnetworkBytes(); + com.google.protobuf.ByteString + getSubnetworkBytes(); /** - * - * *
        * Optional. The disk size in GB used for node VMs. Minimum size is 20GB.
        * If unspecified, defaults to 100GB. Cannot be updated.
        * 
    * * int32 disk_size_gb = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The diskSizeGb. */ int getDiskSizeGb(); /** - * - * *
        * Optional. The set of Google API scopes to be made available on all
        * node VMs. If `oauth_scopes` is empty, defaults to
    @@ -237,13 +196,11 @@ public interface NodeConfigOrBuilder
        * 
    * * repeated string oauth_scopes = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the oauthScopes. */ - java.util.List getOauthScopesList(); + java.util.List + getOauthScopesList(); /** - * - * *
        * Optional. The set of Google API scopes to be made available on all
        * node VMs. If `oauth_scopes` is empty, defaults to
    @@ -251,13 +208,10 @@ public interface NodeConfigOrBuilder
        * 
    * * repeated string oauth_scopes = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of oauthScopes. */ int getOauthScopesCount(); /** - * - * *
        * Optional. The set of Google API scopes to be made available on all
        * node VMs. If `oauth_scopes` is empty, defaults to
    @@ -265,14 +219,11 @@ public interface NodeConfigOrBuilder
        * 
    * * repeated string oauth_scopes = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The oauthScopes at the given index. */ java.lang.String getOauthScopes(int index); /** - * - * *
        * Optional. The set of Google API scopes to be made available on all
        * node VMs. If `oauth_scopes` is empty, defaults to
    @@ -280,15 +231,13 @@ public interface NodeConfigOrBuilder
        * 
    * * repeated string oauth_scopes = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the oauthScopes at the given index. */ - com.google.protobuf.ByteString getOauthScopesBytes(int index); + com.google.protobuf.ByteString + getOauthScopesBytes(int index); /** - * - * *
        * Optional. The Google Cloud Platform Service Account to be used by the workloads. If a
        * service account is not specified, the "default" Compute Engine service
    @@ -296,13 +245,10 @@ public interface NodeConfigOrBuilder
        * 
    * * string service_account = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The serviceAccount. */ java.lang.String getServiceAccount(); /** - * - * *
        * Optional. The Google Cloud Platform Service Account to be used by the workloads. If a
        * service account is not specified, the "default" Compute Engine service
    @@ -310,14 +256,12 @@ public interface NodeConfigOrBuilder
        * 
    * * string service_account = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for serviceAccount. */ - com.google.protobuf.ByteString getServiceAccountBytes(); + com.google.protobuf.ByteString + getServiceAccountBytes(); /** - * - * *
        * Optional. The list of instance tags applied to all node VMs. Tags are used
        * to identify valid sources or targets for network firewalls. Each tag within
    @@ -326,13 +270,11 @@ public interface NodeConfigOrBuilder
        * 
    * * repeated string tags = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the tags. */ - java.util.List getTagsList(); + java.util.List + getTagsList(); /** - * - * *
        * Optional. The list of instance tags applied to all node VMs. Tags are used
        * to identify valid sources or targets for network firewalls. Each tag within
    @@ -341,13 +283,10 @@ public interface NodeConfigOrBuilder
        * 
    * * repeated string tags = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of tags. */ int getTagsCount(); /** - * - * *
        * Optional. The list of instance tags applied to all node VMs. Tags are used
        * to identify valid sources or targets for network firewalls. Each tag within
    @@ -356,14 +295,11 @@ public interface NodeConfigOrBuilder
        * 
    * * repeated string tags = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The tags at the given index. */ java.lang.String getTags(int index); /** - * - * *
        * Optional. The list of instance tags applied to all node VMs. Tags are used
        * to identify valid sources or targets for network firewalls. Each tag within
    @@ -372,57 +308,40 @@ public interface NodeConfigOrBuilder
        * 
    * * repeated string tags = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - com.google.protobuf.ByteString getTagsBytes(int index); + com.google.protobuf.ByteString + getTagsBytes(int index); /** - * - * *
        * Optional. The IPAllocationPolicy fields for the GKE cluster.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the ipAllocationPolicy field is set. */ boolean hasIpAllocationPolicy(); /** - * - * *
        * Optional. The IPAllocationPolicy fields for the GKE cluster.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return The ipAllocationPolicy. */ com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy getIpAllocationPolicy(); /** - * - * *
        * Optional. The IPAllocationPolicy fields for the GKE cluster.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicyOrBuilder - getIpAllocationPolicyOrBuilder(); + com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicyOrBuilder getIpAllocationPolicyOrBuilder(); /** - * - * *
        * Optional. The maximum number of pods per node in the Cloud Composer GKE cluster.
        * The value must be between 8 and 110 and it can be set only if
    @@ -437,7 +356,6 @@ public interface NodeConfigOrBuilder
        * 
    * * int32 max_pods_per_node = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The maxPodsPerNode. */ int getMaxPodsPerNode(); diff --git a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/OperationMetadata.java b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/OperationMetadata.java similarity index 68% rename from proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/OperationMetadata.java rename to owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/OperationMetadata.java index aa84863a..dfcd80fb 100644 --- a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/OperationMetadata.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/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/orchestration/airflow/service/v1beta1/operations.proto package com.google.cloud.orchestration.airflow.service.v1beta1; /** - * - * *
      * Metadata describing an operation.
      * 
    * * Protobuf type {@code google.cloud.orchestration.airflow.service.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.orchestration.airflow.service.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() { state_ = 0; operationType_ = 0; @@ -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,71 +56,63 @@ private OperationMetadata( case 0: done = true; break; - case 8: - { - int rawValue = input.readEnum(); + case 8: { + int rawValue = input.readEnum(); - state_ = rawValue; - break; - } - case 16: - { - int rawValue = input.readEnum(); + state_ = rawValue; + break; + } + case 16: { + int rawValue = input.readEnum(); - operationType_ = rawValue; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + operationType_ = rawValue; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - resource_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + resource_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - resourceUuid_ = s; - break; + resourceUuid_ = s; + break; + } + case 42: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 42: - { - 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 50: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); } - case 50: - { - 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; + endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = 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) { @@ -145,42 +120,36 @@ private OperationMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.OperationsProto - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.OperationsProto.internal_static_google_cloud_orchestration_airflow_service_v1beta1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.OperationsProto - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_OperationMetadata_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.OperationsProto.internal_static_google_cloud_orchestration_airflow_service_v1beta1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.class, - com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.class, com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Builder.class); } /** - * - * *
        * An enum describing the overall state of an operation.
        * 
    * - * Protobuf enum {@code - * google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State} + * Protobuf enum {@code google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
          * Unused.
          * 
    @@ -189,8 +158,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
          * The operation has been created but is not yet started.
          * 
    @@ -199,8 +166,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ PENDING(1), /** - * - * *
          * The operation is underway.
          * 
    @@ -209,8 +174,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ RUNNING(2), /** - * - * *
          * The operation completed successfully.
          * 
    @@ -219,8 +182,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ SUCCESSFUL(3), /** - * - * *
          * The operation is no longer running but did not succeed.
          * 
    @@ -232,8 +193,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
          * Unused.
          * 
    @@ -242,8 +201,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
          * The operation has been created but is not yet started.
          * 
    @@ -252,8 +209,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PENDING_VALUE = 1; /** - * - * *
          * The operation is underway.
          * 
    @@ -262,8 +217,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RUNNING_VALUE = 2; /** - * - * *
          * The operation completed successfully.
          * 
    @@ -272,8 +225,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUCCESSFUL_VALUE = 3; /** - * - * *
          * The operation is no longer running but did not succeed.
          * 
    @@ -282,6 +233,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 4; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -306,56 +258,51 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: - return STATE_UNSPECIFIED; - case 1: - return PENDING; - case 2: - return RUNNING; - case 3: - return SUCCESSFUL; - case 4: - return FAILED; - default: - return null; + case 0: return STATE_UNSPECIFIED; + case 1: return PENDING; + case 2: return RUNNING; + case 3: return SUCCESSFUL; + case 4: return FAILED; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + State> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public State findValueByNumber(int number) { - return State.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata - .getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.getDescriptor().getEnumTypes().get(0); } private static final State[] VALUES = values(); - public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static State valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -373,18 +320,15 @@ private State(int value) { } /** - * - * *
        * Type of longrunning operation.
        * 
    * * Protobuf enum {@code google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type} */ - public enum Type implements com.google.protobuf.ProtocolMessageEnum { + public enum Type + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
          * Unused.
          * 
    @@ -393,8 +337,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_UNSPECIFIED(0), /** - * - * *
          * A resource creation operation.
          * 
    @@ -403,8 +345,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ CREATE(1), /** - * - * *
          * A resource deletion operation.
          * 
    @@ -413,8 +353,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ DELETE(2), /** - * - * *
          * A resource update operation.
          * 
    @@ -423,8 +361,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ UPDATE(3), /** - * - * *
          * A resource check operation.
          * 
    @@ -436,8 +372,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
          * Unused.
          * 
    @@ -446,8 +380,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
          * A resource creation operation.
          * 
    @@ -456,8 +388,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CREATE_VALUE = 1; /** - * - * *
          * A resource deletion operation.
          * 
    @@ -466,8 +396,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DELETE_VALUE = 2; /** - * - * *
          * A resource update operation.
          * 
    @@ -476,8 +404,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UPDATE_VALUE = 3; /** - * - * *
          * A resource check operation.
          * 
    @@ -486,6 +412,7 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CHECK_VALUE = 4; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -510,56 +437,51 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: - return TYPE_UNSPECIFIED; - case 1: - return CREATE; - case 2: - return DELETE; - case 3: - return UPDATE; - case 4: - return CHECK; - default: - return null; + case 0: return TYPE_UNSPECIFIED; + case 1: return CREATE; + case 2: return DELETE; + case 3: return UPDATE; + case 4: return CHECK; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Type> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Type findValueByNumber(int number) { + return Type.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Type findValueByNumber(int number) { - return Type.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata - .getDescriptor() - .getEnumTypes() - .get(1); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.getDescriptor().getEnumTypes().get(1); } 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; @@ -579,101 +501,66 @@ private Type(int value) { public static final int STATE_FIELD_NUMBER = 1; private int state_; /** - * - * *
        * Output only. The current operation state.
        * 
    * - * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State state = 1; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State state = 1; * @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 operation state.
        * 
    * - * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State state = 1; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State state = 1; * @return The state. */ - @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State getState() { + @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State result = - com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State.valueOf( - state_); - return result == null - ? com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State - .UNRECOGNIZED - : result; + com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State result = com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State.valueOf(state_); + return result == null ? com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State.UNRECOGNIZED : result; } public static final int OPERATION_TYPE_FIELD_NUMBER = 2; private int operationType_; /** - * - * *
        * Output only. The type of operation being performed.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type operation_type = 2; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type operation_type = 2; * @return The enum numeric value on the wire for operationType. */ - @java.lang.Override - public int getOperationTypeValue() { + @java.lang.Override public int getOperationTypeValue() { return operationType_; } /** - * - * *
        * Output only. The type of operation being performed.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type operation_type = 2; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type operation_type = 2; * @return The operationType. */ - @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type - getOperationType() { + @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type getOperationType() { @SuppressWarnings("deprecation") - com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type result = - com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type.valueOf( - operationType_); - return result == null - ? com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type.UNRECOGNIZED - : result; + com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type result = com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type.valueOf(operationType_); + return result == null ? com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type.UNRECOGNIZED : result; } public static final int RESOURCE_FIELD_NUMBER = 3; private volatile java.lang.Object resource_; /** - * - * *
        * Output only. The resource being operated on, as a [relative resource name](
        * /apis/design/resource_names#relative_resource_name).
        * 
    * * string resource = 3; - * * @return The resource. */ @java.lang.Override @@ -682,30 +569,30 @@ 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; } } /** - * - * *
        * Output only. The resource being operated on, as a [relative resource name](
        * /apis/design/resource_names#relative_resource_name).
        * 
    * * string resource = 3; - * * @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 { @@ -716,14 +603,11 @@ public com.google.protobuf.ByteString getResourceBytes() { public static final int RESOURCE_UUID_FIELD_NUMBER = 4; private volatile java.lang.Object resourceUuid_; /** - * - * *
        * Output only. The UUID of the resource being operated on.
        * 
    * * string resource_uuid = 4; - * * @return The resourceUuid. */ @java.lang.Override @@ -732,29 +616,29 @@ public java.lang.String getResourceUuid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceUuid_ = s; return s; } } /** - * - * *
        * Output only. The UUID of the resource being operated on.
        * 
    * * string resource_uuid = 4; - * * @return The bytes for resourceUuid. */ @java.lang.Override - public com.google.protobuf.ByteString getResourceUuidBytes() { + public com.google.protobuf.ByteString + getResourceUuidBytes() { java.lang.Object ref = resourceUuid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceUuid_ = b; return b; } else { @@ -765,14 +649,11 @@ public com.google.protobuf.ByteString getResourceUuidBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** - * - * *
        * Output only. The time the operation was submitted to the server.
        * 
    * * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -780,14 +661,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
        * Output only. The time the operation was submitted to the server.
        * 
    * * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ @java.lang.Override @@ -795,8 +673,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
        * Output only. The time the operation was submitted to the server.
        * 
    @@ -811,15 +687,12 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp endTime_; /** - * - * *
        * Output only. The time when the operation terminated, regardless of its success.
        * This field is unset if the operation is still ongoing.
        * 
    * * .google.protobuf.Timestamp end_time = 6; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -827,15 +700,12 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
        * Output only. The time when the operation terminated, regardless of its success.
        * This field is unset if the operation is still ongoing.
        * 
    * * .google.protobuf.Timestamp end_time = 6; - * * @return The endTime. */ @java.lang.Override @@ -843,8 +713,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
        * Output only. The time when the operation terminated, regardless of its success.
        * This field is unset if the operation is still ongoing.
    @@ -858,7 +726,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
       }
     
       private byte memoizedIsInitialized = -1;
    -
       @java.lang.Override
       public final boolean isInitialized() {
         byte isInitialized = memoizedIsInitialized;
    @@ -870,17 +737,12 @@ public final boolean isInitialized() {
       }
     
       @java.lang.Override
    -  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    -    if (state_
    -        != com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State
    -            .STATE_UNSPECIFIED
    -            .getNumber()) {
    +  public void writeTo(com.google.protobuf.CodedOutputStream output)
    +                      throws java.io.IOException {
    +    if (state_ != com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State.STATE_UNSPECIFIED.getNumber()) {
           output.writeEnum(1, state_);
         }
    -    if (operationType_
    -        != com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type
    -            .TYPE_UNSPECIFIED
    -            .getNumber()) {
    +    if (operationType_ != com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type.TYPE_UNSPECIFIED.getNumber()) {
           output.writeEnum(2, operationType_);
         }
         if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resource_)) {
    @@ -904,17 +766,13 @@ public int getSerializedSize() {
         if (size != -1) return size;
     
         size = 0;
    -    if (state_
    -        != com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State
    -            .STATE_UNSPECIFIED
    -            .getNumber()) {
    -      size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, state_);
    -    }
    -    if (operationType_
    -        != com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type
    -            .TYPE_UNSPECIFIED
    -            .getNumber()) {
    -      size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, operationType_);
    +    if (state_ != com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State.STATE_UNSPECIFIED.getNumber()) {
    +      size += com.google.protobuf.CodedOutputStream
    +        .computeEnumSize(1, state_);
    +    }
    +    if (operationType_ != com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type.TYPE_UNSPECIFIED.getNumber()) {
    +      size += com.google.protobuf.CodedOutputStream
    +        .computeEnumSize(2, operationType_);
         }
         if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resource_)) {
           size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, resource_);
    @@ -923,10 +781,12 @@ public int getSerializedSize() {
           size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, resourceUuid_);
         }
         if (createTime_ != null) {
    -      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime());
    +      size += com.google.protobuf.CodedOutputStream
    +        .computeMessageSize(5, getCreateTime());
         }
         if (endTime_ != null) {
    -      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getEndTime());
    +      size += com.google.protobuf.CodedOutputStream
    +        .computeMessageSize(6, getEndTime());
         }
         size += unknownFields.getSerializedSize();
         memoizedSize = size;
    @@ -936,26 +796,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.orchestration.airflow.service.v1beta1.OperationMetadata)) {
    +    if (!(obj instanceof com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata)) {
           return super.equals(obj);
         }
    -    com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata other =
    -        (com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata) obj;
    +    com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata other = (com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata) obj;
     
         if (state_ != other.state_) return false;
         if (operationType_ != other.operationType_) return false;
    -    if (!getResource().equals(other.getResource())) return false;
    -    if (!getResourceUuid().equals(other.getResourceUuid())) return false;
    +    if (!getResource()
    +        .equals(other.getResource())) return false;
    +    if (!getResourceUuid()
    +        .equals(other.getResourceUuid())) 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 (hasEndTime() != other.hasEndTime()) return false;
         if (hasEndTime()) {
    -      if (!getEndTime().equals(other.getEndTime())) return false;
    +      if (!getEndTime()
    +          .equals(other.getEndTime())) return false;
         }
         if (!unknownFields.equals(other.unknownFields)) return false;
         return true;
    @@ -990,146 +852,134 @@ public int hashCode() {
       }
     
       public static com.google.cloud.orchestration.airflow.service.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.orchestration.airflow.service.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.orchestration.airflow.service.v1beta1.OperationMetadata parseFrom(
           com.google.protobuf.ByteString data)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
    -
       public static com.google.cloud.orchestration.airflow.service.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.orchestration.airflow.service.v1beta1.OperationMetadata parseFrom(
    -      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
    +  public static com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata parseFrom(byte[] data)
    +      throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
    -
       public static com.google.cloud.orchestration.airflow.service.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.orchestration.airflow.service.v1beta1.OperationMetadata parseFrom(
    -      java.io.InputStream input) throws java.io.IOException {
    -    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
    +  public static com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata parseFrom(java.io.InputStream input)
    +      throws java.io.IOException {
    +    return com.google.protobuf.GeneratedMessageV3
    +        .parseWithIOException(PARSER, input);
       }
    -
       public static com.google.cloud.orchestration.airflow.service.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.orchestration.airflow.service.v1beta1.OperationMetadata
    -      parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
    -    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
    +  public static com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata parseDelimitedFrom(java.io.InputStream input)
    +      throws java.io.IOException {
    +    return com.google.protobuf.GeneratedMessageV3
    +        .parseDelimitedWithIOException(PARSER, input);
       }
    -
    -  public static com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata
    -      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.orchestration.airflow.service.v1beta1.OperationMetadata 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.orchestration.airflow.service.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.orchestration.airflow.service.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.orchestration.airflow.service.v1beta1.OperationMetadata prototype) {
    +  public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.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;
       }
       /**
    -   *
    -   *
        * 
        * Metadata describing an operation.
        * 
    * * Protobuf type {@code google.cloud.orchestration.airflow.service.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.orchestration.airflow.service.v1beta1.OperationMetadata) com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.OperationsProto - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.OperationsProto.internal_static_google_cloud_orchestration_airflow_service_v1beta1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.OperationsProto - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_OperationMetadata_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.OperationsProto.internal_static_google_cloud_orchestration_airflow_service_v1beta1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.class, - com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Builder - .class); + com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.class, com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Builder.class); } - // Construct using - // com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.newBuilder() + // Construct using com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1157,22 +1007,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.OperationsProto - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_OperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.OperationsProto.internal_static_google_cloud_orchestration_airflow_service_v1beta1_OperationMetadata_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata - getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata - .getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.getDefaultInstance(); } @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata build() { - com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata result = - buildPartial(); + com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1181,8 +1028,7 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata buildPartial() { - com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata result = - new com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata(this); + com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata result = new com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata(this); result.state_ = state_; result.operationType_ = operationType_; result.resource_ = resource_; @@ -1205,52 +1051,46 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata) { - return mergeFrom( - (com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata) other); + if (other instanceof com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata) { + return mergeFrom((com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata other) { - if (other - == com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata other) { + if (other == com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.getDefaultInstance()) return this; if (other.state_ != 0) { setStateValue(other.getStateValue()); } @@ -1290,9 +1130,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1304,101 +1142,73 @@ public Builder mergeFrom( private int state_ = 0; /** - * - * *
          * Output only. The current operation state.
          * 
    * - * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State state = 1; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State state = 1; * @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 operation state.
          * 
    * - * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State state = 1; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State state = 1; * @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 operation state.
          * 
    * - * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State state = 1; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State state = 1; * @return The state. */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State - getState() { + public com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State result = - com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State.valueOf( - state_); - return result == null - ? com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State - .UNRECOGNIZED - : result; + com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State result = com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State.valueOf(state_); + return result == null ? com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State.UNRECOGNIZED : result; } /** - * - * *
          * Output only. The current operation state.
          * 
    * - * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State state = 1; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State state = 1; * @param value The state to set. * @return This builder for chaining. */ - public Builder setState( - com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State value) { + public Builder setState(com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
          * Output only. The current operation state.
          * 
    * - * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State state = 1; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State state = 1; * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -1406,106 +1216,73 @@ public Builder clearState() { private int operationType_ = 0; /** - * - * *
          * Output only. The type of operation being performed.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type operation_type = 2; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type operation_type = 2; * @return The enum numeric value on the wire for operationType. */ - @java.lang.Override - public int getOperationTypeValue() { + @java.lang.Override public int getOperationTypeValue() { return operationType_; } /** - * - * *
          * Output only. The type of operation being performed.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type operation_type = 2; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type operation_type = 2; * @param value The enum numeric value on the wire for operationType to set. * @return This builder for chaining. */ public Builder setOperationTypeValue(int value) { - + operationType_ = value; onChanged(); return this; } /** - * - * *
          * Output only. The type of operation being performed.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type operation_type = 2; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type operation_type = 2; * @return The operationType. */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type - getOperationType() { + public com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type getOperationType() { @SuppressWarnings("deprecation") - com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type result = - com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type.valueOf( - operationType_); - return result == null - ? com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type - .UNRECOGNIZED - : result; + com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type result = com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type.valueOf(operationType_); + return result == null ? com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type.UNRECOGNIZED : result; } /** - * - * *
          * Output only. The type of operation being performed.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type operation_type = 2; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type operation_type = 2; * @param value The operationType to set. * @return This builder for chaining. */ - public Builder setOperationType( - com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type value) { + public Builder setOperationType(com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type value) { if (value == null) { throw new NullPointerException(); } - + operationType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
          * Output only. The type of operation being performed.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type operation_type = 2; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type operation_type = 2; * @return This builder for chaining. */ public Builder clearOperationType() { - + operationType_ = 0; onChanged(); return this; @@ -1513,21 +1290,19 @@ public Builder clearOperationType() { private java.lang.Object resource_ = ""; /** - * - * *
          * Output only. The resource being operated on, as a [relative resource name](
          * /apis/design/resource_names#relative_resource_name).
          * 
    * * string resource = 3; - * * @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; @@ -1536,22 +1311,21 @@ public java.lang.String getResource() { } } /** - * - * *
          * Output only. The resource being operated on, as a [relative resource name](
          * /apis/design/resource_names#relative_resource_name).
          * 
    * * string resource = 3; - * * @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 { @@ -1559,64 +1333,57 @@ public com.google.protobuf.ByteString getResourceBytes() { } } /** - * - * *
          * Output only. The resource being operated on, as a [relative resource name](
          * /apis/design/resource_names#relative_resource_name).
          * 
    * * string resource = 3; - * * @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; } /** - * - * *
          * Output only. The resource being operated on, as a [relative resource name](
          * /apis/design/resource_names#relative_resource_name).
          * 
    * * string resource = 3; - * * @return This builder for chaining. */ public Builder clearResource() { - + resource_ = getDefaultInstance().getResource(); onChanged(); return this; } /** - * - * *
          * Output only. The resource being operated on, as a [relative resource name](
          * /apis/design/resource_names#relative_resource_name).
          * 
    * * string resource = 3; - * * @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; @@ -1624,20 +1391,18 @@ public Builder setResourceBytes(com.google.protobuf.ByteString value) { private java.lang.Object resourceUuid_ = ""; /** - * - * *
          * Output only. The UUID of the resource being operated on.
          * 
    * * string resource_uuid = 4; - * * @return The resourceUuid. */ public java.lang.String getResourceUuid() { java.lang.Object ref = resourceUuid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceUuid_ = s; return s; @@ -1646,21 +1411,20 @@ public java.lang.String getResourceUuid() { } } /** - * - * *
          * Output only. The UUID of the resource being operated on.
          * 
    * * string resource_uuid = 4; - * * @return The bytes for resourceUuid. */ - public com.google.protobuf.ByteString getResourceUuidBytes() { + public com.google.protobuf.ByteString + getResourceUuidBytes() { java.lang.Object ref = resourceUuid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceUuid_ = b; return b; } else { @@ -1668,61 +1432,54 @@ public com.google.protobuf.ByteString getResourceUuidBytes() { } } /** - * - * *
          * Output only. The UUID of the resource being operated on.
          * 
    * * string resource_uuid = 4; - * * @param value The resourceUuid to set. * @return This builder for chaining. */ - public Builder setResourceUuid(java.lang.String value) { + public Builder setResourceUuid( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + resourceUuid_ = value; onChanged(); return this; } /** - * - * *
          * Output only. The UUID of the resource being operated on.
          * 
    * * string resource_uuid = 4; - * * @return This builder for chaining. */ public Builder clearResourceUuid() { - + resourceUuid_ = getDefaultInstance().getResourceUuid(); onChanged(); return this; } /** - * - * *
          * Output only. The UUID of the resource being operated on.
          * 
    * * string resource_uuid = 4; - * * @param value The bytes for resourceUuid to set. * @return This builder for chaining. */ - public Builder setResourceUuidBytes(com.google.protobuf.ByteString value) { + public Builder setResourceUuidBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resourceUuid_ = value; onChanged(); return this; @@ -1730,47 +1487,34 @@ public Builder setResourceUuidBytes(com.google.protobuf.ByteString value) { 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 operation was submitted to the server.
          * 
    * * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
          * Output only. The time the operation was submitted to the server.
          * 
    * * .google.protobuf.Timestamp create_time = 5; - * * @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 operation was submitted to the server.
          * 
    @@ -1791,15 +1535,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
          * Output only. The time the operation was submitted to the server.
          * 
    * * .google.protobuf.Timestamp create_time = 5; */ - 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(); @@ -1810,8 +1553,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
          * Output only. The time the operation was submitted to the server.
          * 
    @@ -1822,7 +1563,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; } @@ -1834,8 +1575,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
          * Output only. The time the operation was submitted to the server.
          * 
    @@ -1854,8 +1593,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
          * Output only. The time the operation was submitted to the server.
          * 
    @@ -1863,13 +1600,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
          * Output only. The time the operation was submitted to the server.
          * 
    @@ -1880,14 +1615,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_; } } /** - * - * *
          * Output only. The time the operation was submitted to the server.
          * 
    @@ -1895,17 +1627,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 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_; @@ -1913,35 +1642,26 @@ 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_; /** - * - * *
          * Output only. The time when the operation terminated, regardless of its success.
          * This field is unset if the operation is still ongoing.
          * 
    * * .google.protobuf.Timestamp end_time = 6; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** - * - * *
          * Output only. The time when the operation terminated, regardless of its success.
          * This field is unset if the operation is still ongoing.
          * 
    * * .google.protobuf.Timestamp end_time = 6; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1952,8 +1672,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
          * Output only. The time when the operation terminated, regardless of its success.
          * This field is unset if the operation is still ongoing.
    @@ -1975,8 +1693,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
           return this;
         }
         /**
    -     *
    -     *
          * 
          * Output only. The time when the operation terminated, regardless of its success.
          * This field is unset if the operation is still ongoing.
    @@ -1984,7 +1700,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
          *
          * .google.protobuf.Timestamp end_time = 6;
          */
    -    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();
    @@ -1995,8 +1712,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
           return this;
         }
         /**
    -     *
    -     *
          * 
          * Output only. The time when the operation terminated, regardless of its success.
          * This field is unset if the operation is still ongoing.
    @@ -2008,7 +1723,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;
             }
    @@ -2020,8 +1735,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
           return this;
         }
         /**
    -     *
    -     *
          * 
          * Output only. The time when the operation terminated, regardless of its success.
          * This field is unset if the operation is still ongoing.
    @@ -2041,8 +1754,6 @@ public Builder clearEndTime() {
           return this;
         }
         /**
    -     *
    -     *
          * 
          * Output only. The time when the operation terminated, regardless of its success.
          * This field is unset if the operation is still ongoing.
    @@ -2051,13 +1762,11 @@ public Builder clearEndTime() {
          * .google.protobuf.Timestamp end_time = 6;
          */
         public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
    -
    +      
           onChanged();
           return getEndTimeFieldBuilder().getBuilder();
         }
         /**
    -     *
    -     *
          * 
          * Output only. The time when the operation terminated, regardless of its success.
          * This field is unset if the operation is still ongoing.
    @@ -2069,12 +1778,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_;
           }
         }
         /**
    -     *
    -     *
          * 
          * Output only. The time when the operation terminated, regardless of its success.
          * This field is unset if the operation is still ongoing.
    @@ -2083,24 +1791,21 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
          * .google.protobuf.Timestamp end_time = 6;
          */
         private com.google.protobuf.SingleFieldBuilderV3<
    -            com.google.protobuf.Timestamp,
    -            com.google.protobuf.Timestamp.Builder,
    -            com.google.protobuf.TimestampOrBuilder>
    +        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
             getEndTimeFieldBuilder() {
           if (endTimeBuilder_ == null) {
    -        endTimeBuilder_ =
    -            new com.google.protobuf.SingleFieldBuilderV3<
    -                com.google.protobuf.Timestamp,
    -                com.google.protobuf.Timestamp.Builder,
    -                com.google.protobuf.TimestampOrBuilder>(
    -                getEndTime(), getParentForChildren(), isClean());
    +        endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
    +            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
    +                getEndTime(),
    +                getParentForChildren(),
    +                isClean());
             endTime_ = null;
           }
           return endTimeBuilder_;
         }
    -
         @java.lang.Override
    -    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
    +    public final Builder setUnknownFields(
    +        final com.google.protobuf.UnknownFieldSet unknownFields) {
           return super.setUnknownFields(unknownFields);
         }
     
    @@ -2110,33 +1815,30 @@ public final Builder mergeUnknownFields(
           return super.mergeUnknownFields(unknownFields);
         }
     
    +
         // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata)
       }
     
       // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata)
    -  private static final com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata
    -      DEFAULT_INSTANCE;
    -
    +  private static final com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata DEFAULT_INSTANCE;
       static {
    -    DEFAULT_INSTANCE =
    -        new com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata();
    +    DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata();
       }
     
    -  public static com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata
    -      getDefaultInstance() {
    +  public static com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata getDefaultInstance() {
         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;
    @@ -2148,8 +1850,9 @@ public com.google.protobuf.Parser getParserForType() {
       }
     
       @java.lang.Override
    -  public com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata
    -      getDefaultInstanceForType() {
    +  public com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata getDefaultInstanceForType() {
         return DEFAULT_INSTANCE;
       }
    +
     }
    +
    diff --git a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/OperationMetadataOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/OperationMetadataOrBuilder.java
    similarity index 74%
    rename from proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/OperationMetadataOrBuilder.java
    rename to owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/OperationMetadataOrBuilder.java
    index 77b4ad2a..6e9b40bf 100644
    --- a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/OperationMetadataOrBuilder.java
    +++ b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/OperationMetadataOrBuilder.java
    @@ -1,163 +1,111 @@
    -/*
    - * Copyright 2020 Google LLC
    - *
    - * Licensed under the Apache License, Version 2.0 (the "License");
    - * you may not use this file except in compliance with the License.
    - * You may obtain a copy of the License at
    - *
    - *     https://www.apache.org/licenses/LICENSE-2.0
    - *
    - * Unless required by applicable law or agreed to in writing, software
    - * distributed under the License is distributed on an "AS IS" BASIS,
    - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    - * See the License for the specific language governing permissions and
    - * limitations under the License.
    - */
     // Generated by the protocol buffer compiler.  DO NOT EDIT!
     // source: google/cloud/orchestration/airflow/service/v1beta1/operations.proto
     
     package com.google.cloud.orchestration.airflow.service.v1beta1;
     
    -public interface OperationMetadataOrBuilder
    -    extends
    +public interface OperationMetadataOrBuilder extends
         // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata)
         com.google.protobuf.MessageOrBuilder {
     
       /**
    -   *
    -   *
        * 
        * Output only. The current operation state.
        * 
    * - * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State state = 1; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State state = 1; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
        * Output only. The current operation state.
        * 
    * - * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State state = 1; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State state = 1; * @return The state. */ com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State getState(); /** - * - * *
        * Output only. The type of operation being performed.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type operation_type = 2; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type operation_type = 2; * @return The enum numeric value on the wire for operationType. */ int getOperationTypeValue(); /** - * - * *
        * Output only. The type of operation being performed.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type operation_type = 2; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type operation_type = 2; * @return The operationType. */ com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type getOperationType(); /** - * - * *
        * Output only. The resource being operated on, as a [relative resource name](
        * /apis/design/resource_names#relative_resource_name).
        * 
    * * string resource = 3; - * * @return The resource. */ java.lang.String getResource(); /** - * - * *
        * Output only. The resource being operated on, as a [relative resource name](
        * /apis/design/resource_names#relative_resource_name).
        * 
    * * string resource = 3; - * * @return The bytes for resource. */ - com.google.protobuf.ByteString getResourceBytes(); + com.google.protobuf.ByteString + getResourceBytes(); /** - * - * *
        * Output only. The UUID of the resource being operated on.
        * 
    * * string resource_uuid = 4; - * * @return The resourceUuid. */ java.lang.String getResourceUuid(); /** - * - * *
        * Output only. The UUID of the resource being operated on.
        * 
    * * string resource_uuid = 4; - * * @return The bytes for resourceUuid. */ - com.google.protobuf.ByteString getResourceUuidBytes(); + com.google.protobuf.ByteString + getResourceUuidBytes(); /** - * - * *
        * Output only. The time the operation was submitted to the server.
        * 
    * * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
        * Output only. The time the operation was submitted to the server.
        * 
    * * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
        * Output only. The time the operation was submitted to the server.
        * 
    @@ -167,34 +115,26 @@ public interface OperationMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
        * Output only. The time when the operation terminated, regardless of its success.
        * This field is unset if the operation is still ongoing.
        * 
    * * .google.protobuf.Timestamp end_time = 6; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
        * Output only. The time when the operation terminated, regardless of its success.
        * This field is unset if the operation is still ongoing.
        * 
    * * .google.protobuf.Timestamp end_time = 6; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
        * Output only. The time when the operation terminated, regardless of its success.
        * This field is unset if the operation is still ongoing.
    diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/OperationsProto.java b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/OperationsProto.java
    new file mode 100644
    index 00000000..2e2ca56c
    --- /dev/null
    +++ b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/OperationsProto.java
    @@ -0,0 +1,71 @@
    +// Generated by the protocol buffer compiler.  DO NOT EDIT!
    +// source: google/cloud/orchestration/airflow/service/v1beta1/operations.proto
    +
    +package com.google.cloud.orchestration.airflow.service.v1beta1;
    +
    +public final class OperationsProto {
    +  private OperationsProto() {}
    +  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_orchestration_airflow_service_v1beta1_OperationMetadata_descriptor;
    +  static final 
    +    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
    +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_OperationMetadata_fieldAccessorTable;
    +
    +  public static com.google.protobuf.Descriptors.FileDescriptor
    +      getDescriptor() {
    +    return descriptor;
    +  }
    +  private static  com.google.protobuf.Descriptors.FileDescriptor
    +      descriptor;
    +  static {
    +    java.lang.String[] descriptorData = {
    +      "\nCgoogle/cloud/orchestration/airflow/ser" +
    +      "vice/v1beta1/operations.proto\0222google.cl" +
    +      "oud.orchestration.airflow.service.v1beta" +
    +      "1\032\037google/protobuf/timestamp.proto\032\034goog" +
    +      "le/api/annotations.proto\"\376\003\n\021OperationMe" +
    +      "tadata\022Z\n\005state\030\001 \001(\0162K.google.cloud.orc" +
    +      "hestration.airflow.service.v1beta1.Opera" +
    +      "tionMetadata.State\022b\n\016operation_type\030\002 \001" +
    +      "(\0162J.google.cloud.orchestration.airflow." +
    +      "service.v1beta1.OperationMetadata.Type\022\020" +
    +      "\n\010resource\030\003 \001(\t\022\025\n\rresource_uuid\030\004 \001(\t\022" +
    +      "/\n\013create_time\030\005 \001(\0132\032.google.protobuf.T" +
    +      "imestamp\022,\n\010end_time\030\006 \001(\0132\032.google.prot" +
    +      "obuf.Timestamp\"T\n\005State\022\025\n\021STATE_UNSPECI" +
    +      "FIED\020\000\022\013\n\007PENDING\020\001\022\013\n\007RUNNING\020\002\022\016\n\nSUCC" +
    +      "ESSFUL\020\003\022\n\n\006FAILED\020\004\"K\n\004Type\022\024\n\020TYPE_UNS" +
    +      "PECIFIED\020\000\022\n\n\006CREATE\020\001\022\n\n\006DELETE\020\002\022\n\n\006UP" +
    +      "DATE\020\003\022\t\n\005CHECK\020\004B\246\001\n6com.google.cloud.o" +
    +      "rchestration.airflow.service.v1beta1B\017Op" +
    +      "erationsProtoP\001ZYgoogle.golang.org/genpr" +
    +      "oto/googleapis/cloud/orchestration/airfl" +
    +      "ow/service/v1beta1;serviceb\006proto3"
    +    };
    +    descriptor = com.google.protobuf.Descriptors.FileDescriptor
    +      .internalBuildGeneratedFileFrom(descriptorData,
    +        new com.google.protobuf.Descriptors.FileDescriptor[] {
    +          com.google.protobuf.TimestampProto.getDescriptor(),
    +          com.google.api.AnnotationsProto.getDescriptor(),
    +        });
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_OperationMetadata_descriptor =
    +      getDescriptor().getMessageTypes().get(0);
    +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_OperationMetadata_fieldAccessorTable = new
    +      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
    +        internal_static_google_cloud_orchestration_airflow_service_v1beta1_OperationMetadata_descriptor,
    +        new java.lang.String[] { "State", "OperationType", "Resource", "ResourceUuid", "CreateTime", "EndTime", });
    +    com.google.protobuf.TimestampProto.getDescriptor();
    +    com.google.api.AnnotationsProto.getDescriptor();
    +  }
    +
    +  // @@protoc_insertion_point(outer_class_scope)
    +}
    diff --git a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateClusterConfig.java b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateClusterConfig.java
    similarity index 66%
    rename from proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateClusterConfig.java
    rename to owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateClusterConfig.java
    index 3c8b2ed8..ada1d014 100644
    --- a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateClusterConfig.java
    +++ b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateClusterConfig.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/orchestration/airflow/service/v1beta1/environments.proto
     
     package com.google.cloud.orchestration.airflow.service.v1beta1;
     
     /**
    - *
    - *
      * 
      * Configuration options for the private GKE cluster in a Cloud Composer
      * environment.
    @@ -28,16 +11,15 @@
      *
      * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig}
      */
    -public final class PrivateClusterConfig extends com.google.protobuf.GeneratedMessageV3
    -    implements
    +public final class PrivateClusterConfig extends
    +    com.google.protobuf.GeneratedMessageV3 implements
         // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig)
         PrivateClusterConfigOrBuilder {
    -  private static final long serialVersionUID = 0L;
    +private static final long serialVersionUID = 0L;
       // Use PrivateClusterConfig.newBuilder() to construct.
       private PrivateClusterConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
    -
       private PrivateClusterConfig() {
         masterIpv4CidrBlock_ = "";
         masterIpv4ReservedRange_ = "";
    @@ -45,15 +27,16 @@ private PrivateClusterConfig() {
     
       @java.lang.Override
       @SuppressWarnings({"unused"})
    -  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
    +  protected java.lang.Object newInstance(
    +      UnusedPrivateParameter unused) {
         return new PrivateClusterConfig();
       }
     
       @java.lang.Override
    -  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
    +  public final com.google.protobuf.UnknownFieldSet
    +  getUnknownFields() {
         return this.unknownFields;
       }
    -
       private PrivateClusterConfig(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    @@ -72,32 +55,30 @@ private PrivateClusterConfig(
               case 0:
                 done = true;
                 break;
    -          case 8:
    -            {
    -              enablePrivateEndpoint_ = input.readBool();
    -              break;
    -            }
    -          case 18:
    -            {
    -              java.lang.String s = input.readStringRequireUtf8();
    +          case 8: {
     
    -              masterIpv4CidrBlock_ = s;
    -              break;
    -            }
    -          case 26:
    -            {
    -              java.lang.String s = input.readStringRequireUtf8();
    +            enablePrivateEndpoint_ = input.readBool();
    +            break;
    +          }
    +          case 18: {
    +            java.lang.String s = input.readStringRequireUtf8();
     
    -              masterIpv4ReservedRange_ = s;
    -              break;
    -            }
    -          default:
    -            {
    -              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
    -                done = true;
    -              }
    -              break;
    +            masterIpv4CidrBlock_ = s;
    +            break;
    +          }
    +          case 26: {
    +            java.lang.String s = input.readStringRequireUtf8();
    +
    +            masterIpv4ReservedRange_ = s;
    +            break;
    +          }
    +          default: {
    +            if (!parseUnknownField(
    +                input, unknownFields, extensionRegistry, tag)) {
    +              done = true;
                 }
    +            break;
    +          }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
    @@ -105,41 +86,35 @@ private PrivateClusterConfig(
         } catch (com.google.protobuf.UninitializedMessageException e) {
           throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
    -      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
    +      throw new com.google.protobuf.InvalidProtocolBufferException(
    +          e).setUnfinishedMessage(this);
         } finally {
           this.unknownFields = unknownFields.build();
           makeExtensionsImmutable();
         }
       }
    -
    -  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    -    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
    -        .internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateClusterConfig_descriptor;
    +  public static final com.google.protobuf.Descriptors.Descriptor
    +      getDescriptor() {
    +    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateClusterConfig_descriptor;
       }
     
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
    -    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
    -        .internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateClusterConfig_fieldAccessorTable
    +    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateClusterConfig_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
    -            com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig.class,
    -            com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig.Builder
    -                .class);
    +            com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig.class, com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig.Builder.class);
       }
     
       public static final int ENABLE_PRIVATE_ENDPOINT_FIELD_NUMBER = 1;
       private boolean enablePrivateEndpoint_;
       /**
    -   *
    -   *
        * 
        * Optional. If `true`, access to the public endpoint of the GKE cluster is
        * denied.
        * 
    * * bool enable_private_endpoint = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The enablePrivateEndpoint. */ @java.lang.Override @@ -150,15 +125,12 @@ public boolean getEnablePrivateEndpoint() { public static final int MASTER_IPV4_CIDR_BLOCK_FIELD_NUMBER = 2; private volatile java.lang.Object masterIpv4CidrBlock_; /** - * - * *
        * Optional. The CIDR block from which IPv4 range for GKE master will be reserved. If
        * left blank, the default value of '172.16.0.0/23' is used.
        * 
    * * string master_ipv4_cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The masterIpv4CidrBlock. */ @java.lang.Override @@ -167,30 +139,30 @@ public java.lang.String getMasterIpv4CidrBlock() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); masterIpv4CidrBlock_ = s; return s; } } /** - * - * *
        * Optional. The CIDR block from which IPv4 range for GKE master will be reserved. If
        * left blank, the default value of '172.16.0.0/23' is used.
        * 
    * * string master_ipv4_cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for masterIpv4CidrBlock. */ @java.lang.Override - public com.google.protobuf.ByteString getMasterIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString + getMasterIpv4CidrBlockBytes() { java.lang.Object ref = masterIpv4CidrBlock_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); masterIpv4CidrBlock_ = b; return b; } else { @@ -201,8 +173,6 @@ public com.google.protobuf.ByteString getMasterIpv4CidrBlockBytes() { public static final int MASTER_IPV4_RESERVED_RANGE_FIELD_NUMBER = 3; private volatile java.lang.Object masterIpv4ReservedRange_; /** - * - * *
        * Output only. The IP range in CIDR notation to use for the hosted master network. This
        * range is used for assigning internal IP addresses to the cluster
    @@ -211,9 +181,7 @@ public com.google.protobuf.ByteString getMasterIpv4CidrBlockBytes() {
        * within the cluster's network.
        * 
    * - * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The masterIpv4ReservedRange. */ @java.lang.Override @@ -222,15 +190,14 @@ public java.lang.String getMasterIpv4ReservedRange() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); masterIpv4ReservedRange_ = s; return s; } } /** - * - * *
        * Output only. The IP range in CIDR notation to use for the hosted master network. This
        * range is used for assigning internal IP addresses to the cluster
    @@ -239,17 +206,17 @@ public java.lang.String getMasterIpv4ReservedRange() {
        * within the cluster's network.
        * 
    * - * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for masterIpv4ReservedRange. */ @java.lang.Override - public com.google.protobuf.ByteString getMasterIpv4ReservedRangeBytes() { + public com.google.protobuf.ByteString + getMasterIpv4ReservedRangeBytes() { java.lang.Object ref = masterIpv4ReservedRange_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); masterIpv4ReservedRange_ = b; return b; } else { @@ -258,7 +225,6 @@ public com.google.protobuf.ByteString getMasterIpv4ReservedRangeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -270,7 +236,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 (enablePrivateEndpoint_ != false) { output.writeBool(1, enablePrivateEndpoint_); } @@ -290,7 +257,8 @@ public int getSerializedSize() { size = 0; if (enablePrivateEndpoint_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enablePrivateEndpoint_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enablePrivateEndpoint_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(masterIpv4CidrBlock_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, masterIpv4CidrBlock_); @@ -306,18 +274,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.orchestration.airflow.service.v1beta1.PrivateClusterConfig)) { + if (!(obj instanceof com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig other = - (com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig) obj; + com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig other = (com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig) obj; - if (getEnablePrivateEndpoint() != other.getEnablePrivateEndpoint()) return false; - if (!getMasterIpv4CidrBlock().equals(other.getMasterIpv4CidrBlock())) return false; - if (!getMasterIpv4ReservedRange().equals(other.getMasterIpv4ReservedRange())) return false; + if (getEnablePrivateEndpoint() + != other.getEnablePrivateEndpoint()) return false; + if (!getMasterIpv4CidrBlock() + .equals(other.getMasterIpv4CidrBlock())) return false; + if (!getMasterIpv4ReservedRange() + .equals(other.getMasterIpv4ReservedRange())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -330,7 +299,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLE_PRIVATE_ENDPOINT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnablePrivateEndpoint()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnablePrivateEndpoint()); hash = (37 * hash) + MASTER_IPV4_CIDR_BLOCK_FIELD_NUMBER; hash = (53 * hash) + getMasterIpv4CidrBlock().hashCode(); hash = (37 * hash) + MASTER_IPV4_RESERVED_RANGE_FIELD_NUMBER; @@ -340,111 +310,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig - 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.orchestration.airflow.service.v1beta1.PrivateClusterConfig 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.orchestration.airflow.service.v1beta1.PrivateClusterConfig - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig prototype) { + public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
        * Configuration options for the private GKE cluster in a Cloud Composer
        * environment.
    @@ -452,41 +408,38 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
        *
        * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig}
        */
    -  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
    -      implements
    +  public static final class Builder extends
    +      com.google.protobuf.GeneratedMessageV3.Builder implements
           // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig)
           com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfigOrBuilder {
    -    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    -      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
    -          .internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateClusterConfig_descriptor;
    +    public static final com.google.protobuf.Descriptors.Descriptor
    +        getDescriptor() {
    +      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateClusterConfig_descriptor;
         }
     
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
    -      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
    -          .internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateClusterConfig_fieldAccessorTable
    +      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateClusterConfig_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
    -              com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig.class,
    -              com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig.Builder
    -                  .class);
    +              com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig.class, com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig.Builder.class);
         }
     
    -    // Construct using
    -    // com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig.newBuilder()
    +    // Construct using com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig.newBuilder()
         private Builder() {
           maybeForceBuilderInitialization();
         }
     
    -    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    +    private Builder(
    +        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
           super(parent);
           maybeForceBuilderInitialization();
         }
    -
         private void maybeForceBuilderInitialization() {
    -      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
    +      if (com.google.protobuf.GeneratedMessageV3
    +              .alwaysUseFieldBuilders) {
    +      }
         }
    -
         @java.lang.Override
         public Builder clear() {
           super.clear();
    @@ -500,22 +453,19 @@ public Builder clear() {
         }
     
         @java.lang.Override
    -    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
    -      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
    -          .internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateClusterConfig_descriptor;
    +    public com.google.protobuf.Descriptors.Descriptor
    +        getDescriptorForType() {
    +      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateClusterConfig_descriptor;
         }
     
         @java.lang.Override
    -    public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig
    -        getDefaultInstanceForType() {
    -      return com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig
    -          .getDefaultInstance();
    +    public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig getDefaultInstanceForType() {
    +      return com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig.getDefaultInstance();
         }
     
         @java.lang.Override
         public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig build() {
    -      com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig result =
    -          buildPartial();
    +      com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig result = buildPartial();
           if (!result.isInitialized()) {
             throw newUninitializedMessageException(result);
           }
    @@ -523,10 +473,8 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConf
         }
     
         @java.lang.Override
    -    public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig
    -        buildPartial() {
    -      com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig result =
    -          new com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig(this);
    +    public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig buildPartial() {
    +      com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig result = new com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig(this);
           result.enablePrivateEndpoint_ = enablePrivateEndpoint_;
           result.masterIpv4CidrBlock_ = masterIpv4CidrBlock_;
           result.masterIpv4ReservedRange_ = masterIpv4ReservedRange_;
    @@ -538,52 +486,46 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConf
         public Builder clone() {
           return super.clone();
         }
    -
         @java.lang.Override
         public Builder setField(
    -        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
    +        com.google.protobuf.Descriptors.FieldDescriptor field,
    +        java.lang.Object value) {
           return super.setField(field, value);
         }
    -
         @java.lang.Override
    -    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
    +    public Builder clearField(
    +        com.google.protobuf.Descriptors.FieldDescriptor field) {
           return super.clearField(field);
         }
    -
         @java.lang.Override
    -    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
    +    public Builder clearOneof(
    +        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
           return super.clearOneof(oneof);
         }
    -
         @java.lang.Override
         public Builder setRepeatedField(
    -        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
    +        com.google.protobuf.Descriptors.FieldDescriptor field,
    +        int index, java.lang.Object value) {
           return super.setRepeatedField(field, index, value);
         }
    -
         @java.lang.Override
         public Builder addRepeatedField(
    -        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
    +        com.google.protobuf.Descriptors.FieldDescriptor field,
    +        java.lang.Object value) {
           return super.addRepeatedField(field, value);
         }
    -
         @java.lang.Override
         public Builder mergeFrom(com.google.protobuf.Message other) {
    -      if (other
    -          instanceof com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig) {
    -        return mergeFrom(
    -            (com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig) other);
    +      if (other instanceof com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig) {
    +        return mergeFrom((com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig)other);
           } else {
             super.mergeFrom(other);
             return this;
           }
         }
     
    -    public Builder mergeFrom(
    -        com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig other) {
    -      if (other
    -          == com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig
    -              .getDefaultInstance()) return this;
    +    public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig other) {
    +      if (other == com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig.getDefaultInstance()) return this;
           if (other.getEnablePrivateEndpoint() != false) {
             setEnablePrivateEndpoint(other.getEnablePrivateEndpoint());
           }
    @@ -610,14 +552,11 @@ public Builder mergeFrom(
             com.google.protobuf.CodedInputStream input,
             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
             throws java.io.IOException {
    -      com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig parsedMessage =
    -          null;
    +      com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig parsedMessage = null;
           try {
             parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
    -        parsedMessage =
    -            (com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig)
    -                e.getUnfinishedMessage();
    +        parsedMessage = (com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig) e.getUnfinishedMessage();
             throw e.unwrapIOException();
           } finally {
             if (parsedMessage != null) {
    @@ -627,17 +566,14 @@ public Builder mergeFrom(
           return this;
         }
     
    -    private boolean enablePrivateEndpoint_;
    +    private boolean enablePrivateEndpoint_ ;
         /**
    -     *
    -     *
          * 
          * Optional. If `true`, access to the public endpoint of the GKE cluster is
          * denied.
          * 
    * * bool enable_private_endpoint = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The enablePrivateEndpoint. */ @java.lang.Override @@ -645,38 +581,32 @@ public boolean getEnablePrivateEndpoint() { return enablePrivateEndpoint_; } /** - * - * *
          * Optional. If `true`, access to the public endpoint of the GKE cluster is
          * denied.
          * 
    * * bool enable_private_endpoint = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The enablePrivateEndpoint to set. * @return This builder for chaining. */ public Builder setEnablePrivateEndpoint(boolean value) { - + enablePrivateEndpoint_ = value; onChanged(); return this; } /** - * - * *
          * Optional. If `true`, access to the public endpoint of the GKE cluster is
          * denied.
          * 
    * * bool enable_private_endpoint = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearEnablePrivateEndpoint() { - + enablePrivateEndpoint_ = false; onChanged(); return this; @@ -684,21 +614,19 @@ public Builder clearEnablePrivateEndpoint() { private java.lang.Object masterIpv4CidrBlock_ = ""; /** - * - * *
          * Optional. The CIDR block from which IPv4 range for GKE master will be reserved. If
          * left blank, the default value of '172.16.0.0/23' is used.
          * 
    * * string master_ipv4_cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The masterIpv4CidrBlock. */ public java.lang.String getMasterIpv4CidrBlock() { java.lang.Object ref = masterIpv4CidrBlock_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); masterIpv4CidrBlock_ = s; return s; @@ -707,22 +635,21 @@ public java.lang.String getMasterIpv4CidrBlock() { } } /** - * - * *
          * Optional. The CIDR block from which IPv4 range for GKE master will be reserved. If
          * left blank, the default value of '172.16.0.0/23' is used.
          * 
    * * string master_ipv4_cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for masterIpv4CidrBlock. */ - public com.google.protobuf.ByteString getMasterIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString + getMasterIpv4CidrBlockBytes() { java.lang.Object ref = masterIpv4CidrBlock_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); masterIpv4CidrBlock_ = b; return b; } else { @@ -730,64 +657,57 @@ public com.google.protobuf.ByteString getMasterIpv4CidrBlockBytes() { } } /** - * - * *
          * Optional. The CIDR block from which IPv4 range for GKE master will be reserved. If
          * left blank, the default value of '172.16.0.0/23' is used.
          * 
    * * string master_ipv4_cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The masterIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setMasterIpv4CidrBlock(java.lang.String value) { + public Builder setMasterIpv4CidrBlock( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + masterIpv4CidrBlock_ = value; onChanged(); return this; } /** - * - * *
          * Optional. The CIDR block from which IPv4 range for GKE master will be reserved. If
          * left blank, the default value of '172.16.0.0/23' is used.
          * 
    * * string master_ipv4_cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearMasterIpv4CidrBlock() { - + masterIpv4CidrBlock_ = getDefaultInstance().getMasterIpv4CidrBlock(); onChanged(); return this; } /** - * - * *
          * Optional. The CIDR block from which IPv4 range for GKE master will be reserved. If
          * left blank, the default value of '172.16.0.0/23' is used.
          * 
    * * string master_ipv4_cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for masterIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setMasterIpv4CidrBlockBytes(com.google.protobuf.ByteString value) { + public Builder setMasterIpv4CidrBlockBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + masterIpv4CidrBlock_ = value; onChanged(); return this; @@ -795,8 +715,6 @@ public Builder setMasterIpv4CidrBlockBytes(com.google.protobuf.ByteString value) private java.lang.Object masterIpv4ReservedRange_ = ""; /** - * - * *
          * Output only. The IP range in CIDR notation to use for the hosted master network. This
          * range is used for assigning internal IP addresses to the cluster
    @@ -805,15 +723,14 @@ public Builder setMasterIpv4CidrBlockBytes(com.google.protobuf.ByteString value)
          * within the cluster's network.
          * 
    * - * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The masterIpv4ReservedRange. */ public java.lang.String getMasterIpv4ReservedRange() { java.lang.Object ref = masterIpv4ReservedRange_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); masterIpv4ReservedRange_ = s; return s; @@ -822,8 +739,6 @@ public java.lang.String getMasterIpv4ReservedRange() { } } /** - * - * *
          * Output only. The IP range in CIDR notation to use for the hosted master network. This
          * range is used for assigning internal IP addresses to the cluster
    @@ -832,16 +747,16 @@ public java.lang.String getMasterIpv4ReservedRange() {
          * within the cluster's network.
          * 
    * - * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for masterIpv4ReservedRange. */ - public com.google.protobuf.ByteString getMasterIpv4ReservedRangeBytes() { + public com.google.protobuf.ByteString + getMasterIpv4ReservedRangeBytes() { java.lang.Object ref = masterIpv4ReservedRange_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); masterIpv4ReservedRange_ = b; return b; } else { @@ -849,8 +764,6 @@ public com.google.protobuf.ByteString getMasterIpv4ReservedRangeBytes() { } } /** - * - * *
          * Output only. The IP range in CIDR notation to use for the hosted master network. This
          * range is used for assigning internal IP addresses to the cluster
    @@ -859,24 +772,21 @@ public com.google.protobuf.ByteString getMasterIpv4ReservedRangeBytes() {
          * within the cluster's network.
          * 
    * - * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The masterIpv4ReservedRange to set. * @return This builder for chaining. */ - public Builder setMasterIpv4ReservedRange(java.lang.String value) { + public Builder setMasterIpv4ReservedRange( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + masterIpv4ReservedRange_ = value; onChanged(); return this; } /** - * - * *
          * Output only. The IP range in CIDR notation to use for the hosted master network. This
          * range is used for assigning internal IP addresses to the cluster
    @@ -885,20 +795,16 @@ public Builder setMasterIpv4ReservedRange(java.lang.String value) {
          * within the cluster's network.
          * 
    * - * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearMasterIpv4ReservedRange() { - + masterIpv4ReservedRange_ = getDefaultInstance().getMasterIpv4ReservedRange(); onChanged(); return this; } /** - * - * *
          * Output only. The IP range in CIDR notation to use for the hosted master network. This
          * range is used for assigning internal IP addresses to the cluster
    @@ -907,25 +813,24 @@ public Builder clearMasterIpv4ReservedRange() {
          * within the cluster's network.
          * 
    * - * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The bytes for masterIpv4ReservedRange to set. * @return This builder for chaining. */ - public Builder setMasterIpv4ReservedRangeBytes(com.google.protobuf.ByteString value) { + public Builder setMasterIpv4ReservedRangeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + masterIpv4ReservedRange_ = 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); } @@ -935,33 +840,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig) - private static final com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig(); + DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig(); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig - getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PrivateClusterConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PrivateClusterConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PrivateClusterConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PrivateClusterConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -973,8 +875,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig - getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateClusterConfigOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateClusterConfigOrBuilder.java similarity index 71% rename from proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateClusterConfigOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateClusterConfigOrBuilder.java index a32d2f4f..b83ee4f9 100644 --- a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateClusterConfigOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateClusterConfigOrBuilder.java @@ -1,72 +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/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; -public interface PrivateClusterConfigOrBuilder - extends +public interface PrivateClusterConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * Optional. If `true`, access to the public endpoint of the GKE cluster is
        * denied.
        * 
    * * bool enable_private_endpoint = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The enablePrivateEndpoint. */ boolean getEnablePrivateEndpoint(); /** - * - * *
        * Optional. The CIDR block from which IPv4 range for GKE master will be reserved. If
        * left blank, the default value of '172.16.0.0/23' is used.
        * 
    * * string master_ipv4_cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The masterIpv4CidrBlock. */ java.lang.String getMasterIpv4CidrBlock(); /** - * - * *
        * Optional. The CIDR block from which IPv4 range for GKE master will be reserved. If
        * left blank, the default value of '172.16.0.0/23' is used.
        * 
    * * string master_ipv4_cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for masterIpv4CidrBlock. */ - com.google.protobuf.ByteString getMasterIpv4CidrBlockBytes(); + com.google.protobuf.ByteString + getMasterIpv4CidrBlockBytes(); /** - * - * *
        * Output only. The IP range in CIDR notation to use for the hosted master network. This
        * range is used for assigning internal IP addresses to the cluster
    @@ -75,15 +49,11 @@ public interface PrivateClusterConfigOrBuilder
        * within the cluster's network.
        * 
    * - * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The masterIpv4ReservedRange. */ java.lang.String getMasterIpv4ReservedRange(); /** - * - * *
        * Output only. The IP range in CIDR notation to use for the hosted master network. This
        * range is used for assigning internal IP addresses to the cluster
    @@ -92,10 +62,9 @@ public interface PrivateClusterConfigOrBuilder
        * within the cluster's network.
        * 
    * - * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for masterIpv4ReservedRange. */ - com.google.protobuf.ByteString getMasterIpv4ReservedRangeBytes(); + com.google.protobuf.ByteString + getMasterIpv4ReservedRangeBytes(); } diff --git a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateEnvironmentConfig.java b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateEnvironmentConfig.java similarity index 64% rename from proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateEnvironmentConfig.java rename to owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateEnvironmentConfig.java index 724a7172..71f2d850 100644 --- a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateEnvironmentConfig.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateEnvironmentConfig.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/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; /** - * - * *
      * The configuration information for configuring a Private IP Cloud Composer
      * environment.
    @@ -28,16 +11,15 @@
      *
      * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig}
      */
    -public final class PrivateEnvironmentConfig extends com.google.protobuf.GeneratedMessageV3
    -    implements
    +public final class PrivateEnvironmentConfig extends
    +    com.google.protobuf.GeneratedMessageV3 implements
         // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig)
         PrivateEnvironmentConfigOrBuilder {
    -  private static final long serialVersionUID = 0L;
    +private static final long serialVersionUID = 0L;
       // Use PrivateEnvironmentConfig.newBuilder() to construct.
       private PrivateEnvironmentConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
    -
       private PrivateEnvironmentConfig() {
         webServerIpv4CidrBlock_ = "";
         cloudSqlIpv4CidrBlock_ = "";
    @@ -48,15 +30,16 @@ private PrivateEnvironmentConfig() {
     
       @java.lang.Override
       @SuppressWarnings({"unused"})
    -  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
    +  protected java.lang.Object newInstance(
    +      UnusedPrivateParameter unused) {
         return new PrivateEnvironmentConfig();
       }
     
       @java.lang.Override
    -  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
    +  public final com.google.protobuf.UnknownFieldSet
    +  getUnknownFields() {
         return this.unknownFields;
       }
    -
       private PrivateEnvironmentConfig(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    @@ -75,72 +58,61 @@ private PrivateEnvironmentConfig(
               case 0:
                 done = true;
                 break;
    -          case 8:
    -            {
    -              enablePrivateEnvironment_ = input.readBool();
    -              break;
    +          case 8: {
    +
    +            enablePrivateEnvironment_ = input.readBool();
    +            break;
    +          }
    +          case 18: {
    +            com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig.Builder subBuilder = null;
    +            if (privateClusterConfig_ != null) {
    +              subBuilder = privateClusterConfig_.toBuilder();
                 }
    -          case 18:
    -            {
    -              com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig.Builder
    -                  subBuilder = null;
    -              if (privateClusterConfig_ != null) {
    -                subBuilder = privateClusterConfig_.toBuilder();
    -              }
    -              privateClusterConfig_ =
    -                  input.readMessage(
    -                      com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig
    -                          .parser(),
    -                      extensionRegistry);
    -              if (subBuilder != null) {
    -                subBuilder.mergeFrom(privateClusterConfig_);
    -                privateClusterConfig_ = subBuilder.buildPartial();
    -              }
    -
    -              break;
    +            privateClusterConfig_ = input.readMessage(com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig.parser(), extensionRegistry);
    +            if (subBuilder != null) {
    +              subBuilder.mergeFrom(privateClusterConfig_);
    +              privateClusterConfig_ = subBuilder.buildPartial();
                 }
    -          case 26:
    -            {
    -              java.lang.String s = input.readStringRequireUtf8();
     
    -              webServerIpv4CidrBlock_ = s;
    -              break;
    -            }
    -          case 34:
    -            {
    -              java.lang.String s = input.readStringRequireUtf8();
    +            break;
    +          }
    +          case 26: {
    +            java.lang.String s = input.readStringRequireUtf8();
     
    -              cloudSqlIpv4CidrBlock_ = s;
    -              break;
    -            }
    -          case 42:
    -            {
    -              java.lang.String s = input.readStringRequireUtf8();
    +            webServerIpv4CidrBlock_ = s;
    +            break;
    +          }
    +          case 34: {
    +            java.lang.String s = input.readStringRequireUtf8();
     
    -              webServerIpv4ReservedRange_ = s;
    -              break;
    -            }
    -          case 58:
    -            {
    -              java.lang.String s = input.readStringRequireUtf8();
    +            cloudSqlIpv4CidrBlock_ = s;
    +            break;
    +          }
    +          case 42: {
    +            java.lang.String s = input.readStringRequireUtf8();
     
    -              cloudComposerNetworkIpv4CidrBlock_ = s;
    -              break;
    -            }
    -          case 66:
    -            {
    -              java.lang.String s = input.readStringRequireUtf8();
    +            webServerIpv4ReservedRange_ = s;
    +            break;
    +          }
    +          case 58: {
    +            java.lang.String s = input.readStringRequireUtf8();
     
    -              cloudComposerNetworkIpv4ReservedRange_ = s;
    -              break;
    -            }
    -          default:
    -            {
    -              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
    -                done = true;
    -              }
    -              break;
    +            cloudComposerNetworkIpv4CidrBlock_ = s;
    +            break;
    +          }
    +          case 66: {
    +            java.lang.String s = input.readStringRequireUtf8();
    +
    +            cloudComposerNetworkIpv4ReservedRange_ = s;
    +            break;
    +          }
    +          default: {
    +            if (!parseUnknownField(
    +                input, unknownFields, extensionRegistry, tag)) {
    +              done = true;
                 }
    +            break;
    +          }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
    @@ -148,34 +120,29 @@ private PrivateEnvironmentConfig(
         } catch (com.google.protobuf.UninitializedMessageException e) {
           throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
    -      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
    +      throw new com.google.protobuf.InvalidProtocolBufferException(
    +          e).setUnfinishedMessage(this);
         } finally {
           this.unknownFields = unknownFields.build();
           makeExtensionsImmutable();
         }
       }
    -
    -  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    -    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
    -        .internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateEnvironmentConfig_descriptor;
    +  public static final com.google.protobuf.Descriptors.Descriptor
    +      getDescriptor() {
    +    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateEnvironmentConfig_descriptor;
       }
     
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
    -    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
    -        .internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateEnvironmentConfig_fieldAccessorTable
    +    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateEnvironmentConfig_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
    -            com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig.class,
    -            com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig.Builder
    -                .class);
    +            com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig.class, com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig.Builder.class);
       }
     
       public static final int ENABLE_PRIVATE_ENVIRONMENT_FIELD_NUMBER = 1;
       private boolean enablePrivateEnvironment_;
       /**
    -   *
    -   *
        * 
        * Optional. If `true`, a Private IP Cloud Composer environment is created.
        * If this field is set to true, `IPAllocationPolicy.use_ip_aliases` must be
    @@ -183,7 +150,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        * 
    * * bool enable_private_environment = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The enablePrivateEnvironment. */ @java.lang.Override @@ -192,20 +158,14 @@ public boolean getEnablePrivateEnvironment() { } public static final int PRIVATE_CLUSTER_CONFIG_FIELD_NUMBER = 2; - private com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig - privateClusterConfig_; + private com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig privateClusterConfig_; /** - * - * *
        * Optional. Configuration for the private GKE cluster for a Private IP
        * Cloud Composer environment.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the privateClusterConfig field is set. */ @java.lang.Override @@ -213,50 +173,34 @@ public boolean hasPrivateClusterConfig() { return privateClusterConfig_ != null; } /** - * - * *
        * Optional. Configuration for the private GKE cluster for a Private IP
        * Cloud Composer environment.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The privateClusterConfig. */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig - getPrivateClusterConfig() { - return privateClusterConfig_ == null - ? com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig - .getDefaultInstance() - : privateClusterConfig_; + public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig getPrivateClusterConfig() { + return privateClusterConfig_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig.getDefaultInstance() : privateClusterConfig_; } /** - * - * *
        * Optional. Configuration for the private GKE cluster for a Private IP
        * Cloud Composer environment.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfigOrBuilder - getPrivateClusterConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfigOrBuilder getPrivateClusterConfigOrBuilder() { return getPrivateClusterConfig(); } public static final int WEB_SERVER_IPV4_CIDR_BLOCK_FIELD_NUMBER = 3; private volatile java.lang.Object webServerIpv4CidrBlock_; /** - * - * *
        * Optional. The CIDR block from which IP range for web server will be reserved. Needs
        * to be disjoint from private_cluster_config.master_ipv4_cidr_block and
    @@ -264,7 +208,6 @@ public boolean hasPrivateClusterConfig() {
        * 
    * * string web_server_ipv4_cidr_block = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The webServerIpv4CidrBlock. */ @java.lang.Override @@ -273,15 +216,14 @@ public java.lang.String getWebServerIpv4CidrBlock() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); webServerIpv4CidrBlock_ = s; return s; } } /** - * - * *
        * Optional. The CIDR block from which IP range for web server will be reserved. Needs
        * to be disjoint from private_cluster_config.master_ipv4_cidr_block and
    @@ -289,15 +231,16 @@ public java.lang.String getWebServerIpv4CidrBlock() {
        * 
    * * string web_server_ipv4_cidr_block = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for webServerIpv4CidrBlock. */ @java.lang.Override - public com.google.protobuf.ByteString getWebServerIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString + getWebServerIpv4CidrBlockBytes() { java.lang.Object ref = webServerIpv4CidrBlock_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); webServerIpv4CidrBlock_ = b; return b; } else { @@ -308,15 +251,12 @@ public com.google.protobuf.ByteString getWebServerIpv4CidrBlockBytes() { public static final int CLOUD_SQL_IPV4_CIDR_BLOCK_FIELD_NUMBER = 4; private volatile java.lang.Object cloudSqlIpv4CidrBlock_; /** - * - * *
        * Optional. The CIDR block from which IP range in tenant project will be reserved for
        * Cloud SQL. Needs to be disjoint from web_server_ipv4_cidr_block
        * 
    * * string cloud_sql_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The cloudSqlIpv4CidrBlock. */ @java.lang.Override @@ -325,30 +265,30 @@ public java.lang.String getCloudSqlIpv4CidrBlock() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cloudSqlIpv4CidrBlock_ = s; return s; } } /** - * - * *
        * Optional. The CIDR block from which IP range in tenant project will be reserved for
        * Cloud SQL. Needs to be disjoint from web_server_ipv4_cidr_block
        * 
    * * string cloud_sql_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for cloudSqlIpv4CidrBlock. */ @java.lang.Override - public com.google.protobuf.ByteString getCloudSqlIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString + getCloudSqlIpv4CidrBlockBytes() { java.lang.Object ref = cloudSqlIpv4CidrBlock_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); cloudSqlIpv4CidrBlock_ = b; return b; } else { @@ -359,15 +299,11 @@ public com.google.protobuf.ByteString getCloudSqlIpv4CidrBlockBytes() { public static final int WEB_SERVER_IPV4_RESERVED_RANGE_FIELD_NUMBER = 5; private volatile java.lang.Object webServerIpv4ReservedRange_; /** - * - * *
        * Output only. The IP range reserved for the tenant project's App Engine VMs.
        * 
    * - * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The webServerIpv4ReservedRange. */ @java.lang.Override @@ -376,30 +312,29 @@ public java.lang.String getWebServerIpv4ReservedRange() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); webServerIpv4ReservedRange_ = s; return s; } } /** - * - * *
        * Output only. The IP range reserved for the tenant project's App Engine VMs.
        * 
    * - * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for webServerIpv4ReservedRange. */ @java.lang.Override - public com.google.protobuf.ByteString getWebServerIpv4ReservedRangeBytes() { + public com.google.protobuf.ByteString + getWebServerIpv4ReservedRangeBytes() { java.lang.Object ref = webServerIpv4ReservedRange_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); webServerIpv4ReservedRange_ = b; return b; } else { @@ -410,8 +345,6 @@ public com.google.protobuf.ByteString getWebServerIpv4ReservedRangeBytes() { public static final int CLOUD_COMPOSER_NETWORK_IPV4_CIDR_BLOCK_FIELD_NUMBER = 7; private volatile java.lang.Object cloudComposerNetworkIpv4CidrBlock_; /** - * - * *
        * Optional. The CIDR block from which IP range for Cloud Composer Network in tenant
        * project will be reserved. Needs to be disjoint from
    @@ -421,10 +354,7 @@ public com.google.protobuf.ByteString getWebServerIpv4ReservedRangeBytes() {
        * composer-2.*.*-airflow-*.*.* and newer.
        * 
    * - * - * string cloud_composer_network_ipv4_cidr_block = 7 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * string cloud_composer_network_ipv4_cidr_block = 7 [(.google.api.field_behavior) = OPTIONAL]; * @return The cloudComposerNetworkIpv4CidrBlock. */ @java.lang.Override @@ -433,15 +363,14 @@ public java.lang.String getCloudComposerNetworkIpv4CidrBlock() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cloudComposerNetworkIpv4CidrBlock_ = s; return s; } } /** - * - * *
        * Optional. The CIDR block from which IP range for Cloud Composer Network in tenant
        * project will be reserved. Needs to be disjoint from
    @@ -451,18 +380,17 @@ public java.lang.String getCloudComposerNetworkIpv4CidrBlock() {
        * composer-2.*.*-airflow-*.*.* and newer.
        * 
    * - * - * string cloud_composer_network_ipv4_cidr_block = 7 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * string cloud_composer_network_ipv4_cidr_block = 7 [(.google.api.field_behavior) = OPTIONAL]; * @return The bytes for cloudComposerNetworkIpv4CidrBlock. */ @java.lang.Override - public com.google.protobuf.ByteString getCloudComposerNetworkIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString + getCloudComposerNetworkIpv4CidrBlockBytes() { java.lang.Object ref = cloudComposerNetworkIpv4CidrBlock_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); cloudComposerNetworkIpv4CidrBlock_ = b; return b; } else { @@ -473,18 +401,13 @@ public com.google.protobuf.ByteString getCloudComposerNetworkIpv4CidrBlockBytes( public static final int CLOUD_COMPOSER_NETWORK_IPV4_RESERVED_RANGE_FIELD_NUMBER = 8; private volatile java.lang.Object cloudComposerNetworkIpv4ReservedRange_; /** - * - * *
        * Output only. The IP range reserved for the tenant project's Cloud Composer network.
        * This field is supported for Cloud Composer environments in versions
        * composer-2.*.*-airflow-*.*.* and newer.
        * 
    * - * - * string cloud_composer_network_ipv4_reserved_range = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string cloud_composer_network_ipv4_reserved_range = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The cloudComposerNetworkIpv4ReservedRange. */ @java.lang.Override @@ -493,33 +416,31 @@ public java.lang.String getCloudComposerNetworkIpv4ReservedRange() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cloudComposerNetworkIpv4ReservedRange_ = s; return s; } } /** - * - * *
        * Output only. The IP range reserved for the tenant project's Cloud Composer network.
        * This field is supported for Cloud Composer environments in versions
        * composer-2.*.*-airflow-*.*.* and newer.
        * 
    * - * - * string cloud_composer_network_ipv4_reserved_range = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string cloud_composer_network_ipv4_reserved_range = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for cloudComposerNetworkIpv4ReservedRange. */ @java.lang.Override - public com.google.protobuf.ByteString getCloudComposerNetworkIpv4ReservedRangeBytes() { + public com.google.protobuf.ByteString + getCloudComposerNetworkIpv4ReservedRangeBytes() { java.lang.Object ref = cloudComposerNetworkIpv4ReservedRange_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); cloudComposerNetworkIpv4ReservedRange_ = b; return b; } else { @@ -528,7 +449,6 @@ public com.google.protobuf.ByteString getCloudComposerNetworkIpv4ReservedRangeBy } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -540,7 +460,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 (enablePrivateEnvironment_ != false) { output.writeBool(1, enablePrivateEnvironment_); } @@ -557,13 +478,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io com.google.protobuf.GeneratedMessageV3.writeString(output, 5, webServerIpv4ReservedRange_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cloudComposerNetworkIpv4CidrBlock_)) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 7, cloudComposerNetworkIpv4CidrBlock_); + com.google.protobuf.GeneratedMessageV3.writeString(output, 7, cloudComposerNetworkIpv4CidrBlock_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty( - cloudComposerNetworkIpv4ReservedRange_)) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 8, cloudComposerNetworkIpv4ReservedRange_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cloudComposerNetworkIpv4ReservedRange_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 8, cloudComposerNetworkIpv4ReservedRange_); } unknownFields.writeTo(output); } @@ -575,11 +493,12 @@ public int getSerializedSize() { size = 0; if (enablePrivateEnvironment_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enablePrivateEnvironment_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enablePrivateEnvironment_); } if (privateClusterConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(2, getPrivateClusterConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getPrivateClusterConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(webServerIpv4CidrBlock_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, webServerIpv4CidrBlock_); @@ -588,19 +507,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, cloudSqlIpv4CidrBlock_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(webServerIpv4ReservedRange_)) { - size += - com.google.protobuf.GeneratedMessageV3.computeStringSize(5, webServerIpv4ReservedRange_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, webServerIpv4ReservedRange_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cloudComposerNetworkIpv4CidrBlock_)) { - size += - com.google.protobuf.GeneratedMessageV3.computeStringSize( - 7, cloudComposerNetworkIpv4CidrBlock_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, cloudComposerNetworkIpv4CidrBlock_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty( - cloudComposerNetworkIpv4ReservedRange_)) { - size += - com.google.protobuf.GeneratedMessageV3.computeStringSize( - 8, cloudComposerNetworkIpv4ReservedRange_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cloudComposerNetworkIpv4ReservedRange_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, cloudComposerNetworkIpv4ReservedRange_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -610,25 +523,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig)) { + if (!(obj instanceof com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig other = - (com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig) obj; + com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig other = (com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig) obj; - if (getEnablePrivateEnvironment() != other.getEnablePrivateEnvironment()) return false; + if (getEnablePrivateEnvironment() + != other.getEnablePrivateEnvironment()) return false; if (hasPrivateClusterConfig() != other.hasPrivateClusterConfig()) return false; if (hasPrivateClusterConfig()) { - if (!getPrivateClusterConfig().equals(other.getPrivateClusterConfig())) return false; - } - if (!getWebServerIpv4CidrBlock().equals(other.getWebServerIpv4CidrBlock())) return false; - if (!getCloudSqlIpv4CidrBlock().equals(other.getCloudSqlIpv4CidrBlock())) return false; - if (!getWebServerIpv4ReservedRange().equals(other.getWebServerIpv4ReservedRange())) - return false; + if (!getPrivateClusterConfig() + .equals(other.getPrivateClusterConfig())) return false; + } + if (!getWebServerIpv4CidrBlock() + .equals(other.getWebServerIpv4CidrBlock())) return false; + if (!getCloudSqlIpv4CidrBlock() + .equals(other.getCloudSqlIpv4CidrBlock())) return false; + if (!getWebServerIpv4ReservedRange() + .equals(other.getWebServerIpv4ReservedRange())) return false; if (!getCloudComposerNetworkIpv4CidrBlock() .equals(other.getCloudComposerNetworkIpv4CidrBlock())) return false; if (!getCloudComposerNetworkIpv4ReservedRange() @@ -645,7 +559,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLE_PRIVATE_ENVIRONMENT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnablePrivateEnvironment()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnablePrivateEnvironment()); if (hasPrivateClusterConfig()) { hash = (37 * hash) + PRIVATE_CLUSTER_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getPrivateClusterConfig().hashCode(); @@ -665,154 +580,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig - 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.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig 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.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig prototype) { + public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 configuration information for configuring a Private IP Cloud Composer
        * environment.
        * 
    * - * Protobuf type {@code - * google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig} + * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig) com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateEnvironmentConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateEnvironmentConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateEnvironmentConfig_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateEnvironmentConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig.class, - com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig - .Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig.class, com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig.Builder.class); } - // Construct using - // com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig.newBuilder() + // Construct using com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -838,22 +735,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateEnvironmentConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateEnvironmentConfig_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig - getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig - .getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig.getDefaultInstance(); } @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig build() { - com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig result = - buildPartial(); + com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -861,10 +755,8 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironment } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig - buildPartial() { - com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig result = - new com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig(this); + public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig buildPartial() { + com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig result = new com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig(this); result.enablePrivateEnvironment_ = enablePrivateEnvironment_; if (privateClusterConfigBuilder_ == null) { result.privateClusterConfig_ = privateClusterConfig_; @@ -884,54 +776,46 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironment public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig) { - return mergeFrom( - (com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig) - other); + if (other instanceof com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig) { + return mergeFrom((com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig other) { - if (other - == com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig other) { + if (other == com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig.getDefaultInstance()) return this; if (other.getEnablePrivateEnvironment() != false) { setEnablePrivateEnvironment(other.getEnablePrivateEnvironment()); } @@ -973,14 +857,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig - parsedMessage = null; + com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -990,10 +871,8 @@ public Builder mergeFrom( return this; } - private boolean enablePrivateEnvironment_; + private boolean enablePrivateEnvironment_ ; /** - * - * *
          * Optional. If `true`, a Private IP Cloud Composer environment is created.
          * If this field is set to true, `IPAllocationPolicy.use_ip_aliases` must be
    @@ -1001,7 +880,6 @@ public Builder mergeFrom(
          * 
    * * bool enable_private_environment = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The enablePrivateEnvironment. */ @java.lang.Override @@ -1009,8 +887,6 @@ public boolean getEnablePrivateEnvironment() { return enablePrivateEnvironment_; } /** - * - * *
          * Optional. If `true`, a Private IP Cloud Composer environment is created.
          * If this field is set to true, `IPAllocationPolicy.use_ip_aliases` must be
    @@ -1018,19 +894,16 @@ public boolean getEnablePrivateEnvironment() {
          * 
    * * bool enable_private_environment = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The enablePrivateEnvironment to set. * @return This builder for chaining. */ public Builder setEnablePrivateEnvironment(boolean value) { - + enablePrivateEnvironment_ = value; onChanged(); return this; } /** - * - * *
          * Optional. If `true`, a Private IP Cloud Composer environment is created.
          * If this field is set to true, `IPAllocationPolicy.use_ip_aliases` must be
    @@ -1038,79 +911,55 @@ public Builder setEnablePrivateEnvironment(boolean value) {
          * 
    * * bool enable_private_environment = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearEnablePrivateEnvironment() { - + enablePrivateEnvironment_ = false; onChanged(); return this; } - private com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig - privateClusterConfig_; + private com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig privateClusterConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig, - com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig.Builder, - com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfigOrBuilder> - privateClusterConfigBuilder_; + com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig, com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfigOrBuilder> privateClusterConfigBuilder_; /** - * - * *
          * Optional. Configuration for the private GKE cluster for a Private IP
          * Cloud Composer environment.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the privateClusterConfig field is set. */ public boolean hasPrivateClusterConfig() { return privateClusterConfigBuilder_ != null || privateClusterConfig_ != null; } /** - * - * *
          * Optional. Configuration for the private GKE cluster for a Private IP
          * Cloud Composer environment.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The privateClusterConfig. */ - public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig - getPrivateClusterConfig() { + public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig getPrivateClusterConfig() { if (privateClusterConfigBuilder_ == null) { - return privateClusterConfig_ == null - ? com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig - .getDefaultInstance() - : privateClusterConfig_; + return privateClusterConfig_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig.getDefaultInstance() : privateClusterConfig_; } else { return privateClusterConfigBuilder_.getMessage(); } } /** - * - * *
          * Optional. Configuration for the private GKE cluster for a Private IP
          * Cloud Composer environment.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setPrivateClusterConfig( - com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig value) { + public Builder setPrivateClusterConfig(com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig value) { if (privateClusterConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1124,20 +973,15 @@ public Builder setPrivateClusterConfig( return this; } /** - * - * *
          * Optional. Configuration for the private GKE cluster for a Private IP
          * Cloud Composer environment.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setPrivateClusterConfig( - com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig.Builder - builderForValue) { + com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig.Builder builderForValue) { if (privateClusterConfigBuilder_ == null) { privateClusterConfig_ = builderForValue.build(); onChanged(); @@ -1148,26 +992,18 @@ public Builder setPrivateClusterConfig( return this; } /** - * - * *
          * Optional. Configuration for the private GKE cluster for a Private IP
          * Cloud Composer environment.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergePrivateClusterConfig( - com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig value) { + public Builder mergePrivateClusterConfig(com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig value) { if (privateClusterConfigBuilder_ == null) { if (privateClusterConfig_ != null) { privateClusterConfig_ = - com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig - .newBuilder(privateClusterConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig.newBuilder(privateClusterConfig_).mergeFrom(value).buildPartial(); } else { privateClusterConfig_ = value; } @@ -1179,16 +1015,12 @@ public Builder mergePrivateClusterConfig( return this; } /** - * - * *
          * Optional. Configuration for the private GKE cluster for a Private IP
          * Cloud Composer environment.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearPrivateClusterConfig() { if (privateClusterConfigBuilder_ == null) { @@ -1202,71 +1034,51 @@ public Builder clearPrivateClusterConfig() { return this; } /** - * - * *
          * Optional. Configuration for the private GKE cluster for a Private IP
          * Cloud Composer environment.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig.Builder - getPrivateClusterConfigBuilder() { - + public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig.Builder getPrivateClusterConfigBuilder() { + onChanged(); return getPrivateClusterConfigFieldBuilder().getBuilder(); } /** - * - * *
          * Optional. Configuration for the private GKE cluster for a Private IP
          * Cloud Composer environment.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfigOrBuilder - getPrivateClusterConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfigOrBuilder getPrivateClusterConfigOrBuilder() { if (privateClusterConfigBuilder_ != null) { return privateClusterConfigBuilder_.getMessageOrBuilder(); } else { - return privateClusterConfig_ == null - ? com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig - .getDefaultInstance() - : privateClusterConfig_; + return privateClusterConfig_ == null ? + com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig.getDefaultInstance() : privateClusterConfig_; } } /** - * - * *
          * Optional. Configuration for the private GKE cluster for a Private IP
          * Cloud Composer environment.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig, - com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig.Builder, - com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfigOrBuilder> + com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig, com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfigOrBuilder> getPrivateClusterConfigFieldBuilder() { if (privateClusterConfigBuilder_ == null) { - privateClusterConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig, - com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig.Builder, - com.google.cloud.orchestration.airflow.service.v1beta1 - .PrivateClusterConfigOrBuilder>( - getPrivateClusterConfig(), getParentForChildren(), isClean()); + privateClusterConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig, com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfigOrBuilder>( + getPrivateClusterConfig(), + getParentForChildren(), + isClean()); privateClusterConfig_ = null; } return privateClusterConfigBuilder_; @@ -1274,8 +1086,6 @@ public Builder clearPrivateClusterConfig() { private java.lang.Object webServerIpv4CidrBlock_ = ""; /** - * - * *
          * Optional. The CIDR block from which IP range for web server will be reserved. Needs
          * to be disjoint from private_cluster_config.master_ipv4_cidr_block and
    @@ -1283,13 +1093,13 @@ public Builder clearPrivateClusterConfig() {
          * 
    * * string web_server_ipv4_cidr_block = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The webServerIpv4CidrBlock. */ public java.lang.String getWebServerIpv4CidrBlock() { java.lang.Object ref = webServerIpv4CidrBlock_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); webServerIpv4CidrBlock_ = s; return s; @@ -1298,8 +1108,6 @@ public java.lang.String getWebServerIpv4CidrBlock() { } } /** - * - * *
          * Optional. The CIDR block from which IP range for web server will be reserved. Needs
          * to be disjoint from private_cluster_config.master_ipv4_cidr_block and
    @@ -1307,14 +1115,15 @@ public java.lang.String getWebServerIpv4CidrBlock() {
          * 
    * * string web_server_ipv4_cidr_block = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for webServerIpv4CidrBlock. */ - public com.google.protobuf.ByteString getWebServerIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString + getWebServerIpv4CidrBlockBytes() { java.lang.Object ref = webServerIpv4CidrBlock_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); webServerIpv4CidrBlock_ = b; return b; } else { @@ -1322,8 +1131,6 @@ public com.google.protobuf.ByteString getWebServerIpv4CidrBlockBytes() { } } /** - * - * *
          * Optional. The CIDR block from which IP range for web server will be reserved. Needs
          * to be disjoint from private_cluster_config.master_ipv4_cidr_block and
    @@ -1331,22 +1138,20 @@ public com.google.protobuf.ByteString getWebServerIpv4CidrBlockBytes() {
          * 
    * * string web_server_ipv4_cidr_block = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The webServerIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setWebServerIpv4CidrBlock(java.lang.String value) { + public Builder setWebServerIpv4CidrBlock( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + webServerIpv4CidrBlock_ = value; onChanged(); return this; } /** - * - * *
          * Optional. The CIDR block from which IP range for web server will be reserved. Needs
          * to be disjoint from private_cluster_config.master_ipv4_cidr_block and
    @@ -1354,18 +1159,15 @@ public Builder setWebServerIpv4CidrBlock(java.lang.String value) {
          * 
    * * string web_server_ipv4_cidr_block = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearWebServerIpv4CidrBlock() { - + webServerIpv4CidrBlock_ = getDefaultInstance().getWebServerIpv4CidrBlock(); onChanged(); return this; } /** - * - * *
          * Optional. The CIDR block from which IP range for web server will be reserved. Needs
          * to be disjoint from private_cluster_config.master_ipv4_cidr_block and
    @@ -1373,16 +1175,16 @@ public Builder clearWebServerIpv4CidrBlock() {
          * 
    * * string web_server_ipv4_cidr_block = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for webServerIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setWebServerIpv4CidrBlockBytes(com.google.protobuf.ByteString value) { + public Builder setWebServerIpv4CidrBlockBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + webServerIpv4CidrBlock_ = value; onChanged(); return this; @@ -1390,21 +1192,19 @@ public Builder setWebServerIpv4CidrBlockBytes(com.google.protobuf.ByteString val private java.lang.Object cloudSqlIpv4CidrBlock_ = ""; /** - * - * *
          * Optional. The CIDR block from which IP range in tenant project will be reserved for
          * Cloud SQL. Needs to be disjoint from web_server_ipv4_cidr_block
          * 
    * * string cloud_sql_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The cloudSqlIpv4CidrBlock. */ public java.lang.String getCloudSqlIpv4CidrBlock() { java.lang.Object ref = cloudSqlIpv4CidrBlock_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cloudSqlIpv4CidrBlock_ = s; return s; @@ -1413,22 +1213,21 @@ public java.lang.String getCloudSqlIpv4CidrBlock() { } } /** - * - * *
          * Optional. The CIDR block from which IP range in tenant project will be reserved for
          * Cloud SQL. Needs to be disjoint from web_server_ipv4_cidr_block
          * 
    * * string cloud_sql_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for cloudSqlIpv4CidrBlock. */ - public com.google.protobuf.ByteString getCloudSqlIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString + getCloudSqlIpv4CidrBlockBytes() { java.lang.Object ref = cloudSqlIpv4CidrBlock_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); cloudSqlIpv4CidrBlock_ = b; return b; } else { @@ -1436,64 +1235,57 @@ public com.google.protobuf.ByteString getCloudSqlIpv4CidrBlockBytes() { } } /** - * - * *
          * Optional. The CIDR block from which IP range in tenant project will be reserved for
          * Cloud SQL. Needs to be disjoint from web_server_ipv4_cidr_block
          * 
    * * string cloud_sql_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The cloudSqlIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setCloudSqlIpv4CidrBlock(java.lang.String value) { + public Builder setCloudSqlIpv4CidrBlock( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + cloudSqlIpv4CidrBlock_ = value; onChanged(); return this; } /** - * - * *
          * Optional. The CIDR block from which IP range in tenant project will be reserved for
          * Cloud SQL. Needs to be disjoint from web_server_ipv4_cidr_block
          * 
    * * string cloud_sql_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearCloudSqlIpv4CidrBlock() { - + cloudSqlIpv4CidrBlock_ = getDefaultInstance().getCloudSqlIpv4CidrBlock(); onChanged(); return this; } /** - * - * *
          * Optional. The CIDR block from which IP range in tenant project will be reserved for
          * Cloud SQL. Needs to be disjoint from web_server_ipv4_cidr_block
          * 
    * * string cloud_sql_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for cloudSqlIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setCloudSqlIpv4CidrBlockBytes(com.google.protobuf.ByteString value) { + public Builder setCloudSqlIpv4CidrBlockBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + cloudSqlIpv4CidrBlock_ = value; onChanged(); return this; @@ -1501,21 +1293,18 @@ public Builder setCloudSqlIpv4CidrBlockBytes(com.google.protobuf.ByteString valu private java.lang.Object webServerIpv4ReservedRange_ = ""; /** - * - * *
          * Output only. The IP range reserved for the tenant project's App Engine VMs.
          * 
    * - * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The webServerIpv4ReservedRange. */ public java.lang.String getWebServerIpv4ReservedRange() { java.lang.Object ref = webServerIpv4ReservedRange_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); webServerIpv4ReservedRange_ = s; return s; @@ -1524,22 +1313,20 @@ public java.lang.String getWebServerIpv4ReservedRange() { } } /** - * - * *
          * Output only. The IP range reserved for the tenant project's App Engine VMs.
          * 
    * - * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for webServerIpv4ReservedRange. */ - public com.google.protobuf.ByteString getWebServerIpv4ReservedRangeBytes() { + public com.google.protobuf.ByteString + getWebServerIpv4ReservedRangeBytes() { java.lang.Object ref = webServerIpv4ReservedRange_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); webServerIpv4ReservedRange_ = b; return b; } else { @@ -1547,64 +1334,54 @@ public com.google.protobuf.ByteString getWebServerIpv4ReservedRangeBytes() { } } /** - * - * *
          * Output only. The IP range reserved for the tenant project's App Engine VMs.
          * 
    * - * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The webServerIpv4ReservedRange to set. * @return This builder for chaining. */ - public Builder setWebServerIpv4ReservedRange(java.lang.String value) { + public Builder setWebServerIpv4ReservedRange( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + webServerIpv4ReservedRange_ = value; onChanged(); return this; } /** - * - * *
          * Output only. The IP range reserved for the tenant project's App Engine VMs.
          * 
    * - * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearWebServerIpv4ReservedRange() { - + webServerIpv4ReservedRange_ = getDefaultInstance().getWebServerIpv4ReservedRange(); onChanged(); return this; } /** - * - * *
          * Output only. The IP range reserved for the tenant project's App Engine VMs.
          * 
    * - * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The bytes for webServerIpv4ReservedRange to set. * @return This builder for chaining. */ - public Builder setWebServerIpv4ReservedRangeBytes(com.google.protobuf.ByteString value) { + public Builder setWebServerIpv4ReservedRangeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + webServerIpv4ReservedRange_ = value; onChanged(); return this; @@ -1612,8 +1389,6 @@ public Builder setWebServerIpv4ReservedRangeBytes(com.google.protobuf.ByteString private java.lang.Object cloudComposerNetworkIpv4CidrBlock_ = ""; /** - * - * *
          * Optional. The CIDR block from which IP range for Cloud Composer Network in tenant
          * project will be reserved. Needs to be disjoint from
    @@ -1623,16 +1398,14 @@ public Builder setWebServerIpv4ReservedRangeBytes(com.google.protobuf.ByteString
          * composer-2.*.*-airflow-*.*.* and newer.
          * 
    * - * - * string cloud_composer_network_ipv4_cidr_block = 7 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * string cloud_composer_network_ipv4_cidr_block = 7 [(.google.api.field_behavior) = OPTIONAL]; * @return The cloudComposerNetworkIpv4CidrBlock. */ public java.lang.String getCloudComposerNetworkIpv4CidrBlock() { java.lang.Object ref = cloudComposerNetworkIpv4CidrBlock_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cloudComposerNetworkIpv4CidrBlock_ = s; return s; @@ -1641,8 +1414,6 @@ public java.lang.String getCloudComposerNetworkIpv4CidrBlock() { } } /** - * - * *
          * Optional. The CIDR block from which IP range for Cloud Composer Network in tenant
          * project will be reserved. Needs to be disjoint from
    @@ -1652,17 +1423,16 @@ public java.lang.String getCloudComposerNetworkIpv4CidrBlock() {
          * composer-2.*.*-airflow-*.*.* and newer.
          * 
    * - * - * string cloud_composer_network_ipv4_cidr_block = 7 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * string cloud_composer_network_ipv4_cidr_block = 7 [(.google.api.field_behavior) = OPTIONAL]; * @return The bytes for cloudComposerNetworkIpv4CidrBlock. */ - public com.google.protobuf.ByteString getCloudComposerNetworkIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString + getCloudComposerNetworkIpv4CidrBlockBytes() { java.lang.Object ref = cloudComposerNetworkIpv4CidrBlock_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); cloudComposerNetworkIpv4CidrBlock_ = b; return b; } else { @@ -1670,8 +1440,6 @@ public com.google.protobuf.ByteString getCloudComposerNetworkIpv4CidrBlockBytes( } } /** - * - * *
          * Optional. The CIDR block from which IP range for Cloud Composer Network in tenant
          * project will be reserved. Needs to be disjoint from
    @@ -1681,25 +1449,21 @@ public com.google.protobuf.ByteString getCloudComposerNetworkIpv4CidrBlockBytes(
          * composer-2.*.*-airflow-*.*.* and newer.
          * 
    * - * - * string cloud_composer_network_ipv4_cidr_block = 7 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * string cloud_composer_network_ipv4_cidr_block = 7 [(.google.api.field_behavior) = OPTIONAL]; * @param value The cloudComposerNetworkIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setCloudComposerNetworkIpv4CidrBlock(java.lang.String value) { + public Builder setCloudComposerNetworkIpv4CidrBlock( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + cloudComposerNetworkIpv4CidrBlock_ = value; onChanged(); return this; } /** - * - * *
          * Optional. The CIDR block from which IP range for Cloud Composer Network in tenant
          * project will be reserved. Needs to be disjoint from
    @@ -1709,22 +1473,16 @@ public Builder setCloudComposerNetworkIpv4CidrBlock(java.lang.String value) {
          * composer-2.*.*-airflow-*.*.* and newer.
          * 
    * - * - * string cloud_composer_network_ipv4_cidr_block = 7 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * string cloud_composer_network_ipv4_cidr_block = 7 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearCloudComposerNetworkIpv4CidrBlock() { - - cloudComposerNetworkIpv4CidrBlock_ = - getDefaultInstance().getCloudComposerNetworkIpv4CidrBlock(); + + cloudComposerNetworkIpv4CidrBlock_ = getDefaultInstance().getCloudComposerNetworkIpv4CidrBlock(); onChanged(); return this; } /** - * - * *
          * Optional. The CIDR block from which IP range for Cloud Composer Network in tenant
          * project will be reserved. Needs to be disjoint from
    @@ -1734,19 +1492,17 @@ public Builder clearCloudComposerNetworkIpv4CidrBlock() {
          * composer-2.*.*-airflow-*.*.* and newer.
          * 
    * - * - * string cloud_composer_network_ipv4_cidr_block = 7 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * string cloud_composer_network_ipv4_cidr_block = 7 [(.google.api.field_behavior) = OPTIONAL]; * @param value The bytes for cloudComposerNetworkIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setCloudComposerNetworkIpv4CidrBlockBytes(com.google.protobuf.ByteString value) { + public Builder setCloudComposerNetworkIpv4CidrBlockBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + cloudComposerNetworkIpv4CidrBlock_ = value; onChanged(); return this; @@ -1754,24 +1510,20 @@ public Builder setCloudComposerNetworkIpv4CidrBlockBytes(com.google.protobuf.Byt private java.lang.Object cloudComposerNetworkIpv4ReservedRange_ = ""; /** - * - * *
          * Output only. The IP range reserved for the tenant project's Cloud Composer network.
          * This field is supported for Cloud Composer environments in versions
          * composer-2.*.*-airflow-*.*.* and newer.
          * 
    * - * - * string cloud_composer_network_ipv4_reserved_range = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string cloud_composer_network_ipv4_reserved_range = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The cloudComposerNetworkIpv4ReservedRange. */ public java.lang.String getCloudComposerNetworkIpv4ReservedRange() { java.lang.Object ref = cloudComposerNetworkIpv4ReservedRange_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cloudComposerNetworkIpv4ReservedRange_ = s; return s; @@ -1780,25 +1532,22 @@ public java.lang.String getCloudComposerNetworkIpv4ReservedRange() { } } /** - * - * *
          * Output only. The IP range reserved for the tenant project's Cloud Composer network.
          * This field is supported for Cloud Composer environments in versions
          * composer-2.*.*-airflow-*.*.* and newer.
          * 
    * - * - * string cloud_composer_network_ipv4_reserved_range = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string cloud_composer_network_ipv4_reserved_range = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for cloudComposerNetworkIpv4ReservedRange. */ - public com.google.protobuf.ByteString getCloudComposerNetworkIpv4ReservedRangeBytes() { + public com.google.protobuf.ByteString + getCloudComposerNetworkIpv4ReservedRangeBytes() { java.lang.Object ref = cloudComposerNetworkIpv4ReservedRange_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); cloudComposerNetworkIpv4ReservedRange_ = b; return b; } else { @@ -1806,82 +1555,67 @@ public com.google.protobuf.ByteString getCloudComposerNetworkIpv4ReservedRangeBy } } /** - * - * *
          * Output only. The IP range reserved for the tenant project's Cloud Composer network.
          * This field is supported for Cloud Composer environments in versions
          * composer-2.*.*-airflow-*.*.* and newer.
          * 
    * - * - * string cloud_composer_network_ipv4_reserved_range = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string cloud_composer_network_ipv4_reserved_range = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The cloudComposerNetworkIpv4ReservedRange to set. * @return This builder for chaining. */ - public Builder setCloudComposerNetworkIpv4ReservedRange(java.lang.String value) { + public Builder setCloudComposerNetworkIpv4ReservedRange( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + cloudComposerNetworkIpv4ReservedRange_ = value; onChanged(); return this; } /** - * - * *
          * Output only. The IP range reserved for the tenant project's Cloud Composer network.
          * This field is supported for Cloud Composer environments in versions
          * composer-2.*.*-airflow-*.*.* and newer.
          * 
    * - * - * string cloud_composer_network_ipv4_reserved_range = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string cloud_composer_network_ipv4_reserved_range = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearCloudComposerNetworkIpv4ReservedRange() { - - cloudComposerNetworkIpv4ReservedRange_ = - getDefaultInstance().getCloudComposerNetworkIpv4ReservedRange(); + + cloudComposerNetworkIpv4ReservedRange_ = getDefaultInstance().getCloudComposerNetworkIpv4ReservedRange(); onChanged(); return this; } /** - * - * *
          * Output only. The IP range reserved for the tenant project's Cloud Composer network.
          * This field is supported for Cloud Composer environments in versions
          * composer-2.*.*-airflow-*.*.* and newer.
          * 
    * - * - * string cloud_composer_network_ipv4_reserved_range = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string cloud_composer_network_ipv4_reserved_range = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The bytes for cloudComposerNetworkIpv4ReservedRange to set. * @return This builder for chaining. */ public Builder setCloudComposerNetworkIpv4ReservedRangeBytes( com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + cloudComposerNetworkIpv4ReservedRange_ = 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); } @@ -1891,34 +1625,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig) - private static final com.google.cloud.orchestration.airflow.service.v1beta1 - .PrivateEnvironmentConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig(); + DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig(); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig - getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PrivateEnvironmentConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PrivateEnvironmentConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PrivateEnvironmentConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PrivateEnvironmentConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1930,8 +1660,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig - getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateEnvironmentConfigOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateEnvironmentConfigOrBuilder.java similarity index 67% rename from proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateEnvironmentConfigOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateEnvironmentConfigOrBuilder.java index f1c900ca..da12153c 100644 --- a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateEnvironmentConfigOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateEnvironmentConfigOrBuilder.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/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; -public interface PrivateEnvironmentConfigOrBuilder - extends +public interface PrivateEnvironmentConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * Optional. If `true`, a Private IP Cloud Composer environment is created.
        * If this field is set to true, `IPAllocationPolicy.use_ip_aliases` must be
    @@ -33,60 +15,41 @@ public interface PrivateEnvironmentConfigOrBuilder
        * 
    * * bool enable_private_environment = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The enablePrivateEnvironment. */ boolean getEnablePrivateEnvironment(); /** - * - * *
        * Optional. Configuration for the private GKE cluster for a Private IP
        * Cloud Composer environment.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the privateClusterConfig field is set. */ boolean hasPrivateClusterConfig(); /** - * - * *
        * Optional. Configuration for the private GKE cluster for a Private IP
        * Cloud Composer environment.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The privateClusterConfig. */ - com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig - getPrivateClusterConfig(); + com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig getPrivateClusterConfig(); /** - * - * *
        * Optional. Configuration for the private GKE cluster for a Private IP
        * Cloud Composer environment.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfigOrBuilder - getPrivateClusterConfigOrBuilder(); + com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfigOrBuilder getPrivateClusterConfigOrBuilder(); /** - * - * *
        * Optional. The CIDR block from which IP range for web server will be reserved. Needs
        * to be disjoint from private_cluster_config.master_ipv4_cidr_block and
    @@ -94,13 +57,10 @@ public interface PrivateEnvironmentConfigOrBuilder
        * 
    * * string web_server_ipv4_cidr_block = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The webServerIpv4CidrBlock. */ java.lang.String getWebServerIpv4CidrBlock(); /** - * - * *
        * Optional. The CIDR block from which IP range for web server will be reserved. Needs
        * to be disjoint from private_cluster_config.master_ipv4_cidr_block and
    @@ -108,68 +68,54 @@ public interface PrivateEnvironmentConfigOrBuilder
        * 
    * * string web_server_ipv4_cidr_block = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for webServerIpv4CidrBlock. */ - com.google.protobuf.ByteString getWebServerIpv4CidrBlockBytes(); + com.google.protobuf.ByteString + getWebServerIpv4CidrBlockBytes(); /** - * - * *
        * Optional. The CIDR block from which IP range in tenant project will be reserved for
        * Cloud SQL. Needs to be disjoint from web_server_ipv4_cidr_block
        * 
    * * string cloud_sql_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The cloudSqlIpv4CidrBlock. */ java.lang.String getCloudSqlIpv4CidrBlock(); /** - * - * *
        * Optional. The CIDR block from which IP range in tenant project will be reserved for
        * Cloud SQL. Needs to be disjoint from web_server_ipv4_cidr_block
        * 
    * * string cloud_sql_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for cloudSqlIpv4CidrBlock. */ - com.google.protobuf.ByteString getCloudSqlIpv4CidrBlockBytes(); + com.google.protobuf.ByteString + getCloudSqlIpv4CidrBlockBytes(); /** - * - * *
        * Output only. The IP range reserved for the tenant project's App Engine VMs.
        * 
    * - * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The webServerIpv4ReservedRange. */ java.lang.String getWebServerIpv4ReservedRange(); /** - * - * *
        * Output only. The IP range reserved for the tenant project's App Engine VMs.
        * 
    * - * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for webServerIpv4ReservedRange. */ - com.google.protobuf.ByteString getWebServerIpv4ReservedRangeBytes(); + com.google.protobuf.ByteString + getWebServerIpv4ReservedRangeBytes(); /** - * - * *
        * Optional. The CIDR block from which IP range for Cloud Composer Network in tenant
        * project will be reserved. Needs to be disjoint from
    @@ -179,16 +125,11 @@ public interface PrivateEnvironmentConfigOrBuilder
        * composer-2.*.*-airflow-*.*.* and newer.
        * 
    * - * - * string cloud_composer_network_ipv4_cidr_block = 7 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * string cloud_composer_network_ipv4_cidr_block = 7 [(.google.api.field_behavior) = OPTIONAL]; * @return The cloudComposerNetworkIpv4CidrBlock. */ java.lang.String getCloudComposerNetworkIpv4CidrBlock(); /** - * - * *
        * Optional. The CIDR block from which IP range for Cloud Composer Network in tenant
        * project will be reserved. Needs to be disjoint from
    @@ -198,44 +139,33 @@ public interface PrivateEnvironmentConfigOrBuilder
        * composer-2.*.*-airflow-*.*.* and newer.
        * 
    * - * - * string cloud_composer_network_ipv4_cidr_block = 7 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * string cloud_composer_network_ipv4_cidr_block = 7 [(.google.api.field_behavior) = OPTIONAL]; * @return The bytes for cloudComposerNetworkIpv4CidrBlock. */ - com.google.protobuf.ByteString getCloudComposerNetworkIpv4CidrBlockBytes(); + com.google.protobuf.ByteString + getCloudComposerNetworkIpv4CidrBlockBytes(); /** - * - * *
        * Output only. The IP range reserved for the tenant project's Cloud Composer network.
        * This field is supported for Cloud Composer environments in versions
        * composer-2.*.*-airflow-*.*.* and newer.
        * 
    * - * - * string cloud_composer_network_ipv4_reserved_range = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string cloud_composer_network_ipv4_reserved_range = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The cloudComposerNetworkIpv4ReservedRange. */ java.lang.String getCloudComposerNetworkIpv4ReservedRange(); /** - * - * *
        * Output only. The IP range reserved for the tenant project's Cloud Composer network.
        * This field is supported for Cloud Composer environments in versions
        * composer-2.*.*-airflow-*.*.* and newer.
        * 
    * - * - * string cloud_composer_network_ipv4_reserved_range = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string cloud_composer_network_ipv4_reserved_range = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for cloudComposerNetworkIpv4ReservedRange. */ - com.google.protobuf.ByteString getCloudComposerNetworkIpv4ReservedRangeBytes(); + com.google.protobuf.ByteString + getCloudComposerNetworkIpv4ReservedRangeBytes(); } diff --git a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/RestartWebServerRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/RestartWebServerRequest.java similarity index 58% rename from proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/RestartWebServerRequest.java rename to owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/RestartWebServerRequest.java index 1cffa837..9776c088 100644 --- a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/RestartWebServerRequest.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/RestartWebServerRequest.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/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; /** - * - * *
      * Restart Airflow web server.
      * 
    * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest} */ -public final class RestartWebServerRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RestartWebServerRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest) RestartWebServerRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RestartWebServerRequest.newBuilder() to construct. private RestartWebServerRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RestartWebServerRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RestartWebServerRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private RestartWebServerRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private RestartWebServerRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,34 +73,29 @@ private RestartWebServerRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_RestartWebServerRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_RestartWebServerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_RestartWebServerRequest_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_RestartWebServerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest.class, - com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest.Builder - .class); + com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest.class, com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
        * The resource name of the environment to restart the web server for, in the
        * form:
    @@ -126,7 +103,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        * 
    * * string name = 1; - * * @return The name. */ @java.lang.Override @@ -135,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; } } /** - * - * *
        * The resource name of the environment to restart the web server for, in the
        * form:
    @@ -151,15 +126,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 +144,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -180,7 +155,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -204,17 +180,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.orchestration.airflow.service.v1beta1.RestartWebServerRequest)) { + if (!(obj instanceof com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest other = - (com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest) obj; + com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest other = (com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,153 +207,135 @@ public int hashCode() { return hash; } - public static com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest - 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.orchestration.airflow.service.v1beta1.RestartWebServerRequest 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.orchestration.airflow.service.v1beta1.RestartWebServerRequest - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest prototype) { + public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
        * Restart Airflow web server.
        * 
    * - * Protobuf type {@code - * google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest} + * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest) com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_RestartWebServerRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_RestartWebServerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_RestartWebServerRequest_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_RestartWebServerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest.class, - com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest.Builder - .class); + com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest.class, com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest.Builder.class); } - // Construct using - // com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest.newBuilder() + // Construct using com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -389,22 +345,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_RestartWebServerRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_RestartWebServerRequest_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest - getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest - .getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest.getDefaultInstance(); } @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest build() { - com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest result = - buildPartial(); + com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -412,10 +365,8 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRe } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest - buildPartial() { - com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest result = - new com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest(this); + public com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest buildPartial() { + com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest result = new com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest(this); result.name_ = name_; onBuilt(); return result; @@ -425,53 +376,46 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRe public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest) { - return mergeFrom( - (com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest) other); + if (other instanceof com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest) { + return mergeFrom((com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest other) { - if (other - == com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest other) { + if (other == com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -491,14 +435,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest parsedMessage = - null; + com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -510,8 +451,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
          * The resource name of the environment to restart the web server for, in the
          * form:
    @@ -519,13 +458,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; @@ -534,8 +473,6 @@ public java.lang.String getName() { } } /** - * - * *
          * The resource name of the environment to restart the web server for, in the
          * form:
    @@ -543,14 +480,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 { @@ -558,8 +496,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
          * The resource name of the environment to restart the web server for, in the
          * form:
    @@ -567,22 +503,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; } /** - * - * *
          * The resource name of the environment to restart the web server for, in the
          * form:
    @@ -590,18 +524,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; } /** - * - * *
          * The resource name of the environment to restart the web server for, in the
          * form:
    @@ -609,23 +540,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); } @@ -635,34 +566,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest) - private static final com.google.cloud.orchestration.airflow.service.v1beta1 - .RestartWebServerRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest(); + DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest(); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest - getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RestartWebServerRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RestartWebServerRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RestartWebServerRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RestartWebServerRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -674,8 +601,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest - getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/RestartWebServerRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/RestartWebServerRequestOrBuilder.java similarity index 56% rename from proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/RestartWebServerRequestOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/RestartWebServerRequestOrBuilder.java index 29c80df5..8182262e 100644 --- a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/RestartWebServerRequestOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/RestartWebServerRequestOrBuilder.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/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; -public interface RestartWebServerRequestOrBuilder - extends +public interface RestartWebServerRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * The resource name of the environment to restart the web server for, in the
        * form:
    @@ -33,13 +15,10 @@ public interface RestartWebServerRequestOrBuilder
        * 
    * * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
        * The resource name of the environment to restart the web server for, in the
        * form:
    @@ -47,8 +26,8 @@ public interface RestartWebServerRequestOrBuilder
        * 
    * * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/SoftwareConfig.java b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/SoftwareConfig.java similarity index 71% rename from proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/SoftwareConfig.java rename to owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/SoftwareConfig.java index 5b292699..c76b1d31 100644 --- a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/SoftwareConfig.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/SoftwareConfig.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/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; /** - * - * *
      * Specifies the selection and configuration of software inside the environment.
      * 
    * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig} */ -public final class SoftwareConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SoftwareConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig) SoftwareConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SoftwareConfig.newBuilder() to construct. private SoftwareConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SoftwareConfig() { imageVersion_ = ""; pythonVersion_ = ""; @@ -44,15 +26,16 @@ private SoftwareConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SoftwareConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private SoftwareConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,75 +55,64 @@ private SoftwareConfig( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - imageVersion_ = s; - break; - } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - airflowConfigOverrides_ = - com.google.protobuf.MapField.newMapField( - AirflowConfigOverridesDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry - airflowConfigOverrides__ = - input.readMessage( - AirflowConfigOverridesDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - airflowConfigOverrides_ - .getMutableMap() - .put(airflowConfigOverrides__.getKey(), airflowConfigOverrides__.getValue()); - break; + imageVersion_ = s; + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + airflowConfigOverrides_ = com.google.protobuf.MapField.newMapField( + AirflowConfigOverridesDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; } - case 26: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - pypiPackages_ = - com.google.protobuf.MapField.newMapField( - PypiPackagesDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000002; - } - com.google.protobuf.MapEntry pypiPackages__ = - input.readMessage( - PypiPackagesDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - pypiPackages_.getMutableMap().put(pypiPackages__.getKey(), pypiPackages__.getValue()); - break; + com.google.protobuf.MapEntry + airflowConfigOverrides__ = input.readMessage( + AirflowConfigOverridesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + airflowConfigOverrides_.getMutableMap().put( + airflowConfigOverrides__.getKey(), airflowConfigOverrides__.getValue()); + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + pypiPackages_ = com.google.protobuf.MapField.newMapField( + PypiPackagesDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000002; } - case 34: - { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - envVariables_ = - com.google.protobuf.MapField.newMapField( - EnvVariablesDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000004; - } - com.google.protobuf.MapEntry envVariables__ = - input.readMessage( - EnvVariablesDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - envVariables_.getMutableMap().put(envVariables__.getKey(), envVariables__.getValue()); - break; + com.google.protobuf.MapEntry + pypiPackages__ = input.readMessage( + PypiPackagesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + pypiPackages_.getMutableMap().put( + pypiPackages__.getKey(), pypiPackages__.getValue()); + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + envVariables_ = com.google.protobuf.MapField.newMapField( + EnvVariablesDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000004; } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); + com.google.protobuf.MapEntry + envVariables__ = input.readMessage( + EnvVariablesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + envVariables_.getMutableMap().put( + envVariables__.getKey(), envVariables__.getValue()); + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); - pythonVersion_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pythonVersion_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -148,21 +120,22 @@ private SoftwareConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 2: return internalGetAirflowConfigOverrides(); @@ -171,25 +144,21 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { case 4: return internalGetEnvVariables(); 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.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig.class, - com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig.Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig.class, com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig.Builder.class); } public static final int IMAGE_VERSION_FIELD_NUMBER = 1; private volatile java.lang.Object imageVersion_; /** - * - * *
        * The version of the software running in the environment.
        * This encapsulates both the version of Cloud Composer functionality and the
    @@ -211,7 +180,6 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
        * 
    * * string image_version = 1; - * * @return The imageVersion. */ @java.lang.Override @@ -220,15 +188,14 @@ public java.lang.String getImageVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageVersion_ = s; return s; } } /** - * - * *
        * The version of the software running in the environment.
        * This encapsulates both the version of Cloud Composer functionality and the
    @@ -250,15 +217,16 @@ public java.lang.String getImageVersion() {
        * 
    * * string image_version = 1; - * * @return The bytes for imageVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getImageVersionBytes() { + public com.google.protobuf.ByteString + getImageVersionBytes() { java.lang.Object ref = imageVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); imageVersion_ = b; return b; } else { @@ -267,22 +235,21 @@ public com.google.protobuf.ByteString getImageVersionBytes() { } public static final int AIRFLOW_CONFIG_OVERRIDES_FIELD_NUMBER = 2; - private static final class AirflowConfigOverridesDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_AirflowConfigOverridesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - - private com.google.protobuf.MapField airflowConfigOverrides_; - + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_AirflowConfigOverridesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> airflowConfigOverrides_; private com.google.protobuf.MapField - internalGetAirflowConfigOverrides() { + internalGetAirflowConfigOverrides() { if (airflowConfigOverrides_ == null) { return com.google.protobuf.MapField.emptyMapField( AirflowConfigOverridesDefaultEntryHolder.defaultEntry); @@ -294,8 +261,6 @@ public int getAirflowConfigOverridesCount() { return internalGetAirflowConfigOverrides().getMap().size(); } /** - * - * *
        * Optional. Apache Airflow configuration properties to override.
        * Property keys contain the section and property names, separated by a
    @@ -312,26 +277,24 @@ public int getAirflowConfigOverridesCount() {
        * and cannot be overridden.
        * 
    * - * - * map<string, string> airflow_config_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> airflow_config_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; */ + @java.lang.Override - public boolean containsAirflowConfigOverrides(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsAirflowConfigOverrides( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetAirflowConfigOverrides().getMap().containsKey(key); } - /** Use {@link #getAirflowConfigOverridesMap()} instead. */ + /** + * Use {@link #getAirflowConfigOverridesMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAirflowConfigOverrides() { return getAirflowConfigOverridesMap(); } /** - * - * *
        * Optional. Apache Airflow configuration properties to override.
        * Property keys contain the section and property names, separated by a
    @@ -348,17 +311,14 @@ public java.util.Map getAirflowConfigOverrid
        * and cannot be overridden.
        * 
    * - * - * map<string, string> airflow_config_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> airflow_config_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override + public java.util.Map getAirflowConfigOverridesMap() { return internalGetAirflowConfigOverrides().getMap(); } /** - * - * *
        * Optional. Apache Airflow configuration properties to override.
        * Property keys contain the section and property names, separated by a
    @@ -375,23 +335,19 @@ public java.util.Map getAirflowConfigOverrid
        * and cannot be overridden.
        * 
    * - * - * map<string, string> airflow_config_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> airflow_config_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override + public java.lang.String getAirflowConfigOverridesOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetAirflowConfigOverrides().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
        * Optional. Apache Airflow configuration properties to override.
        * Property keys contain the section and property names, separated by a
    @@ -408,15 +364,13 @@ public java.lang.String getAirflowConfigOverridesOrDefault(
        * and cannot be overridden.
        * 
    * - * - * map<string, string> airflow_config_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> airflow_config_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.lang.String getAirflowConfigOverridesOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + + public java.lang.String getAirflowConfigOverridesOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetAirflowConfigOverrides().getMap(); if (!map.containsKey(key)) { @@ -426,22 +380,21 @@ public java.lang.String getAirflowConfigOverridesOrThrow(java.lang.String key) { } public static final int PYPI_PACKAGES_FIELD_NUMBER = 3; - private static final class PypiPackagesDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_PypiPackagesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - - private com.google.protobuf.MapField pypiPackages_; - + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_PypiPackagesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> pypiPackages_; private com.google.protobuf.MapField - internalGetPypiPackages() { + internalGetPypiPackages() { if (pypiPackages_ == null) { return com.google.protobuf.MapField.emptyMapField( PypiPackagesDefaultEntryHolder.defaultEntry); @@ -453,8 +406,6 @@ public int getPypiPackagesCount() { return internalGetPypiPackages().getMap().size(); } /** - * - * *
        * Optional. Custom Python Package Index (PyPI) packages to be installed in
        * the environment.
    @@ -465,25 +416,24 @@ public int getPypiPackagesCount() {
        * the value.
        * 
    * - * map<string, string> pypi_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> pypi_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; */ + @java.lang.Override - public boolean containsPypiPackages(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsPypiPackages( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetPypiPackages().getMap().containsKey(key); } - /** Use {@link #getPypiPackagesMap()} instead. */ + /** + * Use {@link #getPypiPackagesMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getPypiPackages() { return getPypiPackagesMap(); } /** - * - * *
        * Optional. Custom Python Package Index (PyPI) packages to be installed in
        * the environment.
    @@ -494,16 +444,14 @@ public java.util.Map getPypiPackages() {
        * the value.
        * 
    * - * map<string, string> pypi_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> pypi_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override + public java.util.Map getPypiPackagesMap() { return internalGetPypiPackages().getMap(); } /** - * - * *
        * Optional. Custom Python Package Index (PyPI) packages to be installed in
        * the environment.
    @@ -514,21 +462,19 @@ public java.util.Map getPypiPackagesMap() {
        * the value.
        * 
    * - * map<string, string> pypi_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> pypi_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override + public java.lang.String getPypiPackagesOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetPypiPackages().getMap(); + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetPypiPackages().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
        * Optional. Custom Python Package Index (PyPI) packages to be installed in
        * the environment.
    @@ -539,15 +485,15 @@ public java.lang.String getPypiPackagesOrDefault(
        * the value.
        * 
    * - * map<string, string> pypi_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> pypi_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.lang.String getPypiPackagesOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetPypiPackages().getMap(); + + public java.lang.String getPypiPackagesOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetPypiPackages().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -555,22 +501,21 @@ public java.lang.String getPypiPackagesOrThrow(java.lang.String key) { } public static final int ENV_VARIABLES_FIELD_NUMBER = 4; - private static final class EnvVariablesDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_EnvVariablesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - - private com.google.protobuf.MapField envVariables_; - + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_EnvVariablesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> envVariables_; private com.google.protobuf.MapField - internalGetEnvVariables() { + internalGetEnvVariables() { if (envVariables_ == null) { return com.google.protobuf.MapField.emptyMapField( EnvVariablesDefaultEntryHolder.defaultEntry); @@ -582,8 +527,6 @@ public int getEnvVariablesCount() { return internalGetEnvVariables().getMap().size(); } /** - * - * *
        * Optional. Additional environment variables to provide to the Apache Airflow
        * scheduler, worker, and webserver processes.
    @@ -607,25 +550,24 @@ public int getEnvVariablesCount() {
        * * `SQL_USER`
        * 
    * - * map<string, string> env_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> env_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; */ + @java.lang.Override - public boolean containsEnvVariables(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsEnvVariables( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetEnvVariables().getMap().containsKey(key); } - /** Use {@link #getEnvVariablesMap()} instead. */ + /** + * Use {@link #getEnvVariablesMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getEnvVariables() { return getEnvVariablesMap(); } /** - * - * *
        * Optional. Additional environment variables to provide to the Apache Airflow
        * scheduler, worker, and webserver processes.
    @@ -649,16 +591,14 @@ public java.util.Map getEnvVariables() {
        * * `SQL_USER`
        * 
    * - * map<string, string> env_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> env_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override + public java.util.Map getEnvVariablesMap() { return internalGetEnvVariables().getMap(); } /** - * - * *
        * Optional. Additional environment variables to provide to the Apache Airflow
        * scheduler, worker, and webserver processes.
    @@ -682,21 +622,19 @@ public java.util.Map getEnvVariablesMap() {
        * * `SQL_USER`
        * 
    * - * map<string, string> env_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> env_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override + public java.lang.String getEnvVariablesOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetEnvVariables().getMap(); + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetEnvVariables().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
        * Optional. Additional environment variables to provide to the Apache Airflow
        * scheduler, worker, and webserver processes.
    @@ -720,15 +658,15 @@ public java.lang.String getEnvVariablesOrDefault(
        * * `SQL_USER`
        * 
    * - * map<string, string> env_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> env_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.lang.String getEnvVariablesOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetEnvVariables().getMap(); + + public java.lang.String getEnvVariablesOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetEnvVariables().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -738,8 +676,6 @@ public java.lang.String getEnvVariablesOrThrow(java.lang.String key) { public static final int PYTHON_VERSION_FIELD_NUMBER = 6; private volatile java.lang.Object pythonVersion_; /** - * - * *
        * Optional. The major version of Python used to run the Apache Airflow
        * scheduler, worker, and webserver processes.
    @@ -748,7 +684,6 @@ public java.lang.String getEnvVariablesOrThrow(java.lang.String key) {
        * 
    * * string python_version = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pythonVersion. */ @java.lang.Override @@ -757,15 +692,14 @@ public java.lang.String getPythonVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pythonVersion_ = s; return s; } } /** - * - * *
        * Optional. The major version of Python used to run the Apache Airflow
        * scheduler, worker, and webserver processes.
    @@ -774,15 +708,16 @@ public java.lang.String getPythonVersion() {
        * 
    * * string python_version = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pythonVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getPythonVersionBytes() { + public com.google.protobuf.ByteString + getPythonVersionBytes() { java.lang.Object ref = pythonVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pythonVersion_ = b; return b; } else { @@ -791,7 +726,6 @@ public com.google.protobuf.ByteString getPythonVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -803,19 +737,29 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageVersion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, imageVersion_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( output, internalGetAirflowConfigOverrides(), AirflowConfigOverridesDefaultEntryHolder.defaultEntry, 2); - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetPypiPackages(), PypiPackagesDefaultEntryHolder.defaultEntry, 3); - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetEnvVariables(), EnvVariablesDefaultEntryHolder.defaultEntry, 4); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetPypiPackages(), + PypiPackagesDefaultEntryHolder.defaultEntry, + 3); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetEnvVariables(), + EnvVariablesDefaultEntryHolder.defaultEntry, + 4); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pythonVersion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, pythonVersion_); } @@ -831,35 +775,35 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, imageVersion_); } - for (java.util.Map.Entry entry : - internalGetAirflowConfigOverrides().getMap().entrySet()) { - com.google.protobuf.MapEntry airflowConfigOverrides__ = - AirflowConfigOverridesDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, airflowConfigOverrides__); - } - for (java.util.Map.Entry entry : - internalGetPypiPackages().getMap().entrySet()) { - com.google.protobuf.MapEntry pypiPackages__ = - PypiPackagesDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, pypiPackages__); - } - for (java.util.Map.Entry entry : - internalGetEnvVariables().getMap().entrySet()) { - com.google.protobuf.MapEntry envVariables__ = - EnvVariablesDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, envVariables__); + for (java.util.Map.Entry entry + : internalGetAirflowConfigOverrides().getMap().entrySet()) { + com.google.protobuf.MapEntry + airflowConfigOverrides__ = AirflowConfigOverridesDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, airflowConfigOverrides__); + } + for (java.util.Map.Entry entry + : internalGetPypiPackages().getMap().entrySet()) { + com.google.protobuf.MapEntry + pypiPackages__ = PypiPackagesDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, pypiPackages__); + } + for (java.util.Map.Entry entry + : internalGetEnvVariables().getMap().entrySet()) { + com.google.protobuf.MapEntry + envVariables__ = EnvVariablesDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, envVariables__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pythonVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, pythonVersion_); @@ -872,20 +816,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.orchestration.airflow.service.v1beta1.SoftwareConfig)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig other = - (com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig) obj; - - if (!getImageVersion().equals(other.getImageVersion())) return false; - if (!internalGetAirflowConfigOverrides().equals(other.internalGetAirflowConfigOverrides())) - return false; - if (!internalGetPypiPackages().equals(other.internalGetPypiPackages())) return false; - if (!internalGetEnvVariables().equals(other.internalGetEnvVariables())) return false; - if (!getPythonVersion().equals(other.getPythonVersion())) return false; + com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig other = (com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig) obj; + + if (!getImageVersion() + .equals(other.getImageVersion())) return false; + if (!internalGetAirflowConfigOverrides().equals( + other.internalGetAirflowConfigOverrides())) return false; + if (!internalGetPypiPackages().equals( + other.internalGetPypiPackages())) return false; + if (!internalGetEnvVariables().equals( + other.internalGetEnvVariables())) return false; + if (!getPythonVersion() + .equals(other.getPythonVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -919,122 +866,114 @@ public int hashCode() { } public static com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig 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.orchestration.airflow.service.v1beta1.SoftwareConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig - 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.orchestration.airflow.service.v1beta1.SoftwareConfig 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.orchestration.airflow.service.v1beta1.SoftwareConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig prototype) { + public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
        * Specifies the selection and configuration of software inside the environment.
        * 
    * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig) com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 2: return internalGetAirflowConfigOverrides(); @@ -1043,12 +982,13 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { case 4: return internalGetEnvVariables(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { switch (number) { case 2: return internalGetMutableAirflowConfigOverrides(); @@ -1057,35 +997,33 @@ protected com.google.protobuf.MapField internalGetMutableMapField(int number) { case 4: return internalGetMutableEnvVariables(); 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.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig.class, - com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig.Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig.class, com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig.Builder.class); } - // Construct using - // com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig.newBuilder() + // Construct using com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1100,16 +1038,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig - getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig - .getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig.getDefaultInstance(); } @java.lang.Override @@ -1123,8 +1059,7 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig bui @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig buildPartial() { - com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig result = - new com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig(this); + com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig result = new com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig(this); int from_bitField0_ = bitField0_; result.imageVersion_ = imageVersion_; result.airflowConfigOverrides_ = internalGetAirflowConfigOverrides(); @@ -1142,59 +1077,56 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig bui public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig) { - return mergeFrom( - (com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig) other); + return mergeFrom((com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig other) { - if (other - == com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig other) { + if (other == com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig.getDefaultInstance()) return this; if (!other.getImageVersion().isEmpty()) { imageVersion_ = other.imageVersion_; onChanged(); } - internalGetMutableAirflowConfigOverrides() - .mergeFrom(other.internalGetAirflowConfigOverrides()); - internalGetMutablePypiPackages().mergeFrom(other.internalGetPypiPackages()); - internalGetMutableEnvVariables().mergeFrom(other.internalGetEnvVariables()); + internalGetMutableAirflowConfigOverrides().mergeFrom( + other.internalGetAirflowConfigOverrides()); + internalGetMutablePypiPackages().mergeFrom( + other.internalGetPypiPackages()); + internalGetMutableEnvVariables().mergeFrom( + other.internalGetEnvVariables()); if (!other.getPythonVersion().isEmpty()) { pythonVersion_ = other.pythonVersion_; onChanged(); @@ -1218,9 +1150,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1229,13 +1159,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object imageVersion_ = ""; /** - * - * *
          * The version of the software running in the environment.
          * This encapsulates both the version of Cloud Composer functionality and the
    @@ -1257,13 +1184,13 @@ public Builder mergeFrom(
          * 
    * * string image_version = 1; - * * @return The imageVersion. */ public java.lang.String getImageVersion() { java.lang.Object ref = imageVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageVersion_ = s; return s; @@ -1272,8 +1199,6 @@ public java.lang.String getImageVersion() { } } /** - * - * *
          * The version of the software running in the environment.
          * This encapsulates both the version of Cloud Composer functionality and the
    @@ -1295,14 +1220,15 @@ public java.lang.String getImageVersion() {
          * 
    * * string image_version = 1; - * * @return The bytes for imageVersion. */ - public com.google.protobuf.ByteString getImageVersionBytes() { + public com.google.protobuf.ByteString + getImageVersionBytes() { java.lang.Object ref = imageVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); imageVersion_ = b; return b; } else { @@ -1310,8 +1236,6 @@ public com.google.protobuf.ByteString getImageVersionBytes() { } } /** - * - * *
          * The version of the software running in the environment.
          * This encapsulates both the version of Cloud Composer functionality and the
    @@ -1333,22 +1257,20 @@ public com.google.protobuf.ByteString getImageVersionBytes() {
          * 
    * * string image_version = 1; - * * @param value The imageVersion to set. * @return This builder for chaining. */ - public Builder setImageVersion(java.lang.String value) { + public Builder setImageVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + imageVersion_ = value; onChanged(); return this; } /** - * - * *
          * The version of the software running in the environment.
          * This encapsulates both the version of Cloud Composer functionality and the
    @@ -1370,18 +1292,15 @@ public Builder setImageVersion(java.lang.String value) {
          * 
    * * string image_version = 1; - * * @return This builder for chaining. */ public Builder clearImageVersion() { - + imageVersion_ = getDefaultInstance().getImageVersion(); onChanged(); return this; } /** - * - * *
          * The version of the software running in the environment.
          * This encapsulates both the version of Cloud Composer functionality and the
    @@ -1403,41 +1322,37 @@ public Builder clearImageVersion() {
          * 
    * * string image_version = 1; - * * @param value The bytes for imageVersion to set. * @return This builder for chaining. */ - public Builder setImageVersionBytes(com.google.protobuf.ByteString value) { + public Builder setImageVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + imageVersion_ = value; onChanged(); return this; } + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> airflowConfigOverrides_; private com.google.protobuf.MapField - airflowConfigOverrides_; - - private com.google.protobuf.MapField - internalGetAirflowConfigOverrides() { + internalGetAirflowConfigOverrides() { if (airflowConfigOverrides_ == null) { return com.google.protobuf.MapField.emptyMapField( AirflowConfigOverridesDefaultEntryHolder.defaultEntry); } return airflowConfigOverrides_; } - private com.google.protobuf.MapField - internalGetMutableAirflowConfigOverrides() { - onChanged(); - ; + internalGetMutableAirflowConfigOverrides() { + onChanged();; if (airflowConfigOverrides_ == null) { - airflowConfigOverrides_ = - com.google.protobuf.MapField.newMapField( - AirflowConfigOverridesDefaultEntryHolder.defaultEntry); + airflowConfigOverrides_ = com.google.protobuf.MapField.newMapField( + AirflowConfigOverridesDefaultEntryHolder.defaultEntry); } if (!airflowConfigOverrides_.isMutable()) { airflowConfigOverrides_ = airflowConfigOverrides_.copy(); @@ -1449,8 +1364,6 @@ public int getAirflowConfigOverridesCount() { return internalGetAirflowConfigOverrides().getMap().size(); } /** - * - * *
          * Optional. Apache Airflow configuration properties to override.
          * Property keys contain the section and property names, separated by a
    @@ -1467,26 +1380,24 @@ public int getAirflowConfigOverridesCount() {
          * and cannot be overridden.
          * 
    * - * - * map<string, string> airflow_config_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> airflow_config_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; */ + @java.lang.Override - public boolean containsAirflowConfigOverrides(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsAirflowConfigOverrides( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetAirflowConfigOverrides().getMap().containsKey(key); } - /** Use {@link #getAirflowConfigOverridesMap()} instead. */ + /** + * Use {@link #getAirflowConfigOverridesMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAirflowConfigOverrides() { return getAirflowConfigOverridesMap(); } /** - * - * *
          * Optional. Apache Airflow configuration properties to override.
          * Property keys contain the section and property names, separated by a
    @@ -1503,17 +1414,14 @@ public java.util.Map getAirflowConfigOverrid
          * and cannot be overridden.
          * 
    * - * - * map<string, string> airflow_config_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> airflow_config_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override + public java.util.Map getAirflowConfigOverridesMap() { return internalGetAirflowConfigOverrides().getMap(); } /** - * - * *
          * Optional. Apache Airflow configuration properties to override.
          * Property keys contain the section and property names, separated by a
    @@ -1530,23 +1438,19 @@ public java.util.Map getAirflowConfigOverrid
          * and cannot be overridden.
          * 
    * - * - * map<string, string> airflow_config_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> airflow_config_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override + public java.lang.String getAirflowConfigOverridesOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetAirflowConfigOverrides().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
          * Optional. Apache Airflow configuration properties to override.
          * Property keys contain the section and property names, separated by a
    @@ -1563,15 +1467,13 @@ public java.lang.String getAirflowConfigOverridesOrDefault(
          * and cannot be overridden.
          * 
    * - * - * map<string, string> airflow_config_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> airflow_config_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.lang.String getAirflowConfigOverridesOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + + public java.lang.String getAirflowConfigOverridesOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetAirflowConfigOverrides().getMap(); if (!map.containsKey(key)) { @@ -1581,12 +1483,11 @@ public java.lang.String getAirflowConfigOverridesOrThrow(java.lang.String key) { } public Builder clearAirflowConfigOverrides() { - internalGetMutableAirflowConfigOverrides().getMutableMap().clear(); + internalGetMutableAirflowConfigOverrides().getMutableMap() + .clear(); return this; } /** - * - * *
          * Optional. Apache Airflow configuration properties to override.
          * Property keys contain the section and property names, separated by a
    @@ -1603,25 +1504,25 @@ public Builder clearAirflowConfigOverrides() {
          * and cannot be overridden.
          * 
    * - * - * map<string, string> airflow_config_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> airflow_config_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder removeAirflowConfigOverrides(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableAirflowConfigOverrides().getMutableMap().remove(key); + + public Builder removeAirflowConfigOverrides( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableAirflowConfigOverrides().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableAirflowConfigOverrides() { + public java.util.Map + getMutableAirflowConfigOverrides() { return internalGetMutableAirflowConfigOverrides().getMutableMap(); } /** - * - * *
          * Optional. Apache Airflow configuration properties to override.
          * Property keys contain the section and property names, separated by a
    @@ -1638,24 +1539,21 @@ public java.util.Map getMutableAirflowConfig
          * and cannot be overridden.
          * 
    * - * - * map<string, string> airflow_config_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> airflow_config_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder putAirflowConfigOverrides(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } + public Builder putAirflowConfigOverrides( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } if (value == null) { - throw new NullPointerException("map value"); - } + throw new NullPointerException("map value"); +} - internalGetMutableAirflowConfigOverrides().getMutableMap().put(key, value); + internalGetMutableAirflowConfigOverrides().getMutableMap() + .put(key, value); return this; } /** - * - * *
          * Optional. Apache Airflow configuration properties to override.
          * Property keys contain the section and property names, separated by a
    @@ -1672,34 +1570,32 @@ public Builder putAirflowConfigOverrides(java.lang.String key, java.lang.String
          * and cannot be overridden.
          * 
    * - * - * map<string, string> airflow_config_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> airflow_config_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; */ + public Builder putAllAirflowConfigOverrides( java.util.Map values) { - internalGetMutableAirflowConfigOverrides().getMutableMap().putAll(values); + internalGetMutableAirflowConfigOverrides().getMutableMap() + .putAll(values); return this; } - private com.google.protobuf.MapField pypiPackages_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> pypiPackages_; private com.google.protobuf.MapField - internalGetPypiPackages() { + internalGetPypiPackages() { if (pypiPackages_ == null) { return com.google.protobuf.MapField.emptyMapField( PypiPackagesDefaultEntryHolder.defaultEntry); } return pypiPackages_; } - private com.google.protobuf.MapField - internalGetMutablePypiPackages() { - onChanged(); - ; + internalGetMutablePypiPackages() { + onChanged();; if (pypiPackages_ == null) { - pypiPackages_ = - com.google.protobuf.MapField.newMapField(PypiPackagesDefaultEntryHolder.defaultEntry); + pypiPackages_ = com.google.protobuf.MapField.newMapField( + PypiPackagesDefaultEntryHolder.defaultEntry); } if (!pypiPackages_.isMutable()) { pypiPackages_ = pypiPackages_.copy(); @@ -1711,8 +1607,6 @@ public int getPypiPackagesCount() { return internalGetPypiPackages().getMap().size(); } /** - * - * *
          * Optional. Custom Python Package Index (PyPI) packages to be installed in
          * the environment.
    @@ -1723,25 +1617,24 @@ public int getPypiPackagesCount() {
          * the value.
          * 
    * - * map<string, string> pypi_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> pypi_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; */ + @java.lang.Override - public boolean containsPypiPackages(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsPypiPackages( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetPypiPackages().getMap().containsKey(key); } - /** Use {@link #getPypiPackagesMap()} instead. */ + /** + * Use {@link #getPypiPackagesMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getPypiPackages() { return getPypiPackagesMap(); } /** - * - * *
          * Optional. Custom Python Package Index (PyPI) packages to be installed in
          * the environment.
    @@ -1752,16 +1645,14 @@ public java.util.Map getPypiPackages() {
          * the value.
          * 
    * - * map<string, string> pypi_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> pypi_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override + public java.util.Map getPypiPackagesMap() { return internalGetPypiPackages().getMap(); } /** - * - * *
          * Optional. Custom Python Package Index (PyPI) packages to be installed in
          * the environment.
    @@ -1772,21 +1663,19 @@ public java.util.Map getPypiPackagesMap() {
          * the value.
          * 
    * - * map<string, string> pypi_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> pypi_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override + public java.lang.String getPypiPackagesOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetPypiPackages().getMap(); + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetPypiPackages().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
          * Optional. Custom Python Package Index (PyPI) packages to be installed in
          * the environment.
    @@ -1797,15 +1686,15 @@ public java.lang.String getPypiPackagesOrDefault(
          * the value.
          * 
    * - * map<string, string> pypi_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> pypi_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.lang.String getPypiPackagesOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetPypiPackages().getMap(); + + public java.lang.String getPypiPackagesOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetPypiPackages().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1813,12 +1702,11 @@ public java.lang.String getPypiPackagesOrThrow(java.lang.String key) { } public Builder clearPypiPackages() { - internalGetMutablePypiPackages().getMutableMap().clear(); + internalGetMutablePypiPackages().getMutableMap() + .clear(); return this; } /** - * - * *
          * Optional. Custom Python Package Index (PyPI) packages to be installed in
          * the environment.
    @@ -1829,24 +1717,25 @@ public Builder clearPypiPackages() {
          * the value.
          * 
    * - * map<string, string> pypi_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> pypi_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder removePypiPackages(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutablePypiPackages().getMutableMap().remove(key); + + public Builder removePypiPackages( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutablePypiPackages().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutablePypiPackages() { + public java.util.Map + getMutablePypiPackages() { return internalGetMutablePypiPackages().getMutableMap(); } /** - * - * *
          * Optional. Custom Python Package Index (PyPI) packages to be installed in
          * the environment.
    @@ -1857,23 +1746,21 @@ public java.util.Map getMutablePypiPackages(
          * the value.
          * 
    * - * map<string, string> pypi_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> pypi_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder putPypiPackages(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } + public Builder putPypiPackages( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } if (value == null) { - throw new NullPointerException("map value"); - } + throw new NullPointerException("map value"); +} - internalGetMutablePypiPackages().getMutableMap().put(key, value); + internalGetMutablePypiPackages().getMutableMap() + .put(key, value); return this; } /** - * - * *
          * Optional. Custom Python Package Index (PyPI) packages to be installed in
          * the environment.
    @@ -1884,32 +1771,32 @@ public Builder putPypiPackages(java.lang.String key, java.lang.String value) {
          * the value.
          * 
    * - * map<string, string> pypi_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> pypi_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder putAllPypiPackages(java.util.Map values) { - internalGetMutablePypiPackages().getMutableMap().putAll(values); + + public Builder putAllPypiPackages( + java.util.Map values) { + internalGetMutablePypiPackages().getMutableMap() + .putAll(values); return this; } - private com.google.protobuf.MapField envVariables_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> envVariables_; private com.google.protobuf.MapField - internalGetEnvVariables() { + internalGetEnvVariables() { if (envVariables_ == null) { return com.google.protobuf.MapField.emptyMapField( EnvVariablesDefaultEntryHolder.defaultEntry); } return envVariables_; } - private com.google.protobuf.MapField - internalGetMutableEnvVariables() { - onChanged(); - ; + internalGetMutableEnvVariables() { + onChanged();; if (envVariables_ == null) { - envVariables_ = - com.google.protobuf.MapField.newMapField(EnvVariablesDefaultEntryHolder.defaultEntry); + envVariables_ = com.google.protobuf.MapField.newMapField( + EnvVariablesDefaultEntryHolder.defaultEntry); } if (!envVariables_.isMutable()) { envVariables_ = envVariables_.copy(); @@ -1921,8 +1808,6 @@ public int getEnvVariablesCount() { return internalGetEnvVariables().getMap().size(); } /** - * - * *
          * Optional. Additional environment variables to provide to the Apache Airflow
          * scheduler, worker, and webserver processes.
    @@ -1946,25 +1831,24 @@ public int getEnvVariablesCount() {
          * * `SQL_USER`
          * 
    * - * map<string, string> env_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> env_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; */ + @java.lang.Override - public boolean containsEnvVariables(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsEnvVariables( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetEnvVariables().getMap().containsKey(key); } - /** Use {@link #getEnvVariablesMap()} instead. */ + /** + * Use {@link #getEnvVariablesMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getEnvVariables() { return getEnvVariablesMap(); } /** - * - * *
          * Optional. Additional environment variables to provide to the Apache Airflow
          * scheduler, worker, and webserver processes.
    @@ -1988,16 +1872,14 @@ public java.util.Map getEnvVariables() {
          * * `SQL_USER`
          * 
    * - * map<string, string> env_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> env_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override + public java.util.Map getEnvVariablesMap() { return internalGetEnvVariables().getMap(); } /** - * - * *
          * Optional. Additional environment variables to provide to the Apache Airflow
          * scheduler, worker, and webserver processes.
    @@ -2021,21 +1903,19 @@ public java.util.Map getEnvVariablesMap() {
          * * `SQL_USER`
          * 
    * - * map<string, string> env_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> env_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override + public java.lang.String getEnvVariablesOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetEnvVariables().getMap(); + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetEnvVariables().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
          * Optional. Additional environment variables to provide to the Apache Airflow
          * scheduler, worker, and webserver processes.
    @@ -2059,15 +1939,15 @@ public java.lang.String getEnvVariablesOrDefault(
          * * `SQL_USER`
          * 
    * - * map<string, string> env_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> env_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.lang.String getEnvVariablesOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetEnvVariables().getMap(); + + public java.lang.String getEnvVariablesOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetEnvVariables().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -2075,12 +1955,11 @@ public java.lang.String getEnvVariablesOrThrow(java.lang.String key) { } public Builder clearEnvVariables() { - internalGetMutableEnvVariables().getMutableMap().clear(); + internalGetMutableEnvVariables().getMutableMap() + .clear(); return this; } /** - * - * *
          * Optional. Additional environment variables to provide to the Apache Airflow
          * scheduler, worker, and webserver processes.
    @@ -2104,24 +1983,25 @@ public Builder clearEnvVariables() {
          * * `SQL_USER`
          * 
    * - * map<string, string> env_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> env_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder removeEnvVariables(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableEnvVariables().getMutableMap().remove(key); + + public Builder removeEnvVariables( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableEnvVariables().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableEnvVariables() { + public java.util.Map + getMutableEnvVariables() { return internalGetMutableEnvVariables().getMutableMap(); } /** - * - * *
          * Optional. Additional environment variables to provide to the Apache Airflow
          * scheduler, worker, and webserver processes.
    @@ -2145,23 +2025,21 @@ public java.util.Map getMutableEnvVariables(
          * * `SQL_USER`
          * 
    * - * map<string, string> env_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> env_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder putEnvVariables(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } + public Builder putEnvVariables( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } if (value == null) { - throw new NullPointerException("map value"); - } + throw new NullPointerException("map value"); +} - internalGetMutableEnvVariables().getMutableMap().put(key, value); + internalGetMutableEnvVariables().getMutableMap() + .put(key, value); return this; } /** - * - * *
          * Optional. Additional environment variables to provide to the Apache Airflow
          * scheduler, worker, and webserver processes.
    @@ -2185,18 +2063,18 @@ public Builder putEnvVariables(java.lang.String key, java.lang.String value) {
          * * `SQL_USER`
          * 
    * - * map<string, string> env_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> env_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder putAllEnvVariables(java.util.Map values) { - internalGetMutableEnvVariables().getMutableMap().putAll(values); + + public Builder putAllEnvVariables( + java.util.Map values) { + internalGetMutableEnvVariables().getMutableMap() + .putAll(values); return this; } private java.lang.Object pythonVersion_ = ""; /** - * - * *
          * Optional. The major version of Python used to run the Apache Airflow
          * scheduler, worker, and webserver processes.
    @@ -2205,13 +2083,13 @@ public Builder putAllEnvVariables(java.util.Map
          *
          * string python_version = 6 [(.google.api.field_behavior) = OPTIONAL];
    -     *
          * @return The pythonVersion.
          */
         public java.lang.String getPythonVersion() {
           java.lang.Object ref = pythonVersion_;
           if (!(ref instanceof java.lang.String)) {
    -        com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
    +        com.google.protobuf.ByteString bs =
    +            (com.google.protobuf.ByteString) ref;
             java.lang.String s = bs.toStringUtf8();
             pythonVersion_ = s;
             return s;
    @@ -2220,8 +2098,6 @@ public java.lang.String getPythonVersion() {
           }
         }
         /**
    -     *
    -     *
          * 
          * Optional. The major version of Python used to run the Apache Airflow
          * scheduler, worker, and webserver processes.
    @@ -2230,14 +2106,15 @@ public java.lang.String getPythonVersion() {
          * 
    * * string python_version = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pythonVersion. */ - public com.google.protobuf.ByteString getPythonVersionBytes() { + public com.google.protobuf.ByteString + getPythonVersionBytes() { java.lang.Object ref = pythonVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pythonVersion_ = b; return b; } else { @@ -2245,8 +2122,6 @@ public com.google.protobuf.ByteString getPythonVersionBytes() { } } /** - * - * *
          * Optional. The major version of Python used to run the Apache Airflow
          * scheduler, worker, and webserver processes.
    @@ -2255,22 +2130,20 @@ public com.google.protobuf.ByteString getPythonVersionBytes() {
          * 
    * * string python_version = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pythonVersion to set. * @return This builder for chaining. */ - public Builder setPythonVersion(java.lang.String value) { + public Builder setPythonVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pythonVersion_ = value; onChanged(); return this; } /** - * - * *
          * Optional. The major version of Python used to run the Apache Airflow
          * scheduler, worker, and webserver processes.
    @@ -2279,18 +2152,15 @@ public Builder setPythonVersion(java.lang.String value) {
          * 
    * * string python_version = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPythonVersion() { - + pythonVersion_ = getDefaultInstance().getPythonVersion(); onChanged(); return this; } /** - * - * *
          * Optional. The major version of Python used to run the Apache Airflow
          * scheduler, worker, and webserver processes.
    @@ -2299,23 +2169,23 @@ public Builder clearPythonVersion() {
          * 
    * * string python_version = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for pythonVersion to set. * @return This builder for chaining. */ - public Builder setPythonVersionBytes(com.google.protobuf.ByteString value) { + public Builder setPythonVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pythonVersion_ = 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); } @@ -2325,32 +2195,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig) - private static final com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig(); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig - getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SoftwareConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SoftwareConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SoftwareConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SoftwareConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2362,8 +2230,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig - getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/SoftwareConfigOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/SoftwareConfigOrBuilder.java similarity index 82% rename from proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/SoftwareConfigOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/SoftwareConfigOrBuilder.java index 3434732b..35ec3453 100644 --- a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/SoftwareConfigOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/SoftwareConfigOrBuilder.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/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; -public interface SoftwareConfigOrBuilder - extends +public interface SoftwareConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * The version of the software running in the environment.
        * This encapsulates both the version of Cloud Composer functionality and the
    @@ -47,13 +29,10 @@ public interface SoftwareConfigOrBuilder
        * 
    * * string image_version = 1; - * * @return The imageVersion. */ java.lang.String getImageVersion(); /** - * - * *
        * The version of the software running in the environment.
        * This encapsulates both the version of Cloud Composer functionality and the
    @@ -75,14 +54,12 @@ public interface SoftwareConfigOrBuilder
        * 
    * * string image_version = 1; - * * @return The bytes for imageVersion. */ - com.google.protobuf.ByteString getImageVersionBytes(); + com.google.protobuf.ByteString + getImageVersionBytes(); /** - * - * *
        * Optional. Apache Airflow configuration properties to override.
        * Property keys contain the section and property names, separated by a
    @@ -99,14 +76,10 @@ public interface SoftwareConfigOrBuilder
        * and cannot be overridden.
        * 
    * - * - * map<string, string> airflow_config_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> airflow_config_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; */ int getAirflowConfigOverridesCount(); /** - * - * *
        * Optional. Apache Airflow configuration properties to override.
        * Property keys contain the section and property names, separated by a
    @@ -123,17 +96,17 @@ public interface SoftwareConfigOrBuilder
        * and cannot be overridden.
        * 
    * - * - * map<string, string> airflow_config_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> airflow_config_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + boolean containsAirflowConfigOverrides( + java.lang.String key); + /** + * Use {@link #getAirflowConfigOverridesMap()} instead. */ - boolean containsAirflowConfigOverrides(java.lang.String key); - /** Use {@link #getAirflowConfigOverridesMap()} instead. */ @java.lang.Deprecated - java.util.Map getAirflowConfigOverrides(); + java.util.Map + getAirflowConfigOverrides(); /** - * - * *
        * Optional. Apache Airflow configuration properties to override.
        * Property keys contain the section and property names, separated by a
    @@ -150,14 +123,11 @@ public interface SoftwareConfigOrBuilder
        * and cannot be overridden.
        * 
    * - * - * map<string, string> airflow_config_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> airflow_config_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.Map getAirflowConfigOverridesMap(); + java.util.Map + getAirflowConfigOverridesMap(); /** - * - * *
        * Optional. Apache Airflow configuration properties to override.
        * Property keys contain the section and property names, separated by a
    @@ -174,19 +144,15 @@ public interface SoftwareConfigOrBuilder
        * and cannot be overridden.
        * 
    * - * - * map<string, string> airflow_config_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> airflow_config_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; */ /* nullable */ - java.lang.String getAirflowConfigOverridesOrDefault( +java.lang.String getAirflowConfigOverridesOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
        * Optional. Apache Airflow configuration properties to override.
        * Property keys contain the section and property names, separated by a
    @@ -203,15 +169,13 @@ java.lang.String getAirflowConfigOverridesOrDefault(
        * and cannot be overridden.
        * 
    * - * - * map<string, string> airflow_config_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> airflow_config_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - java.lang.String getAirflowConfigOverridesOrThrow(java.lang.String key); + + java.lang.String getAirflowConfigOverridesOrThrow( + java.lang.String key); /** - * - * *
        * Optional. Custom Python Package Index (PyPI) packages to be installed in
        * the environment.
    @@ -222,13 +186,10 @@ java.lang.String getAirflowConfigOverridesOrDefault(
        * the value.
        * 
    * - * map<string, string> pypi_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> pypi_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; */ int getPypiPackagesCount(); /** - * - * *
        * Optional. Custom Python Package Index (PyPI) packages to be installed in
        * the environment.
    @@ -239,16 +200,17 @@ java.lang.String getAirflowConfigOverridesOrDefault(
        * the value.
        * 
    * - * map<string, string> pypi_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> pypi_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + boolean containsPypiPackages( + java.lang.String key); + /** + * Use {@link #getPypiPackagesMap()} instead. */ - boolean containsPypiPackages(java.lang.String key); - /** Use {@link #getPypiPackagesMap()} instead. */ @java.lang.Deprecated - java.util.Map getPypiPackages(); + java.util.Map + getPypiPackages(); /** - * - * *
        * Optional. Custom Python Package Index (PyPI) packages to be installed in
        * the environment.
    @@ -259,13 +221,11 @@ java.lang.String getAirflowConfigOverridesOrDefault(
        * the value.
        * 
    * - * map<string, string> pypi_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> pypi_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.Map getPypiPackagesMap(); + java.util.Map + getPypiPackagesMap(); /** - * - * *
        * Optional. Custom Python Package Index (PyPI) packages to be installed in
        * the environment.
    @@ -276,18 +236,15 @@ java.lang.String getAirflowConfigOverridesOrDefault(
        * the value.
        * 
    * - * map<string, string> pypi_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> pypi_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; */ /* nullable */ - java.lang.String getPypiPackagesOrDefault( +java.lang.String getPypiPackagesOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
        * Optional. Custom Python Package Index (PyPI) packages to be installed in
        * the environment.
    @@ -298,14 +255,13 @@ java.lang.String getPypiPackagesOrDefault(
        * the value.
        * 
    * - * map<string, string> pypi_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> pypi_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - java.lang.String getPypiPackagesOrThrow(java.lang.String key); + + java.lang.String getPypiPackagesOrThrow( + java.lang.String key); /** - * - * *
        * Optional. Additional environment variables to provide to the Apache Airflow
        * scheduler, worker, and webserver processes.
    @@ -329,13 +285,10 @@ java.lang.String getPypiPackagesOrDefault(
        * * `SQL_USER`
        * 
    * - * map<string, string> env_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> env_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; */ int getEnvVariablesCount(); /** - * - * *
        * Optional. Additional environment variables to provide to the Apache Airflow
        * scheduler, worker, and webserver processes.
    @@ -359,16 +312,17 @@ java.lang.String getPypiPackagesOrDefault(
        * * `SQL_USER`
        * 
    * - * map<string, string> env_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> env_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + boolean containsEnvVariables( + java.lang.String key); + /** + * Use {@link #getEnvVariablesMap()} instead. */ - boolean containsEnvVariables(java.lang.String key); - /** Use {@link #getEnvVariablesMap()} instead. */ @java.lang.Deprecated - java.util.Map getEnvVariables(); + java.util.Map + getEnvVariables(); /** - * - * *
        * Optional. Additional environment variables to provide to the Apache Airflow
        * scheduler, worker, and webserver processes.
    @@ -392,13 +346,11 @@ java.lang.String getPypiPackagesOrDefault(
        * * `SQL_USER`
        * 
    * - * map<string, string> env_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> env_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.Map getEnvVariablesMap(); + java.util.Map + getEnvVariablesMap(); /** - * - * *
        * Optional. Additional environment variables to provide to the Apache Airflow
        * scheduler, worker, and webserver processes.
    @@ -422,18 +374,15 @@ java.lang.String getPypiPackagesOrDefault(
        * * `SQL_USER`
        * 
    * - * map<string, string> env_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> env_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; */ /* nullable */ - java.lang.String getEnvVariablesOrDefault( +java.lang.String getEnvVariablesOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
        * Optional. Additional environment variables to provide to the Apache Airflow
        * scheduler, worker, and webserver processes.
    @@ -457,14 +406,13 @@ java.lang.String getEnvVariablesOrDefault(
        * * `SQL_USER`
        * 
    * - * map<string, string> env_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> env_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - java.lang.String getEnvVariablesOrThrow(java.lang.String key); + + java.lang.String getEnvVariablesOrThrow( + java.lang.String key); /** - * - * *
        * Optional. The major version of Python used to run the Apache Airflow
        * scheduler, worker, and webserver processes.
    @@ -473,13 +421,10 @@ java.lang.String getEnvVariablesOrDefault(
        * 
    * * string python_version = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pythonVersion. */ java.lang.String getPythonVersion(); /** - * - * *
        * Optional. The major version of Python used to run the Apache Airflow
        * scheduler, worker, and webserver processes.
    @@ -488,8 +433,8 @@ java.lang.String getEnvVariablesOrDefault(
        * 
    * * string python_version = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pythonVersion. */ - com.google.protobuf.ByteString getPythonVersionBytes(); + com.google.protobuf.ByteString + getPythonVersionBytes(); } diff --git a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/UpdateEnvironmentRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/UpdateEnvironmentRequest.java similarity index 87% rename from proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/UpdateEnvironmentRequest.java rename to owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/UpdateEnvironmentRequest.java index 2e911512..09775d2c 100644 --- a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/UpdateEnvironmentRequest.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/UpdateEnvironmentRequest.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/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; /** - * - * *
      * Update an environment.
      * 
    * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest} */ -public final class UpdateEnvironmentRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateEnvironmentRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest) UpdateEnvironmentRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateEnvironmentRequest.newBuilder() to construct. private UpdateEnvironmentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateEnvironmentRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateEnvironmentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateEnvironmentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,53 +53,45 @@ private UpdateEnvironmentRequest( case 0: done = true; break; - case 10: - { - com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder - subBuilder = null; - if (environment_ != null) { - subBuilder = environment_.toBuilder(); - } - environment_ = - input.readMessage( - com.google.cloud.orchestration.airflow.service.v1beta1.Environment.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(environment_); - environment_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder subBuilder = null; + if (environment_ != null) { + subBuilder = environment_.toBuilder(); } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; + environment_ = input.readMessage(com.google.cloud.orchestration.airflow.service.v1beta1.Environment.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(environment_); + environment_ = subBuilder.buildPartial(); } - case 26: - { - 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: { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + case 26: { + 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) { @@ -124,41 +99,35 @@ private UpdateEnvironmentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_UpdateEnvironmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_UpdateEnvironmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_UpdateEnvironmentRequest_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_UpdateEnvironmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest.class, - com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest.Builder - .class); + com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest.class, com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 2; private volatile java.lang.Object name_; /** - * - * *
        * The relative resource name of the environment to update, in the form:
        * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
        * 
    * * string name = 2; - * * @return The name. */ @java.lang.Override @@ -167,30 +136,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 relative resource name of the environment to update, in the form:
        * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
        * 
    * * string name = 2; - * * @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 { @@ -201,15 +170,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int ENVIRONMENT_FIELD_NUMBER = 1; private com.google.cloud.orchestration.airflow.service.v1beta1.Environment environment_; /** - * - * *
        * A patch environment. Fields specified by the `updateMask` will be copied
        * from the patch environment into the environment under update.
        * 
    * * .google.cloud.orchestration.airflow.service.v1beta1.Environment environment = 1; - * * @return Whether the environment field is set. */ @java.lang.Override @@ -217,26 +183,19 @@ public boolean hasEnvironment() { return environment_ != null; } /** - * - * *
        * A patch environment. Fields specified by the `updateMask` will be copied
        * from the patch environment into the environment under update.
        * 
    * * .google.cloud.orchestration.airflow.service.v1beta1.Environment environment = 1; - * * @return The environment. */ @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1beta1.Environment getEnvironment() { - return environment_ == null - ? com.google.cloud.orchestration.airflow.service.v1beta1.Environment.getDefaultInstance() - : environment_; + return environment_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.Environment.getDefaultInstance() : environment_; } /** - * - * *
        * A patch environment. Fields specified by the `updateMask` will be copied
        * from the patch environment into the environment under update.
    @@ -245,16 +204,13 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.Environment getEnv
        * .google.cloud.orchestration.airflow.service.v1beta1.Environment environment = 1;
        */
       @java.lang.Override
    -  public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder
    -      getEnvironmentOrBuilder() {
    +  public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder getEnvironmentOrBuilder() {
         return getEnvironment();
       }
     
       public static final int UPDATE_MASK_FIELD_NUMBER = 3;
       private com.google.protobuf.FieldMask updateMask_;
       /**
    -   *
    -   *
        * 
        * Required. A comma-separated list of paths, relative to `Environment`, of
        * fields to update.
    @@ -378,9 +334,7 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.Environment getEnv
        *       under maintenance.
        * 
    * - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -388,8 +342,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
        * Required. A comma-separated list of paths, relative to `Environment`, of
        * fields to update.
    @@ -513,9 +465,7 @@ public boolean hasUpdateMask() {
        *       under maintenance.
        * 
    * - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -523,8 +473,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
        * Required. A comma-separated list of paths, relative to `Environment`, of
        * fields to update.
    @@ -648,8 +596,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
        *       under maintenance.
        * 
    * - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -657,7 +604,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -669,7 +615,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 (environment_ != null) { output.writeMessage(1, getEnvironment()); } @@ -689,13 +636,15 @@ public int getSerializedSize() { size = 0; if (environment_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEnvironment()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getEnvironment()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -705,24 +654,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest)) { + if (!(obj instanceof com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest other = - (com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest) obj; + com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest other = (com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasEnvironment() != other.hasEnvironment()) return false; if (hasEnvironment()) { - if (!getEnvironment().equals(other.getEnvironment())) return false; + if (!getEnvironment() + .equals(other.getEnvironment())) 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; @@ -750,153 +699,135 @@ public int hashCode() { return hash; } - public static com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest - 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.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest 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.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest prototype) { + public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
        * Update an environment.
        * 
    * - * Protobuf type {@code - * google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest} + * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest) com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_UpdateEnvironmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_UpdateEnvironmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_UpdateEnvironmentRequest_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_UpdateEnvironmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest.class, - com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest - .Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest.class, com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest.Builder.class); } - // Construct using - // com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest.newBuilder() + // Construct using com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -918,22 +849,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_UpdateEnvironmentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_UpdateEnvironmentRequest_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest - getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest - .getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest.getDefaultInstance(); } @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest build() { - com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest result = - buildPartial(); + com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -941,10 +869,8 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentR } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest - buildPartial() { - com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest result = - new com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest(this); + public com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest buildPartial() { + com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest result = new com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest(this); result.name_ = name_; if (environmentBuilder_ == null) { result.environment_ = environment_; @@ -964,54 +890,46 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentR public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest) { - return mergeFrom( - (com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest) - other); + if (other instanceof com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest) { + return mergeFrom((com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest other) { - if (other - == com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest other) { + if (other == com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -1037,14 +955,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest - parsedMessage = null; + com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1056,21 +971,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
          * The relative resource name of the environment to update, in the form:
          * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
          * 
    * * string name = 2; - * * @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; @@ -1079,22 +992,21 @@ public java.lang.String getName() { } } /** - * - * *
          * The relative resource name of the environment to update, in the form:
          * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
          * 
    * * string name = 2; - * * @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 { @@ -1102,64 +1014,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
          * The relative resource name of the environment to update, in the form:
          * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
          * 
    * * string name = 2; - * * @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 relative resource name of the environment to update, in the form:
          * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
          * 
    * * string name = 2; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
          * The relative resource name of the environment to update, in the form:
          * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
          * 
    * * string name = 2; - * * @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; @@ -1167,50 +1072,36 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.cloud.orchestration.airflow.service.v1beta1.Environment environment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.Environment, - com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder, - com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder> - environmentBuilder_; + com.google.cloud.orchestration.airflow.service.v1beta1.Environment, com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder> environmentBuilder_; /** - * - * *
          * A patch environment. Fields specified by the `updateMask` will be copied
          * from the patch environment into the environment under update.
          * 
    * * .google.cloud.orchestration.airflow.service.v1beta1.Environment environment = 1; - * * @return Whether the environment field is set. */ public boolean hasEnvironment() { return environmentBuilder_ != null || environment_ != null; } /** - * - * *
          * A patch environment. Fields specified by the `updateMask` will be copied
          * from the patch environment into the environment under update.
          * 
    * * .google.cloud.orchestration.airflow.service.v1beta1.Environment environment = 1; - * * @return The environment. */ public com.google.cloud.orchestration.airflow.service.v1beta1.Environment getEnvironment() { if (environmentBuilder_ == null) { - return environment_ == null - ? com.google.cloud.orchestration.airflow.service.v1beta1.Environment - .getDefaultInstance() - : environment_; + return environment_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.Environment.getDefaultInstance() : environment_; } else { return environmentBuilder_.getMessage(); } } /** - * - * *
          * A patch environment. Fields specified by the `updateMask` will be copied
          * from the patch environment into the environment under update.
    @@ -1218,8 +1109,7 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.Environment getEnv
          *
          * .google.cloud.orchestration.airflow.service.v1beta1.Environment environment = 1;
          */
    -    public Builder setEnvironment(
    -        com.google.cloud.orchestration.airflow.service.v1beta1.Environment value) {
    +    public Builder setEnvironment(com.google.cloud.orchestration.airflow.service.v1beta1.Environment value) {
           if (environmentBuilder_ == null) {
             if (value == null) {
               throw new NullPointerException();
    @@ -1233,8 +1123,6 @@ public Builder setEnvironment(
           return this;
         }
         /**
    -     *
    -     *
          * 
          * A patch environment. Fields specified by the `updateMask` will be copied
          * from the patch environment into the environment under update.
    @@ -1243,8 +1131,7 @@ public Builder setEnvironment(
          * .google.cloud.orchestration.airflow.service.v1beta1.Environment environment = 1;
          */
         public Builder setEnvironment(
    -        com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder
    -            builderForValue) {
    +        com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder builderForValue) {
           if (environmentBuilder_ == null) {
             environment_ = builderForValue.build();
             onChanged();
    @@ -1255,8 +1142,6 @@ public Builder setEnvironment(
           return this;
         }
         /**
    -     *
    -     *
          * 
          * A patch environment. Fields specified by the `updateMask` will be copied
          * from the patch environment into the environment under update.
    @@ -1264,15 +1149,11 @@ public Builder setEnvironment(
          *
          * .google.cloud.orchestration.airflow.service.v1beta1.Environment environment = 1;
          */
    -    public Builder mergeEnvironment(
    -        com.google.cloud.orchestration.airflow.service.v1beta1.Environment value) {
    +    public Builder mergeEnvironment(com.google.cloud.orchestration.airflow.service.v1beta1.Environment value) {
           if (environmentBuilder_ == null) {
             if (environment_ != null) {
               environment_ =
    -              com.google.cloud.orchestration.airflow.service.v1beta1.Environment.newBuilder(
    -                      environment_)
    -                  .mergeFrom(value)
    -                  .buildPartial();
    +            com.google.cloud.orchestration.airflow.service.v1beta1.Environment.newBuilder(environment_).mergeFrom(value).buildPartial();
             } else {
               environment_ = value;
             }
    @@ -1284,8 +1165,6 @@ public Builder mergeEnvironment(
           return this;
         }
         /**
    -     *
    -     *
          * 
          * A patch environment. Fields specified by the `updateMask` will be copied
          * from the patch environment into the environment under update.
    @@ -1305,8 +1184,6 @@ public Builder clearEnvironment() {
           return this;
         }
         /**
    -     *
    -     *
          * 
          * A patch environment. Fields specified by the `updateMask` will be copied
          * from the patch environment into the environment under update.
    @@ -1314,15 +1191,12 @@ public Builder clearEnvironment() {
          *
          * .google.cloud.orchestration.airflow.service.v1beta1.Environment environment = 1;
          */
    -    public com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder
    -        getEnvironmentBuilder() {
    -
    +    public com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder getEnvironmentBuilder() {
    +      
           onChanged();
           return getEnvironmentFieldBuilder().getBuilder();
         }
         /**
    -     *
    -     *
          * 
          * A patch environment. Fields specified by the `updateMask` will be copied
          * from the patch environment into the environment under update.
    @@ -1330,20 +1204,15 @@ public Builder clearEnvironment() {
          *
          * .google.cloud.orchestration.airflow.service.v1beta1.Environment environment = 1;
          */
    -    public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder
    -        getEnvironmentOrBuilder() {
    +    public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder getEnvironmentOrBuilder() {
           if (environmentBuilder_ != null) {
             return environmentBuilder_.getMessageOrBuilder();
           } else {
    -        return environment_ == null
    -            ? com.google.cloud.orchestration.airflow.service.v1beta1.Environment
    -                .getDefaultInstance()
    -            : environment_;
    +        return environment_ == null ?
    +            com.google.cloud.orchestration.airflow.service.v1beta1.Environment.getDefaultInstance() : environment_;
           }
         }
         /**
    -     *
    -     *
          * 
          * A patch environment. Fields specified by the `updateMask` will be copied
          * from the patch environment into the environment under update.
    @@ -1352,17 +1221,14 @@ public Builder clearEnvironment() {
          * .google.cloud.orchestration.airflow.service.v1beta1.Environment environment = 1;
          */
         private com.google.protobuf.SingleFieldBuilderV3<
    -            com.google.cloud.orchestration.airflow.service.v1beta1.Environment,
    -            com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder,
    -            com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder>
    +        com.google.cloud.orchestration.airflow.service.v1beta1.Environment, com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder> 
             getEnvironmentFieldBuilder() {
           if (environmentBuilder_ == null) {
    -        environmentBuilder_ =
    -            new com.google.protobuf.SingleFieldBuilderV3<
    -                com.google.cloud.orchestration.airflow.service.v1beta1.Environment,
    -                com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder,
    -                com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder>(
    -                getEnvironment(), getParentForChildren(), isClean());
    +        environmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
    +            com.google.cloud.orchestration.airflow.service.v1beta1.Environment, com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder>(
    +                getEnvironment(),
    +                getParentForChildren(),
    +                isClean());
             environment_ = null;
           }
           return environmentBuilder_;
    @@ -1370,13 +1236,8 @@ public Builder clearEnvironment() {
     
         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_;
         /**
    -     *
    -     *
          * 
          * Required. A comma-separated list of paths, relative to `Environment`, of
          * fields to update.
    @@ -1500,17 +1361,13 @@ public Builder clearEnvironment() {
          *       under maintenance.
          * 
    * - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
          * Required. A comma-separated list of paths, relative to `Environment`, of
          * fields to update.
    @@ -1634,23 +1491,17 @@ public boolean hasUpdateMask() {
          *       under maintenance.
          * 
    * - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @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(); } } /** - * - * *
          * Required. A comma-separated list of paths, relative to `Environment`, of
          * fields to update.
    @@ -1774,8 +1625,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
          *       under maintenance.
          * 
    * - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -1791,8 +1641,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
          * Required. A comma-separated list of paths, relative to `Environment`, of
          * fields to update.
    @@ -1916,10 +1764,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
          *       under maintenance.
          * 
    * - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ - 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(); @@ -1930,8 +1778,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
          * Required. A comma-separated list of paths, relative to `Environment`, of
          * fields to update.
    @@ -2055,14 +1901,13 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
          *       under maintenance.
          * 
    * - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ 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; } @@ -2074,8 +1919,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
          * Required. A comma-separated list of paths, relative to `Environment`, of
          * fields to update.
    @@ -2199,8 +2042,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
          *       under maintenance.
          * 
    * - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -2214,8 +2056,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
          * Required. A comma-separated list of paths, relative to `Environment`, of
          * fields to update.
    @@ -2339,17 +2179,14 @@ public Builder clearUpdateMask() {
          *       under maintenance.
          * 
    * - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
          * Required. A comma-separated list of paths, relative to `Environment`, of
          * fields to update.
    @@ -2473,21 +2310,17 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
          *       under maintenance.
          * 
    * - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ 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_; } } /** - * - * *
          * Required. A comma-separated list of paths, relative to `Environment`, of
          * fields to update.
    @@ -2611,28 +2444,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
          *       under maintenance.
          * 
    * - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ 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); } @@ -2642,34 +2471,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest) - private static final com.google.cloud.orchestration.airflow.service.v1beta1 - .UpdateEnvironmentRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest(); + DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest(); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest - getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateEnvironmentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateEnvironmentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateEnvironmentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateEnvironmentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2681,8 +2506,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest - getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/UpdateEnvironmentRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/UpdateEnvironmentRequestOrBuilder.java similarity index 95% rename from proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/UpdateEnvironmentRequestOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/UpdateEnvironmentRequestOrBuilder.java index d9cebf31..e2129033 100644 --- a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/UpdateEnvironmentRequestOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/UpdateEnvironmentRequestOrBuilder.java @@ -1,84 +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/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; -public interface UpdateEnvironmentRequestOrBuilder - extends +public interface UpdateEnvironmentRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * The relative resource name of the environment to update, in the form:
        * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
        * 
    * * string name = 2; - * * @return The name. */ java.lang.String getName(); /** - * - * *
        * The relative resource name of the environment to update, in the form:
        * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
        * 
    * * string name = 2; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
        * A patch environment. Fields specified by the `updateMask` will be copied
        * from the patch environment into the environment under update.
        * 
    * * .google.cloud.orchestration.airflow.service.v1beta1.Environment environment = 1; - * * @return Whether the environment field is set. */ boolean hasEnvironment(); /** - * - * *
        * A patch environment. Fields specified by the `updateMask` will be copied
        * from the patch environment into the environment under update.
        * 
    * * .google.cloud.orchestration.airflow.service.v1beta1.Environment environment = 1; - * * @return The environment. */ com.google.cloud.orchestration.airflow.service.v1beta1.Environment getEnvironment(); /** - * - * *
        * A patch environment. Fields specified by the `updateMask` will be copied
        * from the patch environment into the environment under update.
    @@ -86,12 +57,9 @@ public interface UpdateEnvironmentRequestOrBuilder
        *
        * .google.cloud.orchestration.airflow.service.v1beta1.Environment environment = 1;
        */
    -  com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder
    -      getEnvironmentOrBuilder();
    +  com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder getEnvironmentOrBuilder();
     
       /**
    -   *
    -   *
        * 
        * Required. A comma-separated list of paths, relative to `Environment`, of
        * fields to update.
    @@ -215,15 +183,11 @@ public interface UpdateEnvironmentRequestOrBuilder
        *       under maintenance.
        * 
    * - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
        * Required. A comma-separated list of paths, relative to `Environment`, of
        * fields to update.
    @@ -347,15 +311,11 @@ public interface UpdateEnvironmentRequestOrBuilder
        *       under maintenance.
        * 
    * - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
        * Required. A comma-separated list of paths, relative to `Environment`, of
        * fields to update.
    @@ -479,8 +439,7 @@ public interface UpdateEnvironmentRequestOrBuilder
        *       under maintenance.
        * 
    * - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WebServerConfig.java b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WebServerConfig.java similarity index 68% rename from proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WebServerConfig.java rename to owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WebServerConfig.java index 71054be3..31d73781 100644 --- a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WebServerConfig.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WebServerConfig.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/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; /** - * - * *
      * The configuration settings for the Airflow web server App Engine instance.
      * 
    * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig} */ -public final class WebServerConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class WebServerConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig) WebServerConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use WebServerConfig.newBuilder() to construct. private WebServerConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private WebServerConfig() { machineType_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new WebServerConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private WebServerConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private WebServerConfig( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - machineType_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + machineType_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,33 +73,29 @@ private WebServerConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerConfig_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig.class, - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig.Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig.class, com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig.Builder.class); } public static final int MACHINE_TYPE_FIELD_NUMBER = 1; private volatile java.lang.Object machineType_; /** - * - * *
        * Optional. Machine type on which Airflow web server is running.
        * It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or
    @@ -128,7 +106,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        * 
    * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The machineType. */ @java.lang.Override @@ -137,15 +114,14 @@ public java.lang.String getMachineType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); machineType_ = s; return s; } } /** - * - * *
        * Optional. Machine type on which Airflow web server is running.
        * It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or
    @@ -156,15 +132,16 @@ public java.lang.String getMachineType() {
        * 
    * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for machineType. */ @java.lang.Override - public com.google.protobuf.ByteString getMachineTypeBytes() { + public com.google.protobuf.ByteString + getMachineTypeBytes() { java.lang.Object ref = machineType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); machineType_ = b; return b; } else { @@ -173,7 +150,6 @@ public com.google.protobuf.ByteString getMachineTypeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -185,7 +161,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(machineType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, machineType_); } @@ -209,15 +186,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.orchestration.airflow.service.v1beta1.WebServerConfig)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig other = - (com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig) obj; + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig other = (com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig) obj; - if (!getMachineType().equals(other.getMachineType())) return false; + if (!getMachineType() + .equals(other.getMachineType())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -237,145 +214,134 @@ public int hashCode() { } public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig 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.orchestration.airflow.service.v1beta1.WebServerConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig - 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.orchestration.airflow.service.v1beta1.WebServerConfig 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.orchestration.airflow.service.v1beta1.WebServerConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig prototype) { + public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 configuration settings for the Airflow web server App Engine instance.
        * 
    * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig) com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerConfig_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig.class, - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig.Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig.class, com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig.Builder.class); } - // Construct using - // com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig.newBuilder() + // Construct using com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -385,22 +351,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerConfig_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig - getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig - .getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig.getDefaultInstance(); } @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig build() { - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig result = - buildPartial(); + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -409,8 +372,7 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig bu @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig buildPartial() { - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig result = - new com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig(this); + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig result = new com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig(this); result.machineType_ = machineType_; onBuilt(); return result; @@ -420,51 +382,46 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig bu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig) { - return mergeFrom( - (com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig) other); + return mergeFrom((com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig other) { - if (other - == com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig other) { + if (other == com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig.getDefaultInstance()) return this; if (!other.getMachineType().isEmpty()) { machineType_ = other.machineType_; onChanged(); @@ -488,9 +445,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -502,8 +457,6 @@ public Builder mergeFrom( private java.lang.Object machineType_ = ""; /** - * - * *
          * Optional. Machine type on which Airflow web server is running.
          * It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or
    @@ -514,13 +467,13 @@ public Builder mergeFrom(
          * 
    * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The machineType. */ public java.lang.String getMachineType() { java.lang.Object ref = machineType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); machineType_ = s; return s; @@ -529,8 +482,6 @@ public java.lang.String getMachineType() { } } /** - * - * *
          * Optional. Machine type on which Airflow web server is running.
          * It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or
    @@ -541,14 +492,15 @@ public java.lang.String getMachineType() {
          * 
    * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for machineType. */ - public com.google.protobuf.ByteString getMachineTypeBytes() { + public com.google.protobuf.ByteString + getMachineTypeBytes() { java.lang.Object ref = machineType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); machineType_ = b; return b; } else { @@ -556,8 +508,6 @@ public com.google.protobuf.ByteString getMachineTypeBytes() { } } /** - * - * *
          * Optional. Machine type on which Airflow web server is running.
          * It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or
    @@ -568,22 +518,20 @@ public com.google.protobuf.ByteString getMachineTypeBytes() {
          * 
    * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The machineType to set. * @return This builder for chaining. */ - public Builder setMachineType(java.lang.String value) { + public Builder setMachineType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + machineType_ = value; onChanged(); return this; } /** - * - * *
          * Optional. Machine type on which Airflow web server is running.
          * It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or
    @@ -594,18 +542,15 @@ public Builder setMachineType(java.lang.String value) {
          * 
    * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearMachineType() { - + machineType_ = getDefaultInstance().getMachineType(); onChanged(); return this; } /** - * - * *
          * Optional. Machine type on which Airflow web server is running.
          * It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or
    @@ -616,23 +561,23 @@ public Builder clearMachineType() {
          * 
    * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for machineType to set. * @return This builder for chaining. */ - public Builder setMachineTypeBytes(com.google.protobuf.ByteString value) { + public Builder setMachineTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + machineType_ = 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); } @@ -642,32 +587,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig) - private static final com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig(); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig - getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WebServerConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WebServerConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WebServerConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WebServerConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -679,8 +622,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig - getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WebServerConfigOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WebServerConfigOrBuilder.java similarity index 66% rename from proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WebServerConfigOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WebServerConfigOrBuilder.java index 35a3328d..7f45b29a 100644 --- a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WebServerConfigOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WebServerConfigOrBuilder.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/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; -public interface WebServerConfigOrBuilder - extends +public interface WebServerConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * Optional. Machine type on which Airflow web server is running.
        * It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or
    @@ -36,13 +18,10 @@ public interface WebServerConfigOrBuilder
        * 
    * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The machineType. */ java.lang.String getMachineType(); /** - * - * *
        * Optional. Machine type on which Airflow web server is running.
        * It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or
    @@ -53,8 +32,8 @@ public interface WebServerConfigOrBuilder
        * 
    * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for machineType. */ - com.google.protobuf.ByteString getMachineTypeBytes(); + com.google.protobuf.ByteString + getMachineTypeBytes(); } diff --git a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WebServerNetworkAccessControl.java b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WebServerNetworkAccessControl.java similarity index 57% rename from proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WebServerNetworkAccessControl.java rename to owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WebServerNetworkAccessControl.java index 37dd8bdb..41d8dffa 100644 --- a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WebServerNetworkAccessControl.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WebServerNetworkAccessControl.java @@ -1,58 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; /** - * - * *
      * Network-level access control policy for the Airflow web server.
      * 
    * - * Protobuf type {@code - * google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl} + * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl} */ -public final class WebServerNetworkAccessControl extends com.google.protobuf.GeneratedMessageV3 - implements +public final class WebServerNetworkAccessControl extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl) WebServerNetworkAccessControlOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use WebServerNetworkAccessControl.newBuilder() to construct. private WebServerNetworkAccessControl(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private WebServerNetworkAccessControl() { allowedIpRanges_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new WebServerNetworkAccessControl(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private WebServerNetworkAccessControl( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,29 +54,22 @@ private WebServerNetworkAccessControl( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - allowedIpRanges_ = - new java.util.ArrayList< - com.google.cloud.orchestration.airflow.service.v1beta1 - .WebServerNetworkAccessControl.AllowedIpRange>(); - mutable_bitField0_ |= 0x00000001; - } - allowedIpRanges_.add( - input.readMessage( - com.google.cloud.orchestration.airflow.service.v1beta1 - .WebServerNetworkAccessControl.AllowedIpRange.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + allowedIpRanges_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + allowedIpRanges_.add( + input.readMessage(com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -102,7 +77,8 @@ private WebServerNetworkAccessControl( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { allowedIpRanges_ = java.util.Collections.unmodifiableList(allowedIpRanges_); @@ -111,32 +87,24 @@ private WebServerNetworkAccessControl( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .class, - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.class, com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.Builder.class); } - public interface AllowedIpRangeOrBuilder - extends + public interface AllowedIpRangeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange) com.google.protobuf.MessageOrBuilder { /** - * - * *
          * IP address or range, defined using CIDR notation, of requests that this
          * rule applies to.
    @@ -148,13 +116,10 @@ public interface AllowedIpRangeOrBuilder
          * 
    * * string value = 1; - * * @return The value. */ java.lang.String getValue(); /** - * - * *
          * IP address or range, defined using CIDR notation, of requests that this
          * rule applies to.
    @@ -166,56 +131,47 @@ public interface AllowedIpRangeOrBuilder
          * 
    * * string value = 1; - * * @return The bytes for value. */ - com.google.protobuf.ByteString getValueBytes(); + com.google.protobuf.ByteString + getValueBytes(); /** - * - * *
          * Optional. User-provided description. It must contain at most 300 characters.
          * 
    * * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
          * Optional. User-provided description. It must contain at most 300 characters.
          * 
    * * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); } /** - * - * *
        * Allowed IP range with user-provided description.
        * 
    * - * Protobuf type {@code - * google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange} + * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange} */ - public static final class AllowedIpRange extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class AllowedIpRange extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange) AllowedIpRangeOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AllowedIpRange.newBuilder() to construct. private AllowedIpRange(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AllowedIpRange() { value_ = ""; description_ = ""; @@ -223,15 +179,16 @@ private AllowedIpRange() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AllowedIpRange(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AllowedIpRange( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -250,27 +207,25 @@ private AllowedIpRange( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - value_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + value_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + description_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -278,35 +233,29 @@ private AllowedIpRange( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_AllowedIpRange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_AllowedIpRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_AllowedIpRange_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_AllowedIpRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .AllowedIpRange.class, - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .AllowedIpRange.Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange.class, com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange.Builder.class); } public static final int VALUE_FIELD_NUMBER = 1; private volatile java.lang.Object value_; /** - * - * *
          * IP address or range, defined using CIDR notation, of requests that this
          * rule applies to.
    @@ -318,7 +267,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
          * 
    * * string value = 1; - * * @return The value. */ @java.lang.Override @@ -327,15 +275,14 @@ public java.lang.String getValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); value_ = s; return s; } } /** - * - * *
          * IP address or range, defined using CIDR notation, of requests that this
          * rule applies to.
    @@ -347,15 +294,16 @@ public java.lang.String getValue() {
          * 
    * * string value = 1; - * * @return The bytes for value. */ @java.lang.Override - public com.google.protobuf.ByteString getValueBytes() { + public com.google.protobuf.ByteString + getValueBytes() { java.lang.Object ref = value_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); value_ = b; return b; } else { @@ -366,14 +314,11 @@ public com.google.protobuf.ByteString getValueBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** - * - * *
          * Optional. User-provided description. It must contain at most 300 characters.
          * 
    * * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ @java.lang.Override @@ -382,29 +327,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. User-provided description. It must contain at most 300 characters.
          * 
    * * string description = 2 [(.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 { @@ -413,7 +358,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -425,7 +369,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, value_); } @@ -455,23 +400,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.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .AllowedIpRange)) { + if (!(obj instanceof com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .AllowedIpRange - other = - (com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .AllowedIpRange) - obj; + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange other = (com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange) obj; - if (!getValue().equals(other.getValue())) return false; - if (!getDescription().equals(other.getDescription())) return false; + if (!getValue() + .equals(other.getValue())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -492,115 +431,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.orchestration.airflow.service.v1beta1 - .WebServerNetworkAccessControl.AllowedIpRange - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1 - .WebServerNetworkAccessControl.AllowedIpRange - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1 - .WebServerNetworkAccessControl.AllowedIpRange - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1 - .WebServerNetworkAccessControl.AllowedIpRange - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1 - .WebServerNetworkAccessControl.AllowedIpRange - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1 - .WebServerNetworkAccessControl.AllowedIpRange - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1 - .WebServerNetworkAccessControl.AllowedIpRange - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1 - .WebServerNetworkAccessControl.AllowedIpRange - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1 - .WebServerNetworkAccessControl.AllowedIpRange - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1 - .WebServerNetworkAccessControl.AllowedIpRange - 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.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange 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.orchestration.airflow.service.v1beta1 - .WebServerNetworkAccessControl.AllowedIpRange - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1 - .WebServerNetworkAccessControl.AllowedIpRange - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .AllowedIpRange - prototype) { + public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -610,53 +522,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
          * Allowed IP range with user-provided description.
          * 
    * - * Protobuf type {@code - * google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange} + * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange) - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .AllowedIpRangeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_AllowedIpRange_descriptor; + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRangeOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_AllowedIpRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_AllowedIpRange_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_AllowedIpRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .AllowedIpRange.class, - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .AllowedIpRange.Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange.class, com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange.Builder.class); } - // Construct using - // com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange.newBuilder() + // Construct using com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -668,26 +571,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_AllowedIpRange_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_AllowedIpRange_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .AllowedIpRange - getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .AllowedIpRange.getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .AllowedIpRange - build() { - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .AllowedIpRange - result = buildPartial(); + public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange build() { + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -695,14 +591,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .AllowedIpRange - buildPartial() { - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .AllowedIpRange - result = - new com.google.cloud.orchestration.airflow.service.v1beta1 - .WebServerNetworkAccessControl.AllowedIpRange(this); + public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange buildPartial() { + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange result = new com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange(this); result.value_ = value_; result.description_ = description_; onBuilt(); @@ -713,60 +603,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .AllowedIpRange) { - return mergeFrom( - (com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .AllowedIpRange) - other); + if (other instanceof com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange) { + return mergeFrom((com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .AllowedIpRange - other) { - if (other - == com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .AllowedIpRange.getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange other) { + if (other == com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange.getDefaultInstance()) return this; if (!other.getValue().isEmpty()) { value_ = other.value_; onChanged(); @@ -790,16 +666,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .AllowedIpRange - parsedMessage = null; + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .AllowedIpRange) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -811,8 +682,6 @@ public Builder mergeFrom( private java.lang.Object value_ = ""; /** - * - * *
            * IP address or range, defined using CIDR notation, of requests that this
            * rule applies to.
    @@ -824,13 +693,13 @@ public Builder mergeFrom(
            * 
    * * string value = 1; - * * @return The value. */ public java.lang.String getValue() { java.lang.Object ref = value_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); value_ = s; return s; @@ -839,8 +708,6 @@ public java.lang.String getValue() { } } /** - * - * *
            * IP address or range, defined using CIDR notation, of requests that this
            * rule applies to.
    @@ -852,14 +719,15 @@ public java.lang.String getValue() {
            * 
    * * string value = 1; - * * @return The bytes for value. */ - public com.google.protobuf.ByteString getValueBytes() { + public com.google.protobuf.ByteString + getValueBytes() { java.lang.Object ref = value_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); value_ = b; return b; } else { @@ -867,8 +735,6 @@ public com.google.protobuf.ByteString getValueBytes() { } } /** - * - * *
            * IP address or range, defined using CIDR notation, of requests that this
            * rule applies to.
    @@ -880,22 +746,20 @@ public com.google.protobuf.ByteString getValueBytes() {
            * 
    * * string value = 1; - * * @param value The value to set. * @return This builder for chaining. */ - public Builder setValue(java.lang.String value) { + public Builder setValue( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + value_ = value; onChanged(); return this; } /** - * - * *
            * IP address or range, defined using CIDR notation, of requests that this
            * rule applies to.
    @@ -907,18 +771,15 @@ public Builder setValue(java.lang.String value) {
            * 
    * * string value = 1; - * * @return This builder for chaining. */ public Builder clearValue() { - + value_ = getDefaultInstance().getValue(); onChanged(); return this; } /** - * - * *
            * IP address or range, defined using CIDR notation, of requests that this
            * rule applies to.
    @@ -930,16 +791,16 @@ public Builder clearValue() {
            * 
    * * string value = 1; - * * @param value The bytes for value to set. * @return This builder for chaining. */ - public Builder setValueBytes(com.google.protobuf.ByteString value) { + public Builder setValueBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + value_ = value; onChanged(); return this; @@ -947,20 +808,18 @@ public Builder setValueBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
            * Optional. User-provided description. It must contain at most 300 characters.
            * 
    * * string description = 2 [(.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; @@ -969,21 +828,20 @@ public java.lang.String getDescription() { } } /** - * - * *
            * Optional. User-provided description. It must contain at most 300 characters.
            * 
    * * string description = 2 [(.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 { @@ -991,66 +849,58 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
            * Optional. User-provided description. It must contain at most 300 characters.
            * 
    * * string description = 2 [(.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. User-provided description. It must contain at most 300 characters.
            * 
    * * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
            * Optional. User-provided description. It must contain at most 300 characters.
            * 
    * * string description = 2 [(.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; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1063,36 +913,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange) - private static final com.google.cloud.orchestration.airflow.service.v1beta1 - .WebServerNetworkAccessControl.AllowedIpRange - DEFAULT_INSTANCE; - + private static final com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .AllowedIpRange(); + DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange(); } - public static com.google.cloud.orchestration.airflow.service.v1beta1 - .WebServerNetworkAccessControl.AllowedIpRange - getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AllowedIpRange parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AllowedIpRange(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AllowedIpRange parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AllowedIpRange(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1104,107 +948,73 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .AllowedIpRange - getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int ALLOWED_IP_RANGES_FIELD_NUMBER = 1; - private java.util.List< - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .AllowedIpRange> - allowedIpRanges_; + private java.util.List allowedIpRanges_; /** - * - * *
        * A collection of allowed IP ranges with descriptions.
        * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; */ @java.lang.Override - public java.util.List< - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .AllowedIpRange> - getAllowedIpRangesList() { + public java.util.List getAllowedIpRangesList() { return allowedIpRanges_; } /** - * - * *
        * A collection of allowed IP ranges with descriptions.
        * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; */ @java.lang.Override - public java.util.List< - ? extends - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .AllowedIpRangeOrBuilder> + public java.util.List getAllowedIpRangesOrBuilderList() { return allowedIpRanges_; } /** - * - * *
        * A collection of allowed IP ranges with descriptions.
        * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; */ @java.lang.Override public int getAllowedIpRangesCount() { return allowedIpRanges_.size(); } /** - * - * *
        * A collection of allowed IP ranges with descriptions.
        * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .AllowedIpRange - getAllowedIpRanges(int index) { + public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange getAllowedIpRanges(int index) { return allowedIpRanges_.get(index); } /** - * - * *
        * A collection of allowed IP ranges with descriptions.
        * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .AllowedIpRangeOrBuilder - getAllowedIpRangesOrBuilder(int index) { + public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRangeOrBuilder getAllowedIpRangesOrBuilder( + int index) { return allowedIpRanges_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1216,7 +1026,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 < allowedIpRanges_.size(); i++) { output.writeMessage(1, allowedIpRanges_.get(i)); } @@ -1230,7 +1041,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < allowedIpRanges_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, allowedIpRanges_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, allowedIpRanges_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1240,17 +1052,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.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl)) { + if (!(obj instanceof com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl other = - (com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl) obj; + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl other = (com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl) obj; - if (!getAllowedIpRangesList().equals(other.getAllowedIpRangesList())) return false; + if (!getAllowedIpRangesList() + .equals(other.getAllowedIpRangesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1271,158 +1081,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - 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.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl 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.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - prototype) { + public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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-level access control policy for the Airflow web server.
        * 
    * - * Protobuf type {@code - * google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl} + * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl) - com.google.cloud.orchestration.airflow.service.v1beta1 - .WebServerNetworkAccessControlOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_descriptor; + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControlOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .class, - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.class, com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.Builder.class); } - // Construct using - // com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.newBuilder() + // Construct using com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.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) { getAllowedIpRangesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1436,23 +1224,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - build() { - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl result = - buildPartial(); + public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl build() { + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1460,11 +1244,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - buildPartial() { - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl result = - new com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl( - this); + public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl buildPartial() { + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl result = new com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl(this); int from_bitField0_ = bitField0_; if (allowedIpRangesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -1483,55 +1264,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl) { - return mergeFrom( - (com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl) - other); + if (other instanceof com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl) { + return mergeFrom((com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - other) { - if (other - == com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl other) { + if (other == com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.getDefaultInstance()) return this; if (allowedIpRangesBuilder_ == null) { if (!other.allowedIpRanges_.isEmpty()) { if (allowedIpRanges_.isEmpty()) { @@ -1550,10 +1322,9 @@ public Builder mergeFrom( allowedIpRangesBuilder_ = null; allowedIpRanges_ = other.allowedIpRanges_; bitField0_ = (bitField0_ & ~0x00000001); - allowedIpRangesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAllowedIpRangesFieldBuilder() - : null; + allowedIpRangesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAllowedIpRangesFieldBuilder() : null; } else { allowedIpRangesBuilder_.addAllMessages(other.allowedIpRanges_); } @@ -1574,14 +1345,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - parsedMessage = null; + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1590,48 +1358,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private java.util.List< - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .AllowedIpRange> - allowedIpRanges_ = java.util.Collections.emptyList(); - + private java.util.List allowedIpRanges_ = + java.util.Collections.emptyList(); private void ensureAllowedIpRangesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - allowedIpRanges_ = - new java.util.ArrayList< - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .AllowedIpRange>(allowedIpRanges_); + allowedIpRanges_ = new java.util.ArrayList(allowedIpRanges_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .AllowedIpRange, - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .AllowedIpRange.Builder, - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .AllowedIpRangeOrBuilder> - allowedIpRangesBuilder_; + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange, com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRangeOrBuilder> allowedIpRangesBuilder_; /** - * - * *
          * A collection of allowed IP ranges with descriptions.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; */ - public java.util.List< - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .AllowedIpRange> - getAllowedIpRangesList() { + public java.util.List getAllowedIpRangesList() { if (allowedIpRangesBuilder_ == null) { return java.util.Collections.unmodifiableList(allowedIpRanges_); } else { @@ -1639,15 +1387,11 @@ private void ensureAllowedIpRangesIsMutable() { } } /** - * - * *
          * A collection of allowed IP ranges with descriptions.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; */ public int getAllowedIpRangesCount() { if (allowedIpRangesBuilder_ == null) { @@ -1657,19 +1401,13 @@ public int getAllowedIpRangesCount() { } } /** - * - * *
          * A collection of allowed IP ranges with descriptions.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; */ - public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .AllowedIpRange - getAllowedIpRanges(int index) { + public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange getAllowedIpRanges(int index) { if (allowedIpRangesBuilder_ == null) { return allowedIpRanges_.get(index); } else { @@ -1677,21 +1415,14 @@ public int getAllowedIpRangesCount() { } } /** - * - * *
          * A collection of allowed IP ranges with descriptions.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; */ public Builder setAllowedIpRanges( - int index, - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .AllowedIpRange - value) { + int index, com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange value) { if (allowedIpRangesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1705,21 +1436,14 @@ public Builder setAllowedIpRanges( return this; } /** - * - * *
          * A collection of allowed IP ranges with descriptions.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; */ public Builder setAllowedIpRanges( - int index, - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .AllowedIpRange.Builder - builderForValue) { + int index, com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange.Builder builderForValue) { if (allowedIpRangesBuilder_ == null) { ensureAllowedIpRangesIsMutable(); allowedIpRanges_.set(index, builderForValue.build()); @@ -1730,20 +1454,13 @@ public Builder setAllowedIpRanges( return this; } /** - * - * *
          * A collection of allowed IP ranges with descriptions.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; */ - public Builder addAllowedIpRanges( - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .AllowedIpRange - value) { + public Builder addAllowedIpRanges(com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange value) { if (allowedIpRangesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1757,21 +1474,14 @@ public Builder addAllowedIpRanges( return this; } /** - * - * *
          * A collection of allowed IP ranges with descriptions.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; */ public Builder addAllowedIpRanges( - int index, - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .AllowedIpRange - value) { + int index, com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange value) { if (allowedIpRangesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1785,20 +1495,14 @@ public Builder addAllowedIpRanges( return this; } /** - * - * *
          * A collection of allowed IP ranges with descriptions.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; */ public Builder addAllowedIpRanges( - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .AllowedIpRange.Builder - builderForValue) { + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange.Builder builderForValue) { if (allowedIpRangesBuilder_ == null) { ensureAllowedIpRangesIsMutable(); allowedIpRanges_.add(builderForValue.build()); @@ -1809,21 +1513,14 @@ public Builder addAllowedIpRanges( return this; } /** - * - * *
          * A collection of allowed IP ranges with descriptions.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; */ public Builder addAllowedIpRanges( - int index, - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .AllowedIpRange.Builder - builderForValue) { + int index, com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange.Builder builderForValue) { if (allowedIpRangesBuilder_ == null) { ensureAllowedIpRangesIsMutable(); allowedIpRanges_.add(index, builderForValue.build()); @@ -1834,25 +1531,18 @@ public Builder addAllowedIpRanges( return this; } /** - * - * *
          * A collection of allowed IP ranges with descriptions.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; */ public Builder addAllAllowedIpRanges( - java.lang.Iterable< - ? extends - com.google.cloud.orchestration.airflow.service.v1beta1 - .WebServerNetworkAccessControl.AllowedIpRange> - values) { + java.lang.Iterable values) { if (allowedIpRangesBuilder_ == null) { ensureAllowedIpRangesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, allowedIpRanges_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, allowedIpRanges_); onChanged(); } else { allowedIpRangesBuilder_.addAllMessages(values); @@ -1860,15 +1550,11 @@ public Builder addAllAllowedIpRanges( return this; } /** - * - * *
          * A collection of allowed IP ranges with descriptions.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; */ public Builder clearAllowedIpRanges() { if (allowedIpRangesBuilder_ == null) { @@ -1881,15 +1567,11 @@ public Builder clearAllowedIpRanges() { return this; } /** - * - * *
          * A collection of allowed IP ranges with descriptions.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; */ public Builder removeAllowedIpRanges(int index) { if (allowedIpRangesBuilder_ == null) { @@ -1902,57 +1584,39 @@ public Builder removeAllowedIpRanges(int index) { return this; } /** - * - * *
          * A collection of allowed IP ranges with descriptions.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; */ - public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .AllowedIpRange.Builder - getAllowedIpRangesBuilder(int index) { + public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange.Builder getAllowedIpRangesBuilder( + int index) { return getAllowedIpRangesFieldBuilder().getBuilder(index); } /** - * - * *
          * A collection of allowed IP ranges with descriptions.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; */ - public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .AllowedIpRangeOrBuilder - getAllowedIpRangesOrBuilder(int index) { + public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRangeOrBuilder getAllowedIpRangesOrBuilder( + int index) { if (allowedIpRangesBuilder_ == null) { - return allowedIpRanges_.get(index); - } else { + return allowedIpRanges_.get(index); } else { return allowedIpRangesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
          * A collection of allowed IP ranges with descriptions.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; */ - public java.util.List< - ? extends - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .AllowedIpRangeOrBuilder> - getAllowedIpRangesOrBuilderList() { + public java.util.List + getAllowedIpRangesOrBuilderList() { if (allowedIpRangesBuilder_ != null) { return allowedIpRangesBuilder_.getMessageOrBuilderList(); } else { @@ -1960,79 +1624,45 @@ public Builder removeAllowedIpRanges(int index) { } } /** - * - * *
          * A collection of allowed IP ranges with descriptions.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; */ - public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .AllowedIpRange.Builder - addAllowedIpRangesBuilder() { - return getAllowedIpRangesFieldBuilder() - .addBuilder( - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .AllowedIpRange.getDefaultInstance()); + public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange.Builder addAllowedIpRangesBuilder() { + return getAllowedIpRangesFieldBuilder().addBuilder( + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange.getDefaultInstance()); } /** - * - * *
          * A collection of allowed IP ranges with descriptions.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; */ - public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .AllowedIpRange.Builder - addAllowedIpRangesBuilder(int index) { - return getAllowedIpRangesFieldBuilder() - .addBuilder( - index, - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .AllowedIpRange.getDefaultInstance()); + public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange.Builder addAllowedIpRangesBuilder( + int index) { + return getAllowedIpRangesFieldBuilder().addBuilder( + index, com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange.getDefaultInstance()); } /** - * - * *
          * A collection of allowed IP ranges with descriptions.
          * 
    * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; - * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; */ - public java.util.List< - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .AllowedIpRange.Builder> - getAllowedIpRangesBuilderList() { + public java.util.List + getAllowedIpRangesBuilderList() { return getAllowedIpRangesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .AllowedIpRange, - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .AllowedIpRange.Builder, - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .AllowedIpRangeOrBuilder> + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange, com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRangeOrBuilder> getAllowedIpRangesFieldBuilder() { if (allowedIpRangesBuilder_ == null) { - allowedIpRangesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .AllowedIpRange, - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .AllowedIpRange.Builder, - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .AllowedIpRangeOrBuilder>( + allowedIpRangesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange, com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRangeOrBuilder>( allowedIpRanges_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -2041,9 +1671,9 @@ public Builder removeAllowedIpRanges(int index) { } return allowedIpRangesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2053,34 +1683,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl) - private static final com.google.cloud.orchestration.airflow.service.v1beta1 - .WebServerNetworkAccessControl - DEFAULT_INSTANCE; - + private static final com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl(); + DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl(); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WebServerNetworkAccessControl parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WebServerNetworkAccessControl(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WebServerNetworkAccessControl parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WebServerNetworkAccessControl(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2092,8 +1718,9 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WebServerNetworkAccessControlOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WebServerNetworkAccessControlOrBuilder.java new file mode 100644 index 00000000..d764f577 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WebServerNetworkAccessControlOrBuilder.java @@ -0,0 +1,53 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/orchestration/airflow/service/v1beta1/environments.proto + +package com.google.cloud.orchestration.airflow.service.v1beta1; + +public interface WebServerNetworkAccessControlOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl) + com.google.protobuf.MessageOrBuilder { + + /** + *
    +   * A collection of allowed IP ranges with descriptions.
    +   * 
    + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + */ + java.util.List + getAllowedIpRangesList(); + /** + *
    +   * A collection of allowed IP ranges with descriptions.
    +   * 
    + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + */ + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange getAllowedIpRanges(int index); + /** + *
    +   * A collection of allowed IP ranges with descriptions.
    +   * 
    + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + */ + int getAllowedIpRangesCount(); + /** + *
    +   * A collection of allowed IP ranges with descriptions.
    +   * 
    + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + */ + java.util.List + getAllowedIpRangesOrBuilderList(); + /** + *
    +   * A collection of allowed IP ranges with descriptions.
    +   * 
    + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + */ + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRangeOrBuilder getAllowedIpRangesOrBuilder( + int index); +} diff --git a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WorkloadsConfig.java b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WorkloadsConfig.java similarity index 59% rename from proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WorkloadsConfig.java rename to owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WorkloadsConfig.java index 532fccc2..e1f23048 100644 --- a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WorkloadsConfig.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WorkloadsConfig.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/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; /** - * - * *
      * The Kubernetes workloads configuration for GKE cluster associated with the
      * Cloud Composer environment. Supported for Cloud Composer environments in
    @@ -29,29 +12,30 @@
      *
      * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig}
      */
    -public final class WorkloadsConfig extends com.google.protobuf.GeneratedMessageV3
    -    implements
    +public final class WorkloadsConfig extends
    +    com.google.protobuf.GeneratedMessageV3 implements
         // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig)
         WorkloadsConfigOrBuilder {
    -  private static final long serialVersionUID = 0L;
    +private static final long serialVersionUID = 0L;
       // Use WorkloadsConfig.newBuilder() to construct.
       private WorkloadsConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
    -
    -  private WorkloadsConfig() {}
    +  private WorkloadsConfig() {
    +  }
     
       @java.lang.Override
       @SuppressWarnings({"unused"})
    -  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
    +  protected java.lang.Object newInstance(
    +      UnusedPrivateParameter unused) {
         return new WorkloadsConfig();
       }
     
       @java.lang.Override
    -  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
    +  public final com.google.protobuf.UnknownFieldSet
    +  getUnknownFields() {
         return this.unknownFields;
       }
    -
       private WorkloadsConfig(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    @@ -70,73 +54,52 @@ private WorkloadsConfig(
               case 0:
                 done = true;
                 break;
    -          case 10:
    -            {
    -              com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig
    -                      .SchedulerResource.Builder
    -                  subBuilder = null;
    -              if (scheduler_ != null) {
    -                subBuilder = scheduler_.toBuilder();
    -              }
    -              scheduler_ =
    -                  input.readMessage(
    -                      com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig
    -                          .SchedulerResource.parser(),
    -                      extensionRegistry);
    -              if (subBuilder != null) {
    -                subBuilder.mergeFrom(scheduler_);
    -                scheduler_ = subBuilder.buildPartial();
    -              }
    -
    -              break;
    +          case 10: {
    +            com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource.Builder subBuilder = null;
    +            if (scheduler_ != null) {
    +              subBuilder = scheduler_.toBuilder();
    +            }
    +            scheduler_ = input.readMessage(com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource.parser(), extensionRegistry);
    +            if (subBuilder != null) {
    +              subBuilder.mergeFrom(scheduler_);
    +              scheduler_ = subBuilder.buildPartial();
                 }
    -          case 18:
    -            {
    -              com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig
    -                      .WebServerResource.Builder
    -                  subBuilder = null;
    -              if (webServer_ != null) {
    -                subBuilder = webServer_.toBuilder();
    -              }
    -              webServer_ =
    -                  input.readMessage(
    -                      com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig
    -                          .WebServerResource.parser(),
    -                      extensionRegistry);
    -              if (subBuilder != null) {
    -                subBuilder.mergeFrom(webServer_);
    -                webServer_ = subBuilder.buildPartial();
    -              }
     
    -              break;
    +            break;
    +          }
    +          case 18: {
    +            com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource.Builder subBuilder = null;
    +            if (webServer_ != null) {
    +              subBuilder = webServer_.toBuilder();
    +            }
    +            webServer_ = input.readMessage(com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource.parser(), extensionRegistry);
    +            if (subBuilder != null) {
    +              subBuilder.mergeFrom(webServer_);
    +              webServer_ = subBuilder.buildPartial();
                 }
    -          case 26:
    -            {
    -              com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource
    -                      .Builder
    -                  subBuilder = null;
    -              if (worker_ != null) {
    -                subBuilder = worker_.toBuilder();
    -              }
    -              worker_ =
    -                  input.readMessage(
    -                      com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig
    -                          .WorkerResource.parser(),
    -                      extensionRegistry);
    -              if (subBuilder != null) {
    -                subBuilder.mergeFrom(worker_);
    -                worker_ = subBuilder.buildPartial();
    -              }
     
    -              break;
    +            break;
    +          }
    +          case 26: {
    +            com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource.Builder subBuilder = null;
    +            if (worker_ != null) {
    +              subBuilder = worker_.toBuilder();
                 }
    -          default:
    -            {
    -              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
    -                done = true;
    -              }
    -              break;
    +            worker_ = input.readMessage(com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource.parser(), extensionRegistry);
    +            if (subBuilder != null) {
    +              subBuilder.mergeFrom(worker_);
    +              worker_ = subBuilder.buildPartial();
                 }
    +
    +            break;
    +          }
    +          default: {
    +            if (!parseUnknownField(
    +                input, unknownFields, extensionRegistry, tag)) {
    +              done = true;
    +            }
    +            break;
    +          }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
    @@ -144,118 +107,101 @@ private WorkloadsConfig(
         } catch (com.google.protobuf.UninitializedMessageException e) {
           throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
    -      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
    +      throw new com.google.protobuf.InvalidProtocolBufferException(
    +          e).setUnfinishedMessage(this);
         } finally {
           this.unknownFields = unknownFields.build();
           makeExtensionsImmutable();
         }
       }
    -
    -  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    -    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
    -        .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_descriptor;
    +  public static final com.google.protobuf.Descriptors.Descriptor
    +      getDescriptor() {
    +    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_descriptor;
       }
     
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
    -    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
    -        .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_fieldAccessorTable
    +    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
    -            com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.class,
    -            com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.Builder.class);
    +            com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.class, com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.Builder.class);
       }
     
    -  public interface SchedulerResourceOrBuilder
    -      extends
    +  public interface SchedulerResourceOrBuilder extends
           // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource)
           com.google.protobuf.MessageOrBuilder {
     
         /**
    -     *
    -     *
          * 
          * Optional. CPU request and limit for a single Airflow scheduler replica.
          * 
    * * float cpu = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The cpu. */ float getCpu(); /** - * - * *
          * Optional. Memory (GB) request and limit for a single Airflow scheduler replica.
          * 
    * * float memory_gb = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The memoryGb. */ float getMemoryGb(); /** - * - * *
          * Optional. Storage (GB) request and limit for a single Airflow scheduler replica.
          * 
    * * float storage_gb = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The storageGb. */ float getStorageGb(); /** - * - * *
          * Optional. The number of schedulers.
          * 
    * * int32 count = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count. */ int getCount(); } /** - * - * *
        * Configuration for resources used by Airflow schedulers.
        * 
    * - * Protobuf type {@code - * google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource} + * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource} */ - public static final class SchedulerResource extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class SchedulerResource extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource) SchedulerResourceOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SchedulerResource.newBuilder() to construct. private SchedulerResource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private SchedulerResource() {} + private SchedulerResource() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SchedulerResource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private SchedulerResource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -274,33 +220,33 @@ private SchedulerResource( case 0: done = true; break; - case 13: - { - cpu_ = input.readFloat(); - break; - } - case 21: - { - memoryGb_ = input.readFloat(); - break; - } - case 29: - { - storageGb_ = input.readFloat(); - break; - } - case 32: - { - count_ = input.readInt32(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 13: { + + cpu_ = input.readFloat(); + break; + } + case 21: { + + memoryGb_ = input.readFloat(); + break; + } + case 29: { + + storageGb_ = input.readFloat(); + break; + } + case 32: { + + count_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -308,41 +254,34 @@ private SchedulerResource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_SchedulerResource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_SchedulerResource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_SchedulerResource_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_SchedulerResource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .SchedulerResource.class, - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .SchedulerResource.Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource.class, com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource.Builder.class); } public static final int CPU_FIELD_NUMBER = 1; private float cpu_; /** - * - * *
          * Optional. CPU request and limit for a single Airflow scheduler replica.
          * 
    * * float cpu = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The cpu. */ @java.lang.Override @@ -353,14 +292,11 @@ public float getCpu() { public static final int MEMORY_GB_FIELD_NUMBER = 2; private float memoryGb_; /** - * - * *
          * Optional. Memory (GB) request and limit for a single Airflow scheduler replica.
          * 
    * * float memory_gb = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The memoryGb. */ @java.lang.Override @@ -371,14 +307,11 @@ public float getMemoryGb() { public static final int STORAGE_GB_FIELD_NUMBER = 3; private float storageGb_; /** - * - * *
          * Optional. Storage (GB) request and limit for a single Airflow scheduler replica.
          * 
    * * float storage_gb = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The storageGb. */ @java.lang.Override @@ -389,14 +322,11 @@ public float getStorageGb() { public static final int COUNT_FIELD_NUMBER = 4; private int count_; /** - * - * *
          * Optional. The number of schedulers.
          * 
    * * int32 count = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count. */ @java.lang.Override @@ -405,7 +335,6 @@ public int getCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -417,7 +346,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 (java.lang.Float.floatToRawIntBits(cpu_) != 0) { output.writeFloat(1, cpu_); } @@ -440,16 +370,20 @@ public int getSerializedSize() { size = 0; if (java.lang.Float.floatToRawIntBits(cpu_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(1, cpu_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(1, cpu_); } if (java.lang.Float.floatToRawIntBits(memoryGb_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, memoryGb_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(2, memoryGb_); } if (java.lang.Float.floatToRawIntBits(storageGb_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(3, storageGb_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(3, storageGb_); } if (count_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, count_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, count_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -459,27 +393,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .SchedulerResource)) { + if (!(obj instanceof com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource - other = - (com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .SchedulerResource) - obj; + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource other = (com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource) obj; if (java.lang.Float.floatToIntBits(getCpu()) - != java.lang.Float.floatToIntBits(other.getCpu())) return false; + != java.lang.Float.floatToIntBits( + other.getCpu())) return false; if (java.lang.Float.floatToIntBits(getMemoryGb()) - != java.lang.Float.floatToIntBits(other.getMemoryGb())) return false; + != java.lang.Float.floatToIntBits( + other.getMemoryGb())) return false; if (java.lang.Float.floatToIntBits(getStorageGb()) - != java.lang.Float.floatToIntBits(other.getStorageGb())) return false; - if (getCount() != other.getCount()) return false; + != java.lang.Float.floatToIntBits( + other.getStorageGb())) return false; + if (getCount() + != other.getCount()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -492,11 +423,14 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + CPU_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getCpu()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getCpu()); hash = (37 * hash) + MEMORY_GB_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getMemoryGb()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getMemoryGb()); hash = (37 * hash) + STORAGE_GB_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getStorageGb()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getStorageGb()); hash = (37 * hash) + COUNT_FIELD_NUMBER; hash = (53 * hash) + getCount(); hash = (29 * hash) + unknownFields.hashCode(); @@ -504,114 +438,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .SchedulerResource - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .SchedulerResource - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .SchedulerResource - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .SchedulerResource - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .SchedulerResource - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .SchedulerResource - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .SchedulerResource - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .SchedulerResource - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .SchedulerResource - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .SchedulerResource - 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.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource 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.orchestration.airflow.service.v1beta1.WorkloadsConfig - .SchedulerResource - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .SchedulerResource - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource - prototype) { + public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -621,53 +529,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
          * Configuration for resources used by Airflow schedulers.
          * 
    * - * Protobuf type {@code - * google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource} + * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource) - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .SchedulerResourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_SchedulerResource_descriptor; + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResourceOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_SchedulerResource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_SchedulerResource_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_SchedulerResource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .SchedulerResource.class, - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .SchedulerResource.Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource.class, com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource.Builder.class); } - // Construct using - // com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource.newBuilder() + // Construct using com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -683,25 +582,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_SchedulerResource_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_SchedulerResource_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .SchedulerResource - getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .SchedulerResource.getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .SchedulerResource - build() { - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource - result = buildPartial(); + public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource build() { + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -709,13 +602,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .SchedulerResource - buildPartial() { - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource - result = - new com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .SchedulerResource(this); + public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource buildPartial() { + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource result = new com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource(this); result.cpu_ = cpu_; result.memoryGb_ = memoryGb_; result.storageGb_ = storageGb_; @@ -728,59 +616,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .SchedulerResource) { - return mergeFrom( - (com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .SchedulerResource) - other); + if (other instanceof com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource) { + return mergeFrom((com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource - other) { - if (other - == com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .SchedulerResource.getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource other) { + if (other == com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource.getDefaultInstance()) return this; if (other.getCpu() != 0F) { setCpu(other.getCpu()); } @@ -808,15 +683,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource - parsedMessage = null; + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .SchedulerResource) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -826,16 +697,13 @@ public Builder mergeFrom( return this; } - private float cpu_; + private float cpu_ ; /** - * - * *
            * Optional. CPU request and limit for a single Airflow scheduler replica.
            * 
    * * float cpu = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The cpu. */ @java.lang.Override @@ -843,51 +711,42 @@ public float getCpu() { return cpu_; } /** - * - * *
            * Optional. CPU request and limit for a single Airflow scheduler replica.
            * 
    * * float cpu = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The cpu to set. * @return This builder for chaining. */ public Builder setCpu(float value) { - + cpu_ = value; onChanged(); return this; } /** - * - * *
            * Optional. CPU request and limit for a single Airflow scheduler replica.
            * 
    * * float cpu = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearCpu() { - + cpu_ = 0F; onChanged(); return this; } - private float memoryGb_; + private float memoryGb_ ; /** - * - * *
            * Optional. Memory (GB) request and limit for a single Airflow scheduler replica.
            * 
    * * float memory_gb = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The memoryGb. */ @java.lang.Override @@ -895,51 +754,42 @@ public float getMemoryGb() { return memoryGb_; } /** - * - * *
            * Optional. Memory (GB) request and limit for a single Airflow scheduler replica.
            * 
    * * float memory_gb = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The memoryGb to set. * @return This builder for chaining. */ public Builder setMemoryGb(float value) { - + memoryGb_ = value; onChanged(); return this; } /** - * - * *
            * Optional. Memory (GB) request and limit for a single Airflow scheduler replica.
            * 
    * * float memory_gb = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearMemoryGb() { - + memoryGb_ = 0F; onChanged(); return this; } - private float storageGb_; + private float storageGb_ ; /** - * - * *
            * Optional. Storage (GB) request and limit for a single Airflow scheduler replica.
            * 
    * * float storage_gb = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The storageGb. */ @java.lang.Override @@ -947,51 +797,42 @@ public float getStorageGb() { return storageGb_; } /** - * - * *
            * Optional. Storage (GB) request and limit for a single Airflow scheduler replica.
            * 
    * * float storage_gb = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The storageGb to set. * @return This builder for chaining. */ public Builder setStorageGb(float value) { - + storageGb_ = value; onChanged(); return this; } /** - * - * *
            * Optional. Storage (GB) request and limit for a single Airflow scheduler replica.
            * 
    * * float storage_gb = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearStorageGb() { - + storageGb_ = 0F; onChanged(); return this; } - private int count_; + private int count_ ; /** - * - * *
            * Optional. The number of schedulers.
            * 
    * * int32 count = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count. */ @java.lang.Override @@ -999,41 +840,34 @@ public int getCount() { return count_; } /** - * - * *
            * Optional. The number of schedulers.
            * 
    * * int32 count = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The count to set. * @return This builder for chaining. */ public Builder setCount(int value) { - + count_ = value; onChanged(); return this; } /** - * - * *
            * Optional. The number of schedulers.
            * 
    * * int32 count = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearCount() { - + count_ = 0; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1046,36 +880,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource) - private static final com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .SchedulerResource - DEFAULT_INSTANCE; - + private static final com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .SchedulerResource(); + DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource(); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .SchedulerResource - getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SchedulerResource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SchedulerResource(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SchedulerResource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SchedulerResource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1087,89 +915,77 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource - getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface WebServerResourceOrBuilder - extends + public interface WebServerResourceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource) com.google.protobuf.MessageOrBuilder { /** - * - * *
          * Optional. CPU request and limit for Airflow web server.
          * 
    * * float cpu = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The cpu. */ float getCpu(); /** - * - * *
          * Optional. Memory (GB) request and limit for Airflow web server.
          * 
    * * float memory_gb = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The memoryGb. */ float getMemoryGb(); /** - * - * *
          * Optional. Storage (GB) request and limit for Airflow web server.
          * 
    * * float storage_gb = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The storageGb. */ float getStorageGb(); } /** - * - * *
        * Configuration for resources used by Airflow web server.
        * 
    * - * Protobuf type {@code - * google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource} + * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource} */ - public static final class WebServerResource extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class WebServerResource extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource) WebServerResourceOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use WebServerResource.newBuilder() to construct. private WebServerResource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private WebServerResource() {} + private WebServerResource() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new WebServerResource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private WebServerResource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1188,28 +1004,28 @@ private WebServerResource( case 0: done = true; break; - case 13: - { - cpu_ = input.readFloat(); - break; - } - case 21: - { - memoryGb_ = input.readFloat(); - break; - } - case 29: - { - storageGb_ = input.readFloat(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 13: { + + cpu_ = input.readFloat(); + break; + } + case 21: { + + memoryGb_ = input.readFloat(); + break; + } + case 29: { + + storageGb_ = input.readFloat(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1217,41 +1033,34 @@ private WebServerResource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WebServerResource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WebServerResource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WebServerResource_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WebServerResource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WebServerResource.class, - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WebServerResource.Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource.class, com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource.Builder.class); } public static final int CPU_FIELD_NUMBER = 1; private float cpu_; /** - * - * *
          * Optional. CPU request and limit for Airflow web server.
          * 
    * * float cpu = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The cpu. */ @java.lang.Override @@ -1262,14 +1071,11 @@ public float getCpu() { public static final int MEMORY_GB_FIELD_NUMBER = 2; private float memoryGb_; /** - * - * *
          * Optional. Memory (GB) request and limit for Airflow web server.
          * 
    * * float memory_gb = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The memoryGb. */ @java.lang.Override @@ -1280,14 +1086,11 @@ public float getMemoryGb() { public static final int STORAGE_GB_FIELD_NUMBER = 3; private float storageGb_; /** - * - * *
          * Optional. Storage (GB) request and limit for Airflow web server.
          * 
    * * float storage_gb = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The storageGb. */ @java.lang.Override @@ -1296,7 +1099,6 @@ public float getStorageGb() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1308,7 +1110,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 (java.lang.Float.floatToRawIntBits(cpu_) != 0) { output.writeFloat(1, cpu_); } @@ -1328,13 +1131,16 @@ public int getSerializedSize() { size = 0; if (java.lang.Float.floatToRawIntBits(cpu_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(1, cpu_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(1, cpu_); } if (java.lang.Float.floatToRawIntBits(memoryGb_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, memoryGb_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(2, memoryGb_); } if (java.lang.Float.floatToRawIntBits(storageGb_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(3, storageGb_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(3, storageGb_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1344,26 +1150,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.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WebServerResource)) { + if (!(obj instanceof com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource - other = - (com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WebServerResource) - obj; + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource other = (com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource) obj; if (java.lang.Float.floatToIntBits(getCpu()) - != java.lang.Float.floatToIntBits(other.getCpu())) return false; + != java.lang.Float.floatToIntBits( + other.getCpu())) return false; if (java.lang.Float.floatToIntBits(getMemoryGb()) - != java.lang.Float.floatToIntBits(other.getMemoryGb())) return false; + != java.lang.Float.floatToIntBits( + other.getMemoryGb())) return false; if (java.lang.Float.floatToIntBits(getStorageGb()) - != java.lang.Float.floatToIntBits(other.getStorageGb())) return false; + != java.lang.Float.floatToIntBits( + other.getStorageGb())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1376,124 +1178,101 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + CPU_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getCpu()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getCpu()); hash = (37 * hash) + MEMORY_GB_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getMemoryGb()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getMemoryGb()); hash = (37 * hash) + STORAGE_GB_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getStorageGb()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getStorageGb()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WebServerResource - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WebServerResource - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WebServerResource - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WebServerResource - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WebServerResource - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WebServerResource - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WebServerResource - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WebServerResource - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WebServerResource - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WebServerResource - 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.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource 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.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WebServerResource - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WebServerResource - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource - prototype) { + public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1503,53 +1282,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
          * Configuration for resources used by Airflow web server.
          * 
    * - * Protobuf type {@code - * google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource} + * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource) - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WebServerResourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WebServerResource_descriptor; + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResourceOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WebServerResource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WebServerResource_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WebServerResource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WebServerResource.class, - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WebServerResource.Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource.class, com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource.Builder.class); } - // Construct using - // com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource.newBuilder() + // Construct using com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1563,25 +1333,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WebServerResource_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WebServerResource_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WebServerResource - getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WebServerResource.getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WebServerResource - build() { - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource - result = buildPartial(); + public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource build() { + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1589,13 +1353,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WebServerResource - buildPartial() { - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource - result = - new com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WebServerResource(this); + public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource buildPartial() { + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource result = new com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource(this); result.cpu_ = cpu_; result.memoryGb_ = memoryGb_; result.storageGb_ = storageGb_; @@ -1607,59 +1366,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WebServerResource) { - return mergeFrom( - (com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WebServerResource) - other); + if (other instanceof com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource) { + return mergeFrom((com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource - other) { - if (other - == com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WebServerResource.getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource other) { + if (other == com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource.getDefaultInstance()) return this; if (other.getCpu() != 0F) { setCpu(other.getCpu()); } @@ -1684,15 +1430,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource - parsedMessage = null; + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WebServerResource) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1702,16 +1444,13 @@ public Builder mergeFrom( return this; } - private float cpu_; + private float cpu_ ; /** - * - * *
            * Optional. CPU request and limit for Airflow web server.
            * 
    * * float cpu = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The cpu. */ @java.lang.Override @@ -1719,51 +1458,42 @@ public float getCpu() { return cpu_; } /** - * - * *
            * Optional. CPU request and limit for Airflow web server.
            * 
    * * float cpu = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The cpu to set. * @return This builder for chaining. */ public Builder setCpu(float value) { - + cpu_ = value; onChanged(); return this; } /** - * - * *
            * Optional. CPU request and limit for Airflow web server.
            * 
    * * float cpu = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearCpu() { - + cpu_ = 0F; onChanged(); return this; } - private float memoryGb_; + private float memoryGb_ ; /** - * - * *
            * Optional. Memory (GB) request and limit for Airflow web server.
            * 
    * * float memory_gb = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The memoryGb. */ @java.lang.Override @@ -1771,51 +1501,42 @@ public float getMemoryGb() { return memoryGb_; } /** - * - * *
            * Optional. Memory (GB) request and limit for Airflow web server.
            * 
    * * float memory_gb = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The memoryGb to set. * @return This builder for chaining. */ public Builder setMemoryGb(float value) { - + memoryGb_ = value; onChanged(); return this; } /** - * - * *
            * Optional. Memory (GB) request and limit for Airflow web server.
            * 
    * * float memory_gb = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearMemoryGb() { - + memoryGb_ = 0F; onChanged(); return this; } - private float storageGb_; + private float storageGb_ ; /** - * - * *
            * Optional. Storage (GB) request and limit for Airflow web server.
            * 
    * * float storage_gb = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The storageGb. */ @java.lang.Override @@ -1823,41 +1544,34 @@ public float getStorageGb() { return storageGb_; } /** - * - * *
            * Optional. Storage (GB) request and limit for Airflow web server.
            * 
    * * float storage_gb = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The storageGb to set. * @return This builder for chaining. */ public Builder setStorageGb(float value) { - + storageGb_ = value; onChanged(); return this; } /** - * - * *
            * Optional. Storage (GB) request and limit for Airflow web server.
            * 
    * * float storage_gb = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearStorageGb() { - + storageGb_ = 0F; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1870,36 +1584,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource) - private static final com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WebServerResource - DEFAULT_INSTANCE; - + private static final com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WebServerResource(); + DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource(); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WebServerResource - getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WebServerResource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WebServerResource(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WebServerResource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WebServerResource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1911,115 +1619,97 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource - getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface WorkerResourceOrBuilder - extends + public interface WorkerResourceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource) com.google.protobuf.MessageOrBuilder { /** - * - * *
          * Optional. CPU request and limit for a single Airflow worker replica.
          * 
    * * float cpu = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The cpu. */ float getCpu(); /** - * - * *
          * Optional. Memory (GB) request and limit for a single Airflow worker replica.
          * 
    * * float memory_gb = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The memoryGb. */ float getMemoryGb(); /** - * - * *
          * Optional. Storage (GB) request and limit for a single Airflow worker replica.
          * 
    * * float storage_gb = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The storageGb. */ float getStorageGb(); /** - * - * *
          * Optional. Minimum number of workers for autoscaling.
          * 
    * * int32 min_count = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The minCount. */ int getMinCount(); /** - * - * *
          * Optional. Maximum number of workers for autoscaling.
          * 
    * * int32 max_count = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The maxCount. */ int getMaxCount(); } /** - * - * *
        * Configuration for resources used by Airflow workers.
        * 
    * - * Protobuf type {@code - * google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource} + * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource} */ - public static final class WorkerResource extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class WorkerResource extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource) WorkerResourceOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use WorkerResource.newBuilder() to construct. private WorkerResource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private WorkerResource() {} + private WorkerResource() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new WorkerResource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private WorkerResource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -2038,38 +1728,38 @@ private WorkerResource( case 0: done = true; break; - case 13: - { - cpu_ = input.readFloat(); - break; - } - case 21: - { - memoryGb_ = input.readFloat(); - break; - } - case 29: - { - storageGb_ = input.readFloat(); - break; - } - case 32: - { - minCount_ = input.readInt32(); - break; - } - case 40: - { - maxCount_ = input.readInt32(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 13: { + + cpu_ = input.readFloat(); + break; + } + case 21: { + + memoryGb_ = input.readFloat(); + break; + } + case 29: { + + storageGb_ = input.readFloat(); + break; + } + case 32: { + + minCount_ = input.readInt32(); + break; + } + case 40: { + + maxCount_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2077,41 +1767,34 @@ private WorkerResource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WorkerResource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WorkerResource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WorkerResource_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WorkerResource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource - .class, - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource - .Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource.class, com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource.Builder.class); } public static final int CPU_FIELD_NUMBER = 1; private float cpu_; /** - * - * *
          * Optional. CPU request and limit for a single Airflow worker replica.
          * 
    * * float cpu = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The cpu. */ @java.lang.Override @@ -2122,14 +1805,11 @@ public float getCpu() { public static final int MEMORY_GB_FIELD_NUMBER = 2; private float memoryGb_; /** - * - * *
          * Optional. Memory (GB) request and limit for a single Airflow worker replica.
          * 
    * * float memory_gb = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The memoryGb. */ @java.lang.Override @@ -2140,14 +1820,11 @@ public float getMemoryGb() { public static final int STORAGE_GB_FIELD_NUMBER = 3; private float storageGb_; /** - * - * *
          * Optional. Storage (GB) request and limit for a single Airflow worker replica.
          * 
    * * float storage_gb = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The storageGb. */ @java.lang.Override @@ -2158,14 +1835,11 @@ public float getStorageGb() { public static final int MIN_COUNT_FIELD_NUMBER = 4; private int minCount_; /** - * - * *
          * Optional. Minimum number of workers for autoscaling.
          * 
    * * int32 min_count = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The minCount. */ @java.lang.Override @@ -2176,14 +1850,11 @@ public int getMinCount() { public static final int MAX_COUNT_FIELD_NUMBER = 5; private int maxCount_; /** - * - * *
          * Optional. Maximum number of workers for autoscaling.
          * 
    * * int32 max_count = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The maxCount. */ @java.lang.Override @@ -2192,7 +1863,6 @@ public int getMaxCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2204,7 +1874,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 (java.lang.Float.floatToRawIntBits(cpu_) != 0) { output.writeFloat(1, cpu_); } @@ -2230,19 +1901,24 @@ public int getSerializedSize() { size = 0; if (java.lang.Float.floatToRawIntBits(cpu_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(1, cpu_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(1, cpu_); } if (java.lang.Float.floatToRawIntBits(memoryGb_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, memoryGb_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(2, memoryGb_); } if (java.lang.Float.floatToRawIntBits(storageGb_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(3, storageGb_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(3, storageGb_); } if (minCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, minCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, minCount_); } if (maxCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, maxCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, maxCount_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2252,25 +1928,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource)) { + if (!(obj instanceof com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource other = - (com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource) - obj; + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource other = (com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource) obj; if (java.lang.Float.floatToIntBits(getCpu()) - != java.lang.Float.floatToIntBits(other.getCpu())) return false; + != java.lang.Float.floatToIntBits( + other.getCpu())) return false; if (java.lang.Float.floatToIntBits(getMemoryGb()) - != java.lang.Float.floatToIntBits(other.getMemoryGb())) return false; + != java.lang.Float.floatToIntBits( + other.getMemoryGb())) return false; if (java.lang.Float.floatToIntBits(getStorageGb()) - != java.lang.Float.floatToIntBits(other.getStorageGb())) return false; - if (getMinCount() != other.getMinCount()) return false; - if (getMaxCount() != other.getMaxCount()) return false; + != java.lang.Float.floatToIntBits( + other.getStorageGb())) return false; + if (getMinCount() + != other.getMinCount()) return false; + if (getMaxCount() + != other.getMaxCount()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2283,11 +1960,14 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + CPU_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getCpu()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getCpu()); hash = (37 * hash) + MEMORY_GB_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getMemoryGb()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getMemoryGb()); hash = (37 * hash) + STORAGE_GB_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getStorageGb()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getStorageGb()); hash = (37 * hash) + MIN_COUNT_FIELD_NUMBER; hash = (53 * hash) + getMinCount(); hash = (37 * hash) + MAX_COUNT_FIELD_NUMBER; @@ -2297,114 +1977,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WorkerResource - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WorkerResource - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WorkerResource - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WorkerResource - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WorkerResource - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WorkerResource - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WorkerResource - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WorkerResource - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WorkerResource - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WorkerResource - 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.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource 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.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WorkerResource - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WorkerResource - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource - prototype) { + public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2414,53 +2068,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
          * Configuration for resources used by Airflow workers.
          * 
    * - * Protobuf type {@code - * google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource} + * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource) - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WorkerResourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WorkerResource_descriptor; + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResourceOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WorkerResource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WorkerResource_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WorkerResource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WorkerResource.class, - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WorkerResource.Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource.class, com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource.Builder.class); } - // Construct using - // com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource.newBuilder() + // Construct using com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -2478,23 +2123,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass - .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WorkerResource_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WorkerResource_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource - getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource - .getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource - build() { - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource - result = buildPartial(); + public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource build() { + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -2502,12 +2143,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource - buildPartial() { - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource - result = - new com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WorkerResource(this); + public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource buildPartial() { + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource result = new com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource(this); result.cpu_ = cpu_; result.memoryGb_ = memoryGb_; result.storageGb_ = storageGb_; @@ -2521,58 +2158,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource) { - return mergeFrom( - (com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WorkerResource) - other); + if (other instanceof com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource) { + return mergeFrom((com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource - other) { - if (other - == com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource other) { + if (other == com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource.getDefaultInstance()) return this; if (other.getCpu() != 0F) { setCpu(other.getCpu()); } @@ -2603,15 +2228,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource - parsedMessage = null; + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WorkerResource) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2621,16 +2242,13 @@ public Builder mergeFrom( return this; } - private float cpu_; + private float cpu_ ; /** - * - * *
            * Optional. CPU request and limit for a single Airflow worker replica.
            * 
    * * float cpu = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The cpu. */ @java.lang.Override @@ -2638,51 +2256,42 @@ public float getCpu() { return cpu_; } /** - * - * *
            * Optional. CPU request and limit for a single Airflow worker replica.
            * 
    * * float cpu = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The cpu to set. * @return This builder for chaining. */ public Builder setCpu(float value) { - + cpu_ = value; onChanged(); return this; } /** - * - * *
            * Optional. CPU request and limit for a single Airflow worker replica.
            * 
    * * float cpu = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearCpu() { - + cpu_ = 0F; onChanged(); return this; } - private float memoryGb_; + private float memoryGb_ ; /** - * - * *
            * Optional. Memory (GB) request and limit for a single Airflow worker replica.
            * 
    * * float memory_gb = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The memoryGb. */ @java.lang.Override @@ -2690,51 +2299,42 @@ public float getMemoryGb() { return memoryGb_; } /** - * - * *
            * Optional. Memory (GB) request and limit for a single Airflow worker replica.
            * 
    * * float memory_gb = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The memoryGb to set. * @return This builder for chaining. */ public Builder setMemoryGb(float value) { - + memoryGb_ = value; onChanged(); return this; } /** - * - * *
            * Optional. Memory (GB) request and limit for a single Airflow worker replica.
            * 
    * * float memory_gb = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearMemoryGb() { - + memoryGb_ = 0F; onChanged(); return this; } - private float storageGb_; + private float storageGb_ ; /** - * - * *
            * Optional. Storage (GB) request and limit for a single Airflow worker replica.
            * 
    * * float storage_gb = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The storageGb. */ @java.lang.Override @@ -2742,51 +2342,42 @@ public float getStorageGb() { return storageGb_; } /** - * - * *
            * Optional. Storage (GB) request and limit for a single Airflow worker replica.
            * 
    * * float storage_gb = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The storageGb to set. * @return This builder for chaining. */ public Builder setStorageGb(float value) { - + storageGb_ = value; onChanged(); return this; } /** - * - * *
            * Optional. Storage (GB) request and limit for a single Airflow worker replica.
            * 
    * * float storage_gb = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearStorageGb() { - + storageGb_ = 0F; onChanged(); return this; } - private int minCount_; + private int minCount_ ; /** - * - * *
            * Optional. Minimum number of workers for autoscaling.
            * 
    * * int32 min_count = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The minCount. */ @java.lang.Override @@ -2794,51 +2385,42 @@ public int getMinCount() { return minCount_; } /** - * - * *
            * Optional. Minimum number of workers for autoscaling.
            * 
    * * int32 min_count = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The minCount to set. * @return This builder for chaining. */ public Builder setMinCount(int value) { - + minCount_ = value; onChanged(); return this; } /** - * - * *
            * Optional. Minimum number of workers for autoscaling.
            * 
    * * int32 min_count = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearMinCount() { - + minCount_ = 0; onChanged(); return this; } - private int maxCount_; + private int maxCount_ ; /** - * - * *
            * Optional. Maximum number of workers for autoscaling.
            * 
    * * int32 max_count = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The maxCount. */ @java.lang.Override @@ -2846,41 +2428,34 @@ public int getMaxCount() { return maxCount_; } /** - * - * *
            * Optional. Maximum number of workers for autoscaling.
            * 
    * * int32 max_count = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The maxCount to set. * @return This builder for chaining. */ public Builder setMaxCount(int value) { - + maxCount_ = value; onChanged(); return this; } /** - * - * *
            * Optional. Maximum number of workers for autoscaling.
            * 
    * * int32 max_count = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearMaxCount() { - + maxCount_ = 0; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2893,36 +2468,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource) - private static final com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WorkerResource - DEFAULT_INSTANCE; - + private static final com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WorkerResource(); + DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource(); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WorkerResource - getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WorkerResource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WorkerResource(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WorkerResource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WorkerResource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2934,26 +2503,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource - getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int SCHEDULER_FIELD_NUMBER = 1; - private com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource - scheduler_; + private com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler_; /** - * - * *
        * Optional. Resources used by Airflow schedulers.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the scheduler field is set. */ @java.lang.Override @@ -2961,58 +2524,37 @@ public boolean hasScheduler() { return scheduler_ != null; } /** - * - * *
        * Optional. Resources used by Airflow schedulers.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The scheduler. */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource - getScheduler() { - return scheduler_ == null - ? com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource - .getDefaultInstance() - : scheduler_; + public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource getScheduler() { + return scheduler_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource.getDefaultInstance() : scheduler_; } /** - * - * *
        * Optional. Resources used by Airflow schedulers.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .SchedulerResourceOrBuilder - getSchedulerOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResourceOrBuilder getSchedulerOrBuilder() { return getScheduler(); } public static final int WEB_SERVER_FIELD_NUMBER = 2; - private com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource - webServer_; + private com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource webServer_; /** - * - * *
        * Optional. Resources used by Airflow web server.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the webServer field is set. */ @java.lang.Override @@ -3020,58 +2562,37 @@ public boolean hasWebServer() { return webServer_ != null; } /** - * - * *
        * Optional. Resources used by Airflow web server.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The webServer. */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource - getWebServer() { - return webServer_ == null - ? com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource - .getDefaultInstance() - : webServer_; + public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource getWebServer() { + return webServer_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource.getDefaultInstance() : webServer_; } /** - * - * *
        * Optional. Resources used by Airflow web server.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WebServerResourceOrBuilder - getWebServerOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResourceOrBuilder getWebServerOrBuilder() { return getWebServer(); } public static final int WORKER_FIELD_NUMBER = 3; - private com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource - worker_; + private com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker_; /** - * - * *
        * Optional. Resources used by Airflow workers.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the worker field is set. */ @java.lang.Override @@ -3079,46 +2600,30 @@ public boolean hasWorker() { return worker_ != null; } /** - * - * *
        * Optional. Resources used by Airflow workers.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The worker. */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource - getWorker() { - return worker_ == null - ? com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource - .getDefaultInstance() - : worker_; + public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource getWorker() { + return worker_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource.getDefaultInstance() : worker_; } /** - * - * *
        * Optional. Resources used by Airflow workers.
        * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WorkerResourceOrBuilder - getWorkerOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResourceOrBuilder getWorkerOrBuilder() { return getWorker(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3130,7 +2635,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 (scheduler_ != null) { output.writeMessage(1, getScheduler()); } @@ -3150,13 +2656,16 @@ public int getSerializedSize() { size = 0; if (scheduler_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getScheduler()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getScheduler()); } if (webServer_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getWebServer()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getWebServer()); } if (worker_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getWorker()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getWorker()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -3166,25 +2675,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.orchestration.airflow.service.v1beta1.WorkloadsConfig)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig other = - (com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig) obj; + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig other = (com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig) obj; if (hasScheduler() != other.hasScheduler()) return false; if (hasScheduler()) { - if (!getScheduler().equals(other.getScheduler())) return false; + if (!getScheduler() + .equals(other.getScheduler())) return false; } if (hasWebServer() != other.hasWebServer()) return false; if (hasWebServer()) { - if (!getWebServer().equals(other.getWebServer())) return false; + if (!getWebServer() + .equals(other.getWebServer())) return false; } if (hasWorker() != other.hasWorker()) return false; if (hasWorker()) { - if (!getWorker().equals(other.getWorker())) return false; + if (!getWorker() + .equals(other.getWorker())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -3215,105 +2726,96 @@ public int hashCode() { } public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig 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.orchestration.airflow.service.v1beta1.WorkloadsConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - 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.orchestration.airflow.service.v1beta1.WorkloadsConfig 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.orchestration.airflow.service.v1beta1.WorkloadsConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig prototype) { + public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 Kubernetes workloads configuration for GKE cluster associated with the
        * Cloud Composer environment. Supported for Cloud Composer environments in
    @@ -3322,40 +2824,38 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
        *
        * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig}
        */
    -  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
    -      implements
    +  public static final class Builder extends
    +      com.google.protobuf.GeneratedMessageV3.Builder implements
           // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig)
           com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfigOrBuilder {
    -    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    -      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
    -          .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_descriptor;
    +    public static final com.google.protobuf.Descriptors.Descriptor
    +        getDescriptor() {
    +      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_descriptor;
         }
     
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
    -      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
    -          .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_fieldAccessorTable
    +      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
    -              com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.class,
    -              com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.Builder.class);
    +              com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.class, com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.Builder.class);
         }
     
    -    // Construct using
    -    // com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.newBuilder()
    +    // Construct using com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.newBuilder()
         private Builder() {
           maybeForceBuilderInitialization();
         }
     
    -    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    +    private Builder(
    +        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
           super(parent);
           maybeForceBuilderInitialization();
         }
    -
         private void maybeForceBuilderInitialization() {
    -      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
    +      if (com.google.protobuf.GeneratedMessageV3
    +              .alwaysUseFieldBuilders) {
    +      }
         }
    -
         @java.lang.Override
         public Builder clear() {
           super.clear();
    @@ -3381,22 +2881,19 @@ public Builder clear() {
         }
     
         @java.lang.Override
    -    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
    -      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
    -          .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_descriptor;
    +    public com.google.protobuf.Descriptors.Descriptor
    +        getDescriptorForType() {
    +      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_descriptor;
         }
     
         @java.lang.Override
    -    public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig
    -        getDefaultInstanceForType() {
    -      return com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig
    -          .getDefaultInstance();
    +    public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig getDefaultInstanceForType() {
    +      return com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.getDefaultInstance();
         }
     
         @java.lang.Override
         public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig build() {
    -      com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig result =
    -          buildPartial();
    +      com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig result = buildPartial();
           if (!result.isInitialized()) {
             throw newUninitializedMessageException(result);
           }
    @@ -3405,8 +2902,7 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig bu
     
         @java.lang.Override
         public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig buildPartial() {
    -      com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig result =
    -          new com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig(this);
    +      com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig result = new com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig(this);
           if (schedulerBuilder_ == null) {
             result.scheduler_ = scheduler_;
           } else {
    @@ -3430,51 +2926,46 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig bu
         public Builder clone() {
           return super.clone();
         }
    -
         @java.lang.Override
         public Builder setField(
    -        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
    +        com.google.protobuf.Descriptors.FieldDescriptor field,
    +        java.lang.Object value) {
           return super.setField(field, value);
         }
    -
         @java.lang.Override
    -    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
    +    public Builder clearField(
    +        com.google.protobuf.Descriptors.FieldDescriptor field) {
           return super.clearField(field);
         }
    -
         @java.lang.Override
    -    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
    +    public Builder clearOneof(
    +        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
           return super.clearOneof(oneof);
         }
    -
         @java.lang.Override
         public Builder setRepeatedField(
    -        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
    +        com.google.protobuf.Descriptors.FieldDescriptor field,
    +        int index, java.lang.Object value) {
           return super.setRepeatedField(field, index, value);
         }
    -
         @java.lang.Override
         public Builder addRepeatedField(
    -        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
    +        com.google.protobuf.Descriptors.FieldDescriptor field,
    +        java.lang.Object value) {
           return super.addRepeatedField(field, value);
         }
    -
         @java.lang.Override
         public Builder mergeFrom(com.google.protobuf.Message other) {
           if (other instanceof com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig) {
    -        return mergeFrom(
    -            (com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig) other);
    +        return mergeFrom((com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig)other);
           } else {
             super.mergeFrom(other);
             return this;
           }
         }
     
    -    public Builder mergeFrom(
    -        com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig other) {
    -      if (other
    -          == com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig
    -              .getDefaultInstance()) return this;
    +    public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig other) {
    +      if (other == com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.getDefaultInstance()) return this;
           if (other.hasScheduler()) {
             mergeScheduler(other.getScheduler());
           }
    @@ -3503,9 +2994,7 @@ public Builder mergeFrom(
           try {
             parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
    -        parsedMessage =
    -            (com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig)
    -                e.getUnfinishedMessage();
    +        parsedMessage = (com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig) e.getUnfinishedMessage();
             throw e.unwrapIOException();
           } finally {
             if (parsedMessage != null) {
    @@ -3515,70 +3004,43 @@ public Builder mergeFrom(
           return this;
         }
     
    -    private com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource
    -        scheduler_;
    +    private com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler_;
         private com.google.protobuf.SingleFieldBuilderV3<
    -            com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig
    -                .SchedulerResource,
    -            com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource
    -                .Builder,
    -            com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig
    -                .SchedulerResourceOrBuilder>
    -        schedulerBuilder_;
    +        com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource, com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResourceOrBuilder> schedulerBuilder_;
         /**
    -     *
    -     *
          * 
          * Optional. Resources used by Airflow schedulers.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the scheduler field is set. */ public boolean hasScheduler() { return schedulerBuilder_ != null || scheduler_ != null; } /** - * - * *
          * Optional. Resources used by Airflow schedulers.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The scheduler. */ - public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource - getScheduler() { + public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource getScheduler() { if (schedulerBuilder_ == null) { - return scheduler_ == null - ? com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .SchedulerResource.getDefaultInstance() - : scheduler_; + return scheduler_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource.getDefaultInstance() : scheduler_; } else { return schedulerBuilder_.getMessage(); } } /** - * - * *
          * Optional. Resources used by Airflow schedulers.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setScheduler( - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource - value) { + public Builder setScheduler(com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource value) { if (schedulerBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3592,20 +3054,14 @@ public Builder setScheduler( return this; } /** - * - * *
          * Optional. Resources used by Airflow schedulers.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setScheduler( - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource - .Builder - builderForValue) { + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource.Builder builderForValue) { if (schedulerBuilder_ == null) { scheduler_ = builderForValue.build(); onChanged(); @@ -3616,26 +3072,17 @@ public Builder setScheduler( return this; } /** - * - * *
          * Optional. Resources used by Airflow schedulers.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergeScheduler( - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource - value) { + public Builder mergeScheduler(com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource value) { if (schedulerBuilder_ == null) { if (scheduler_ != null) { scheduler_ = - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .SchedulerResource.newBuilder(scheduler_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource.newBuilder(scheduler_).mergeFrom(value).buildPartial(); } else { scheduler_ = value; } @@ -3647,15 +3094,11 @@ public Builder mergeScheduler( return this; } /** - * - * *
          * Optional. Resources used by Airflow schedulers.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearScheduler() { if (schedulerBuilder_ == null) { @@ -3669,143 +3112,90 @@ public Builder clearScheduler() { return this; } /** - * - * *
          * Optional. Resources used by Airflow schedulers.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource - .Builder - getSchedulerBuilder() { - + public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource.Builder getSchedulerBuilder() { + onChanged(); return getSchedulerFieldBuilder().getBuilder(); } /** - * - * *
          * Optional. Resources used by Airflow schedulers.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .SchedulerResourceOrBuilder - getSchedulerOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResourceOrBuilder getSchedulerOrBuilder() { if (schedulerBuilder_ != null) { return schedulerBuilder_.getMessageOrBuilder(); } else { - return scheduler_ == null - ? com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .SchedulerResource.getDefaultInstance() - : scheduler_; + return scheduler_ == null ? + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource.getDefaultInstance() : scheduler_; } } /** - * - * *
          * Optional. Resources used by Airflow schedulers.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .SchedulerResource, - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource - .Builder, - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .SchedulerResourceOrBuilder> + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource, com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResourceOrBuilder> getSchedulerFieldBuilder() { if (schedulerBuilder_ == null) { - schedulerBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .SchedulerResource, - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .SchedulerResource.Builder, - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .SchedulerResourceOrBuilder>(getScheduler(), getParentForChildren(), isClean()); + schedulerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource, com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResourceOrBuilder>( + getScheduler(), + getParentForChildren(), + isClean()); scheduler_ = null; } return schedulerBuilder_; } - private com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource - webServer_; + private com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource webServer_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WebServerResource, - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource - .Builder, - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WebServerResourceOrBuilder> - webServerBuilder_; + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource, com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResourceOrBuilder> webServerBuilder_; /** - * - * *
          * Optional. Resources used by Airflow web server.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the webServer field is set. */ public boolean hasWebServer() { return webServerBuilder_ != null || webServer_ != null; } /** - * - * *
          * Optional. Resources used by Airflow web server.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The webServer. */ - public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource - getWebServer() { + public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource getWebServer() { if (webServerBuilder_ == null) { - return webServer_ == null - ? com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WebServerResource.getDefaultInstance() - : webServer_; + return webServer_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource.getDefaultInstance() : webServer_; } else { return webServerBuilder_.getMessage(); } } /** - * - * *
          * Optional. Resources used by Airflow web server.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setWebServer( - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource - value) { + public Builder setWebServer(com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource value) { if (webServerBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3819,20 +3209,14 @@ public Builder setWebServer( return this; } /** - * - * *
          * Optional. Resources used by Airflow web server.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setWebServer( - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource - .Builder - builderForValue) { + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource.Builder builderForValue) { if (webServerBuilder_ == null) { webServer_ = builderForValue.build(); onChanged(); @@ -3843,26 +3227,17 @@ public Builder setWebServer( return this; } /** - * - * *
          * Optional. Resources used by Airflow web server.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergeWebServer( - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource - value) { + public Builder mergeWebServer(com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource value) { if (webServerBuilder_ == null) { if (webServer_ != null) { webServer_ = - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WebServerResource.newBuilder(webServer_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource.newBuilder(webServer_).mergeFrom(value).buildPartial(); } else { webServer_ = value; } @@ -3874,15 +3249,11 @@ public Builder mergeWebServer( return this; } /** - * - * *
          * Optional. Resources used by Airflow web server.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearWebServer() { if (webServerBuilder_ == null) { @@ -3896,142 +3267,90 @@ public Builder clearWebServer() { return this; } /** - * - * *
          * Optional. Resources used by Airflow web server.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource - .Builder - getWebServerBuilder() { - + public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource.Builder getWebServerBuilder() { + onChanged(); return getWebServerFieldBuilder().getBuilder(); } /** - * - * *
          * Optional. Resources used by Airflow web server.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WebServerResourceOrBuilder - getWebServerOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResourceOrBuilder getWebServerOrBuilder() { if (webServerBuilder_ != null) { return webServerBuilder_.getMessageOrBuilder(); } else { - return webServer_ == null - ? com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WebServerResource.getDefaultInstance() - : webServer_; + return webServer_ == null ? + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource.getDefaultInstance() : webServer_; } } /** - * - * *
          * Optional. Resources used by Airflow web server.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WebServerResource, - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource - .Builder, - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WebServerResourceOrBuilder> + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource, com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResourceOrBuilder> getWebServerFieldBuilder() { if (webServerBuilder_ == null) { - webServerBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WebServerResource, - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WebServerResource.Builder, - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WebServerResourceOrBuilder>(getWebServer(), getParentForChildren(), isClean()); + webServerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource, com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResourceOrBuilder>( + getWebServer(), + getParentForChildren(), + isClean()); webServer_ = null; } return webServerBuilder_; } - private com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource - worker_; + private com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource, - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource - .Builder, - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WorkerResourceOrBuilder> - workerBuilder_; + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource, com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResourceOrBuilder> workerBuilder_; /** - * - * *
          * Optional. Resources used by Airflow workers.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the worker field is set. */ public boolean hasWorker() { return workerBuilder_ != null || worker_ != null; } /** - * - * *
          * Optional. Resources used by Airflow workers.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The worker. */ - public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource - getWorker() { + public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource getWorker() { if (workerBuilder_ == null) { - return worker_ == null - ? com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource - .getDefaultInstance() - : worker_; + return worker_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource.getDefaultInstance() : worker_; } else { return workerBuilder_.getMessage(); } } /** - * - * *
          * Optional. Resources used by Airflow workers.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setWorker( - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource - value) { + public Builder setWorker(com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource value) { if (workerBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4045,20 +3364,14 @@ public Builder setWorker( return this; } /** - * - * *
          * Optional. Resources used by Airflow workers.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setWorker( - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource - .Builder - builderForValue) { + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource.Builder builderForValue) { if (workerBuilder_ == null) { worker_ = builderForValue.build(); onChanged(); @@ -4069,26 +3382,17 @@ public Builder setWorker( return this; } /** - * - * *
          * Optional. Resources used by Airflow workers.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergeWorker( - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource - value) { + public Builder mergeWorker(com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource value) { if (workerBuilder_ == null) { if (worker_ != null) { worker_ = - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource - .newBuilder(worker_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource.newBuilder(worker_).mergeFrom(value).buildPartial(); } else { worker_ = value; } @@ -4100,15 +3404,11 @@ public Builder mergeWorker( return this; } /** - * - * *
          * Optional. Resources used by Airflow workers.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearWorker() { if (workerBuilder_ == null) { @@ -4122,80 +3422,55 @@ public Builder clearWorker() { return this; } /** - * - * *
          * Optional. Resources used by Airflow workers.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource - .Builder - getWorkerBuilder() { - + public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource.Builder getWorkerBuilder() { + onChanged(); return getWorkerFieldBuilder().getBuilder(); } /** - * - * *
          * Optional. Resources used by Airflow workers.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WorkerResourceOrBuilder - getWorkerOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResourceOrBuilder getWorkerOrBuilder() { if (workerBuilder_ != null) { return workerBuilder_.getMessageOrBuilder(); } else { - return worker_ == null - ? com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource - .getDefaultInstance() - : worker_; + return worker_ == null ? + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource.getDefaultInstance() : worker_; } } /** - * - * *
          * Optional. Resources used by Airflow workers.
          * 
    * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource, - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource - .Builder, - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WorkerResourceOrBuilder> + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource, com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResourceOrBuilder> getWorkerFieldBuilder() { if (workerBuilder_ == null) { - workerBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WorkerResource, - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WorkerResource.Builder, - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - .WorkerResourceOrBuilder>(getWorker(), getParentForChildren(), isClean()); + workerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource, com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResourceOrBuilder>( + getWorker(), + getParentForChildren(), + isClean()); worker_ = null; } return workerBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4205,32 +3480,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig) - private static final com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig(); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WorkloadsConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WorkloadsConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WorkloadsConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WorkloadsConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4242,8 +3515,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig - getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WorkloadsConfigOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WorkloadsConfigOrBuilder.java new file mode 100644 index 00000000..005b38b7 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WorkloadsConfigOrBuilder.java @@ -0,0 +1,90 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/orchestration/airflow/service/v1beta1/environments.proto + +package com.google.cloud.orchestration.airflow.service.v1beta1; + +public interface WorkloadsConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig) + com.google.protobuf.MessageOrBuilder { + + /** + *
    +   * Optional. Resources used by Airflow schedulers.
    +   * 
    + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return Whether the scheduler field is set. + */ + boolean hasScheduler(); + /** + *
    +   * Optional. Resources used by Airflow schedulers.
    +   * 
    + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return The scheduler. + */ + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource getScheduler(); + /** + *
    +   * Optional. Resources used by Airflow schedulers.
    +   * 
    + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResourceOrBuilder getSchedulerOrBuilder(); + + /** + *
    +   * Optional. Resources used by Airflow web server.
    +   * 
    + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return Whether the webServer field is set. + */ + boolean hasWebServer(); + /** + *
    +   * Optional. Resources used by Airflow web server.
    +   * 
    + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The webServer. + */ + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource getWebServer(); + /** + *
    +   * Optional. Resources used by Airflow web server.
    +   * 
    + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResourceOrBuilder getWebServerOrBuilder(); + + /** + *
    +   * Optional. Resources used by Airflow workers.
    +   * 
    + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return Whether the worker field is set. + */ + boolean hasWorker(); + /** + *
    +   * Optional. Resources used by Airflow workers.
    +   * 
    + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return The worker. + */ + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource getWorker(); + /** + *
    +   * Optional. Resources used by Airflow workers.
    +   * 
    + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResourceOrBuilder getWorkerOrBuilder(); +} diff --git a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/proto/google/cloud/orchestration/airflow/service/v1beta1/environments.proto b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/proto/google/cloud/orchestration/airflow/service/v1beta1/environments.proto similarity index 100% rename from proto-google-cloud-orchestration-airflow-v1beta1/src/main/proto/google/cloud/orchestration/airflow/service/v1beta1/environments.proto rename to owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/proto/google/cloud/orchestration/airflow/service/v1beta1/environments.proto diff --git a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/proto/google/cloud/orchestration/airflow/service/v1beta1/image_versions.proto b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/proto/google/cloud/orchestration/airflow/service/v1beta1/image_versions.proto similarity index 100% rename from proto-google-cloud-orchestration-airflow-v1beta1/src/main/proto/google/cloud/orchestration/airflow/service/v1beta1/image_versions.proto rename to owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/proto/google/cloud/orchestration/airflow/service/v1beta1/image_versions.proto diff --git a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/proto/google/cloud/orchestration/airflow/service/v1beta1/operations.proto b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/proto/google/cloud/orchestration/airflow/service/v1beta1/operations.proto similarity index 100% rename from proto-google-cloud-orchestration-airflow-v1beta1/src/main/proto/google/cloud/orchestration/airflow/service/v1beta1/operations.proto rename to owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/proto/google/cloud/orchestration/airflow/service/v1beta1/operations.proto diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/checkupgrade/AsyncCheckUpgrade.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/checkupgrade/AsyncCheckUpgrade.java new file mode 100644 index 00000000..566d466f --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/checkupgrade/AsyncCheckUpgrade.java @@ -0,0 +1,46 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1beta1.samples; + +// [START service_v1beta1_generated_environmentsclient_checkupgrade_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest; +import com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsClient; +import com.google.longrunning.Operation; + +public class AsyncCheckUpgrade { + + public static void main(String[] args) throws Exception { + asyncCheckUpgrade(); + } + + public static void asyncCheckUpgrade() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) { + CheckUpgradeRequest request = + CheckUpgradeRequest.newBuilder() + .setEnvironment("environment-85904877") + .setImageVersion("imageVersion949870333") + .build(); + ApiFuture future = environmentsClient.checkUpgradeCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END service_v1beta1_generated_environmentsclient_checkupgrade_async] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/checkupgrade/AsyncCheckUpgradeLRO.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/checkupgrade/AsyncCheckUpgradeLRO.java new file mode 100644 index 00000000..1be01ef0 --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/checkupgrade/AsyncCheckUpgradeLRO.java @@ -0,0 +1,48 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1beta1.samples; + +// [START service_v1beta1_generated_environmentsclient_checkupgrade_lro_async] +import com.google.api.gax.longrunning.OperationFuture; +import com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest; +import com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse; +import com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsClient; +import com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata; + +public class AsyncCheckUpgradeLRO { + + public static void main(String[] args) throws Exception { + asyncCheckUpgradeLRO(); + } + + public static void asyncCheckUpgradeLRO() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) { + CheckUpgradeRequest request = + CheckUpgradeRequest.newBuilder() + .setEnvironment("environment-85904877") + .setImageVersion("imageVersion949870333") + .build(); + OperationFuture future = + environmentsClient.checkUpgradeOperationCallable().futureCall(request); + // Do something. + CheckUpgradeResponse response = future.get(); + } + } +} +// [END service_v1beta1_generated_environmentsclient_checkupgrade_lro_async] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/checkupgrade/SyncCheckUpgrade.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/checkupgrade/SyncCheckUpgrade.java new file mode 100644 index 00000000..8d2de0a9 --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/checkupgrade/SyncCheckUpgrade.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1beta1.samples; + +// [START service_v1beta1_generated_environmentsclient_checkupgrade_sync] +import com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest; +import com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse; +import com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsClient; + +public class SyncCheckUpgrade { + + public static void main(String[] args) throws Exception { + syncCheckUpgrade(); + } + + public static void syncCheckUpgrade() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) { + CheckUpgradeRequest request = + CheckUpgradeRequest.newBuilder() + .setEnvironment("environment-85904877") + .setImageVersion("imageVersion949870333") + .build(); + CheckUpgradeResponse response = environmentsClient.checkUpgradeAsync(request).get(); + } + } +} +// [END service_v1beta1_generated_environmentsclient_checkupgrade_sync] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/create/SyncCreateSetCredentialsProvider.java new file mode 100644 index 00000000..607981c6 --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/create/SyncCreateSetCredentialsProvider.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1beta1.samples; + +// [START service_v1beta1_generated_environmentsclient_create_setcredentialsprovider_sync] +import com.google.api.gax.core.FixedCredentialsProvider; +import com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsClient; +import com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsSettings; +import com.google.cloud.orchestration.airflow.service.v1beta1.myCredentials; + +public class SyncCreateSetCredentialsProvider { + + public static void main(String[] args) throws Exception { + syncCreateSetCredentialsProvider(); + } + + public static void syncCreateSetCredentialsProvider() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + EnvironmentsSettings environmentsSettings = + EnvironmentsSettings.newBuilder() + .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials)) + .build(); + EnvironmentsClient environmentsClient = EnvironmentsClient.create(environmentsSettings); + } +} +// [END service_v1beta1_generated_environmentsclient_create_setcredentialsprovider_sync] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/create/SyncCreateSetCredentialsProvider1.java new file mode 100644 index 00000000..5e0e9e77 --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/create/SyncCreateSetCredentialsProvider1.java @@ -0,0 +1,40 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1beta1.samples; + +// [START service_v1beta1_generated_environmentsclient_create_setcredentialsprovider1_sync] +import com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsClient; +import com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsSettings; + +public class SyncCreateSetCredentialsProvider1 { + + public static void main(String[] args) throws Exception { + syncCreateSetCredentialsProvider1(); + } + + public static void syncCreateSetCredentialsProvider1() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + EnvironmentsSettings environmentsSettings = + EnvironmentsSettings.newBuilder() + .setTransportChannelProvider( + EnvironmentsSettings.defaultHttpJsonTransportProviderBuilder().build()) + .build(); + EnvironmentsClient environmentsClient = EnvironmentsClient.create(environmentsSettings); + } +} +// [END service_v1beta1_generated_environmentsclient_create_setcredentialsprovider1_sync] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/create/SyncCreateSetEndpoint.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/create/SyncCreateSetEndpoint.java new file mode 100644 index 00000000..d27682a9 --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/create/SyncCreateSetEndpoint.java @@ -0,0 +1,38 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1beta1.samples; + +// [START service_v1beta1_generated_environmentsclient_create_setendpoint_sync] +import com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsClient; +import com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsSettings; +import com.google.cloud.orchestration.airflow.service.v1beta1.myEndpoint; + +public class SyncCreateSetEndpoint { + + public static void main(String[] args) throws Exception { + syncCreateSetEndpoint(); + } + + public static void syncCreateSetEndpoint() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + EnvironmentsSettings environmentsSettings = + EnvironmentsSettings.newBuilder().setEndpoint(myEndpoint).build(); + EnvironmentsClient environmentsClient = EnvironmentsClient.create(environmentsSettings); + } +} +// [END service_v1beta1_generated_environmentsclient_create_setendpoint_sync] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/createenvironment/AsyncCreateEnvironment.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/createenvironment/AsyncCreateEnvironment.java new file mode 100644 index 00000000..f7a9662b --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/createenvironment/AsyncCreateEnvironment.java @@ -0,0 +1,48 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1beta1.samples; + +// [START service_v1beta1_generated_environmentsclient_createenvironment_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest; +import com.google.cloud.orchestration.airflow.service.v1beta1.Environment; +import com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsClient; +import com.google.longrunning.Operation; + +public class AsyncCreateEnvironment { + + public static void main(String[] args) throws Exception { + asyncCreateEnvironment(); + } + + public static void asyncCreateEnvironment() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) { + CreateEnvironmentRequest request = + CreateEnvironmentRequest.newBuilder() + .setParent("parent-995424086") + .setEnvironment(Environment.newBuilder().build()) + .build(); + ApiFuture future = + environmentsClient.createEnvironmentCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END service_v1beta1_generated_environmentsclient_createenvironment_async] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/createenvironment/AsyncCreateEnvironmentLRO.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/createenvironment/AsyncCreateEnvironmentLRO.java new file mode 100644 index 00000000..7883c067 --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/createenvironment/AsyncCreateEnvironmentLRO.java @@ -0,0 +1,48 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1beta1.samples; + +// [START service_v1beta1_generated_environmentsclient_createenvironment_lro_async] +import com.google.api.gax.longrunning.OperationFuture; +import com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest; +import com.google.cloud.orchestration.airflow.service.v1beta1.Environment; +import com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsClient; +import com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata; + +public class AsyncCreateEnvironmentLRO { + + public static void main(String[] args) throws Exception { + asyncCreateEnvironmentLRO(); + } + + public static void asyncCreateEnvironmentLRO() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) { + CreateEnvironmentRequest request = + CreateEnvironmentRequest.newBuilder() + .setParent("parent-995424086") + .setEnvironment(Environment.newBuilder().build()) + .build(); + OperationFuture future = + environmentsClient.createEnvironmentOperationCallable().futureCall(request); + // Do something. + Environment response = future.get(); + } + } +} +// [END service_v1beta1_generated_environmentsclient_createenvironment_lro_async] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/createenvironment/SyncCreateEnvironment.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/createenvironment/SyncCreateEnvironment.java new file mode 100644 index 00000000..af17ca88 --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/createenvironment/SyncCreateEnvironment.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1beta1.samples; + +// [START service_v1beta1_generated_environmentsclient_createenvironment_sync] +import com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest; +import com.google.cloud.orchestration.airflow.service.v1beta1.Environment; +import com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsClient; + +public class SyncCreateEnvironment { + + public static void main(String[] args) throws Exception { + syncCreateEnvironment(); + } + + public static void syncCreateEnvironment() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) { + CreateEnvironmentRequest request = + CreateEnvironmentRequest.newBuilder() + .setParent("parent-995424086") + .setEnvironment(Environment.newBuilder().build()) + .build(); + Environment response = environmentsClient.createEnvironmentAsync(request).get(); + } + } +} +// [END service_v1beta1_generated_environmentsclient_createenvironment_sync] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/createenvironment/SyncCreateEnvironmentStringEnvironment.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/createenvironment/SyncCreateEnvironmentStringEnvironment.java new file mode 100644 index 00000000..b2f25eca --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/createenvironment/SyncCreateEnvironmentStringEnvironment.java @@ -0,0 +1,39 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1beta1.samples; + +// [START service_v1beta1_generated_environmentsclient_createenvironment_stringenvironment_sync] +import com.google.cloud.orchestration.airflow.service.v1beta1.Environment; +import com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsClient; + +public class SyncCreateEnvironmentStringEnvironment { + + public static void main(String[] args) throws Exception { + syncCreateEnvironmentStringEnvironment(); + } + + public static void syncCreateEnvironmentStringEnvironment() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) { + String parent = "parent-995424086"; + Environment environment = Environment.newBuilder().build(); + Environment response = environmentsClient.createEnvironmentAsync(parent, environment).get(); + } + } +} +// [END service_v1beta1_generated_environmentsclient_createenvironment_stringenvironment_sync] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/deleteenvironment/AsyncDeleteEnvironment.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/deleteenvironment/AsyncDeleteEnvironment.java new file mode 100644 index 00000000..d0ecbf6b --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/deleteenvironment/AsyncDeleteEnvironment.java @@ -0,0 +1,44 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1beta1.samples; + +// [START service_v1beta1_generated_environmentsclient_deleteenvironment_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest; +import com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsClient; +import com.google.longrunning.Operation; + +public class AsyncDeleteEnvironment { + + public static void main(String[] args) throws Exception { + asyncDeleteEnvironment(); + } + + public static void asyncDeleteEnvironment() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) { + DeleteEnvironmentRequest request = + DeleteEnvironmentRequest.newBuilder().setName("name3373707").build(); + ApiFuture future = + environmentsClient.deleteEnvironmentCallable().futureCall(request); + // Do something. + future.get(); + } + } +} +// [END service_v1beta1_generated_environmentsclient_deleteenvironment_async] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/deleteenvironment/AsyncDeleteEnvironmentLRO.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/deleteenvironment/AsyncDeleteEnvironmentLRO.java new file mode 100644 index 00000000..36bc65ba --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/deleteenvironment/AsyncDeleteEnvironmentLRO.java @@ -0,0 +1,45 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1beta1.samples; + +// [START service_v1beta1_generated_environmentsclient_deleteenvironment_lro_async] +import com.google.api.gax.longrunning.OperationFuture; +import com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest; +import com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsClient; +import com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata; +import com.google.protobuf.Empty; + +public class AsyncDeleteEnvironmentLRO { + + public static void main(String[] args) throws Exception { + asyncDeleteEnvironmentLRO(); + } + + public static void asyncDeleteEnvironmentLRO() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) { + DeleteEnvironmentRequest request = + DeleteEnvironmentRequest.newBuilder().setName("name3373707").build(); + OperationFuture future = + environmentsClient.deleteEnvironmentOperationCallable().futureCall(request); + // Do something. + future.get(); + } + } +} +// [END service_v1beta1_generated_environmentsclient_deleteenvironment_lro_async] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/deleteenvironment/SyncDeleteEnvironment.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/deleteenvironment/SyncDeleteEnvironment.java new file mode 100644 index 00000000..c9efd7c4 --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/deleteenvironment/SyncDeleteEnvironment.java @@ -0,0 +1,40 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1beta1.samples; + +// [START service_v1beta1_generated_environmentsclient_deleteenvironment_sync] +import com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest; +import com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsClient; +import com.google.protobuf.Empty; + +public class SyncDeleteEnvironment { + + public static void main(String[] args) throws Exception { + syncDeleteEnvironment(); + } + + public static void syncDeleteEnvironment() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) { + DeleteEnvironmentRequest request = + DeleteEnvironmentRequest.newBuilder().setName("name3373707").build(); + environmentsClient.deleteEnvironmentAsync(request).get(); + } + } +} +// [END service_v1beta1_generated_environmentsclient_deleteenvironment_sync] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/deleteenvironment/SyncDeleteEnvironmentString.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/deleteenvironment/SyncDeleteEnvironmentString.java new file mode 100644 index 00000000..5c1f21fe --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/deleteenvironment/SyncDeleteEnvironmentString.java @@ -0,0 +1,38 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1beta1.samples; + +// [START service_v1beta1_generated_environmentsclient_deleteenvironment_string_sync] +import com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsClient; +import com.google.protobuf.Empty; + +public class SyncDeleteEnvironmentString { + + public static void main(String[] args) throws Exception { + syncDeleteEnvironmentString(); + } + + public static void syncDeleteEnvironmentString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) { + String name = "name3373707"; + environmentsClient.deleteEnvironmentAsync(name).get(); + } + } +} +// [END service_v1beta1_generated_environmentsclient_deleteenvironment_string_sync] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/getenvironment/AsyncGetEnvironment.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/getenvironment/AsyncGetEnvironment.java new file mode 100644 index 00000000..ff2dd8db --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/getenvironment/AsyncGetEnvironment.java @@ -0,0 +1,44 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1beta1.samples; + +// [START service_v1beta1_generated_environmentsclient_getenvironment_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.orchestration.airflow.service.v1beta1.Environment; +import com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsClient; +import com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest; + +public class AsyncGetEnvironment { + + public static void main(String[] args) throws Exception { + asyncGetEnvironment(); + } + + public static void asyncGetEnvironment() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) { + GetEnvironmentRequest request = + GetEnvironmentRequest.newBuilder().setName("name3373707").build(); + ApiFuture future = + environmentsClient.getEnvironmentCallable().futureCall(request); + // Do something. + Environment response = future.get(); + } + } +} +// [END service_v1beta1_generated_environmentsclient_getenvironment_async] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/getenvironment/SyncGetEnvironment.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/getenvironment/SyncGetEnvironment.java new file mode 100644 index 00000000..debe73bb --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/getenvironment/SyncGetEnvironment.java @@ -0,0 +1,40 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1beta1.samples; + +// [START service_v1beta1_generated_environmentsclient_getenvironment_sync] +import com.google.cloud.orchestration.airflow.service.v1beta1.Environment; +import com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsClient; +import com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest; + +public class SyncGetEnvironment { + + public static void main(String[] args) throws Exception { + syncGetEnvironment(); + } + + public static void syncGetEnvironment() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) { + GetEnvironmentRequest request = + GetEnvironmentRequest.newBuilder().setName("name3373707").build(); + Environment response = environmentsClient.getEnvironment(request); + } + } +} +// [END service_v1beta1_generated_environmentsclient_getenvironment_sync] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/getenvironment/SyncGetEnvironmentString.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/getenvironment/SyncGetEnvironmentString.java new file mode 100644 index 00000000..9a03faf9 --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/getenvironment/SyncGetEnvironmentString.java @@ -0,0 +1,38 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1beta1.samples; + +// [START service_v1beta1_generated_environmentsclient_getenvironment_string_sync] +import com.google.cloud.orchestration.airflow.service.v1beta1.Environment; +import com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsClient; + +public class SyncGetEnvironmentString { + + public static void main(String[] args) throws Exception { + syncGetEnvironmentString(); + } + + public static void syncGetEnvironmentString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) { + String name = "name3373707"; + Environment response = environmentsClient.getEnvironment(name); + } + } +} +// [END service_v1beta1_generated_environmentsclient_getenvironment_string_sync] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/listenvironments/AsyncListEnvironments.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/listenvironments/AsyncListEnvironments.java new file mode 100644 index 00000000..fa008d5b --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/listenvironments/AsyncListEnvironments.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1beta1.samples; + +// [START service_v1beta1_generated_environmentsclient_listenvironments_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.orchestration.airflow.service.v1beta1.Environment; +import com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsClient; +import com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest; + +public class AsyncListEnvironments { + + public static void main(String[] args) throws Exception { + asyncListEnvironments(); + } + + public static void asyncListEnvironments() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) { + ListEnvironmentsRequest request = + ListEnvironmentsRequest.newBuilder() + .setParent("parent-995424086") + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + ApiFuture future = + environmentsClient.listEnvironmentsPagedCallable().futureCall(request); + // Do something. + for (Environment element : future.get().iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END service_v1beta1_generated_environmentsclient_listenvironments_async] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/listenvironments/AsyncListEnvironmentsPaged.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/listenvironments/AsyncListEnvironmentsPaged.java new file mode 100644 index 00000000..0757807f --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/listenvironments/AsyncListEnvironmentsPaged.java @@ -0,0 +1,58 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1beta1.samples; + +// [START service_v1beta1_generated_environmentsclient_listenvironments_paged_async] +import com.google.cloud.orchestration.airflow.service.v1beta1.Environment; +import com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsClient; +import com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest; +import com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse; +import com.google.common.base.Strings; + +public class AsyncListEnvironmentsPaged { + + public static void main(String[] args) throws Exception { + asyncListEnvironmentsPaged(); + } + + public static void asyncListEnvironmentsPaged() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) { + ListEnvironmentsRequest request = + ListEnvironmentsRequest.newBuilder() + .setParent("parent-995424086") + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + while (true) { + ListEnvironmentsResponse response = + environmentsClient.listEnvironmentsCallable().call(request); + for (Environment element : response.getEnvironmentsList()) { + // doThingsWith(element); + } + String nextPageToken = response.getNextPageToken(); + if (!Strings.isNullOrEmpty(nextPageToken)) { + request = request.toBuilder().setPageToken(nextPageToken).build(); + } else { + break; + } + } + } + } +} +// [END service_v1beta1_generated_environmentsclient_listenvironments_paged_async] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/listenvironments/SyncListEnvironments.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/listenvironments/SyncListEnvironments.java new file mode 100644 index 00000000..bbe507c7 --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/listenvironments/SyncListEnvironments.java @@ -0,0 +1,46 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1beta1.samples; + +// [START service_v1beta1_generated_environmentsclient_listenvironments_sync] +import com.google.cloud.orchestration.airflow.service.v1beta1.Environment; +import com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsClient; +import com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest; + +public class SyncListEnvironments { + + public static void main(String[] args) throws Exception { + syncListEnvironments(); + } + + public static void syncListEnvironments() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) { + ListEnvironmentsRequest request = + ListEnvironmentsRequest.newBuilder() + .setParent("parent-995424086") + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + for (Environment element : environmentsClient.listEnvironments(request).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END service_v1beta1_generated_environmentsclient_listenvironments_sync] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/listenvironments/SyncListEnvironmentsString.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/listenvironments/SyncListEnvironmentsString.java new file mode 100644 index 00000000..448494f4 --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/listenvironments/SyncListEnvironmentsString.java @@ -0,0 +1,40 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1beta1.samples; + +// [START service_v1beta1_generated_environmentsclient_listenvironments_string_sync] +import com.google.cloud.orchestration.airflow.service.v1beta1.Environment; +import com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsClient; + +public class SyncListEnvironmentsString { + + public static void main(String[] args) throws Exception { + syncListEnvironmentsString(); + } + + public static void syncListEnvironmentsString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) { + String parent = "parent-995424086"; + for (Environment element : environmentsClient.listEnvironments(parent).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END service_v1beta1_generated_environmentsclient_listenvironments_string_sync] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/restartwebserver/AsyncRestartWebServer.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/restartwebserver/AsyncRestartWebServer.java new file mode 100644 index 00000000..c847f54d --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/restartwebserver/AsyncRestartWebServer.java @@ -0,0 +1,44 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1beta1.samples; + +// [START service_v1beta1_generated_environmentsclient_restartwebserver_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsClient; +import com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest; +import com.google.longrunning.Operation; + +public class AsyncRestartWebServer { + + public static void main(String[] args) throws Exception { + asyncRestartWebServer(); + } + + public static void asyncRestartWebServer() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) { + RestartWebServerRequest request = + RestartWebServerRequest.newBuilder().setName("name3373707").build(); + ApiFuture future = + environmentsClient.restartWebServerCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END service_v1beta1_generated_environmentsclient_restartwebserver_async] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/restartwebserver/AsyncRestartWebServerLRO.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/restartwebserver/AsyncRestartWebServerLRO.java new file mode 100644 index 00000000..bcf54c7c --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/restartwebserver/AsyncRestartWebServerLRO.java @@ -0,0 +1,45 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1beta1.samples; + +// [START service_v1beta1_generated_environmentsclient_restartwebserver_lro_async] +import com.google.api.gax.longrunning.OperationFuture; +import com.google.cloud.orchestration.airflow.service.v1beta1.Environment; +import com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsClient; +import com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata; +import com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest; + +public class AsyncRestartWebServerLRO { + + public static void main(String[] args) throws Exception { + asyncRestartWebServerLRO(); + } + + public static void asyncRestartWebServerLRO() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) { + RestartWebServerRequest request = + RestartWebServerRequest.newBuilder().setName("name3373707").build(); + OperationFuture future = + environmentsClient.restartWebServerOperationCallable().futureCall(request); + // Do something. + Environment response = future.get(); + } + } +} +// [END service_v1beta1_generated_environmentsclient_restartwebserver_lro_async] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/restartwebserver/SyncRestartWebServer.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/restartwebserver/SyncRestartWebServer.java new file mode 100644 index 00000000..00cacdec --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/restartwebserver/SyncRestartWebServer.java @@ -0,0 +1,40 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1beta1.samples; + +// [START service_v1beta1_generated_environmentsclient_restartwebserver_sync] +import com.google.cloud.orchestration.airflow.service.v1beta1.Environment; +import com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsClient; +import com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest; + +public class SyncRestartWebServer { + + public static void main(String[] args) throws Exception { + syncRestartWebServer(); + } + + public static void syncRestartWebServer() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) { + RestartWebServerRequest request = + RestartWebServerRequest.newBuilder().setName("name3373707").build(); + Environment response = environmentsClient.restartWebServerAsync(request).get(); + } + } +} +// [END service_v1beta1_generated_environmentsclient_restartwebserver_sync] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/updateenvironment/AsyncUpdateEnvironment.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/updateenvironment/AsyncUpdateEnvironment.java new file mode 100644 index 00000000..380839fc --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/updateenvironment/AsyncUpdateEnvironment.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1beta1.samples; + +// [START service_v1beta1_generated_environmentsclient_updateenvironment_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.orchestration.airflow.service.v1beta1.Environment; +import com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsClient; +import com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest; +import com.google.longrunning.Operation; +import com.google.protobuf.FieldMask; + +public class AsyncUpdateEnvironment { + + public static void main(String[] args) throws Exception { + asyncUpdateEnvironment(); + } + + public static void asyncUpdateEnvironment() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) { + UpdateEnvironmentRequest request = + UpdateEnvironmentRequest.newBuilder() + .setName("name3373707") + .setEnvironment(Environment.newBuilder().build()) + .setUpdateMask(FieldMask.newBuilder().build()) + .build(); + ApiFuture future = + environmentsClient.updateEnvironmentCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END service_v1beta1_generated_environmentsclient_updateenvironment_async] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/updateenvironment/AsyncUpdateEnvironmentLRO.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/updateenvironment/AsyncUpdateEnvironmentLRO.java new file mode 100644 index 00000000..4cb27d20 --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/updateenvironment/AsyncUpdateEnvironmentLRO.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1beta1.samples; + +// [START service_v1beta1_generated_environmentsclient_updateenvironment_lro_async] +import com.google.api.gax.longrunning.OperationFuture; +import com.google.cloud.orchestration.airflow.service.v1beta1.Environment; +import com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsClient; +import com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata; +import com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest; +import com.google.protobuf.FieldMask; + +public class AsyncUpdateEnvironmentLRO { + + public static void main(String[] args) throws Exception { + asyncUpdateEnvironmentLRO(); + } + + public static void asyncUpdateEnvironmentLRO() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) { + UpdateEnvironmentRequest request = + UpdateEnvironmentRequest.newBuilder() + .setName("name3373707") + .setEnvironment(Environment.newBuilder().build()) + .setUpdateMask(FieldMask.newBuilder().build()) + .build(); + OperationFuture future = + environmentsClient.updateEnvironmentOperationCallable().futureCall(request); + // Do something. + Environment response = future.get(); + } + } +} +// [END service_v1beta1_generated_environmentsclient_updateenvironment_lro_async] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/updateenvironment/SyncUpdateEnvironment.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/updateenvironment/SyncUpdateEnvironment.java new file mode 100644 index 00000000..aa93408b --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/updateenvironment/SyncUpdateEnvironment.java @@ -0,0 +1,45 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1beta1.samples; + +// [START service_v1beta1_generated_environmentsclient_updateenvironment_sync] +import com.google.cloud.orchestration.airflow.service.v1beta1.Environment; +import com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsClient; +import com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest; +import com.google.protobuf.FieldMask; + +public class SyncUpdateEnvironment { + + public static void main(String[] args) throws Exception { + syncUpdateEnvironment(); + } + + public static void syncUpdateEnvironment() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) { + UpdateEnvironmentRequest request = + UpdateEnvironmentRequest.newBuilder() + .setName("name3373707") + .setEnvironment(Environment.newBuilder().build()) + .setUpdateMask(FieldMask.newBuilder().build()) + .build(); + Environment response = environmentsClient.updateEnvironmentAsync(request).get(); + } + } +} +// [END service_v1beta1_generated_environmentsclient_updateenvironment_sync] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/updateenvironment/SyncUpdateEnvironmentStringEnvironmentFieldmask.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/updateenvironment/SyncUpdateEnvironmentStringEnvironmentFieldmask.java new file mode 100644 index 00000000..f20455dd --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/updateenvironment/SyncUpdateEnvironmentStringEnvironmentFieldmask.java @@ -0,0 +1,42 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1beta1.samples; + +// [START service_v1beta1_generated_environmentsclient_updateenvironment_stringenvironmentfieldmask_sync] +import com.google.cloud.orchestration.airflow.service.v1beta1.Environment; +import com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsClient; +import com.google.protobuf.FieldMask; + +public class SyncUpdateEnvironmentStringEnvironmentFieldmask { + + public static void main(String[] args) throws Exception { + syncUpdateEnvironmentStringEnvironmentFieldmask(); + } + + public static void syncUpdateEnvironmentStringEnvironmentFieldmask() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) { + String name = "name3373707"; + Environment environment = Environment.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + Environment response = + environmentsClient.updateEnvironmentAsync(name, environment, updateMask).get(); + } + } +} +// [END service_v1beta1_generated_environmentsclient_updateenvironment_stringenvironmentfieldmask_sync] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentssettings/getenvironment/SyncGetEnvironment.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentssettings/getenvironment/SyncGetEnvironment.java new file mode 100644 index 00000000..3e9dc450 --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentssettings/getenvironment/SyncGetEnvironment.java @@ -0,0 +1,45 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1beta1.samples; + +// [START service_v1beta1_generated_environmentssettings_getenvironment_sync] +import com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsSettings; +import java.time.Duration; + +public class SyncGetEnvironment { + + public static void main(String[] args) throws Exception { + syncGetEnvironment(); + } + + public static void syncGetEnvironment() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + EnvironmentsSettings.Builder environmentsSettingsBuilder = EnvironmentsSettings.newBuilder(); + environmentsSettingsBuilder + .getEnvironmentSettings() + .setRetrySettings( + environmentsSettingsBuilder + .getEnvironmentSettings() + .getRetrySettings() + .toBuilder() + .setTotalTimeout(Duration.ofSeconds(30)) + .build()); + EnvironmentsSettings environmentsSettings = environmentsSettingsBuilder.build(); + } +} +// [END service_v1beta1_generated_environmentssettings_getenvironment_sync] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/create/SyncCreateSetCredentialsProvider.java new file mode 100644 index 00000000..7fd589b5 --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/create/SyncCreateSetCredentialsProvider.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1beta1.samples; + +// [START service_v1beta1_generated_imageversionsclient_create_setcredentialsprovider_sync] +import com.google.api.gax.core.FixedCredentialsProvider; +import com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsClient; +import com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsSettings; +import com.google.cloud.orchestration.airflow.service.v1beta1.myCredentials; + +public class SyncCreateSetCredentialsProvider { + + public static void main(String[] args) throws Exception { + syncCreateSetCredentialsProvider(); + } + + public static void syncCreateSetCredentialsProvider() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + ImageVersionsSettings imageVersionsSettings = + ImageVersionsSettings.newBuilder() + .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials)) + .build(); + ImageVersionsClient imageVersionsClient = ImageVersionsClient.create(imageVersionsSettings); + } +} +// [END service_v1beta1_generated_imageversionsclient_create_setcredentialsprovider_sync] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/create/SyncCreateSetCredentialsProvider1.java new file mode 100644 index 00000000..5148d761 --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/create/SyncCreateSetCredentialsProvider1.java @@ -0,0 +1,40 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1beta1.samples; + +// [START service_v1beta1_generated_imageversionsclient_create_setcredentialsprovider1_sync] +import com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsClient; +import com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsSettings; + +public class SyncCreateSetCredentialsProvider1 { + + public static void main(String[] args) throws Exception { + syncCreateSetCredentialsProvider1(); + } + + public static void syncCreateSetCredentialsProvider1() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + ImageVersionsSettings imageVersionsSettings = + ImageVersionsSettings.newBuilder() + .setTransportChannelProvider( + ImageVersionsSettings.defaultHttpJsonTransportProviderBuilder().build()) + .build(); + ImageVersionsClient imageVersionsClient = ImageVersionsClient.create(imageVersionsSettings); + } +} +// [END service_v1beta1_generated_imageversionsclient_create_setcredentialsprovider1_sync] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/create/SyncCreateSetEndpoint.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/create/SyncCreateSetEndpoint.java new file mode 100644 index 00000000..b9698340 --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/create/SyncCreateSetEndpoint.java @@ -0,0 +1,38 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1beta1.samples; + +// [START service_v1beta1_generated_imageversionsclient_create_setendpoint_sync] +import com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsClient; +import com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsSettings; +import com.google.cloud.orchestration.airflow.service.v1beta1.myEndpoint; + +public class SyncCreateSetEndpoint { + + public static void main(String[] args) throws Exception { + syncCreateSetEndpoint(); + } + + public static void syncCreateSetEndpoint() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + ImageVersionsSettings imageVersionsSettings = + ImageVersionsSettings.newBuilder().setEndpoint(myEndpoint).build(); + ImageVersionsClient imageVersionsClient = ImageVersionsClient.create(imageVersionsSettings); + } +} +// [END service_v1beta1_generated_imageversionsclient_create_setendpoint_sync] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/listimageversions/AsyncListImageVersions.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/listimageversions/AsyncListImageVersions.java new file mode 100644 index 00000000..2e18f771 --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/listimageversions/AsyncListImageVersions.java @@ -0,0 +1,51 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1beta1.samples; + +// [START service_v1beta1_generated_imageversionsclient_listimageversions_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion; +import com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsClient; +import com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest; + +public class AsyncListImageVersions { + + public static void main(String[] args) throws Exception { + asyncListImageVersions(); + } + + public static void asyncListImageVersions() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ImageVersionsClient imageVersionsClient = ImageVersionsClient.create()) { + ListImageVersionsRequest request = + ListImageVersionsRequest.newBuilder() + .setParent("parent-995424086") + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .setIncludePastReleases(true) + .build(); + ApiFuture future = + imageVersionsClient.listImageVersionsPagedCallable().futureCall(request); + // Do something. + for (ImageVersion element : future.get().iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END service_v1beta1_generated_imageversionsclient_listimageversions_async] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/listimageversions/AsyncListImageVersionsPaged.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/listimageversions/AsyncListImageVersionsPaged.java new file mode 100644 index 00000000..073fac3d --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/listimageversions/AsyncListImageVersionsPaged.java @@ -0,0 +1,59 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1beta1.samples; + +// [START service_v1beta1_generated_imageversionsclient_listimageversions_paged_async] +import com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion; +import com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsClient; +import com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest; +import com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse; +import com.google.common.base.Strings; + +public class AsyncListImageVersionsPaged { + + public static void main(String[] args) throws Exception { + asyncListImageVersionsPaged(); + } + + public static void asyncListImageVersionsPaged() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ImageVersionsClient imageVersionsClient = ImageVersionsClient.create()) { + ListImageVersionsRequest request = + ListImageVersionsRequest.newBuilder() + .setParent("parent-995424086") + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .setIncludePastReleases(true) + .build(); + while (true) { + ListImageVersionsResponse response = + imageVersionsClient.listImageVersionsCallable().call(request); + for (ImageVersion element : response.getImageVersionsList()) { + // doThingsWith(element); + } + String nextPageToken = response.getNextPageToken(); + if (!Strings.isNullOrEmpty(nextPageToken)) { + request = request.toBuilder().setPageToken(nextPageToken).build(); + } else { + break; + } + } + } + } +} +// [END service_v1beta1_generated_imageversionsclient_listimageversions_paged_async] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/listimageversions/SyncListImageVersions.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/listimageversions/SyncListImageVersions.java new file mode 100644 index 00000000..3d6804f6 --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/listimageversions/SyncListImageVersions.java @@ -0,0 +1,47 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1beta1.samples; + +// [START service_v1beta1_generated_imageversionsclient_listimageversions_sync] +import com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion; +import com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsClient; +import com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest; + +public class SyncListImageVersions { + + public static void main(String[] args) throws Exception { + syncListImageVersions(); + } + + public static void syncListImageVersions() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ImageVersionsClient imageVersionsClient = ImageVersionsClient.create()) { + ListImageVersionsRequest request = + ListImageVersionsRequest.newBuilder() + .setParent("parent-995424086") + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .setIncludePastReleases(true) + .build(); + for (ImageVersion element : imageVersionsClient.listImageVersions(request).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END service_v1beta1_generated_imageversionsclient_listimageversions_sync] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/listimageversions/SyncListImageVersionsString.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/listimageversions/SyncListImageVersionsString.java new file mode 100644 index 00000000..d696ca3a --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/listimageversions/SyncListImageVersionsString.java @@ -0,0 +1,40 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1beta1.samples; + +// [START service_v1beta1_generated_imageversionsclient_listimageversions_string_sync] +import com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion; +import com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsClient; + +public class SyncListImageVersionsString { + + public static void main(String[] args) throws Exception { + syncListImageVersionsString(); + } + + public static void syncListImageVersionsString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ImageVersionsClient imageVersionsClient = ImageVersionsClient.create()) { + String parent = "parent-995424086"; + for (ImageVersion element : imageVersionsClient.listImageVersions(parent).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END service_v1beta1_generated_imageversionsclient_listimageversions_string_sync] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionssettings/listimageversions/SyncListImageVersions.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionssettings/listimageversions/SyncListImageVersions.java new file mode 100644 index 00000000..7a0fa06e --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionssettings/listimageversions/SyncListImageVersions.java @@ -0,0 +1,45 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1beta1.samples; + +// [START service_v1beta1_generated_imageversionssettings_listimageversions_sync] +import com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsSettings; +import java.time.Duration; + +public class SyncListImageVersions { + + public static void main(String[] args) throws Exception { + syncListImageVersions(); + } + + public static void syncListImageVersions() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + ImageVersionsSettings.Builder imageVersionsSettingsBuilder = ImageVersionsSettings.newBuilder(); + imageVersionsSettingsBuilder + .listImageVersionsSettings() + .setRetrySettings( + imageVersionsSettingsBuilder + .listImageVersionsSettings() + .getRetrySettings() + .toBuilder() + .setTotalTimeout(Duration.ofSeconds(30)) + .build()); + ImageVersionsSettings imageVersionsSettings = imageVersionsSettingsBuilder.build(); + } +} +// [END service_v1beta1_generated_imageversionssettings_listimageversions_sync] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/stub/environmentsstubsettings/getenvironment/SyncGetEnvironment.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/stub/environmentsstubsettings/getenvironment/SyncGetEnvironment.java new file mode 100644 index 00000000..17ccc552 --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/stub/environmentsstubsettings/getenvironment/SyncGetEnvironment.java @@ -0,0 +1,46 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1beta1.stub.samples; + +// [START service_v1beta1_generated_environmentsstubsettings_getenvironment_sync] +import com.google.cloud.orchestration.airflow.service.v1beta1.stub.EnvironmentsStubSettings; +import java.time.Duration; + +public class SyncGetEnvironment { + + public static void main(String[] args) throws Exception { + syncGetEnvironment(); + } + + public static void syncGetEnvironment() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + EnvironmentsStubSettings.Builder environmentsSettingsBuilder = + EnvironmentsStubSettings.newBuilder(); + environmentsSettingsBuilder + .getEnvironmentSettings() + .setRetrySettings( + environmentsSettingsBuilder + .getEnvironmentSettings() + .getRetrySettings() + .toBuilder() + .setTotalTimeout(Duration.ofSeconds(30)) + .build()); + EnvironmentsStubSettings environmentsSettings = environmentsSettingsBuilder.build(); + } +} +// [END service_v1beta1_generated_environmentsstubsettings_getenvironment_sync] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/stub/imageversionsstubsettings/listimageversions/SyncListImageVersions.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/stub/imageversionsstubsettings/listimageversions/SyncListImageVersions.java new file mode 100644 index 00000000..6c309c8a --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/stub/imageversionsstubsettings/listimageversions/SyncListImageVersions.java @@ -0,0 +1,46 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1beta1.stub.samples; + +// [START service_v1beta1_generated_imageversionsstubsettings_listimageversions_sync] +import com.google.cloud.orchestration.airflow.service.v1beta1.stub.ImageVersionsStubSettings; +import java.time.Duration; + +public class SyncListImageVersions { + + public static void main(String[] args) throws Exception { + syncListImageVersions(); + } + + public static void syncListImageVersions() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + ImageVersionsStubSettings.Builder imageVersionsSettingsBuilder = + ImageVersionsStubSettings.newBuilder(); + imageVersionsSettingsBuilder + .listImageVersionsSettings() + .setRetrySettings( + imageVersionsSettingsBuilder + .listImageVersionsSettings() + .getRetrySettings() + .toBuilder() + .setTotalTimeout(Duration.ofSeconds(30)) + .build()); + ImageVersionsStubSettings imageVersionsSettings = imageVersionsSettingsBuilder.build(); + } +} +// [END service_v1beta1_generated_imageversionsstubsettings_listimageversions_sync] diff --git a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsOuterClass.java b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsOuterClass.java deleted file mode 100644 index 9ccfc590..00000000 --- a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsOuterClass.java +++ /dev/null @@ -1,569 +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/orchestration/airflow/service/v1/environments.proto - -package com.google.cloud.orchestration.airflow.service.v1; - -public final class EnvironmentsOuterClass { - private EnvironmentsOuterClass() {} - - 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_orchestration_airflow_service_v1_CreateEnvironmentRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1_CreateEnvironmentRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1_GetEnvironmentRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1_GetEnvironmentRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1_DeleteEnvironmentRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1_DeleteEnvironmentRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1_UpdateEnvironmentRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1_UpdateEnvironmentRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1_EnvironmentConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1_EnvironmentConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_AllowedIpRange_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_AllowedIpRange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1_DatabaseConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1_DatabaseConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1_WebServerConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1_WebServerConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1_EncryptionConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1_EncryptionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_AirflowConfigOverridesEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_AirflowConfigOverridesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_PypiPackagesEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_PypiPackagesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_EnvVariablesEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_EnvVariablesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1_IPAllocationPolicy_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1_IPAllocationPolicy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1_NodeConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1_NodeConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1_PrivateClusterConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1_PrivateClusterConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1_PrivateEnvironmentConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1_PrivateEnvironmentConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1_Environment_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1_Environment_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1_Environment_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1_Environment_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_PypiDependenciesEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_PypiDependenciesEntry_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/orchestration/airflow/ser" - + "vice/v1/environments.proto\022-google.cloud" - + ".orchestration.airflow.service.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\"{\n\030CreateEnvironmentRequest" - + "\022\016\n\006parent\030\001 \001(\t\022O\n\013environment\030\002 \001(\0132:." - + "google.cloud.orchestration.airflow.servi" - + "ce.v1.Environment\"%\n\025GetEnvironmentReque" - + "st\022\014\n\004name\030\001 \001(\t\"P\n\027ListEnvironmentsRequ" - + "est\022\016\n\006parent\030\001 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022" - + "\n\npage_token\030\003 \001(\t\"\205\001\n\030ListEnvironmentsR" - + "esponse\022P\n\014environments\030\001 \003(\0132:.google.c" - + "loud.orchestration.airflow.service.v1.En" - + "vironment\022\027\n\017next_page_token\030\002 \001(\t\"(\n\030De" - + "leteEnvironmentRequest\022\014\n\004name\030\001 \001(\t\"\252\001\n" - + "\030UpdateEnvironmentRequest\022\014\n\004name\030\002 \001(\t\022" - + "O\n\013environment\030\001 \001(\0132:.google.cloud.orch" - + "estration.airflow.service.v1.Environment" - + "\022/\n\013update_mask\030\003 \001(\0132\032.google.protobuf." - + "FieldMask\"\232\006\n\021EnvironmentConfig\022\023\n\013gke_c" - + "luster\030\001 \001(\t\022\026\n\016dag_gcs_prefix\030\002 \001(\t\022\022\n\n" - + "node_count\030\003 \001(\005\022V\n\017software_config\030\004 \001(" - + "\0132=.google.cloud.orchestration.airflow.s" - + "ervice.v1.SoftwareConfig\022N\n\013node_config\030" - + "\005 \001(\01329.google.cloud.orchestration.airfl" - + "ow.service.v1.NodeConfig\022k\n\032private_envi" - + "ronment_config\030\007 \001(\0132G.google.cloud.orch" - + "estration.airflow.service.v1.PrivateEnvi" - + "ronmentConfig\022|\n!web_server_network_acce" - + "ss_control\030\010 \001(\0132L.google.cloud.orchestr" - + "ation.airflow.service.v1.WebServerNetwor" - + "kAccessControlB\003\340A\001\022[\n\017database_config\030\t" - + " \001(\0132=.google.cloud.orchestration.airflo" - + "w.service.v1.DatabaseConfigB\003\340A\001\022^\n\021web_" - + "server_config\030\n \001(\0132>.google.cloud.orche" - + "stration.airflow.service.v1.WebServerCon" - + "figB\003\340A\001\022_\n\021encryption_config\030\013 \001(\0132?.go" - + "ogle.cloud.orchestration.airflow.service" - + ".v1.EncryptionConfigB\003\340A\001\022\023\n\013airflow_uri" - + "\030\006 \001(\t\"\322\001\n\035WebServerNetworkAccessControl" - + "\022v\n\021allowed_ip_ranges\030\001 \003(\0132[.google.clo" - + "ud.orchestration.airflow.service.v1.WebS" - + "erverNetworkAccessControl.AllowedIpRange" - + "\0329\n\016AllowedIpRange\022\r\n\005value\030\001 \001(\t\022\030\n\013des" - + "cription\030\002 \001(\tB\003\340A\001\"+\n\016DatabaseConfig\022\031\n" - + "\014machine_type\030\001 \001(\tB\003\340A\001\",\n\017WebServerCon" - + "fig\022\031\n\014machine_type\030\001 \001(\tB\003\340A\001\"-\n\020Encryp" - + "tionConfig\022\031\n\014kms_key_name\030\001 \001(\tB\003\340A\001\"\265\004" - + "\n\016SoftwareConfig\022\025\n\rimage_version\030\001 \001(\t\022" - + "{\n\030airflow_config_overrides\030\002 \003(\0132Y.goog" - + "le.cloud.orchestration.airflow.service.v" - + "1.SoftwareConfig.AirflowConfigOverridesE" - + "ntry\022f\n\rpypi_packages\030\003 \003(\0132O.google.clo" - + "ud.orchestration.airflow.service.v1.Soft" - + "wareConfig.PypiPackagesEntry\022f\n\renv_vari" - + "ables\030\004 \003(\0132O.google.cloud.orchestration" - + ".airflow.service.v1.SoftwareConfig.EnvVa" - + "riablesEntry\022\026\n\016python_version\030\006 \001(\t\032=\n\033" - + "AirflowConfigOverridesEntry\022\013\n\003key\030\001 \001(\t" - + "\022\r\n\005value\030\002 \001(\t:\0028\001\0323\n\021PypiPackagesEntry" - + "\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\0323\n\021EnvV" - + "ariablesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(" - + "\t:\0028\001\"\220\002\n\022IPAllocationPolicy\022\033\n\016use_ip_a" - + "liases\030\001 \001(\010B\003\340A\001\022+\n\034cluster_secondary_r" - + "ange_name\030\002 \001(\tB\003\340A\001H\000\022&\n\027cluster_ipv4_c" - + "idr_block\030\004 \001(\tB\003\340A\001H\000\022,\n\035services_secon" - + "dary_range_name\030\003 \001(\tB\003\340A\001H\001\022\'\n\030services" - + "_ipv4_cidr_block\030\005 \001(\tB\003\340A\001H\001B\027\n\025cluster" - + "_ip_allocationB\030\n\026services_ip_allocation" - + "\"\222\002\n\nNodeConfig\022\020\n\010location\030\001 \001(\t\022\024\n\014mac" - + "hine_type\030\002 \001(\t\022\017\n\007network\030\003 \001(\t\022\022\n\nsubn" - + "etwork\030\004 \001(\t\022\024\n\014disk_size_gb\030\005 \001(\005\022\024\n\014oa" - + "uth_scopes\030\006 \003(\t\022\027\n\017service_account\030\007 \001(" - + "\t\022\014\n\004tags\030\010 \003(\t\022d\n\024ip_allocation_policy\030" - + "\t \001(\0132A.google.cloud.orchestration.airfl" - + "ow.service.v1.IPAllocationPolicyB\003\340A\001\"\212\001" - + "\n\024PrivateClusterConfig\022$\n\027enable_private" - + "_endpoint\030\001 \001(\010B\003\340A\001\022#\n\026master_ipv4_cidr" - + "_block\030\002 \001(\tB\003\340A\001\022\'\n\032master_ipv4_reserve" - + "d_range\030\003 \001(\tB\003\340A\003\"\253\002\n\030PrivateEnvironmen" - + "tConfig\022\'\n\032enable_private_environment\030\001 " - + "\001(\010B\003\340A\001\022h\n\026private_cluster_config\030\002 \001(\013" - + "2C.google.cloud.orchestration.airflow.se" - + "rvice.v1.PrivateClusterConfigB\003\340A\001\022\'\n\032we" - + "b_server_ipv4_cidr_block\030\003 \001(\tB\003\340A\001\022&\n\031c" - + "loud_sql_ipv4_cidr_block\030\004 \001(\tB\003\340A\001\022+\n\036w" - + "eb_server_ipv4_reserved_range\030\005 \001(\tB\003\340A\003" - + "\"\205\005\n\013Environment\022\014\n\004name\030\001 \001(\t\022P\n\006config" - + "\030\002 \001(\0132@.google.cloud.orchestration.airf" - + "low.service.v1.EnvironmentConfig\022\014\n\004uuid" - + "\030\003 \001(\t\022O\n\005state\030\004 \001(\0162@.google.cloud.orc" - + "hestration.airflow.service.v1.Environmen" - + "t.State\022/\n\013create_time\030\005 \001(\0132\032.google.pr" - + "otobuf.Timestamp\022/\n\013update_time\030\006 \001(\0132\032." - + "google.protobuf.Timestamp\022V\n\006labels\030\007 \003(" - + "\0132F.google.cloud.orchestration.airflow.s" - + "ervice.v1.Environment.LabelsEntry\032-\n\013Lab" - + "elsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001" - + "\"`\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\014\n\010CREA" - + "TING\020\001\022\013\n\007RUNNING\020\002\022\014\n\010UPDATING\020\003\022\014\n\010DEL" - + "ETING\020\004\022\t\n\005ERROR\020\005:l\352Ai\n#composer.google" - + "apis.com/Environment\022Bprojects/{project}" - + "/locations/{location}/environments/{envi" - + "ronment}\"\371\003\n\024CheckUpgradeResponse\022\032\n\rbui" - + "ld_log_uri\030\001 \001(\tB\003\340A\003\022\177\n\036contains_pypi_m" - + "odules_conflict\030\004 \001(\0162R.google.cloud.orc" - + "hestration.airflow.service.v1.CheckUpgra" - + "deResponse.ConflictResultB\003\340A\003\022,\n\037pypi_c" - + "onflict_build_log_extract\030\003 \001(\tB\003\340A\003\022\025\n\r" - + "image_version\030\005 \001(\t\022t\n\021pypi_dependencies" - + "\030\006 \003(\0132Y.google.cloud.orchestration.airf" - + "low.service.v1.CheckUpgradeResponse.Pypi" - + "DependenciesEntry\0327\n\025PypiDependenciesEnt" - + "ry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"P\n\016Co" - + "nflictResult\022\037\n\033CONFLICT_RESULT_UNSPECIF" - + "IED\020\000\022\014\n\010CONFLICT\020\001\022\017\n\013NO_CONFLICT\020\0022\227\013\n" - + "\014Environments\022\251\002\n\021CreateEnvironment\022G.go" - + "ogle.cloud.orchestration.airflow.service" - + ".v1.CreateEnvironmentRequest\032\035.google.lo" - + "ngrunning.Operation\"\253\001\202\323\344\223\002?\"0/v1/{paren" - + "t=projects/*/locations/*}/environments:\013" - + "environment\332A\022parent,environment\312AN\n\013Env" - + "ironment\022?google.cloud.orchestration.air" - + "flow.service.v1.OperationMetadata\022\323\001\n\016Ge" - + "tEnvironment\022D.google.cloud.orchestratio" - + "n.airflow.service.v1.GetEnvironmentReque" - + "st\032:.google.cloud.orchestration.airflow." - + "service.v1.Environment\"?\202\323\344\223\0022\0220/v1/{nam" - + "e=projects/*/locations/*/environments/*}" - + "\332A\004name\022\346\001\n\020ListEnvironments\022F.google.cl" - + "oud.orchestration.airflow.service.v1.Lis" - + "tEnvironmentsRequest\032G.google.cloud.orch" - + "estration.airflow.service.v1.ListEnviron" - + "mentsResponse\"A\202\323\344\223\0022\0220/v1/{parent=proje" - + "cts/*/locations/*}/environments\332A\006parent" - + "\022\263\002\n\021UpdateEnvironment\022G.google.cloud.or" - + "chestration.airflow.service.v1.UpdateEnv" - + "ironmentRequest\032\035.google.longrunning.Ope" - + "ration\"\265\001\202\323\344\223\002?20/v1/{name=projects/*/lo" - + "cations/*/environments/*}:\013environment\332A" - + "\034name,environment,update_mask\312AN\n\013Enviro" - + "nment\022?google.cloud.orchestration.airflo" - + "w.service.v1.OperationMetadata\022\230\002\n\021Delet" - + "eEnvironment\022G.google.cloud.orchestratio" - + "n.airflow.service.v1.DeleteEnvironmentRe" - + "quest\032\035.google.longrunning.Operation\"\232\001\202" - + "\323\344\223\0022*0/v1/{name=projects/*/locations/*/" - + "environments/*}\332A\004name\312AX\n\025google.protob" - + "uf.Empty\022?google.cloud.orchestration.air" - + "flow.service.v1.OperationMetadata\032K\312A\027co" - + "mposer.googleapis.com\322A.https://www.goog" - + "leapis.com/auth/cloud-platformB\213\001\n1com.g" - + "oogle.cloud.orchestration.airflow.servic" - + "e.v1P\001ZTgoogle.golang.org/genproto/googl" - + "eapis/cloud/orchestration/airflow/servic" - + "e/v1;serviceb\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.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_orchestration_airflow_service_v1_CreateEnvironmentRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_orchestration_airflow_service_v1_CreateEnvironmentRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1_CreateEnvironmentRequest_descriptor, - new java.lang.String[] { - "Parent", "Environment", - }); - internal_static_google_cloud_orchestration_airflow_service_v1_GetEnvironmentRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_orchestration_airflow_service_v1_GetEnvironmentRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1_GetEnvironmentRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsResponse_descriptor, - new java.lang.String[] { - "Environments", "NextPageToken", - }); - internal_static_google_cloud_orchestration_airflow_service_v1_DeleteEnvironmentRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_orchestration_airflow_service_v1_DeleteEnvironmentRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1_DeleteEnvironmentRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_orchestration_airflow_service_v1_UpdateEnvironmentRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_orchestration_airflow_service_v1_UpdateEnvironmentRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1_UpdateEnvironmentRequest_descriptor, - new java.lang.String[] { - "Name", "Environment", "UpdateMask", - }); - internal_static_google_cloud_orchestration_airflow_service_v1_EnvironmentConfig_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_orchestration_airflow_service_v1_EnvironmentConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1_EnvironmentConfig_descriptor, - new java.lang.String[] { - "GkeCluster", - "DagGcsPrefix", - "NodeCount", - "SoftwareConfig", - "NodeConfig", - "PrivateEnvironmentConfig", - "WebServerNetworkAccessControl", - "DatabaseConfig", - "WebServerConfig", - "EncryptionConfig", - "AirflowUri", - }); - internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_descriptor, - new java.lang.String[] { - "AllowedIpRanges", - }); - internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_AllowedIpRange_descriptor = - internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_AllowedIpRange_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_AllowedIpRange_descriptor, - new java.lang.String[] { - "Value", "Description", - }); - internal_static_google_cloud_orchestration_airflow_service_v1_DatabaseConfig_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_orchestration_airflow_service_v1_DatabaseConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1_DatabaseConfig_descriptor, - new java.lang.String[] { - "MachineType", - }); - internal_static_google_cloud_orchestration_airflow_service_v1_WebServerConfig_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_orchestration_airflow_service_v1_WebServerConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1_WebServerConfig_descriptor, - new java.lang.String[] { - "MachineType", - }); - internal_static_google_cloud_orchestration_airflow_service_v1_EncryptionConfig_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_orchestration_airflow_service_v1_EncryptionConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1_EncryptionConfig_descriptor, - new java.lang.String[] { - "KmsKeyName", - }); - internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_descriptor, - new java.lang.String[] { - "ImageVersion", - "AirflowConfigOverrides", - "PypiPackages", - "EnvVariables", - "PythonVersion", - }); - internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_AirflowConfigOverridesEntry_descriptor = - internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_AirflowConfigOverridesEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_AirflowConfigOverridesEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_PypiPackagesEntry_descriptor = - internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_PypiPackagesEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_PypiPackagesEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_EnvVariablesEntry_descriptor = - internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_descriptor - .getNestedTypes() - .get(2); - internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_EnvVariablesEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_EnvVariablesEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_orchestration_airflow_service_v1_IPAllocationPolicy_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_orchestration_airflow_service_v1_IPAllocationPolicy_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1_IPAllocationPolicy_descriptor, - new java.lang.String[] { - "UseIpAliases", - "ClusterSecondaryRangeName", - "ClusterIpv4CidrBlock", - "ServicesSecondaryRangeName", - "ServicesIpv4CidrBlock", - "ClusterIpAllocation", - "ServicesIpAllocation", - }); - internal_static_google_cloud_orchestration_airflow_service_v1_NodeConfig_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_orchestration_airflow_service_v1_NodeConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1_NodeConfig_descriptor, - new java.lang.String[] { - "Location", - "MachineType", - "Network", - "Subnetwork", - "DiskSizeGb", - "OauthScopes", - "ServiceAccount", - "Tags", - "IpAllocationPolicy", - }); - internal_static_google_cloud_orchestration_airflow_service_v1_PrivateClusterConfig_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_orchestration_airflow_service_v1_PrivateClusterConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1_PrivateClusterConfig_descriptor, - new java.lang.String[] { - "EnablePrivateEndpoint", "MasterIpv4CidrBlock", "MasterIpv4ReservedRange", - }); - internal_static_google_cloud_orchestration_airflow_service_v1_PrivateEnvironmentConfig_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_orchestration_airflow_service_v1_PrivateEnvironmentConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1_PrivateEnvironmentConfig_descriptor, - new java.lang.String[] { - "EnablePrivateEnvironment", - "PrivateClusterConfig", - "WebServerIpv4CidrBlock", - "CloudSqlIpv4CidrBlock", - "WebServerIpv4ReservedRange", - }); - internal_static_google_cloud_orchestration_airflow_service_v1_Environment_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_orchestration_airflow_service_v1_Environment_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1_Environment_descriptor, - new java.lang.String[] { - "Name", "Config", "Uuid", "State", "CreateTime", "UpdateTime", "Labels", - }); - internal_static_google_cloud_orchestration_airflow_service_v1_Environment_LabelsEntry_descriptor = - internal_static_google_cloud_orchestration_airflow_service_v1_Environment_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_orchestration_airflow_service_v1_Environment_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1_Environment_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_descriptor, - new java.lang.String[] { - "BuildLogUri", - "ContainsPypiModulesConflict", - "PypiConflictBuildLogExtract", - "ImageVersion", - "PypiDependencies", - }); - internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_PypiDependenciesEntry_descriptor = - internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_PypiDependenciesEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_PypiDependenciesEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - 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.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.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsOuterClass.java b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsOuterClass.java deleted file mode 100644 index c12d0e1f..00000000 --- a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsOuterClass.java +++ /dev/null @@ -1,132 +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/orchestration/airflow/service/v1/image_versions.proto - -package com.google.cloud.orchestration.airflow.service.v1; - -public final class ImageVersionsOuterClass { - private ImageVersionsOuterClass() {} - - 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_orchestration_airflow_service_v1_ListImageVersionsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1_ImageVersion_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1_ImageVersion_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\nBgoogle/cloud/orchestration/airflow/ser" - + "vice/v1/image_versions.proto\022-google.clo" - + "ud.orchestration.airflow.service.v1\032\034goo" - + "gle/api/annotations.proto\032\027google/api/cl" - + "ient.proto\032\026google/type/date.proto\"p\n\030Li" - + "stImageVersionsRequest\022\016\n\006parent\030\001 \001(\t\022\021" - + "\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\035\n" - + "\025include_past_releases\030\004 \001(\010\"\211\001\n\031ListIma" - + "geVersionsResponse\022S\n\016image_versions\030\001 \003" - + "(\0132;.google.cloud.orchestration.airflow." - + "service.v1.ImageVersion\022\027\n\017next_page_tok" - + "en\030\002 \001(\t\"\275\001\n\014ImageVersion\022\030\n\020image_versi" - + "on_id\030\001 \001(\t\022\022\n\nis_default\030\002 \001(\010\022!\n\031suppo" - + "rted_python_versions\030\003 \003(\t\022\'\n\014release_da" - + "te\030\004 \001(\0132\021.google.type.Date\022\031\n\021creation_" - + "disabled\030\005 \001(\010\022\030\n\020upgrade_disabled\030\006 \001(\010" - + "2\311\002\n\rImageVersions\022\352\001\n\021ListImageVersions" - + "\022G.google.cloud.orchestration.airflow.se" - + "rvice.v1.ListImageVersionsRequest\032H.goog" - + "le.cloud.orchestration.airflow.service.v" - + "1.ListImageVersionsResponse\"B\202\323\344\223\0023\0221/v1" - + "/{parent=projects/*/locations/*}/imageVe" - + "rsions\332A\006parent\032K\312A\027composer.googleapis." - + "com\322A.https://www.googleapis.com/auth/cl" - + "oud-platformB\213\001\n1com.google.cloud.orches" - + "tration.airflow.service.v1P\001ZTgoogle.gol" - + "ang.org/genproto/googleapis/cloud/orches" - + "tration/airflow/service/v1;serviceb\006prot" - + "o3" - }; - 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.type.DateProto.getDescriptor(), - }); - internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "IncludePastReleases", - }); - internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsResponse_descriptor, - new java.lang.String[] { - "ImageVersions", "NextPageToken", - }); - internal_static_google_cloud_orchestration_airflow_service_v1_ImageVersion_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_orchestration_airflow_service_v1_ImageVersion_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1_ImageVersion_descriptor, - new java.lang.String[] { - "ImageVersionId", - "IsDefault", - "SupportedPythonVersions", - "ReleaseDate", - "CreationDisabled", - "UpgradeDisabled", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.type.DateProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/OperationsProto.java b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/OperationsProto.java deleted file mode 100644 index c7b38a4a..00000000 --- a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/OperationsProto.java +++ /dev/null @@ -1,86 +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/orchestration/airflow/service/v1/operations.proto - -package com.google.cloud.orchestration.airflow.service.v1; - -public final class OperationsProto { - private OperationsProto() {} - - 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_orchestration_airflow_service_v1_OperationMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1_OperationMetadata_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/orchestration/airflow/ser" - + "vice/v1/operations.proto\022-google.cloud.o" - + "rchestration.airflow.service.v1\032\037google/" - + "protobuf/timestamp.proto\032\034google/api/ann" - + "otations.proto\"\207\004\n\021OperationMetadata\022U\n\005" - + "state\030\001 \001(\0162F.google.cloud.orchestration" - + ".airflow.service.v1.OperationMetadata.St" - + "ate\022]\n\016operation_type\030\002 \001(\0162E.google.clo" - + "ud.orchestration.airflow.service.v1.Oper" - + "ationMetadata.Type\022\020\n\010resource\030\003 \001(\t\022\025\n\r" - + "resource_uuid\030\004 \001(\t\022/\n\013create_time\030\005 \001(\013" - + "2\032.google.protobuf.Timestamp\022,\n\010end_time" - + "\030\006 \001(\0132\032.google.protobuf.Timestamp\"g\n\005St" - + "ate\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007PENDING\020\001\022" - + "\013\n\007RUNNING\020\002\022\r\n\tSUCCEEDED\020\003\022\016\n\nSUCCESSFU" - + "L\020\003\022\n\n\006FAILED\020\004\032\002\020\001\"K\n\004Type\022\024\n\020TYPE_UNSP" - + "ECIFIED\020\000\022\n\n\006CREATE\020\001\022\n\n\006DELETE\020\002\022\n\n\006UPD" - + "ATE\020\003\022\t\n\005CHECK\020\004B\234\001\n1com.google.cloud.or" - + "chestration.airflow.service.v1B\017Operatio" - + "nsProtoP\001ZTgoogle.golang.org/genproto/go" - + "ogleapis/cloud/orchestration/airflow/ser" - + "vice/v1;serviceb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - }); - internal_static_google_cloud_orchestration_airflow_service_v1_OperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_orchestration_airflow_service_v1_OperationMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1_OperationMetadata_descriptor, - new java.lang.String[] { - "State", "OperationType", "Resource", "ResourceUuid", "CreateTime", "EndTime", - }); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/WebServerNetworkAccessControlOrBuilder.java b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/WebServerNetworkAccessControlOrBuilder.java deleted file mode 100644 index 97dc6563..00000000 --- a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/WebServerNetworkAccessControlOrBuilder.java +++ /dev/null @@ -1,96 +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/orchestration/airflow/service/v1/environments.proto - -package com.google.cloud.orchestration.airflow.service.v1; - -public interface WebServerNetworkAccessControlOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
    -   * A collection of allowed IP ranges with descriptions.
    -   * 
    - * - * - * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; - * - */ - java.util.List< - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRange> - getAllowedIpRangesList(); - /** - * - * - *
    -   * A collection of allowed IP ranges with descriptions.
    -   * 
    - * - * - * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; - * - */ - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange - getAllowedIpRanges(int index); - /** - * - * - *
    -   * A collection of allowed IP ranges with descriptions.
    -   * 
    - * - * - * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; - * - */ - int getAllowedIpRangesCount(); - /** - * - * - *
    -   * A collection of allowed IP ranges with descriptions.
    -   * 
    - * - * - * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; - * - */ - java.util.List< - ? extends - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRangeOrBuilder> - getAllowedIpRangesOrBuilderList(); - /** - * - * - *
    -   * A collection of allowed IP ranges with descriptions.
    -   * 
    - * - * - * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; - * - */ - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl - .AllowedIpRangeOrBuilder - getAllowedIpRangesOrBuilder(int index); -} diff --git a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsOuterClass.java b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsOuterClass.java deleted file mode 100644 index 3f1be44e..00000000 --- a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsOuterClass.java +++ /dev/null @@ -1,724 +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/orchestration/airflow/service/v1beta1/environments.proto - -package com.google.cloud.orchestration.airflow.service.v1beta1; - -public final class EnvironmentsOuterClass { - private EnvironmentsOuterClass() {} - - 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_orchestration_airflow_service_v1beta1_CreateEnvironmentRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_CreateEnvironmentRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1beta1_GetEnvironmentRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_GetEnvironmentRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1beta1_DeleteEnvironmentRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_DeleteEnvironmentRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1beta1_UpdateEnvironmentRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_UpdateEnvironmentRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1beta1_RestartWebServerRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_RestartWebServerRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1beta1_EnvironmentConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_EnvironmentConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_AllowedIpRange_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_AllowedIpRange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_AirflowConfigOverridesEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_AirflowConfigOverridesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_PypiPackagesEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_PypiPackagesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_EnvVariablesEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_EnvVariablesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1beta1_IPAllocationPolicy_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_IPAllocationPolicy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1beta1_NodeConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_NodeConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateClusterConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateClusterConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateEnvironmentConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateEnvironmentConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1beta1_DatabaseConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_DatabaseConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1beta1_EncryptionConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_EncryptionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1beta1_MaintenanceWindow_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_MaintenanceWindow_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_SchedulerResource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_SchedulerResource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WebServerResource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WebServerResource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WorkerResource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WorkerResource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_PypiDependenciesEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_PypiDependenciesEntry_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\nEgoogle/cloud/orchestration/airflow/ser" - + "vice/v1beta1/environments.proto\0222google." - + "cloud.orchestration.airflow.service.v1be" - + "ta1\032\034google/api/annotations.proto\032\027googl" - + "e/api/client.proto\032\037google/api/field_beh" - + "avior.proto\032\031google/api/resource.proto\032#" - + "google/longrunning/operations.proto\032 goo" - + "gle/protobuf/field_mask.proto\032\037google/pr" - + "otobuf/timestamp.proto\"\200\001\n\030CreateEnviron" - + "mentRequest\022\016\n\006parent\030\001 \001(\t\022T\n\013environme" - + "nt\030\002 \001(\0132?.google.cloud.orchestration.ai" - + "rflow.service.v1beta1.Environment\"%\n\025Get" - + "EnvironmentRequest\022\014\n\004name\030\001 \001(\t\"P\n\027List" - + "EnvironmentsRequest\022\016\n\006parent\030\001 \001(\t\022\021\n\tp" - + "age_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\212\001\n\030L" - + "istEnvironmentsResponse\022U\n\014environments\030" - + "\001 \003(\0132?.google.cloud.orchestration.airfl" - + "ow.service.v1beta1.Environment\022\027\n\017next_p" - + "age_token\030\002 \001(\t\"(\n\030DeleteEnvironmentRequ" - + "est\022\014\n\004name\030\001 \001(\t\"\264\001\n\030UpdateEnvironmentR" - + "equest\022\014\n\004name\030\002 \001(\t\022T\n\013environment\030\001 \001(" - + "\0132?.google.cloud.orchestration.airflow.s" - + "ervice.v1beta1.Environment\0224\n\013update_mas" - + "k\030\003 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002" - + "\"\'\n\027RestartWebServerRequest\022\014\n\004name\030\001 \001(" - + "\t\"\232\n\n\021EnvironmentConfig\022\030\n\013gke_cluster\030\001" - + " \001(\tB\003\340A\003\022\033\n\016dag_gcs_prefix\030\002 \001(\tB\003\340A\003\022\022" - + "\n\nnode_count\030\003 \001(\005\022[\n\017software_config\030\004 " - + "\001(\0132B.google.cloud.orchestration.airflow" - + ".service.v1beta1.SoftwareConfig\022S\n\013node_" - + "config\030\005 \001(\0132>.google.cloud.orchestratio" - + "n.airflow.service.v1beta1.NodeConfig\022p\n\032" - + "private_environment_config\030\007 \001(\0132L.googl" - + "e.cloud.orchestration.airflow.service.v1" - + "beta1.PrivateEnvironmentConfig\022\201\001\n!web_s" - + "erver_network_access_control\030\t \001(\0132Q.goo" - + "gle.cloud.orchestration.airflow.service." - + "v1beta1.WebServerNetworkAccessControlB\003\340" - + "A\001\022`\n\017database_config\030\n \001(\0132B.google.clo" - + "ud.orchestration.airflow.service.v1beta1" - + ".DatabaseConfigB\003\340A\001\022c\n\021web_server_confi" - + "g\030\013 \001(\0132C.google.cloud.orchestration.air" - + "flow.service.v1beta1.WebServerConfigB\003\340A" - + "\001\022\030\n\013airflow_uri\030\006 \001(\tB\003\340A\003\022d\n\021encryptio" - + "n_config\030\014 \001(\0132D.google.cloud.orchestrat" - + "ion.airflow.service.v1beta1.EncryptionCo" - + "nfigB\003\340A\001\022f\n\022maintenance_window\030\r \001(\0132E." - + "google.cloud.orchestration.airflow.servi" - + "ce.v1beta1.MaintenanceWindowB\003\340A\001\022b\n\020wor" - + "kloads_config\030\017 \001(\0132C.google.cloud.orche" - + "stration.airflow.service.v1beta1.Workloa" - + "dsConfigB\003\340A\001\022t\n\020environment_size\030\020 \001(\0162" - + "U.google.cloud.orchestration.airflow.ser" - + "vice.v1beta1.EnvironmentConfig.Environme" - + "ntSizeB\003\340A\001\"\210\001\n\017EnvironmentSize\022 \n\034ENVIR" - + "ONMENT_SIZE_UNSPECIFIED\020\000\022\032\n\026ENVIRONMENT" - + "_SIZE_SMALL\020\001\022\033\n\027ENVIRONMENT_SIZE_MEDIUM" - + "\020\002\022\032\n\026ENVIRONMENT_SIZE_LARGE\020\003\"\327\001\n\035WebSe" - + "rverNetworkAccessControl\022{\n\021allowed_ip_r" - + "anges\030\001 \003(\0132`.google.cloud.orchestration" - + ".airflow.service.v1beta1.WebServerNetwor" - + "kAccessControl.AllowedIpRange\0329\n\016Allowed" - + "IpRange\022\r\n\005value\030\001 \001(\t\022\030\n\013description\030\002 " - + "\001(\tB\003\340A\001\"\331\004\n\016SoftwareConfig\022\025\n\rimage_ver" - + "sion\030\001 \001(\t\022\205\001\n\030airflow_config_overrides\030" - + "\002 \003(\0132^.google.cloud.orchestration.airfl" - + "ow.service.v1beta1.SoftwareConfig.Airflo" - + "wConfigOverridesEntryB\003\340A\001\022p\n\rpypi_packa" - + "ges\030\003 \003(\0132T.google.cloud.orchestration.a" - + "irflow.service.v1beta1.SoftwareConfig.Py" - + "piPackagesEntryB\003\340A\001\022p\n\renv_variables\030\004 " - + "\003(\0132T.google.cloud.orchestration.airflow" - + ".service.v1beta1.SoftwareConfig.EnvVaria" - + "blesEntryB\003\340A\001\022\033\n\016python_version\030\006 \001(\tB\003" - + "\340A\001\032=\n\033AirflowConfigOverridesEntry\022\013\n\003ke" - + "y\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\0323\n\021PypiPackag" - + "esEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032" - + "3\n\021EnvVariablesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005val" - + "ue\030\002 \001(\t:\0028\001\"\325\001\n\022IPAllocationPolicy\022\033\n\016u" - + "se_ip_aliases\030\001 \001(\010B\003\340A\001\022)\n\034cluster_seco" - + "ndary_range_name\030\002 \001(\tB\003\340A\001\022*\n\035services_" - + "secondary_range_name\030\003 \001(\tB\003\340A\001\022$\n\027clust" - + "er_ipv4_cidr_block\030\004 \001(\tB\003\340A\001\022%\n\030service" - + "s_ipv4_cidr_block\030\005 \001(\tB\003\340A\001\"\337\002\n\nNodeCon" - + "fig\022\025\n\010location\030\001 \001(\tB\003\340A\001\022\031\n\014machine_ty" - + "pe\030\002 \001(\tB\003\340A\001\022\024\n\007network\030\003 \001(\tB\003\340A\001\022\027\n\ns" - + "ubnetwork\030\004 \001(\tB\003\340A\001\022\031\n\014disk_size_gb\030\005 \001" - + "(\005B\003\340A\001\022\031\n\014oauth_scopes\030\006 \003(\tB\003\340A\001\022\034\n\017se" - + "rvice_account\030\007 \001(\tB\003\340A\001\022\021\n\004tags\030\010 \003(\tB\003" - + "\340A\001\022i\n\024ip_allocation_policy\030\t \001(\0132F.goog" - + "le.cloud.orchestration.airflow.service.v" - + "1beta1.IPAllocationPolicyB\003\340A\001\022\036\n\021max_po" - + "ds_per_node\030\n \001(\005B\003\340A\001\"\212\001\n\024PrivateCluste" - + "rConfig\022$\n\027enable_private_endpoint\030\001 \001(\010" - + "B\003\340A\001\022#\n\026master_ipv4_cidr_block\030\002 \001(\tB\003\340" - + "A\001\022\'\n\032master_ipv4_reserved_range\030\003 \001(\tB\003" - + "\340A\003\"\236\003\n\030PrivateEnvironmentConfig\022\'\n\032enab" - + "le_private_environment\030\001 \001(\010B\003\340A\001\022m\n\026pri" - + "vate_cluster_config\030\002 \001(\0132H.google.cloud" - + ".orchestration.airflow.service.v1beta1.P" - + "rivateClusterConfigB\003\340A\001\022\'\n\032web_server_i" - + "pv4_cidr_block\030\003 \001(\tB\003\340A\001\022&\n\031cloud_sql_i" - + "pv4_cidr_block\030\004 \001(\tB\003\340A\001\022+\n\036web_server_" - + "ipv4_reserved_range\030\005 \001(\tB\003\340A\003\0223\n&cloud_" - + "composer_network_ipv4_cidr_block\030\007 \001(\tB\003" - + "\340A\001\0227\n*cloud_composer_network_ipv4_reser" - + "ved_range\030\010 \001(\tB\003\340A\003\"+\n\016DatabaseConfig\022\031" - + "\n\014machine_type\030\001 \001(\tB\003\340A\001\",\n\017WebServerCo" - + "nfig\022\031\n\014machine_type\030\001 \001(\tB\003\340A\001\"-\n\020Encry" - + "ptionConfig\022\031\n\014kms_key_name\030\001 \001(\tB\003\340A\001\"\224" - + "\001\n\021MaintenanceWindow\0223\n\nstart_time\030\001 \001(\013" - + "2\032.google.protobuf.TimestampB\003\340A\002\0221\n\010end" - + "_time\030\002 \001(\0132\032.google.protobuf.TimestampB" - + "\003\340A\002\022\027\n\nrecurrence\030\003 \001(\tB\003\340A\002\"\243\005\n\017Worklo" - + "adsConfig\022m\n\tscheduler\030\001 \001(\0132U.google.cl" - + "oud.orchestration.airflow.service.v1beta" - + "1.WorkloadsConfig.SchedulerResourceB\003\340A\001" - + "\022n\n\nweb_server\030\002 \001(\0132U.google.cloud.orch" - + "estration.airflow.service.v1beta1.Worklo" - + "adsConfig.WebServerResourceB\003\340A\001\022g\n\006work" - + "er\030\003 \001(\0132R.google.cloud.orchestration.ai" - + "rflow.service.v1beta1.WorkloadsConfig.Wo" - + "rkerResourceB\003\340A\001\032j\n\021SchedulerResource\022\020" - + "\n\003cpu\030\001 \001(\002B\003\340A\001\022\026\n\tmemory_gb\030\002 \001(\002B\003\340A\001" - + "\022\027\n\nstorage_gb\030\003 \001(\002B\003\340A\001\022\022\n\005count\030\004 \001(\005" - + "B\003\340A\001\032V\n\021WebServerResource\022\020\n\003cpu\030\001 \001(\002B" - + "\003\340A\001\022\026\n\tmemory_gb\030\002 \001(\002B\003\340A\001\022\027\n\nstorage_" - + "gb\030\003 \001(\002B\003\340A\001\032\203\001\n\016WorkerResource\022\020\n\003cpu\030" - + "\001 \001(\002B\003\340A\001\022\026\n\tmemory_gb\030\002 \001(\002B\003\340A\001\022\027\n\nst" - + "orage_gb\030\003 \001(\002B\003\340A\001\022\026\n\tmin_count\030\004 \001(\005B\003" - + "\340A\001\022\026\n\tmax_count\030\005 \001(\005B\003\340A\001\"\250\005\n\013Environm" - + "ent\022\014\n\004name\030\001 \001(\t\022U\n\006config\030\002 \001(\0132E.goog" - + "le.cloud.orchestration.airflow.service.v" - + "1beta1.EnvironmentConfig\022\021\n\004uuid\030\003 \001(\tB\003" - + "\340A\003\022T\n\005state\030\004 \001(\0162E.google.cloud.orches" - + "tration.airflow.service.v1beta1.Environm" - + "ent.State\0224\n\013create_time\030\005 \001(\0132\032.google." - + "protobuf.TimestampB\003\340A\003\0224\n\013update_time\030\006" - + " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022`\n" - + "\006labels\030\007 \003(\0132K.google.cloud.orchestrati" - + "on.airflow.service.v1beta1.Environment.L" - + "abelsEntryB\003\340A\001\032-\n\013LabelsEntry\022\013\n\003key\030\001 " - + "\001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"`\n\005State\022\025\n\021STATE" - + "_UNSPECIFIED\020\000\022\014\n\010CREATING\020\001\022\013\n\007RUNNING\020" - + "\002\022\014\n\010UPDATING\020\003\022\014\n\010DELETING\020\004\022\t\n\005ERROR\020\005" - + ":l\352Ai\n#composer.googleapis.com/Environme" - + "nt\022Bprojects/{project}/locations/{locati" - + "on}/environments/{environment}\"A\n\023CheckU" - + "pgradeRequest\022\023\n\013environment\030\001 \001(\t\022\025\n\rim" - + "age_version\030\002 \001(\t\"\204\004\n\024CheckUpgradeRespon" - + "se\022\032\n\rbuild_log_uri\030\001 \001(\tB\003\340A\003\022\204\001\n\036conta" - + "ins_pypi_modules_conflict\030\004 \001(\0162W.google" - + ".cloud.orchestration.airflow.service.v1b" - + "eta1.CheckUpgradeResponse.ConflictResult" - + "B\003\340A\003\022,\n\037pypi_conflict_build_log_extract" - + "\030\003 \001(\tB\003\340A\003\022\025\n\rimage_version\030\005 \001(\t\022y\n\021py" - + "pi_dependencies\030\006 \003(\0132^.google.cloud.orc" - + "hestration.airflow.service.v1beta1.Check" - + "UpgradeResponse.PypiDependenciesEntry\0327\n" - + "\025PypiDependenciesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005v" - + "alue\030\002 \001(\t:\0028\001\"P\n\016ConflictResult\022\037\n\033CONF" - + "LICT_RESULT_UNSPECIFIED\020\000\022\014\n\010CONFLICT\020\001\022" - + "\017\n\013NO_CONFLICT\020\0022\360\020\n\014Environments\022\270\002\n\021Cr" - + "eateEnvironment\022L.google.cloud.orchestra" - + "tion.airflow.service.v1beta1.CreateEnvir" - + "onmentRequest\032\035.google.longrunning.Opera" - + "tion\"\265\001\202\323\344\223\002D\"5/v1beta1/{parent=projects" - + "/*/locations/*}/environments:\013environmen" - + "t\332A\022parent,environment\312AS\n\013Environment\022D" - + "google.cloud.orchestration.airflow.servi" - + "ce.v1beta1.OperationMetadata\022\342\001\n\016GetEnvi" - + "ronment\022I.google.cloud.orchestration.air" - + "flow.service.v1beta1.GetEnvironmentReque" - + "st\032?.google.cloud.orchestration.airflow." - + "service.v1beta1.Environment\"D\202\323\344\223\0027\0225/v1" - + "beta1/{name=projects/*/locations/*/envir" - + "onments/*}\332A\004name\022\365\001\n\020ListEnvironments\022K" - + ".google.cloud.orchestration.airflow.serv" - + "ice.v1beta1.ListEnvironmentsRequest\032L.go" - + "ogle.cloud.orchestration.airflow.service" - + ".v1beta1.ListEnvironmentsResponse\"F\202\323\344\223\002" - + "7\0225/v1beta1/{parent=projects/*/locations" - + "/*}/environments\332A\006parent\022\302\002\n\021UpdateEnvi" - + "ronment\022L.google.cloud.orchestration.air" - + "flow.service.v1beta1.UpdateEnvironmentRe" - + "quest\032\035.google.longrunning.Operation\"\277\001\202" - + "\323\344\223\002D25/v1beta1/{name=projects/*/locatio" - + "ns/*/environments/*}:\013environment\332A\034name" - + ",environment,update_mask\312AS\n\013Environment" - + "\022Dgoogle.cloud.orchestration.airflow.ser" - + "vice.v1beta1.OperationMetadata\022\247\002\n\021Delet" - + "eEnvironment\022L.google.cloud.orchestratio" - + "n.airflow.service.v1beta1.DeleteEnvironm" - + "entRequest\032\035.google.longrunning.Operatio" - + "n\"\244\001\202\323\344\223\0027*5/v1beta1/{name=projects/*/lo" - + "cations/*/environments/*}\332A\004name\312A]\n\025goo" - + "gle.protobuf.Empty\022Dgoogle.cloud.orchest" - + "ration.airflow.service.v1beta1.Operation" - + "Metadata\022\250\002\n\020RestartWebServer\022K.google.c" - + "loud.orchestration.airflow.service.v1bet" - + "a1.RestartWebServerRequest\032\035.google.long" - + "running.Operation\"\247\001\202\323\344\223\002K\"F/v1beta1/{na" - + "me=projects/*/locations/*/environments/*" - + "}:restartWebServer:\001*\312AS\n\013Environment\022Dg" - + "oogle.cloud.orchestration.airflow.servic" - + "e.v1beta1.OperationMetadata\022\340\002\n\014CheckUpg" - + "rade\022G.google.cloud.orchestration.airflo" - + "w.service.v1beta1.CheckUpgradeRequest\032\035." - + "google.longrunning.Operation\"\347\001\202\323\344\223\002N\"I/" - + "v1beta1/{environment=projects/*/location" - + "s/*/environments/*}:checkUpgrade:\001*\312A\217\001\n" - + "Ggoogle.cloud.orchestration.airflow.serv" - + "ice.v1beta1.CheckUpgradeResponse\022Dgoogle" - + ".cloud.orchestration.airflow.service.v1b" - + "eta1.OperationMetadata\032K\312A\027composer.goog" - + "leapis.com\322A.https://www.googleapis.com/" - + "auth/cloud-platformB\225\001\n6com.google.cloud" - + ".orchestration.airflow.service.v1beta1P\001" - + "ZYgoogle.golang.org/genproto/googleapis/" - + "cloud/orchestration/airflow/service/v1be" - + "ta1;serviceb\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.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_CreateEnvironmentRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_CreateEnvironmentRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_CreateEnvironmentRequest_descriptor, - new java.lang.String[] { - "Parent", "Environment", - }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_GetEnvironmentRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_GetEnvironmentRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_GetEnvironmentRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsResponse_descriptor, - new java.lang.String[] { - "Environments", "NextPageToken", - }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_DeleteEnvironmentRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_DeleteEnvironmentRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_DeleteEnvironmentRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_UpdateEnvironmentRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_UpdateEnvironmentRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_UpdateEnvironmentRequest_descriptor, - new java.lang.String[] { - "Name", "Environment", "UpdateMask", - }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_RestartWebServerRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_RestartWebServerRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_RestartWebServerRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_EnvironmentConfig_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_EnvironmentConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_EnvironmentConfig_descriptor, - new java.lang.String[] { - "GkeCluster", - "DagGcsPrefix", - "NodeCount", - "SoftwareConfig", - "NodeConfig", - "PrivateEnvironmentConfig", - "WebServerNetworkAccessControl", - "DatabaseConfig", - "WebServerConfig", - "AirflowUri", - "EncryptionConfig", - "MaintenanceWindow", - "WorkloadsConfig", - "EnvironmentSize", - }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_descriptor, - new java.lang.String[] { - "AllowedIpRanges", - }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_AllowedIpRange_descriptor = - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_AllowedIpRange_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_AllowedIpRange_descriptor, - new java.lang.String[] { - "Value", "Description", - }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_descriptor, - new java.lang.String[] { - "ImageVersion", - "AirflowConfigOverrides", - "PypiPackages", - "EnvVariables", - "PythonVersion", - }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_AirflowConfigOverridesEntry_descriptor = - internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_AirflowConfigOverridesEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_AirflowConfigOverridesEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_PypiPackagesEntry_descriptor = - internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_PypiPackagesEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_PypiPackagesEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_EnvVariablesEntry_descriptor = - internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_descriptor - .getNestedTypes() - .get(2); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_EnvVariablesEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_EnvVariablesEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_IPAllocationPolicy_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_IPAllocationPolicy_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_IPAllocationPolicy_descriptor, - new java.lang.String[] { - "UseIpAliases", - "ClusterSecondaryRangeName", - "ServicesSecondaryRangeName", - "ClusterIpv4CidrBlock", - "ServicesIpv4CidrBlock", - }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_NodeConfig_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_NodeConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_NodeConfig_descriptor, - new java.lang.String[] { - "Location", - "MachineType", - "Network", - "Subnetwork", - "DiskSizeGb", - "OauthScopes", - "ServiceAccount", - "Tags", - "IpAllocationPolicy", - "MaxPodsPerNode", - }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateClusterConfig_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateClusterConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateClusterConfig_descriptor, - new java.lang.String[] { - "EnablePrivateEndpoint", "MasterIpv4CidrBlock", "MasterIpv4ReservedRange", - }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateEnvironmentConfig_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateEnvironmentConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateEnvironmentConfig_descriptor, - new java.lang.String[] { - "EnablePrivateEnvironment", - "PrivateClusterConfig", - "WebServerIpv4CidrBlock", - "CloudSqlIpv4CidrBlock", - "WebServerIpv4ReservedRange", - "CloudComposerNetworkIpv4CidrBlock", - "CloudComposerNetworkIpv4ReservedRange", - }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_DatabaseConfig_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_DatabaseConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_DatabaseConfig_descriptor, - new java.lang.String[] { - "MachineType", - }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerConfig_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerConfig_descriptor, - new java.lang.String[] { - "MachineType", - }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_EncryptionConfig_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_EncryptionConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_EncryptionConfig_descriptor, - new java.lang.String[] { - "KmsKeyName", - }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_MaintenanceWindow_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_MaintenanceWindow_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_MaintenanceWindow_descriptor, - new java.lang.String[] { - "StartTime", "EndTime", "Recurrence", - }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_descriptor, - new java.lang.String[] { - "Scheduler", "WebServer", "Worker", - }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_SchedulerResource_descriptor = - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_SchedulerResource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_SchedulerResource_descriptor, - new java.lang.String[] { - "Cpu", "MemoryGb", "StorageGb", "Count", - }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WebServerResource_descriptor = - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WebServerResource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WebServerResource_descriptor, - new java.lang.String[] { - "Cpu", "MemoryGb", "StorageGb", - }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WorkerResource_descriptor = - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_descriptor - .getNestedTypes() - .get(2); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WorkerResource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WorkerResource_descriptor, - new java.lang.String[] { - "Cpu", "MemoryGb", "StorageGb", "MinCount", "MaxCount", - }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_descriptor, - new java.lang.String[] { - "Name", "Config", "Uuid", "State", "CreateTime", "UpdateTime", "Labels", - }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_LabelsEntry_descriptor = - internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeRequest_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeRequest_descriptor, - new java.lang.String[] { - "Environment", "ImageVersion", - }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_descriptor, - new java.lang.String[] { - "BuildLogUri", - "ContainsPypiModulesConflict", - "PypiConflictBuildLogExtract", - "ImageVersion", - "PypiDependencies", - }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_PypiDependenciesEntry_descriptor = - internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_PypiDependenciesEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_PypiDependenciesEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - 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.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.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsOuterClass.java b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsOuterClass.java deleted file mode 100644 index f36eafe6..00000000 --- a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsOuterClass.java +++ /dev/null @@ -1,133 +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/orchestration/airflow/service/v1beta1/image_versions.proto - -package com.google.cloud.orchestration.airflow.service.v1beta1; - -public final class ImageVersionsOuterClass { - private ImageVersionsOuterClass() {} - - 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_orchestration_airflow_service_v1beta1_ListImageVersionsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1beta1_ImageVersion_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_ImageVersion_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\nGgoogle/cloud/orchestration/airflow/ser" - + "vice/v1beta1/image_versions.proto\0222googl" - + "e.cloud.orchestration.airflow.service.v1" - + "beta1\032\034google/api/annotations.proto\032\027goo" - + "gle/api/client.proto\032\026google/type/date.p" - + "roto\"p\n\030ListImageVersionsRequest\022\016\n\006pare" - + "nt\030\001 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_toke" - + "n\030\003 \001(\t\022\035\n\025include_past_releases\030\004 \001(\010\"\216" - + "\001\n\031ListImageVersionsResponse\022X\n\016image_ve" - + "rsions\030\001 \003(\0132@.google.cloud.orchestratio" - + "n.airflow.service.v1beta1.ImageVersion\022\027" - + "\n\017next_page_token\030\002 \001(\t\"\275\001\n\014ImageVersion" - + "\022\030\n\020image_version_id\030\001 \001(\t\022\022\n\nis_default" - + "\030\002 \001(\010\022!\n\031supported_python_versions\030\003 \003(" - + "\t\022\'\n\014release_date\030\004 \001(\0132\021.google.type.Da" - + "te\022\031\n\021creation_disabled\030\005 \001(\010\022\030\n\020upgrade" - + "_disabled\030\006 \001(\0102\330\002\n\rImageVersions\022\371\001\n\021Li" - + "stImageVersions\022L.google.cloud.orchestra" - + "tion.airflow.service.v1beta1.ListImageVe" - + "rsionsRequest\032M.google.cloud.orchestrati" - + "on.airflow.service.v1beta1.ListImageVers" - + "ionsResponse\"G\202\323\344\223\0028\0226/v1beta1/{parent=p" - + "rojects/*/locations/*}/imageVersions\332A\006p" - + "arent\032K\312A\027composer.googleapis.com\322A.http" - + "s://www.googleapis.com/auth/cloud-platfo" - + "rmB\225\001\n6com.google.cloud.orchestration.ai" - + "rflow.service.v1beta1P\001ZYgoogle.golang.o" - + "rg/genproto/googleapis/cloud/orchestrati" - + "on/airflow/service/v1beta1;serviceb\006prot" - + "o3" - }; - 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.type.DateProto.getDescriptor(), - }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "IncludePastReleases", - }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsResponse_descriptor, - new java.lang.String[] { - "ImageVersions", "NextPageToken", - }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_ImageVersion_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_ImageVersion_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_ImageVersion_descriptor, - new java.lang.String[] { - "ImageVersionId", - "IsDefault", - "SupportedPythonVersions", - "ReleaseDate", - "CreationDisabled", - "UpgradeDisabled", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.type.DateProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListImageVersionsResponseOrBuilder.java b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListImageVersionsResponseOrBuilder.java deleted file mode 100644 index 91290ad6..00000000 --- a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListImageVersionsResponseOrBuilder.java +++ /dev/null @@ -1,115 +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/orchestration/airflow/service/v1beta1/image_versions.proto - -package com.google.cloud.orchestration.airflow.service.v1beta1; - -public interface ListImageVersionsResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
    -   * The list of supported ImageVersions in a location.
    -   * 
    - * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; - * - */ - java.util.List - getImageVersionsList(); - /** - * - * - *
    -   * The list of supported ImageVersions in a location.
    -   * 
    - * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; - * - */ - com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion getImageVersions(int index); - /** - * - * - *
    -   * The list of supported ImageVersions in a location.
    -   * 
    - * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; - * - */ - int getImageVersionsCount(); - /** - * - * - *
    -   * The list of supported ImageVersions in a location.
    -   * 
    - * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; - * - */ - java.util.List< - ? extends com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionOrBuilder> - getImageVersionsOrBuilderList(); - /** - * - * - *
    -   * The list of supported ImageVersions in a location.
    -   * 
    - * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; - * - */ - com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionOrBuilder - getImageVersionsOrBuilder(int index); - - /** - * - * - *
    -   * The page token used to query for the next page if one exists.
    -   * 
    - * - * string next_page_token = 2; - * - * @return The nextPageToken. - */ - java.lang.String getNextPageToken(); - /** - * - * - *
    -   * The page token used to query for the next page if one exists.
    -   * 
    - * - * string next_page_token = 2; - * - * @return The bytes for nextPageToken. - */ - com.google.protobuf.ByteString getNextPageTokenBytes(); -} diff --git a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/OperationsProto.java b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/OperationsProto.java deleted file mode 100644 index 11883d69..00000000 --- a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/OperationsProto.java +++ /dev/null @@ -1,86 +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/orchestration/airflow/service/v1beta1/operations.proto - -package com.google.cloud.orchestration.airflow.service.v1beta1; - -public final class OperationsProto { - private OperationsProto() {} - - 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_orchestration_airflow_service_v1beta1_OperationMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_OperationMetadata_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\nCgoogle/cloud/orchestration/airflow/ser" - + "vice/v1beta1/operations.proto\0222google.cl" - + "oud.orchestration.airflow.service.v1beta" - + "1\032\037google/protobuf/timestamp.proto\032\034goog" - + "le/api/annotations.proto\"\376\003\n\021OperationMe" - + "tadata\022Z\n\005state\030\001 \001(\0162K.google.cloud.orc" - + "hestration.airflow.service.v1beta1.Opera" - + "tionMetadata.State\022b\n\016operation_type\030\002 \001" - + "(\0162J.google.cloud.orchestration.airflow." - + "service.v1beta1.OperationMetadata.Type\022\020" - + "\n\010resource\030\003 \001(\t\022\025\n\rresource_uuid\030\004 \001(\t\022" - + "/\n\013create_time\030\005 \001(\0132\032.google.protobuf.T" - + "imestamp\022,\n\010end_time\030\006 \001(\0132\032.google.prot" - + "obuf.Timestamp\"T\n\005State\022\025\n\021STATE_UNSPECI" - + "FIED\020\000\022\013\n\007PENDING\020\001\022\013\n\007RUNNING\020\002\022\016\n\nSUCC" - + "ESSFUL\020\003\022\n\n\006FAILED\020\004\"K\n\004Type\022\024\n\020TYPE_UNS" - + "PECIFIED\020\000\022\n\n\006CREATE\020\001\022\n\n\006DELETE\020\002\022\n\n\006UP" - + "DATE\020\003\022\t\n\005CHECK\020\004B\246\001\n6com.google.cloud.o" - + "rchestration.airflow.service.v1beta1B\017Op" - + "erationsProtoP\001ZYgoogle.golang.org/genpr" - + "oto/googleapis/cloud/orchestration/airfl" - + "ow/service/v1beta1;serviceb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_OperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_OperationMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_OperationMetadata_descriptor, - new java.lang.String[] { - "State", "OperationType", "Resource", "ResourceUuid", "CreateTime", "EndTime", - }); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WebServerNetworkAccessControlOrBuilder.java b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WebServerNetworkAccessControlOrBuilder.java deleted file mode 100644 index 3400d7da..00000000 --- a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WebServerNetworkAccessControlOrBuilder.java +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/orchestration/airflow/service/v1beta1/environments.proto - -package com.google.cloud.orchestration.airflow.service.v1beta1; - -public interface WebServerNetworkAccessControlOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
    -   * A collection of allowed IP ranges with descriptions.
    -   * 
    - * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; - * - */ - java.util.List< - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .AllowedIpRange> - getAllowedIpRangesList(); - /** - * - * - *
    -   * A collection of allowed IP ranges with descriptions.
    -   * 
    - * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; - * - */ - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .AllowedIpRange - getAllowedIpRanges(int index); - /** - * - * - *
    -   * A collection of allowed IP ranges with descriptions.
    -   * 
    - * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; - * - */ - int getAllowedIpRangesCount(); - /** - * - * - *
    -   * A collection of allowed IP ranges with descriptions.
    -   * 
    - * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; - * - */ - java.util.List< - ? extends - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .AllowedIpRangeOrBuilder> - getAllowedIpRangesOrBuilderList(); - /** - * - * - *
    -   * A collection of allowed IP ranges with descriptions.
    -   * 
    - * - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; - * - */ - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl - .AllowedIpRangeOrBuilder - getAllowedIpRangesOrBuilder(int index); -} diff --git a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WorkloadsConfigOrBuilder.java b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WorkloadsConfigOrBuilder.java deleted file mode 100644 index 49776c92..00000000 --- a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WorkloadsConfigOrBuilder.java +++ /dev/null @@ -1,153 +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/orchestration/airflow/service/v1beta1/environments.proto - -package com.google.cloud.orchestration.airflow.service.v1beta1; - -public interface WorkloadsConfigOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
    -   * Optional. Resources used by Airflow schedulers.
    -   * 
    - * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return Whether the scheduler field is set. - */ - boolean hasScheduler(); - /** - * - * - *
    -   * Optional. Resources used by Airflow schedulers.
    -   * 
    - * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The scheduler. - */ - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource - getScheduler(); - /** - * - * - *
    -   * Optional. Resources used by Airflow schedulers.
    -   * 
    - * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResourceOrBuilder - getSchedulerOrBuilder(); - - /** - * - * - *
    -   * Optional. Resources used by Airflow web server.
    -   * 
    - * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return Whether the webServer field is set. - */ - boolean hasWebServer(); - /** - * - * - *
    -   * Optional. Resources used by Airflow web server.
    -   * 
    - * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The webServer. - */ - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource - getWebServer(); - /** - * - * - *
    -   * Optional. Resources used by Airflow web server.
    -   * 
    - * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResourceOrBuilder - getWebServerOrBuilder(); - - /** - * - * - *
    -   * Optional. Resources used by Airflow workers.
    -   * 
    - * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return Whether the worker field is set. - */ - boolean hasWorker(); - /** - * - * - *
    -   * Optional. Resources used by Airflow workers.
    -   * 
    - * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The worker. - */ - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource getWorker(); - /** - * - * - *
    -   * Optional. Resources used by Airflow workers.
    -   * 
    - * - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResourceOrBuilder - getWorkerOrBuilder(); -} From 2b3c779b8283ecc892ac0ad2686915796a50f736 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Thu, 23 Jun 2022 02:22:30 +0000 Subject: [PATCH 2/3] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20po?= =?UTF-8?q?st-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- .../service/v1/EnvironmentsClient.java | 44 +- .../service/v1/EnvironmentsSettings.java | 7 +- .../service/v1/ImageVersionsClient.java | 20 +- .../service/v1/ImageVersionsSettings.java | 7 +- .../airflow/service/v1/gapic_metadata.json | 0 .../airflow/service/v1/package-info.java | 0 .../service/v1/stub/EnvironmentsStub.java | 0 .../v1/stub/EnvironmentsStubSettings.java | 6 +- .../stub/GrpcEnvironmentsCallableFactory.java | 0 .../service/v1/stub/GrpcEnvironmentsStub.java | 1 - .../GrpcImageVersionsCallableFactory.java | 0 .../v1/stub/GrpcImageVersionsStub.java | 1 - .../HttpJsonEnvironmentsCallableFactory.java | 0 .../v1/stub/HttpJsonEnvironmentsStub.java | 1 - .../HttpJsonImageVersionsCallableFactory.java | 0 .../v1/stub/HttpJsonImageVersionsStub.java | 0 .../service/v1/stub/ImageVersionsStub.java | 0 .../v1/stub/ImageVersionsStubSettings.java | 9 +- .../service/v1beta1/EnvironmentsClient.java | 42 +- .../service/v1beta1/EnvironmentsSettings.java | 7 +- .../service/v1beta1/ImageVersionsClient.java | 20 +- .../v1beta1/ImageVersionsSettings.java | 7 +- .../service/v1beta1/gapic_metadata.json | 0 .../airflow/service/v1beta1/package-info.java | 0 .../v1beta1/stub/EnvironmentsStub.java | 0 .../stub/EnvironmentsStubSettings.java | 6 +- .../stub/GrpcEnvironmentsCallableFactory.java | 0 .../v1beta1/stub/GrpcEnvironmentsStub.java | 1 - .../GrpcImageVersionsCallableFactory.java | 0 .../v1beta1/stub/GrpcImageVersionsStub.java | 1 - .../HttpJsonEnvironmentsCallableFactory.java | 0 .../stub/HttpJsonEnvironmentsStub.java | 1 - .../HttpJsonImageVersionsCallableFactory.java | 0 .../stub/HttpJsonImageVersionsStub.java | 0 .../v1beta1/stub/ImageVersionsStub.java | 0 .../stub/ImageVersionsStubSettings.java | 9 +- .../v1/EnvironmentsClientHttpJsonTest.java | 0 .../service/v1/EnvironmentsClientTest.java | 0 .../v1/ImageVersionsClientHttpJsonTest.java | 0 .../service/v1/ImageVersionsClientTest.java | 0 .../airflow/service/v1/MockEnvironments.java | 0 .../service/v1/MockEnvironmentsImpl.java | 0 .../airflow/service/v1/MockImageVersions.java | 0 .../service/v1/MockImageVersionsImpl.java | 0 .../EnvironmentsClientHttpJsonTest.java | 0 .../v1beta1/EnvironmentsClientTest.java | 0 .../ImageVersionsClientHttpJsonTest.java | 0 .../v1beta1/ImageVersionsClientTest.java | 0 .../service/v1beta1/MockEnvironments.java | 0 .../service/v1beta1/MockEnvironmentsImpl.java | 0 .../service/v1beta1/MockImageVersions.java | 0 .../v1beta1/MockImageVersionsImpl.java | 0 .../airflow/service/v1/EnvironmentsGrpc.java | 846 ++++++ .../airflow/service/v1/ImageVersionsGrpc.java | 373 +++ .../service/v1beta1/EnvironmentsGrpc.java | 1111 ++++++++ .../service/v1beta1/ImageVersionsGrpc.java | 379 +++ .../airflow/service/v1/EnvironmentsGrpc.java | 647 ----- .../airflow/service/v1/ImageVersionsGrpc.java | 303 --- .../service/v1/EnvironmentsOuterClass.java | 483 ---- .../service/v1/ImageVersionsOuterClass.java | 110 - .../airflow/service/v1/OperationsProto.java | 71 - ...ebServerNetworkAccessControlOrBuilder.java | 53 - .../service/v1beta1/EnvironmentsGrpc.java | 823 ------ .../service/v1beta1/ImageVersionsGrpc.java | 303 --- .../v1beta1/EnvironmentsOuterClass.java | 621 ----- .../v1beta1/ImageVersionsOuterClass.java | 111 - .../ListImageVersionsResponseOrBuilder.java | 73 - .../service/v1beta1/OperationsProto.java | 71 - ...ebServerNetworkAccessControlOrBuilder.java | 53 - .../v1beta1/WorkloadsConfigOrBuilder.java | 90 - .../service/v1/CheckUpgradeResponse.java | 974 ++++--- .../v1/CheckUpgradeResponseOrBuilder.java | 99 +- .../service/v1/CreateEnvironmentRequest.java | 525 ++-- .../v1/CreateEnvironmentRequestOrBuilder.java | 35 +- .../airflow/service/v1/DatabaseConfig.java | 335 ++- .../service/v1/DatabaseConfigOrBuilder.java | 27 +- .../service/v1/DeleteEnvironmentRequest.java | 410 +-- .../v1/DeleteEnvironmentRequestOrBuilder.java | 27 +- .../airflow/service/v1/EncryptionConfig.java | 347 ++- .../service/v1/EncryptionConfigOrBuilder.java | 27 +- .../airflow/service/v1/Environment.java | 1140 +++++--- .../airflow/service/v1/EnvironmentConfig.java | 1686 ++++++++---- .../v1/EnvironmentConfigOrBuilder.java | 188 +- .../service/v1/EnvironmentOrBuilder.java | 97 +- .../service/v1/EnvironmentsOuterClass.java | 569 ++++ .../service/v1/GetEnvironmentRequest.java | 357 ++- .../v1/GetEnvironmentRequestOrBuilder.java | 27 +- .../service/v1/IPAllocationPolicy.java | 817 +++--- .../v1/IPAllocationPolicyOrBuilder.java | 86 +- .../airflow/service/v1/ImageVersion.java | 640 +++-- .../service/v1/ImageVersionOrBuilder.java | 62 +- .../service/v1/ImageVersionsOuterClass.java | 132 + .../service/v1/ListEnvironmentsRequest.java | 480 ++-- .../v1/ListEnvironmentsRequestOrBuilder.java | 39 +- .../service/v1/ListEnvironmentsResponse.java | 664 +++-- .../v1/ListEnvironmentsResponseOrBuilder.java | 56 +- .../service/v1/ListImageVersionsRequest.java | 560 ++-- .../v1/ListImageVersionsRequestOrBuilder.java | 42 +- .../service/v1/ListImageVersionsResponse.java | 680 +++-- .../ListImageVersionsResponseOrBuilder.java | 56 +- .../airflow/service/v1/NodeConfig.java | 1072 +++++--- .../service/v1/NodeConfigOrBuilder.java | 125 +- .../airflow/service/v1/OperationMetadata.java | 985 ++++--- .../v1/OperationMetadataOrBuilder.java | 70 +- .../airflow/service/v1/OperationsProto.java | 86 + .../service/v1/PrivateClusterConfig.java | 487 ++-- .../v1/PrivateClusterConfigOrBuilder.java | 45 +- .../service/v1/PrivateEnvironmentConfig.java | 816 +++--- .../v1/PrivateEnvironmentConfigOrBuilder.java | 77 +- .../airflow/service/v1/SoftwareConfig.java | 1137 ++++---- .../service/v1/SoftwareConfigOrBuilder.java | 129 +- .../service/v1/UpdateEnvironmentRequest.java | 621 +++-- .../v1/UpdateEnvironmentRequestOrBuilder.java | 43 +- .../airflow/service/v1/WebServerConfig.java | 343 ++- .../service/v1/WebServerConfigOrBuilder.java | 27 +- .../v1/WebServerNetworkAccessControl.java | 1212 ++++++--- ...ebServerNetworkAccessControlOrBuilder.java | 96 + .../airflow/service/v1/environments.proto | 0 .../airflow/service/v1/image_versions.proto | 0 .../airflow/service/v1/operations.proto | 0 .../service/v1beta1/CheckUpgradeRequest.java | 489 ++-- .../v1beta1/CheckUpgradeRequestOrBuilder.java | 36 +- .../service/v1beta1/CheckUpgradeResponse.java | 1038 ++++--- .../CheckUpgradeResponseOrBuilder.java | 99 +- .../v1beta1/CreateEnvironmentRequest.java | 538 ++-- .../CreateEnvironmentRequestOrBuilder.java | 38 +- .../service/v1beta1/DatabaseConfig.java | 347 ++- .../v1beta1/DatabaseConfigOrBuilder.java | 27 +- .../v1beta1/DeleteEnvironmentRequest.java | 417 +-- .../DeleteEnvironmentRequestOrBuilder.java | 27 +- .../service/v1beta1/EncryptionConfig.java | 357 ++- .../v1beta1/EncryptionConfigOrBuilder.java | 27 +- .../airflow/service/v1beta1/Environment.java | 1286 +++++---- .../service/v1beta1/EnvironmentConfig.java | 2315 +++++++++++----- .../v1beta1/EnvironmentConfigOrBuilder.java | 263 +- .../service/v1beta1/EnvironmentOrBuilder.java | 118 +- .../v1beta1/EnvironmentsOuterClass.java | 724 +++++ .../v1beta1/GetEnvironmentRequest.java | 410 +-- .../GetEnvironmentRequestOrBuilder.java | 27 +- .../service/v1beta1/IPAllocationPolicy.java | 686 +++-- .../v1beta1/IPAllocationPolicyOrBuilder.java | 63 +- .../airflow/service/v1beta1/ImageVersion.java | 655 +++-- .../v1beta1/ImageVersionOrBuilder.java | 62 +- .../v1beta1/ImageVersionsOuterClass.java | 133 + .../v1beta1/ListEnvironmentsRequest.java | 529 ++-- .../ListEnvironmentsRequestOrBuilder.java | 39 +- .../v1beta1/ListEnvironmentsResponse.java | 706 +++-- .../ListEnvironmentsResponseOrBuilder.java | 66 +- .../v1beta1/ListImageVersionsRequest.java | 567 ++-- .../ListImageVersionsRequestOrBuilder.java | 42 +- .../v1beta1/ListImageVersionsResponse.java | 710 +++-- .../ListImageVersionsResponseOrBuilder.java | 115 + .../service/v1beta1/MaintenanceWindow.java | 601 ++-- .../v1beta1/MaintenanceWindowOrBuilder.java | 52 +- .../airflow/service/v1beta1/NodeConfig.java | 1133 +++++--- .../service/v1beta1/NodeConfigOrBuilder.java | 128 +- .../service/v1beta1/OperationMetadata.java | 1011 ++++--- .../v1beta1/OperationMetadataOrBuilder.java | 78 +- .../service/v1beta1/OperationsProto.java | 86 + .../service/v1beta1/PrivateClusterConfig.java | 547 ++-- .../PrivateClusterConfigOrBuilder.java | 45 +- .../v1beta1/PrivateEnvironmentConfig.java | 1055 ++++--- .../PrivateEnvironmentConfigOrBuilder.java | 114 +- .../v1beta1/RestartWebServerRequest.java | 416 +-- .../RestartWebServerRequestOrBuilder.java | 27 +- .../service/v1beta1/SoftwareConfig.java | 1259 +++++---- .../v1beta1/SoftwareConfigOrBuilder.java | 179 +- .../v1beta1/UpdateEnvironmentRequest.java | 670 +++-- .../UpdateEnvironmentRequestOrBuilder.java | 55 +- .../service/v1beta1/WebServerConfig.java | 350 ++- .../v1beta1/WebServerConfigOrBuilder.java | 27 +- .../WebServerNetworkAccessControl.java | 1227 ++++++--- ...ebServerNetworkAccessControlOrBuilder.java | 97 + .../service/v1beta1/WorkloadsConfig.java | 2418 +++++++++++------ .../v1beta1/WorkloadsConfigOrBuilder.java | 153 ++ .../service/v1beta1/environments.proto | 0 .../service/v1beta1/image_versions.proto | 0 .../airflow/service/v1beta1/operations.proto | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../AsyncCreateEnvironment.java | 0 .../AsyncCreateEnvironmentLRO.java | 0 .../SyncCreateEnvironment.java | 0 ...yncCreateEnvironmentStringEnvironment.java | 0 .../AsyncDeleteEnvironment.java | 0 .../AsyncDeleteEnvironmentLRO.java | 0 .../SyncDeleteEnvironment.java | 1 - .../SyncDeleteEnvironmentString.java | 1 - .../getenvironment/AsyncGetEnvironment.java | 0 .../getenvironment/SyncGetEnvironment.java | 0 .../SyncGetEnvironmentString.java | 0 .../AsyncListEnvironments.java | 0 .../AsyncListEnvironmentsPaged.java | 0 .../SyncListEnvironments.java | 0 .../SyncListEnvironmentsString.java | 0 .../AsyncUpdateEnvironment.java | 0 .../AsyncUpdateEnvironmentLRO.java | 0 .../SyncUpdateEnvironment.java | 0 ...EnvironmentStringEnvironmentFieldmask.java | 0 .../getenvironment/SyncGetEnvironment.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../AsyncListImageVersions.java | 0 .../AsyncListImageVersionsPaged.java | 0 .../SyncListImageVersions.java | 0 .../SyncListImageVersionsString.java | 0 .../SyncListImageVersions.java | 0 .../getenvironment/SyncGetEnvironment.java | 0 .../SyncListImageVersions.java | 0 .../checkupgrade/AsyncCheckUpgrade.java | 0 .../checkupgrade/AsyncCheckUpgradeLRO.java | 0 .../checkupgrade/SyncCheckUpgrade.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../AsyncCreateEnvironment.java | 0 .../AsyncCreateEnvironmentLRO.java | 0 .../SyncCreateEnvironment.java | 0 ...yncCreateEnvironmentStringEnvironment.java | 0 .../AsyncDeleteEnvironment.java | 0 .../AsyncDeleteEnvironmentLRO.java | 0 .../SyncDeleteEnvironment.java | 1 - .../SyncDeleteEnvironmentString.java | 1 - .../getenvironment/AsyncGetEnvironment.java | 0 .../getenvironment/SyncGetEnvironment.java | 0 .../SyncGetEnvironmentString.java | 0 .../AsyncListEnvironments.java | 0 .../AsyncListEnvironmentsPaged.java | 0 .../SyncListEnvironments.java | 0 .../SyncListEnvironmentsString.java | 0 .../AsyncRestartWebServer.java | 0 .../AsyncRestartWebServerLRO.java | 0 .../SyncRestartWebServer.java | 0 .../AsyncUpdateEnvironment.java | 0 .../AsyncUpdateEnvironmentLRO.java | 0 .../SyncUpdateEnvironment.java | 0 ...EnvironmentStringEnvironmentFieldmask.java | 6 +- .../getenvironment/SyncGetEnvironment.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../AsyncListImageVersions.java | 0 .../AsyncListImageVersionsPaged.java | 0 .../SyncListImageVersions.java | 0 .../SyncListImageVersionsString.java | 0 .../SyncListImageVersions.java | 0 .../getenvironment/SyncGetEnvironment.java | 0 .../SyncListImageVersions.java | 0 250 files changed, 31009 insertions(+), 18951 deletions(-) rename {owl-bot-staging/v1/google-cloud-orchestration-airflow => google-cloud-orchestration-airflow}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsClient.java (94%) rename {owl-bot-staging/v1/google-cloud-orchestration-airflow => google-cloud-orchestration-airflow}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsSettings.java (97%) rename {owl-bot-staging/v1/google-cloud-orchestration-airflow => google-cloud-orchestration-airflow}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsClient.java (95%) rename {owl-bot-staging/v1/google-cloud-orchestration-airflow => google-cloud-orchestration-airflow}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsSettings.java (96%) rename {owl-bot-staging/v1/google-cloud-orchestration-airflow => google-cloud-orchestration-airflow}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/gapic_metadata.json (100%) rename {owl-bot-staging/v1/google-cloud-orchestration-airflow => google-cloud-orchestration-airflow}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/package-info.java (100%) rename {owl-bot-staging/v1/google-cloud-orchestration-airflow => google-cloud-orchestration-airflow}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/EnvironmentsStub.java (100%) rename {owl-bot-staging/v1/google-cloud-orchestration-airflow => google-cloud-orchestration-airflow}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/EnvironmentsStubSettings.java (99%) rename {owl-bot-staging/v1/google-cloud-orchestration-airflow => google-cloud-orchestration-airflow}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/GrpcEnvironmentsCallableFactory.java (100%) rename {owl-bot-staging/v1/google-cloud-orchestration-airflow => google-cloud-orchestration-airflow}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/GrpcEnvironmentsStub.java (99%) rename {owl-bot-staging/v1/google-cloud-orchestration-airflow => google-cloud-orchestration-airflow}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/GrpcImageVersionsCallableFactory.java (100%) rename {owl-bot-staging/v1/google-cloud-orchestration-airflow => google-cloud-orchestration-airflow}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/GrpcImageVersionsStub.java (99%) rename {owl-bot-staging/v1/google-cloud-orchestration-airflow => google-cloud-orchestration-airflow}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/HttpJsonEnvironmentsCallableFactory.java (100%) rename {owl-bot-staging/v1/google-cloud-orchestration-airflow => google-cloud-orchestration-airflow}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/HttpJsonEnvironmentsStub.java (99%) rename {owl-bot-staging/v1/google-cloud-orchestration-airflow => google-cloud-orchestration-airflow}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/HttpJsonImageVersionsCallableFactory.java (100%) rename {owl-bot-staging/v1/google-cloud-orchestration-airflow => google-cloud-orchestration-airflow}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/HttpJsonImageVersionsStub.java (100%) rename {owl-bot-staging/v1/google-cloud-orchestration-airflow => google-cloud-orchestration-airflow}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/ImageVersionsStub.java (100%) rename {owl-bot-staging/v1/google-cloud-orchestration-airflow => google-cloud-orchestration-airflow}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/ImageVersionsStubSettings.java (97%) rename {owl-bot-staging/v1beta1/google-cloud-orchestration-airflow => google-cloud-orchestration-airflow}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsClient.java (95%) rename {owl-bot-staging/v1beta1/google-cloud-orchestration-airflow => google-cloud-orchestration-airflow}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsSettings.java (97%) rename {owl-bot-staging/v1beta1/google-cloud-orchestration-airflow => google-cloud-orchestration-airflow}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsClient.java (95%) rename {owl-bot-staging/v1beta1/google-cloud-orchestration-airflow => google-cloud-orchestration-airflow}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsSettings.java (96%) rename {owl-bot-staging/v1beta1/google-cloud-orchestration-airflow => google-cloud-orchestration-airflow}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/gapic_metadata.json (100%) rename {owl-bot-staging/v1beta1/google-cloud-orchestration-airflow => google-cloud-orchestration-airflow}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/package-info.java (100%) rename {owl-bot-staging/v1beta1/google-cloud-orchestration-airflow => google-cloud-orchestration-airflow}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/EnvironmentsStub.java (100%) rename {owl-bot-staging/v1beta1/google-cloud-orchestration-airflow => google-cloud-orchestration-airflow}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/EnvironmentsStubSettings.java (99%) rename {owl-bot-staging/v1beta1/google-cloud-orchestration-airflow => google-cloud-orchestration-airflow}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/GrpcEnvironmentsCallableFactory.java (100%) rename {owl-bot-staging/v1beta1/google-cloud-orchestration-airflow => google-cloud-orchestration-airflow}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/GrpcEnvironmentsStub.java (99%) rename {owl-bot-staging/v1beta1/google-cloud-orchestration-airflow => google-cloud-orchestration-airflow}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/GrpcImageVersionsCallableFactory.java (100%) rename {owl-bot-staging/v1beta1/google-cloud-orchestration-airflow => google-cloud-orchestration-airflow}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/GrpcImageVersionsStub.java (99%) rename {owl-bot-staging/v1beta1/google-cloud-orchestration-airflow => google-cloud-orchestration-airflow}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/HttpJsonEnvironmentsCallableFactory.java (100%) rename {owl-bot-staging/v1beta1/google-cloud-orchestration-airflow => google-cloud-orchestration-airflow}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/HttpJsonEnvironmentsStub.java (99%) rename {owl-bot-staging/v1beta1/google-cloud-orchestration-airflow => google-cloud-orchestration-airflow}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/HttpJsonImageVersionsCallableFactory.java (100%) rename {owl-bot-staging/v1beta1/google-cloud-orchestration-airflow => google-cloud-orchestration-airflow}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/HttpJsonImageVersionsStub.java (100%) rename {owl-bot-staging/v1beta1/google-cloud-orchestration-airflow => google-cloud-orchestration-airflow}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/ImageVersionsStub.java (100%) rename {owl-bot-staging/v1beta1/google-cloud-orchestration-airflow => google-cloud-orchestration-airflow}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/ImageVersionsStubSettings.java (97%) rename {owl-bot-staging/v1/google-cloud-orchestration-airflow => google-cloud-orchestration-airflow}/src/test/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsClientHttpJsonTest.java (100%) rename {owl-bot-staging/v1/google-cloud-orchestration-airflow => google-cloud-orchestration-airflow}/src/test/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsClientTest.java (100%) rename {owl-bot-staging/v1/google-cloud-orchestration-airflow => google-cloud-orchestration-airflow}/src/test/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsClientHttpJsonTest.java (100%) rename {owl-bot-staging/v1/google-cloud-orchestration-airflow => google-cloud-orchestration-airflow}/src/test/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsClientTest.java (100%) rename {owl-bot-staging/v1/google-cloud-orchestration-airflow => google-cloud-orchestration-airflow}/src/test/java/com/google/cloud/orchestration/airflow/service/v1/MockEnvironments.java (100%) rename {owl-bot-staging/v1/google-cloud-orchestration-airflow => google-cloud-orchestration-airflow}/src/test/java/com/google/cloud/orchestration/airflow/service/v1/MockEnvironmentsImpl.java (100%) rename {owl-bot-staging/v1/google-cloud-orchestration-airflow => google-cloud-orchestration-airflow}/src/test/java/com/google/cloud/orchestration/airflow/service/v1/MockImageVersions.java (100%) rename {owl-bot-staging/v1/google-cloud-orchestration-airflow => google-cloud-orchestration-airflow}/src/test/java/com/google/cloud/orchestration/airflow/service/v1/MockImageVersionsImpl.java (100%) rename {owl-bot-staging/v1beta1/google-cloud-orchestration-airflow => google-cloud-orchestration-airflow}/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsClientHttpJsonTest.java (100%) rename {owl-bot-staging/v1beta1/google-cloud-orchestration-airflow => google-cloud-orchestration-airflow}/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsClientTest.java (100%) rename {owl-bot-staging/v1beta1/google-cloud-orchestration-airflow => google-cloud-orchestration-airflow}/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsClientHttpJsonTest.java (100%) rename {owl-bot-staging/v1beta1/google-cloud-orchestration-airflow => google-cloud-orchestration-airflow}/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsClientTest.java (100%) rename {owl-bot-staging/v1beta1/google-cloud-orchestration-airflow => google-cloud-orchestration-airflow}/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/MockEnvironments.java (100%) rename {owl-bot-staging/v1beta1/google-cloud-orchestration-airflow => google-cloud-orchestration-airflow}/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/MockEnvironmentsImpl.java (100%) rename {owl-bot-staging/v1beta1/google-cloud-orchestration-airflow => google-cloud-orchestration-airflow}/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/MockImageVersions.java (100%) rename {owl-bot-staging/v1beta1/google-cloud-orchestration-airflow => google-cloud-orchestration-airflow}/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/MockImageVersionsImpl.java (100%) create mode 100644 grpc-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsGrpc.java create mode 100644 grpc-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsGrpc.java create mode 100644 grpc-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsGrpc.java create mode 100644 grpc-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsGrpc.java delete mode 100644 owl-bot-staging/v1/grpc-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsGrpc.java delete mode 100644 owl-bot-staging/v1/grpc-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsGrpc.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsOuterClass.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsOuterClass.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/OperationsProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/WebServerNetworkAccessControlOrBuilder.java delete mode 100644 owl-bot-staging/v1beta1/grpc-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsGrpc.java delete mode 100644 owl-bot-staging/v1beta1/grpc-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsGrpc.java delete mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsOuterClass.java delete mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsOuterClass.java delete mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListImageVersionsResponseOrBuilder.java delete mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/OperationsProto.java delete mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WebServerNetworkAccessControlOrBuilder.java delete mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WorkloadsConfigOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1 => proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/CheckUpgradeResponse.java (63%) rename {owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1 => proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/CheckUpgradeResponseOrBuilder.java (64%) rename {owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1 => proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/CreateEnvironmentRequest.java (61%) rename {owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1 => proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/CreateEnvironmentRequestOrBuilder.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1 => proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/DatabaseConfig.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1 => proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/DatabaseConfigOrBuilder.java (61%) rename {owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1 => proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/DeleteEnvironmentRequest.java (58%) rename {owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1 => proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/DeleteEnvironmentRequestOrBuilder.java (53%) rename {owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1 => proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EncryptionConfig.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1 => proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EncryptionConfigOrBuilder.java (59%) rename {owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1 => proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/Environment.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1 => proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentConfig.java (62%) rename {owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1 => proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentConfigOrBuilder.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1 => proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentOrBuilder.java (84%) create mode 100644 proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsOuterClass.java rename {owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1 => proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/GetEnvironmentRequest.java (64%) rename {owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1 => proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/GetEnvironmentRequestOrBuilder.java (54%) rename {owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1 => proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/IPAllocationPolicy.java (76%) rename {owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1 => proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/IPAllocationPolicyOrBuilder.java (84%) rename {owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1 => proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersion.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1 => proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionOrBuilder.java (75%) create mode 100644 proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsOuterClass.java rename {owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1 => proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListEnvironmentsRequest.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1 => proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListEnvironmentsRequestOrBuilder.java (63%) rename {owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1 => proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListEnvironmentsResponse.java (64%) rename {owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1 => proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListEnvironmentsResponseOrBuilder.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1 => proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListImageVersionsRequest.java (64%) rename {owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1 => proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListImageVersionsRequestOrBuilder.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1 => proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListImageVersionsResponse.java (60%) rename {owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1 => proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListImageVersionsResponseOrBuilder.java (64%) rename {owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1 => proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/NodeConfig.java (78%) rename {owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1 => proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/NodeConfigOrBuilder.java (85%) rename {owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1 => proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/OperationMetadata.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1 => proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/OperationMetadataOrBuilder.java (79%) create mode 100644 proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/OperationsProto.java rename {owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1 => proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateClusterConfig.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1 => proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateClusterConfigOrBuilder.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1 => proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateEnvironmentConfig.java (64%) rename {owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1 => proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateEnvironmentConfigOrBuilder.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1 => proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/SoftwareConfig.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1 => proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/SoftwareConfigOrBuilder.java (87%) rename {owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1 => proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/UpdateEnvironmentRequest.java (87%) rename {owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1 => proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/UpdateEnvironmentRequestOrBuilder.java (95%) rename {owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1 => proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/WebServerConfig.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1 => proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/WebServerConfigOrBuilder.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1 => proto-google-cloud-orchestration-airflow-v1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1/WebServerNetworkAccessControl.java (58%) create mode 100644 proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/WebServerNetworkAccessControlOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1 => proto-google-cloud-orchestration-airflow-v1}/src/main/proto/google/cloud/orchestration/airflow/service/v1/environments.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1 => proto-google-cloud-orchestration-airflow-v1}/src/main/proto/google/cloud/orchestration/airflow/service/v1/image_versions.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1 => proto-google-cloud-orchestration-airflow-v1}/src/main/proto/google/cloud/orchestration/airflow/service/v1/operations.proto (100%) rename {owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1 => proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CheckUpgradeRequest.java (70%) rename {owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1 => proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CheckUpgradeRequestOrBuilder.java (80%) rename {owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1 => proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CheckUpgradeResponse.java (60%) rename {owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1 => proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CheckUpgradeResponseOrBuilder.java (64%) rename {owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1 => proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CreateEnvironmentRequest.java (60%) rename {owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1 => proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CreateEnvironmentRequestOrBuilder.java (65%) rename {owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1 => proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/DatabaseConfig.java (67%) rename {owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1 => proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/DatabaseConfigOrBuilder.java (61%) rename {owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1 => proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/DeleteEnvironmentRequest.java (57%) rename {owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1 => proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/DeleteEnvironmentRequestOrBuilder.java (54%) rename {owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1 => proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EncryptionConfig.java (66%) rename {owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1 => proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EncryptionConfigOrBuilder.java (59%) rename {owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1 => proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/Environment.java (67%) rename {owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1 => proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentConfig.java (62%) rename {owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1 => proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentConfigOrBuilder.java (67%) rename {owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1 => proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentOrBuilder.java (82%) create mode 100644 proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsOuterClass.java rename {owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1 => proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/GetEnvironmentRequest.java (58%) rename {owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1 => proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/GetEnvironmentRequestOrBuilder.java (55%) rename {owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1 => proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/IPAllocationPolicy.java (75%) rename {owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1 => proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/IPAllocationPolicyOrBuilder.java (83%) rename {owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1 => proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersion.java (72%) rename {owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1 => proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionOrBuilder.java (75%) create mode 100644 proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsOuterClass.java rename {owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1 => proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListEnvironmentsRequest.java (62%) rename {owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1 => proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListEnvironmentsRequestOrBuilder.java (63%) rename {owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1 => proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListEnvironmentsResponse.java (58%) rename {owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1 => proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListEnvironmentsResponseOrBuilder.java (51%) rename {owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1 => proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListImageVersionsRequest.java (63%) rename {owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1 => proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListImageVersionsRequestOrBuilder.java (66%) rename {owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1 => proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListImageVersionsResponse.java (58%) create mode 100644 proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListImageVersionsResponseOrBuilder.java rename {owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1 => proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/MaintenanceWindow.java (70%) rename {owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1 => proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/MaintenanceWindowOrBuilder.java (77%) rename {owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1 => proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/NodeConfig.java (78%) rename {owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1 => proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/NodeConfigOrBuilder.java (87%) rename {owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1 => proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/OperationMetadata.java (68%) rename {owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1 => proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/OperationMetadataOrBuilder.java (74%) create mode 100644 proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/OperationsProto.java rename {owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1 => proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateClusterConfig.java (66%) rename {owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1 => proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateClusterConfigOrBuilder.java (71%) rename {owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1 => proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateEnvironmentConfig.java (64%) rename {owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1 => proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateEnvironmentConfigOrBuilder.java (67%) rename {owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1 => proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/RestartWebServerRequest.java (58%) rename {owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1 => proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/RestartWebServerRequestOrBuilder.java (56%) rename {owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1 => proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/SoftwareConfig.java (71%) rename {owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1 => proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/SoftwareConfigOrBuilder.java (82%) rename {owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1 => proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/UpdateEnvironmentRequest.java (87%) rename {owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1 => proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/UpdateEnvironmentRequestOrBuilder.java (95%) rename {owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1 => proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WebServerConfig.java (68%) rename {owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1 => proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WebServerConfigOrBuilder.java (66%) rename {owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1 => proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WebServerNetworkAccessControl.java (57%) create mode 100644 proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WebServerNetworkAccessControlOrBuilder.java rename {owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1 => proto-google-cloud-orchestration-airflow-v1beta1}/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WorkloadsConfig.java (59%) create mode 100644 proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WorkloadsConfigOrBuilder.java rename {owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1 => proto-google-cloud-orchestration-airflow-v1beta1}/src/main/proto/google/cloud/orchestration/airflow/service/v1beta1/environments.proto (100%) rename {owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1 => proto-google-cloud-orchestration-airflow-v1beta1}/src/main/proto/google/cloud/orchestration/airflow/service/v1beta1/image_versions.proto (100%) rename {owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1 => proto-google-cloud-orchestration-airflow-v1beta1}/src/main/proto/google/cloud/orchestration/airflow/service/v1beta1/operations.proto (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/createenvironment/AsyncCreateEnvironment.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/createenvironment/AsyncCreateEnvironmentLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/createenvironment/SyncCreateEnvironment.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/createenvironment/SyncCreateEnvironmentStringEnvironment.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/deleteenvironment/AsyncDeleteEnvironment.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/deleteenvironment/AsyncDeleteEnvironmentLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/deleteenvironment/SyncDeleteEnvironment.java (97%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/deleteenvironment/SyncDeleteEnvironmentString.java (97%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/getenvironment/AsyncGetEnvironment.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/getenvironment/SyncGetEnvironment.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/getenvironment/SyncGetEnvironmentString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/listenvironments/AsyncListEnvironments.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/listenvironments/AsyncListEnvironmentsPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/listenvironments/SyncListEnvironments.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/listenvironments/SyncListEnvironmentsString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/updateenvironment/AsyncUpdateEnvironment.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/updateenvironment/AsyncUpdateEnvironmentLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/updateenvironment/SyncUpdateEnvironment.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/updateenvironment/SyncUpdateEnvironmentStringEnvironmentFieldmask.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentssettings/getenvironment/SyncGetEnvironment.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/listimageversions/AsyncListImageVersions.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/listimageversions/AsyncListImageVersionsPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/listimageversions/SyncListImageVersions.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/listimageversions/SyncListImageVersionsString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionssettings/listimageversions/SyncListImageVersions.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/stub/environmentsstubsettings/getenvironment/SyncGetEnvironment.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/stub/imageversionsstubsettings/listimageversions/SyncListImageVersions.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/checkupgrade/AsyncCheckUpgrade.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/checkupgrade/AsyncCheckUpgradeLRO.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/checkupgrade/SyncCheckUpgrade.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/createenvironment/AsyncCreateEnvironment.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/createenvironment/AsyncCreateEnvironmentLRO.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/createenvironment/SyncCreateEnvironment.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/createenvironment/SyncCreateEnvironmentStringEnvironment.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/deleteenvironment/AsyncDeleteEnvironment.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/deleteenvironment/AsyncDeleteEnvironmentLRO.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/deleteenvironment/SyncDeleteEnvironment.java (97%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/deleteenvironment/SyncDeleteEnvironmentString.java (97%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/getenvironment/AsyncGetEnvironment.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/getenvironment/SyncGetEnvironment.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/getenvironment/SyncGetEnvironmentString.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/listenvironments/AsyncListEnvironments.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/listenvironments/AsyncListEnvironmentsPaged.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/listenvironments/SyncListEnvironments.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/listenvironments/SyncListEnvironmentsString.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/restartwebserver/AsyncRestartWebServer.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/restartwebserver/AsyncRestartWebServerLRO.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/restartwebserver/SyncRestartWebServer.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/updateenvironment/AsyncUpdateEnvironment.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/updateenvironment/AsyncUpdateEnvironmentLRO.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/updateenvironment/SyncUpdateEnvironment.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/updateenvironment/SyncUpdateEnvironmentStringEnvironmentFieldmask.java (88%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentssettings/getenvironment/SyncGetEnvironment.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/listimageversions/AsyncListImageVersions.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/listimageversions/AsyncListImageVersionsPaged.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/listimageversions/SyncListImageVersions.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/listimageversions/SyncListImageVersionsString.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionssettings/listimageversions/SyncListImageVersions.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/stub/environmentsstubsettings/getenvironment/SyncGetEnvironment.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/stub/imageversionsstubsettings/listimageversions/SyncListImageVersions.java (100%) diff --git a/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsClient.java b/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsClient.java similarity index 94% rename from owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsClient.java rename to google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsClient.java index 11ef0d9d..0a5c76cd 100644 --- a/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsClient.java +++ b/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsClient.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. *
    * @@ -540,40 +540,40 @@ public final ListEnvironmentsPagedResponse listEnvironments(ListEnvironmentsRequ *

    { "config":{ "softwareConfig":{ "pypiPackages":{ "botocore":"==1.7.14" } } } } *

    **Note:** Only the following fields can be updated: *

      - *
    • `config.softwareConfig.pypiPackages` * Replace all custom custom PyPI packages. + *
    • `config.softwareConfig.pypiPackages` * Replace all custom custom PyPI packages. * If a replacement package map is not included in `environment`, all custom PyPI * packages are cleared. It is an error to provide both this mask and a mask specifying * an individual package. - *
    • `config.softwareConfig.pypiPackages.`packagename * Update the custom PyPI - * package *packagename*, preserving other packages. To delete the package, - * include it in `updateMask`, and omit the mapping for it in + *
    • `config.softwareConfig.pypiPackages.`packagename * Update the custom PyPI package + * *packagename*, preserving other packages. To delete the package, include it + * in `updateMask`, and omit the mapping for it in * `environment.config.softwareConfig.pypiPackages`. It is an error to provide both a * mask of this form and the `config.softwareConfig.pypiPackages` mask. - *
    • `labels` * Replace all environment labels. If a replacement labels map is not + *
    • `labels` * Replace all environment labels. If a replacement labels map is not * included in `environment`, all labels are cleared. It is an error to provide both * this mask and a mask specifying one or more individual labels. - *
    • `labels.`labelName * Set the label named *labelName*, while preserving + *
    • `labels.`labelName * Set the label named *labelName*, while preserving * other labels. To delete the label, include it in `updateMask` and omit its mapping in * `environment.labels`. It is an error to provide both a mask of this form and the * `labels` mask. - *
    • `config.nodeCount` * Horizontally scale the number of nodes in the environment. + *
    • `config.nodeCount` * Horizontally scale the number of nodes in the environment. * An integer greater than or equal to 3 must be provided in the `config.nodeCount` * field. - *
    • `config.webServerNetworkAccessControl` * Replace the environment's current + *
    • `config.webServerNetworkAccessControl` * Replace the environment's current * `WebServerNetworkAccessControl`. - *
    • `config.databaseConfig` * Replace the environment's current `DatabaseConfig`. - *
    • `config.webServerConfig` * Replace the environment's current `WebServerConfig`. - *
    • `config.softwareConfig.airflowConfigOverrides` * Replace all Apache Airflow + *
    • `config.databaseConfig` * Replace the environment's current `DatabaseConfig`. + *
    • `config.webServerConfig` * Replace the environment's current `WebServerConfig`. + *
    • `config.softwareConfig.airflowConfigOverrides` * Replace all Apache Airflow * config overrides. If a replacement config overrides map is not included in * `environment`, all config overrides are cleared. It is an error to provide both this * mask and a mask specifying one or more individual config overrides. - *
    • `config.softwareConfig.airflowConfigOverrides.`section-name * Override the - * Apache Airflow config property *name* in the section named *section*, + *
    • `config.softwareConfig.airflowConfigOverrides.`section-name * Override the Apache + * Airflow config property *name* in the section named *section*, * preserving other properties. To delete the property override, include it in * `updateMask` and omit its mapping in * `environment.config.softwareConfig.airflowConfigOverrides`. It is an error to provide * both a mask of this form and the `config.softwareConfig.airflowConfigOverrides` mask. - *
    • `config.softwareConfig.envVariables` * Replace all environment variables. If a + *
    • `config.softwareConfig.envVariables` * Replace all environment variables. If a * replacement environment variable map is not included in `environment`, all custom * environment variables are cleared. It is an error to provide both this mask and a * mask specifying one or more individual environment variables. @@ -802,7 +802,10 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListEnvironmentsPagedResponse extends AbstractPagedListResponse< - ListEnvironmentsRequest, ListEnvironmentsResponse, Environment, ListEnvironmentsPage, + ListEnvironmentsRequest, + ListEnvironmentsResponse, + Environment, + ListEnvironmentsPage, ListEnvironmentsFixedSizeCollection> { public static ApiFuture createAsync( @@ -852,7 +855,10 @@ public ApiFuture createPageAsync( public static class ListEnvironmentsFixedSizeCollection extends AbstractFixedSizeCollection< - ListEnvironmentsRequest, ListEnvironmentsResponse, Environment, ListEnvironmentsPage, + ListEnvironmentsRequest, + ListEnvironmentsResponse, + Environment, + ListEnvironmentsPage, ListEnvironmentsFixedSizeCollection> { private ListEnvironmentsFixedSizeCollection( diff --git a/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsSettings.java b/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsSettings.java similarity index 97% rename from owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsSettings.java rename to google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsSettings.java index 83bc9335..7cd32cb7 100644 --- a/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsSettings.java +++ b/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsSettings.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.orchestration.airflow.service.v1.stub.EnvironmentsStubSettings; @@ -46,9 +45,9 @@ *

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

        - *
      • The default service address (composer.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 (composer.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 diff --git a/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsClient.java b/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsClient.java similarity index 95% rename from owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsClient.java rename to google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsClient.java index 4c4ec3fa..d139399e 100644 --- a/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsClient.java +++ b/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsClient.java @@ -57,13 +57,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. *
      * @@ -322,7 +322,10 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListImageVersionsPagedResponse extends AbstractPagedListResponse< - ListImageVersionsRequest, ListImageVersionsResponse, ImageVersion, ListImageVersionsPage, + ListImageVersionsRequest, + ListImageVersionsResponse, + ImageVersion, + ListImageVersionsPage, ListImageVersionsFixedSizeCollection> { public static ApiFuture createAsync( @@ -343,7 +346,9 @@ private ListImageVersionsPagedResponse(ListImageVersionsPage page) { public static class ListImageVersionsPage extends AbstractPage< - ListImageVersionsRequest, ListImageVersionsResponse, ImageVersion, + ListImageVersionsRequest, + ListImageVersionsResponse, + ImageVersion, ListImageVersionsPage> { private ListImageVersionsPage( @@ -373,7 +378,10 @@ public ApiFuture createPageAsync( public static class ListImageVersionsFixedSizeCollection extends AbstractFixedSizeCollection< - ListImageVersionsRequest, ListImageVersionsResponse, ImageVersion, ListImageVersionsPage, + ListImageVersionsRequest, + ListImageVersionsResponse, + ImageVersion, + ListImageVersionsPage, ListImageVersionsFixedSizeCollection> { private ListImageVersionsFixedSizeCollection( diff --git a/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsSettings.java b/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsSettings.java similarity index 96% rename from owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsSettings.java rename to google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsSettings.java index 13e54d1c..6cbe1752 100644 --- a/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsSettings.java +++ b/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsSettings.java @@ -28,7 +28,6 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; -import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.orchestration.airflow.service.v1.stub.ImageVersionsStubSettings; @@ -43,9 +42,9 @@ *

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

        - *
      • The default service address (composer.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 (composer.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 diff --git a/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/gapic_metadata.json b/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/gapic_metadata.json rename to google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/gapic_metadata.json diff --git a/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/package-info.java b/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/package-info.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/package-info.java rename to google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/package-info.java diff --git a/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/EnvironmentsStub.java b/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/EnvironmentsStub.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/EnvironmentsStub.java rename to google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/EnvironmentsStub.java diff --git a/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/EnvironmentsStubSettings.java b/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/EnvironmentsStubSettings.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/EnvironmentsStubSettings.java rename to google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/EnvironmentsStubSettings.java index afc61866..4a669abb 100644 --- a/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/EnvironmentsStubSettings.java +++ b/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/EnvironmentsStubSettings.java @@ -73,9 +73,9 @@ *

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

        - *
      • The default service address (composer.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 (composer.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 diff --git a/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/GrpcEnvironmentsCallableFactory.java b/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/GrpcEnvironmentsCallableFactory.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/GrpcEnvironmentsCallableFactory.java rename to google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/GrpcEnvironmentsCallableFactory.java diff --git a/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/GrpcEnvironmentsStub.java b/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/GrpcEnvironmentsStub.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/GrpcEnvironmentsStub.java rename to google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/GrpcEnvironmentsStub.java index c7761fcc..800adc42 100644 --- a/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/GrpcEnvironmentsStub.java +++ b/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/GrpcEnvironmentsStub.java @@ -40,7 +40,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-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/GrpcImageVersionsCallableFactory.java b/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/GrpcImageVersionsCallableFactory.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/GrpcImageVersionsCallableFactory.java rename to google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/GrpcImageVersionsCallableFactory.java diff --git a/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/GrpcImageVersionsStub.java b/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/GrpcImageVersionsStub.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/GrpcImageVersionsStub.java rename to google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/GrpcImageVersionsStub.java index 2ea0afa2..a812c21e 100644 --- a/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/GrpcImageVersionsStub.java +++ b/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/GrpcImageVersionsStub.java @@ -31,7 +31,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-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/HttpJsonEnvironmentsCallableFactory.java b/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/HttpJsonEnvironmentsCallableFactory.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/HttpJsonEnvironmentsCallableFactory.java rename to google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/HttpJsonEnvironmentsCallableFactory.java diff --git a/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/HttpJsonEnvironmentsStub.java b/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/HttpJsonEnvironmentsStub.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/HttpJsonEnvironmentsStub.java rename to google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/HttpJsonEnvironmentsStub.java index b563ac4d..08dfe2b2 100644 --- a/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/HttpJsonEnvironmentsStub.java +++ b/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/HttpJsonEnvironmentsStub.java @@ -30,7 +30,6 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; -import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.UnaryCallable; diff --git a/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/HttpJsonImageVersionsCallableFactory.java b/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/HttpJsonImageVersionsCallableFactory.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/HttpJsonImageVersionsCallableFactory.java rename to google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/HttpJsonImageVersionsCallableFactory.java diff --git a/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/HttpJsonImageVersionsStub.java b/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/HttpJsonImageVersionsStub.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/HttpJsonImageVersionsStub.java rename to google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/HttpJsonImageVersionsStub.java diff --git a/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/ImageVersionsStub.java b/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/ImageVersionsStub.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/ImageVersionsStub.java rename to google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/ImageVersionsStub.java diff --git a/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/ImageVersionsStubSettings.java b/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/ImageVersionsStubSettings.java similarity index 97% rename from owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/ImageVersionsStubSettings.java rename to google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/ImageVersionsStubSettings.java index 2b58226f..471d4b9f 100644 --- a/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/ImageVersionsStubSettings.java +++ b/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/ImageVersionsStubSettings.java @@ -61,9 +61,9 @@ *

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

        - *
      • The default service address (composer.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 (composer.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 @@ -142,7 +142,8 @@ public Iterable extractResources(ListImageVersionsResponse payload ListImageVersionsRequest, ListImageVersionsResponse, ListImageVersionsPagedResponse> LIST_IMAGE_VERSIONS_PAGE_STR_FACT = new PagedListResponseFactory< - ListImageVersionsRequest, ListImageVersionsResponse, + ListImageVersionsRequest, + ListImageVersionsResponse, ListImageVersionsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( diff --git a/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsClient.java b/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsClient.java similarity index 95% rename from owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsClient.java rename to google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsClient.java index b35d4f08..ee96a445 100644 --- a/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsClient.java +++ b/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsClient.java @@ -62,13 +62,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. *
      * @@ -542,48 +542,48 @@ public final ListEnvironmentsPagedResponse listEnvironments(ListEnvironmentsRequ *

      { "config":{ "softwareConfig":{ "pypiPackages":{ "botocore":"==1.7.14" } } } } *

      **Note:** Only the following fields can be updated: *

        - *
      • `config.softwareConfig.pypiPackages` * Replace all custom custom PyPI packages. + *
      • `config.softwareConfig.pypiPackages` * Replace all custom custom PyPI packages. * If a replacement package map is not included in `environment`, all custom PyPI * packages are cleared. It is an error to provide both this mask and a mask specifying * an individual package. - *
      • `config.softwareConfig.pypiPackages.`packagename * Update the custom PyPI - * package *packagename*, preserving other packages. To delete the package, - * include it in `updateMask`, and omit the mapping for it in + *
      • `config.softwareConfig.pypiPackages.`packagename * Update the custom PyPI package + * *packagename*, preserving other packages. To delete the package, include it + * in `updateMask`, and omit the mapping for it in * `environment.config.softwareConfig.pypiPackages`. It is an error to provide both a * mask of this form and the `config.softwareConfig.pypiPackages` mask. - *
      • `labels` * Replace all environment labels. If a replacement labels map is not + *
      • `labels` * Replace all environment labels. If a replacement labels map is not * included in `environment`, all labels are cleared. It is an error to provide both * this mask and a mask specifying one or more individual labels. - *
      • `labels.`labelName * Set the label named *labelName*, while preserving + *
      • `labels.`labelName * Set the label named *labelName*, while preserving * other labels. To delete the label, include it in `updateMask` and omit its mapping in * `environment.labels`. It is an error to provide both a mask of this form and the * `labels` mask. - *
      • `config.nodeCount` * Horizontally scale the number of nodes in the environment. + *
      • `config.nodeCount` * Horizontally scale the number of nodes in the environment. * An integer greater than or equal to 3 must be provided in the `config.nodeCount` * field. * `config.webServerNetworkAccessControl` * Replace the environment's * current WebServerNetworkAccessControl. - *
      • `config.softwareConfig.airflowConfigOverrides` * Replace all Apache Airflow + *
      • `config.softwareConfig.airflowConfigOverrides` * Replace all Apache Airflow * config overrides. If a replacement config overrides map is not included in * `environment`, all config overrides are cleared. It is an error to provide both this * mask and a mask specifying one or more individual config overrides. - *
      • `config.softwareConfig.airflowConfigOverrides.`section-name * Override the - * Apache Airflow config property *name* in the section named *section*, + *
      • `config.softwareConfig.airflowConfigOverrides.`section-name * Override the Apache + * Airflow config property *name* in the section named *section*, * preserving other properties. To delete the property override, include it in * `updateMask` and omit its mapping in * `environment.config.softwareConfig.airflowConfigOverrides`. It is an error to provide * both a mask of this form and the `config.softwareConfig.airflowConfigOverrides` mask. - *
      • `config.softwareConfig.envVariables` * Replace all environment variables. If a + *
      • `config.softwareConfig.envVariables` * Replace all environment variables. If a * replacement environment variable map is not included in `environment`, all custom * environment variables are cleared. It is an error to provide both this mask and a * mask specifying one or more individual environment variables. - *
      • `config.softwareConfig.imageVersion` * Upgrade the version of the environment + *
      • `config.softwareConfig.imageVersion` * Upgrade the version of the environment * in-place. Refer to `SoftwareConfig.image_version` for information on how to format * the new image version. Additionally, the new image version cannot effect a version * downgrade and must match the current image version's Composer major version and * Airflow major and minor versions. Consult the [Cloud Composer Version * List](https://cloud.google.com/composer/docs/concepts/versioning/composer-versions) * for valid values. - *
      • `config.softwareConfig.schedulerCount` * Horizontally scale the number of + *
      • `config.softwareConfig.schedulerCount` * Horizontally scale the number of * schedulers in Airflow. A positive integer not greater than the number of nodes must * be provided in the `config.softwareConfig.schedulerCount` field. * * `config.databaseConfig.machineType` * Cloud SQL machine type used by Airflow @@ -974,7 +974,10 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListEnvironmentsPagedResponse extends AbstractPagedListResponse< - ListEnvironmentsRequest, ListEnvironmentsResponse, Environment, ListEnvironmentsPage, + ListEnvironmentsRequest, + ListEnvironmentsResponse, + Environment, + ListEnvironmentsPage, ListEnvironmentsFixedSizeCollection> { public static ApiFuture createAsync( @@ -1024,7 +1027,10 @@ public ApiFuture createPageAsync( public static class ListEnvironmentsFixedSizeCollection extends AbstractFixedSizeCollection< - ListEnvironmentsRequest, ListEnvironmentsResponse, Environment, ListEnvironmentsPage, + ListEnvironmentsRequest, + ListEnvironmentsResponse, + Environment, + ListEnvironmentsPage, ListEnvironmentsFixedSizeCollection> { private ListEnvironmentsFixedSizeCollection( diff --git a/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsSettings.java b/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsSettings.java similarity index 97% rename from owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsSettings.java rename to google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsSettings.java index 6808fdb0..4a6853e6 100644 --- a/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsSettings.java +++ b/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsSettings.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.orchestration.airflow.service.v1beta1.stub.EnvironmentsStubSettings; @@ -46,9 +45,9 @@ *

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

          - *
        • The default service address (composer.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 (composer.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 diff --git a/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsClient.java b/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsClient.java similarity index 95% rename from owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsClient.java rename to google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsClient.java index caca5320..41fa3219 100644 --- a/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsClient.java +++ b/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsClient.java @@ -58,13 +58,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. *
        * @@ -324,7 +324,10 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListImageVersionsPagedResponse extends AbstractPagedListResponse< - ListImageVersionsRequest, ListImageVersionsResponse, ImageVersion, ListImageVersionsPage, + ListImageVersionsRequest, + ListImageVersionsResponse, + ImageVersion, + ListImageVersionsPage, ListImageVersionsFixedSizeCollection> { public static ApiFuture createAsync( @@ -345,7 +348,9 @@ private ListImageVersionsPagedResponse(ListImageVersionsPage page) { public static class ListImageVersionsPage extends AbstractPage< - ListImageVersionsRequest, ListImageVersionsResponse, ImageVersion, + ListImageVersionsRequest, + ListImageVersionsResponse, + ImageVersion, ListImageVersionsPage> { private ListImageVersionsPage( @@ -375,7 +380,10 @@ public ApiFuture createPageAsync( public static class ListImageVersionsFixedSizeCollection extends AbstractFixedSizeCollection< - ListImageVersionsRequest, ListImageVersionsResponse, ImageVersion, ListImageVersionsPage, + ListImageVersionsRequest, + ListImageVersionsResponse, + ImageVersion, + ListImageVersionsPage, ListImageVersionsFixedSizeCollection> { private ListImageVersionsFixedSizeCollection( diff --git a/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsSettings.java b/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsSettings.java similarity index 96% rename from owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsSettings.java rename to google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsSettings.java index d859a0f9..603a0471 100644 --- a/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsSettings.java +++ b/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsSettings.java @@ -28,7 +28,6 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; -import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.orchestration.airflow.service.v1beta1.stub.ImageVersionsStubSettings; @@ -43,9 +42,9 @@ *

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

          - *
        • The default service address (composer.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 (composer.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 diff --git a/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/gapic_metadata.json b/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/gapic_metadata.json rename to google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/gapic_metadata.json diff --git a/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/package-info.java b/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/package-info.java similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/package-info.java rename to google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/package-info.java diff --git a/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/EnvironmentsStub.java b/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/EnvironmentsStub.java similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/EnvironmentsStub.java rename to google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/EnvironmentsStub.java diff --git a/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/EnvironmentsStubSettings.java b/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/EnvironmentsStubSettings.java similarity index 99% rename from owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/EnvironmentsStubSettings.java rename to google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/EnvironmentsStubSettings.java index bd53b983..60e39592 100644 --- a/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/EnvironmentsStubSettings.java +++ b/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/EnvironmentsStubSettings.java @@ -76,9 +76,9 @@ *

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

          - *
        • The default service address (composer.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 (composer.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 diff --git a/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/GrpcEnvironmentsCallableFactory.java b/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/GrpcEnvironmentsCallableFactory.java similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/GrpcEnvironmentsCallableFactory.java rename to google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/GrpcEnvironmentsCallableFactory.java diff --git a/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/GrpcEnvironmentsStub.java b/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/GrpcEnvironmentsStub.java similarity index 99% rename from owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/GrpcEnvironmentsStub.java rename to google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/GrpcEnvironmentsStub.java index 351eb54e..d5134d0b 100644 --- a/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/GrpcEnvironmentsStub.java +++ b/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/GrpcEnvironmentsStub.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-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/GrpcImageVersionsCallableFactory.java b/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/GrpcImageVersionsCallableFactory.java similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/GrpcImageVersionsCallableFactory.java rename to google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/GrpcImageVersionsCallableFactory.java diff --git a/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/GrpcImageVersionsStub.java b/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/GrpcImageVersionsStub.java similarity index 99% rename from owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/GrpcImageVersionsStub.java rename to google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/GrpcImageVersionsStub.java index 83b5271a..489a2e0b 100644 --- a/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/GrpcImageVersionsStub.java +++ b/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/GrpcImageVersionsStub.java @@ -32,7 +32,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-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/HttpJsonEnvironmentsCallableFactory.java b/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/HttpJsonEnvironmentsCallableFactory.java similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/HttpJsonEnvironmentsCallableFactory.java rename to google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/HttpJsonEnvironmentsCallableFactory.java diff --git a/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/HttpJsonEnvironmentsStub.java b/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/HttpJsonEnvironmentsStub.java similarity index 99% rename from owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/HttpJsonEnvironmentsStub.java rename to google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/HttpJsonEnvironmentsStub.java index 8bbe1dee..f6a7b56c 100644 --- a/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/HttpJsonEnvironmentsStub.java +++ b/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/HttpJsonEnvironmentsStub.java @@ -30,7 +30,6 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; -import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.UnaryCallable; diff --git a/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/HttpJsonImageVersionsCallableFactory.java b/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/HttpJsonImageVersionsCallableFactory.java similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/HttpJsonImageVersionsCallableFactory.java rename to google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/HttpJsonImageVersionsCallableFactory.java diff --git a/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/HttpJsonImageVersionsStub.java b/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/HttpJsonImageVersionsStub.java similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/HttpJsonImageVersionsStub.java rename to google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/HttpJsonImageVersionsStub.java diff --git a/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/ImageVersionsStub.java b/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/ImageVersionsStub.java similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/ImageVersionsStub.java rename to google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/ImageVersionsStub.java diff --git a/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/ImageVersionsStubSettings.java b/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/ImageVersionsStubSettings.java similarity index 97% rename from owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/ImageVersionsStubSettings.java rename to google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/ImageVersionsStubSettings.java index babf5a43..1d99cd92 100644 --- a/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/ImageVersionsStubSettings.java +++ b/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/ImageVersionsStubSettings.java @@ -61,9 +61,9 @@ *

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

          - *
        • The default service address (composer.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 (composer.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 @@ -143,7 +143,8 @@ public Iterable extractResources(ListImageVersionsResponse payload ListImageVersionsRequest, ListImageVersionsResponse, ListImageVersionsPagedResponse> LIST_IMAGE_VERSIONS_PAGE_STR_FACT = new PagedListResponseFactory< - ListImageVersionsRequest, ListImageVersionsResponse, + ListImageVersionsRequest, + ListImageVersionsResponse, ListImageVersionsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( diff --git a/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsClientHttpJsonTest.java b/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsClientHttpJsonTest.java rename to google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsClientHttpJsonTest.java diff --git a/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsClientTest.java b/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsClientTest.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsClientTest.java rename to google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsClientTest.java diff --git a/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsClientHttpJsonTest.java b/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsClientHttpJsonTest.java rename to google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsClientHttpJsonTest.java diff --git a/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsClientTest.java b/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsClientTest.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsClientTest.java rename to google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsClientTest.java diff --git a/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1/MockEnvironments.java b/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1/MockEnvironments.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1/MockEnvironments.java rename to google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1/MockEnvironments.java diff --git a/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1/MockEnvironmentsImpl.java b/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1/MockEnvironmentsImpl.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1/MockEnvironmentsImpl.java rename to google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1/MockEnvironmentsImpl.java diff --git a/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1/MockImageVersions.java b/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1/MockImageVersions.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1/MockImageVersions.java rename to google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1/MockImageVersions.java diff --git a/owl-bot-staging/v1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1/MockImageVersionsImpl.java b/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1/MockImageVersionsImpl.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1/MockImageVersionsImpl.java rename to google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1/MockImageVersionsImpl.java diff --git a/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsClientHttpJsonTest.java b/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsClientHttpJsonTest.java rename to google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsClientHttpJsonTest.java diff --git a/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsClientTest.java b/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsClientTest.java similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsClientTest.java rename to google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsClientTest.java diff --git a/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsClientHttpJsonTest.java b/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsClientHttpJsonTest.java rename to google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsClientHttpJsonTest.java diff --git a/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsClientTest.java b/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsClientTest.java similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsClientTest.java rename to google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsClientTest.java diff --git a/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/MockEnvironments.java b/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/MockEnvironments.java similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/MockEnvironments.java rename to google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/MockEnvironments.java diff --git a/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/MockEnvironmentsImpl.java b/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/MockEnvironmentsImpl.java similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/MockEnvironmentsImpl.java rename to google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/MockEnvironmentsImpl.java diff --git a/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/MockImageVersions.java b/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/MockImageVersions.java similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/MockImageVersions.java rename to google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/MockImageVersions.java diff --git a/owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/MockImageVersionsImpl.java b/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/MockImageVersionsImpl.java similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/MockImageVersionsImpl.java rename to google-cloud-orchestration-airflow/src/test/java/com/google/cloud/orchestration/airflow/service/v1beta1/MockImageVersionsImpl.java diff --git a/grpc-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsGrpc.java b/grpc-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsGrpc.java new file mode 100644 index 00000000..b4764c25 --- /dev/null +++ b/grpc-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsGrpc.java @@ -0,0 +1,846 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *

        + * Managed Apache Airflow Environments.
        + * 
        + */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/orchestration/airflow/service/v1/environments.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class EnvironmentsGrpc { + + private EnvironmentsGrpc() {} + + public static final String SERVICE_NAME = + "google.cloud.orchestration.airflow.service.v1.Environments"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest, + com.google.longrunning.Operation> + getCreateEnvironmentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateEnvironment", + requestType = + com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest, + com.google.longrunning.Operation> + getCreateEnvironmentMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest, + com.google.longrunning.Operation> + getCreateEnvironmentMethod; + if ((getCreateEnvironmentMethod = EnvironmentsGrpc.getCreateEnvironmentMethod) == null) { + synchronized (EnvironmentsGrpc.class) { + if ((getCreateEnvironmentMethod = EnvironmentsGrpc.getCreateEnvironmentMethod) == null) { + EnvironmentsGrpc.getCreateEnvironmentMethod = + getCreateEnvironmentMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateEnvironment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.orchestration.airflow.service.v1 + .CreateEnvironmentRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new EnvironmentsMethodDescriptorSupplier("CreateEnvironment")) + .build(); + } + } + } + return getCreateEnvironmentMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest, + com.google.cloud.orchestration.airflow.service.v1.Environment> + getGetEnvironmentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetEnvironment", + requestType = com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest.class, + responseType = com.google.cloud.orchestration.airflow.service.v1.Environment.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest, + com.google.cloud.orchestration.airflow.service.v1.Environment> + getGetEnvironmentMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest, + com.google.cloud.orchestration.airflow.service.v1.Environment> + getGetEnvironmentMethod; + if ((getGetEnvironmentMethod = EnvironmentsGrpc.getGetEnvironmentMethod) == null) { + synchronized (EnvironmentsGrpc.class) { + if ((getGetEnvironmentMethod = EnvironmentsGrpc.getGetEnvironmentMethod) == null) { + EnvironmentsGrpc.getGetEnvironmentMethod = + getGetEnvironmentMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetEnvironment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.orchestration.airflow.service.v1 + .GetEnvironmentRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.orchestration.airflow.service.v1.Environment + .getDefaultInstance())) + .setSchemaDescriptor( + new EnvironmentsMethodDescriptorSupplier("GetEnvironment")) + .build(); + } + } + } + return getGetEnvironmentMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest, + com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse> + getListEnvironmentsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListEnvironments", + requestType = com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest.class, + responseType = + com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest, + com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse> + getListEnvironmentsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest, + com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse> + getListEnvironmentsMethod; + if ((getListEnvironmentsMethod = EnvironmentsGrpc.getListEnvironmentsMethod) == null) { + synchronized (EnvironmentsGrpc.class) { + if ((getListEnvironmentsMethod = EnvironmentsGrpc.getListEnvironmentsMethod) == null) { + EnvironmentsGrpc.getListEnvironmentsMethod = + getListEnvironmentsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListEnvironments")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.orchestration.airflow.service.v1 + .ListEnvironmentsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.orchestration.airflow.service.v1 + .ListEnvironmentsResponse.getDefaultInstance())) + .setSchemaDescriptor( + new EnvironmentsMethodDescriptorSupplier("ListEnvironments")) + .build(); + } + } + } + return getListEnvironmentsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest, + com.google.longrunning.Operation> + getUpdateEnvironmentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateEnvironment", + requestType = + com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest, + com.google.longrunning.Operation> + getUpdateEnvironmentMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest, + com.google.longrunning.Operation> + getUpdateEnvironmentMethod; + if ((getUpdateEnvironmentMethod = EnvironmentsGrpc.getUpdateEnvironmentMethod) == null) { + synchronized (EnvironmentsGrpc.class) { + if ((getUpdateEnvironmentMethod = EnvironmentsGrpc.getUpdateEnvironmentMethod) == null) { + EnvironmentsGrpc.getUpdateEnvironmentMethod = + getUpdateEnvironmentMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateEnvironment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.orchestration.airflow.service.v1 + .UpdateEnvironmentRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new EnvironmentsMethodDescriptorSupplier("UpdateEnvironment")) + .build(); + } + } + } + return getUpdateEnvironmentMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest, + com.google.longrunning.Operation> + getDeleteEnvironmentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteEnvironment", + requestType = + com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest, + com.google.longrunning.Operation> + getDeleteEnvironmentMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest, + com.google.longrunning.Operation> + getDeleteEnvironmentMethod; + if ((getDeleteEnvironmentMethod = EnvironmentsGrpc.getDeleteEnvironmentMethod) == null) { + synchronized (EnvironmentsGrpc.class) { + if ((getDeleteEnvironmentMethod = EnvironmentsGrpc.getDeleteEnvironmentMethod) == null) { + EnvironmentsGrpc.getDeleteEnvironmentMethod = + getDeleteEnvironmentMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteEnvironment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.orchestration.airflow.service.v1 + .DeleteEnvironmentRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new EnvironmentsMethodDescriptorSupplier("DeleteEnvironment")) + .build(); + } + } + } + return getDeleteEnvironmentMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static EnvironmentsStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public EnvironmentsStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EnvironmentsStub(channel, callOptions); + } + }; + return EnvironmentsStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static EnvironmentsBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public EnvironmentsBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EnvironmentsBlockingStub(channel, callOptions); + } + }; + return EnvironmentsBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static EnvironmentsFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public EnvironmentsFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EnvironmentsFutureStub(channel, callOptions); + } + }; + return EnvironmentsFutureStub.newStub(factory, channel); + } + + /** + * + * + *
        +   * Managed Apache Airflow Environments.
        +   * 
        + */ + public abstract static class EnvironmentsImplBase implements io.grpc.BindableService { + + /** + * + * + *
        +     * Create a new environment.
        +     * 
        + */ + public void createEnvironment( + com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateEnvironmentMethod(), responseObserver); + } + + /** + * + * + *
        +     * Get an existing environment.
        +     * 
        + */ + public void getEnvironment( + com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetEnvironmentMethod(), responseObserver); + } + + /** + * + * + *
        +     * List environments.
        +     * 
        + */ + public void listEnvironments( + com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListEnvironmentsMethod(), responseObserver); + } + + /** + * + * + *
        +     * Update an environment.
        +     * 
        + */ + public void updateEnvironment( + com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateEnvironmentMethod(), responseObserver); + } + + /** + * + * + *
        +     * Delete an environment.
        +     * 
        + */ + public void deleteEnvironment( + com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteEnvironmentMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateEnvironmentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest, + com.google.longrunning.Operation>(this, METHODID_CREATE_ENVIRONMENT))) + .addMethod( + getGetEnvironmentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest, + com.google.cloud.orchestration.airflow.service.v1.Environment>( + this, METHODID_GET_ENVIRONMENT))) + .addMethod( + getListEnvironmentsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest, + com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse>( + this, METHODID_LIST_ENVIRONMENTS))) + .addMethod( + getUpdateEnvironmentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest, + com.google.longrunning.Operation>(this, METHODID_UPDATE_ENVIRONMENT))) + .addMethod( + getDeleteEnvironmentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest, + com.google.longrunning.Operation>(this, METHODID_DELETE_ENVIRONMENT))) + .build(); + } + } + + /** + * + * + *
        +   * Managed Apache Airflow Environments.
        +   * 
        + */ + public static final class EnvironmentsStub + extends io.grpc.stub.AbstractAsyncStub { + private EnvironmentsStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected EnvironmentsStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EnvironmentsStub(channel, callOptions); + } + + /** + * + * + *
        +     * Create a new environment.
        +     * 
        + */ + public void createEnvironment( + com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateEnvironmentMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
        +     * Get an existing environment.
        +     * 
        + */ + public void getEnvironment( + com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetEnvironmentMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
        +     * List environments.
        +     * 
        + */ + public void listEnvironments( + com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListEnvironmentsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
        +     * Update an environment.
        +     * 
        + */ + public void updateEnvironment( + com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateEnvironmentMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
        +     * Delete an environment.
        +     * 
        + */ + public void deleteEnvironment( + com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteEnvironmentMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * + * + *
        +   * Managed Apache Airflow Environments.
        +   * 
        + */ + public static final class EnvironmentsBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private EnvironmentsBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected EnvironmentsBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EnvironmentsBlockingStub(channel, callOptions); + } + + /** + * + * + *
        +     * Create a new environment.
        +     * 
        + */ + public com.google.longrunning.Operation createEnvironment( + com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateEnvironmentMethod(), getCallOptions(), request); + } + + /** + * + * + *
        +     * Get an existing environment.
        +     * 
        + */ + public com.google.cloud.orchestration.airflow.service.v1.Environment getEnvironment( + com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetEnvironmentMethod(), getCallOptions(), request); + } + + /** + * + * + *
        +     * List environments.
        +     * 
        + */ + public com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse + listEnvironments( + com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListEnvironmentsMethod(), getCallOptions(), request); + } + + /** + * + * + *
        +     * Update an environment.
        +     * 
        + */ + public com.google.longrunning.Operation updateEnvironment( + com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateEnvironmentMethod(), getCallOptions(), request); + } + + /** + * + * + *
        +     * Delete an environment.
        +     * 
        + */ + public com.google.longrunning.Operation deleteEnvironment( + com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteEnvironmentMethod(), getCallOptions(), request); + } + } + + /** + * + * + *
        +   * Managed Apache Airflow Environments.
        +   * 
        + */ + public static final class EnvironmentsFutureStub + extends io.grpc.stub.AbstractFutureStub { + private EnvironmentsFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected EnvironmentsFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EnvironmentsFutureStub(channel, callOptions); + } + + /** + * + * + *
        +     * Create a new environment.
        +     * 
        + */ + public com.google.common.util.concurrent.ListenableFuture + createEnvironment( + com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateEnvironmentMethod(), getCallOptions()), request); + } + + /** + * + * + *
        +     * Get an existing environment.
        +     * 
        + */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.orchestration.airflow.service.v1.Environment> + getEnvironment( + com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetEnvironmentMethod(), getCallOptions()), request); + } + + /** + * + * + *
        +     * List environments.
        +     * 
        + */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse> + listEnvironments( + com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListEnvironmentsMethod(), getCallOptions()), request); + } + + /** + * + * + *
        +     * Update an environment.
        +     * 
        + */ + public com.google.common.util.concurrent.ListenableFuture + updateEnvironment( + com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateEnvironmentMethod(), getCallOptions()), request); + } + + /** + * + * + *
        +     * Delete an environment.
        +     * 
        + */ + public com.google.common.util.concurrent.ListenableFuture + deleteEnvironment( + com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteEnvironmentMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_ENVIRONMENT = 0; + private static final int METHODID_GET_ENVIRONMENT = 1; + private static final int METHODID_LIST_ENVIRONMENTS = 2; + private static final int METHODID_UPDATE_ENVIRONMENT = 3; + private static final int METHODID_DELETE_ENVIRONMENT = 4; + + 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 EnvironmentsImplBase serviceImpl; + private final int methodId; + + MethodHandlers(EnvironmentsImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_CREATE_ENVIRONMENT: + serviceImpl.createEnvironment( + (com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_ENVIRONMENT: + serviceImpl.getEnvironment( + (com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.orchestration.airflow.service.v1.Environment>) + responseObserver); + break; + case METHODID_LIST_ENVIRONMENTS: + serviceImpl.listEnvironments( + (com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse>) + responseObserver); + break; + case METHODID_UPDATE_ENVIRONMENT: + serviceImpl.updateEnvironment( + (com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_ENVIRONMENT: + serviceImpl.deleteEnvironment( + (com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest) 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 EnvironmentsBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + EnvironmentsBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass + .getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("Environments"); + } + } + + private static final class EnvironmentsFileDescriptorSupplier + extends EnvironmentsBaseDescriptorSupplier { + EnvironmentsFileDescriptorSupplier() {} + } + + private static final class EnvironmentsMethodDescriptorSupplier + extends EnvironmentsBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + EnvironmentsMethodDescriptorSupplier(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 (EnvironmentsGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new EnvironmentsFileDescriptorSupplier()) + .addMethod(getCreateEnvironmentMethod()) + .addMethod(getGetEnvironmentMethod()) + .addMethod(getListEnvironmentsMethod()) + .addMethod(getUpdateEnvironmentMethod()) + .addMethod(getDeleteEnvironmentMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/grpc-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsGrpc.java b/grpc-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsGrpc.java new file mode 100644 index 00000000..aeb05ccd --- /dev/null +++ b/grpc-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsGrpc.java @@ -0,0 +1,373 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *
        + * Readonly service to query available ImageVersions.
        + * 
        + */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/orchestration/airflow/service/v1/image_versions.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class ImageVersionsGrpc { + + private ImageVersionsGrpc() {} + + public static final String SERVICE_NAME = + "google.cloud.orchestration.airflow.service.v1.ImageVersions"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest, + com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse> + getListImageVersionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListImageVersions", + requestType = + com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest.class, + responseType = + com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest, + com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse> + getListImageVersionsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest, + com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse> + getListImageVersionsMethod; + if ((getListImageVersionsMethod = ImageVersionsGrpc.getListImageVersionsMethod) == null) { + synchronized (ImageVersionsGrpc.class) { + if ((getListImageVersionsMethod = ImageVersionsGrpc.getListImageVersionsMethod) == null) { + ImageVersionsGrpc.getListImageVersionsMethod = + getListImageVersionsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListImageVersions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.orchestration.airflow.service.v1 + .ListImageVersionsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.orchestration.airflow.service.v1 + .ListImageVersionsResponse.getDefaultInstance())) + .setSchemaDescriptor( + new ImageVersionsMethodDescriptorSupplier("ListImageVersions")) + .build(); + } + } + } + return getListImageVersionsMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static ImageVersionsStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ImageVersionsStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ImageVersionsStub(channel, callOptions); + } + }; + return ImageVersionsStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static ImageVersionsBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ImageVersionsBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ImageVersionsBlockingStub(channel, callOptions); + } + }; + return ImageVersionsBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static ImageVersionsFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ImageVersionsFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ImageVersionsFutureStub(channel, callOptions); + } + }; + return ImageVersionsFutureStub.newStub(factory, channel); + } + + /** + * + * + *
        +   * Readonly service to query available ImageVersions.
        +   * 
        + */ + public abstract static class ImageVersionsImplBase implements io.grpc.BindableService { + + /** + * + * + *
        +     * List ImageVersions for provided location.
        +     * 
        + */ + public void listImageVersions( + com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListImageVersionsMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getListImageVersionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest, + com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse>( + this, METHODID_LIST_IMAGE_VERSIONS))) + .build(); + } + } + + /** + * + * + *
        +   * Readonly service to query available ImageVersions.
        +   * 
        + */ + public static final class ImageVersionsStub + extends io.grpc.stub.AbstractAsyncStub { + private ImageVersionsStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ImageVersionsStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ImageVersionsStub(channel, callOptions); + } + + /** + * + * + *
        +     * List ImageVersions for provided location.
        +     * 
        + */ + public void listImageVersions( + com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListImageVersionsMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * + * + *
        +   * Readonly service to query available ImageVersions.
        +   * 
        + */ + public static final class ImageVersionsBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private ImageVersionsBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ImageVersionsBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ImageVersionsBlockingStub(channel, callOptions); + } + + /** + * + * + *
        +     * List ImageVersions for provided location.
        +     * 
        + */ + public com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse + listImageVersions( + com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListImageVersionsMethod(), getCallOptions(), request); + } + } + + /** + * + * + *
        +   * Readonly service to query available ImageVersions.
        +   * 
        + */ + public static final class ImageVersionsFutureStub + extends io.grpc.stub.AbstractFutureStub { + private ImageVersionsFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ImageVersionsFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ImageVersionsFutureStub(channel, callOptions); + } + + /** + * + * + *
        +     * List ImageVersions for provided location.
        +     * 
        + */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse> + listImageVersions( + com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListImageVersionsMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_LIST_IMAGE_VERSIONS = 0; + + 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 ImageVersionsImplBase serviceImpl; + private final int methodId; + + MethodHandlers(ImageVersionsImplBase 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_IMAGE_VERSIONS: + serviceImpl.listImageVersions( + (com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse>) + 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 ImageVersionsBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + ImageVersionsBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.ImageVersionsOuterClass + .getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("ImageVersions"); + } + } + + private static final class ImageVersionsFileDescriptorSupplier + extends ImageVersionsBaseDescriptorSupplier { + ImageVersionsFileDescriptorSupplier() {} + } + + private static final class ImageVersionsMethodDescriptorSupplier + extends ImageVersionsBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + ImageVersionsMethodDescriptorSupplier(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 (ImageVersionsGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new ImageVersionsFileDescriptorSupplier()) + .addMethod(getListImageVersionsMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/grpc-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsGrpc.java b/grpc-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsGrpc.java new file mode 100644 index 00000000..453fc332 --- /dev/null +++ b/grpc-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsGrpc.java @@ -0,0 +1,1111 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1beta1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *
        + * Managed Apache Airflow Environments.
        + * 
        + */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/orchestration/airflow/service/v1beta1/environments.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class EnvironmentsGrpc { + + private EnvironmentsGrpc() {} + + public static final String SERVICE_NAME = + "google.cloud.orchestration.airflow.service.v1beta1.Environments"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest, + com.google.longrunning.Operation> + getCreateEnvironmentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateEnvironment", + requestType = + com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest, + com.google.longrunning.Operation> + getCreateEnvironmentMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest, + com.google.longrunning.Operation> + getCreateEnvironmentMethod; + if ((getCreateEnvironmentMethod = EnvironmentsGrpc.getCreateEnvironmentMethod) == null) { + synchronized (EnvironmentsGrpc.class) { + if ((getCreateEnvironmentMethod = EnvironmentsGrpc.getCreateEnvironmentMethod) == null) { + EnvironmentsGrpc.getCreateEnvironmentMethod = + getCreateEnvironmentMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateEnvironment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.orchestration.airflow.service.v1beta1 + .CreateEnvironmentRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new EnvironmentsMethodDescriptorSupplier("CreateEnvironment")) + .build(); + } + } + } + return getCreateEnvironmentMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest, + com.google.cloud.orchestration.airflow.service.v1beta1.Environment> + getGetEnvironmentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetEnvironment", + requestType = + com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest.class, + responseType = com.google.cloud.orchestration.airflow.service.v1beta1.Environment.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest, + com.google.cloud.orchestration.airflow.service.v1beta1.Environment> + getGetEnvironmentMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest, + com.google.cloud.orchestration.airflow.service.v1beta1.Environment> + getGetEnvironmentMethod; + if ((getGetEnvironmentMethod = EnvironmentsGrpc.getGetEnvironmentMethod) == null) { + synchronized (EnvironmentsGrpc.class) { + if ((getGetEnvironmentMethod = EnvironmentsGrpc.getGetEnvironmentMethod) == null) { + EnvironmentsGrpc.getGetEnvironmentMethod = + getGetEnvironmentMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetEnvironment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.orchestration.airflow.service.v1beta1 + .GetEnvironmentRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.orchestration.airflow.service.v1beta1.Environment + .getDefaultInstance())) + .setSchemaDescriptor( + new EnvironmentsMethodDescriptorSupplier("GetEnvironment")) + .build(); + } + } + } + return getGetEnvironmentMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest, + com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse> + getListEnvironmentsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListEnvironments", + requestType = + com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest.class, + responseType = + com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest, + com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse> + getListEnvironmentsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest, + com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse> + getListEnvironmentsMethod; + if ((getListEnvironmentsMethod = EnvironmentsGrpc.getListEnvironmentsMethod) == null) { + synchronized (EnvironmentsGrpc.class) { + if ((getListEnvironmentsMethod = EnvironmentsGrpc.getListEnvironmentsMethod) == null) { + EnvironmentsGrpc.getListEnvironmentsMethod = + getListEnvironmentsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListEnvironments")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.orchestration.airflow.service.v1beta1 + .ListEnvironmentsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.orchestration.airflow.service.v1beta1 + .ListEnvironmentsResponse.getDefaultInstance())) + .setSchemaDescriptor( + new EnvironmentsMethodDescriptorSupplier("ListEnvironments")) + .build(); + } + } + } + return getListEnvironmentsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest, + com.google.longrunning.Operation> + getUpdateEnvironmentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateEnvironment", + requestType = + com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest, + com.google.longrunning.Operation> + getUpdateEnvironmentMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest, + com.google.longrunning.Operation> + getUpdateEnvironmentMethod; + if ((getUpdateEnvironmentMethod = EnvironmentsGrpc.getUpdateEnvironmentMethod) == null) { + synchronized (EnvironmentsGrpc.class) { + if ((getUpdateEnvironmentMethod = EnvironmentsGrpc.getUpdateEnvironmentMethod) == null) { + EnvironmentsGrpc.getUpdateEnvironmentMethod = + getUpdateEnvironmentMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateEnvironment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.orchestration.airflow.service.v1beta1 + .UpdateEnvironmentRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new EnvironmentsMethodDescriptorSupplier("UpdateEnvironment")) + .build(); + } + } + } + return getUpdateEnvironmentMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest, + com.google.longrunning.Operation> + getDeleteEnvironmentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteEnvironment", + requestType = + com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest, + com.google.longrunning.Operation> + getDeleteEnvironmentMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest, + com.google.longrunning.Operation> + getDeleteEnvironmentMethod; + if ((getDeleteEnvironmentMethod = EnvironmentsGrpc.getDeleteEnvironmentMethod) == null) { + synchronized (EnvironmentsGrpc.class) { + if ((getDeleteEnvironmentMethod = EnvironmentsGrpc.getDeleteEnvironmentMethod) == null) { + EnvironmentsGrpc.getDeleteEnvironmentMethod = + getDeleteEnvironmentMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteEnvironment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.orchestration.airflow.service.v1beta1 + .DeleteEnvironmentRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new EnvironmentsMethodDescriptorSupplier("DeleteEnvironment")) + .build(); + } + } + } + return getDeleteEnvironmentMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest, + com.google.longrunning.Operation> + getRestartWebServerMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RestartWebServer", + requestType = + com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest, + com.google.longrunning.Operation> + getRestartWebServerMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest, + com.google.longrunning.Operation> + getRestartWebServerMethod; + if ((getRestartWebServerMethod = EnvironmentsGrpc.getRestartWebServerMethod) == null) { + synchronized (EnvironmentsGrpc.class) { + if ((getRestartWebServerMethod = EnvironmentsGrpc.getRestartWebServerMethod) == null) { + EnvironmentsGrpc.getRestartWebServerMethod = + getRestartWebServerMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RestartWebServer")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.orchestration.airflow.service.v1beta1 + .RestartWebServerRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new EnvironmentsMethodDescriptorSupplier("RestartWebServer")) + .build(); + } + } + } + return getRestartWebServerMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest, + com.google.longrunning.Operation> + getCheckUpgradeMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CheckUpgrade", + requestType = + com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest, + com.google.longrunning.Operation> + getCheckUpgradeMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest, + com.google.longrunning.Operation> + getCheckUpgradeMethod; + if ((getCheckUpgradeMethod = EnvironmentsGrpc.getCheckUpgradeMethod) == null) { + synchronized (EnvironmentsGrpc.class) { + if ((getCheckUpgradeMethod = EnvironmentsGrpc.getCheckUpgradeMethod) == null) { + EnvironmentsGrpc.getCheckUpgradeMethod = + getCheckUpgradeMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CheckUpgrade")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.orchestration.airflow.service.v1beta1 + .CheckUpgradeRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new EnvironmentsMethodDescriptorSupplier("CheckUpgrade")) + .build(); + } + } + } + return getCheckUpgradeMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static EnvironmentsStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public EnvironmentsStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EnvironmentsStub(channel, callOptions); + } + }; + return EnvironmentsStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static EnvironmentsBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public EnvironmentsBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EnvironmentsBlockingStub(channel, callOptions); + } + }; + return EnvironmentsBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static EnvironmentsFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public EnvironmentsFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EnvironmentsFutureStub(channel, callOptions); + } + }; + return EnvironmentsFutureStub.newStub(factory, channel); + } + + /** + * + * + *
        +   * Managed Apache Airflow Environments.
        +   * 
        + */ + public abstract static class EnvironmentsImplBase implements io.grpc.BindableService { + + /** + * + * + *
        +     * Create a new environment.
        +     * 
        + */ + public void createEnvironment( + com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateEnvironmentMethod(), responseObserver); + } + + /** + * + * + *
        +     * Get an existing environment.
        +     * 
        + */ + public void getEnvironment( + com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.orchestration.airflow.service.v1beta1.Environment> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetEnvironmentMethod(), responseObserver); + } + + /** + * + * + *
        +     * List environments.
        +     * 
        + */ + public void listEnvironments( + com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListEnvironmentsMethod(), responseObserver); + } + + /** + * + * + *
        +     * Update an environment.
        +     * 
        + */ + public void updateEnvironment( + com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateEnvironmentMethod(), responseObserver); + } + + /** + * + * + *
        +     * Delete an environment.
        +     * 
        + */ + public void deleteEnvironment( + com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteEnvironmentMethod(), responseObserver); + } + + /** + * + * + *
        +     * Restart Airflow web server.
        +     * 
        + */ + public void restartWebServer( + com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getRestartWebServerMethod(), responseObserver); + } + + /** + * + * + *
        +     * Check if an upgrade operation on the environment will succeed.
        +     * In case of problems detailed info can be found in the returned Operation.
        +     * 
        + */ + public void checkUpgrade( + com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCheckUpgradeMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateEnvironmentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.orchestration.airflow.service.v1beta1 + .CreateEnvironmentRequest, + com.google.longrunning.Operation>(this, METHODID_CREATE_ENVIRONMENT))) + .addMethod( + getGetEnvironmentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest, + com.google.cloud.orchestration.airflow.service.v1beta1.Environment>( + this, METHODID_GET_ENVIRONMENT))) + .addMethod( + getListEnvironmentsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.orchestration.airflow.service.v1beta1 + .ListEnvironmentsRequest, + com.google.cloud.orchestration.airflow.service.v1beta1 + .ListEnvironmentsResponse>(this, METHODID_LIST_ENVIRONMENTS))) + .addMethod( + getUpdateEnvironmentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.orchestration.airflow.service.v1beta1 + .UpdateEnvironmentRequest, + com.google.longrunning.Operation>(this, METHODID_UPDATE_ENVIRONMENT))) + .addMethod( + getDeleteEnvironmentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.orchestration.airflow.service.v1beta1 + .DeleteEnvironmentRequest, + com.google.longrunning.Operation>(this, METHODID_DELETE_ENVIRONMENT))) + .addMethod( + getRestartWebServerMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.orchestration.airflow.service.v1beta1 + .RestartWebServerRequest, + com.google.longrunning.Operation>(this, METHODID_RESTART_WEB_SERVER))) + .addMethod( + getCheckUpgradeMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest, + com.google.longrunning.Operation>(this, METHODID_CHECK_UPGRADE))) + .build(); + } + } + + /** + * + * + *
        +   * Managed Apache Airflow Environments.
        +   * 
        + */ + public static final class EnvironmentsStub + extends io.grpc.stub.AbstractAsyncStub { + private EnvironmentsStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected EnvironmentsStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EnvironmentsStub(channel, callOptions); + } + + /** + * + * + *
        +     * Create a new environment.
        +     * 
        + */ + public void createEnvironment( + com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateEnvironmentMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
        +     * Get an existing environment.
        +     * 
        + */ + public void getEnvironment( + com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.orchestration.airflow.service.v1beta1.Environment> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetEnvironmentMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
        +     * List environments.
        +     * 
        + */ + public void listEnvironments( + com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListEnvironmentsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
        +     * Update an environment.
        +     * 
        + */ + public void updateEnvironment( + com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateEnvironmentMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
        +     * Delete an environment.
        +     * 
        + */ + public void deleteEnvironment( + com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteEnvironmentMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
        +     * Restart Airflow web server.
        +     * 
        + */ + public void restartWebServer( + com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRestartWebServerMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
        +     * Check if an upgrade operation on the environment will succeed.
        +     * In case of problems detailed info can be found in the returned Operation.
        +     * 
        + */ + public void checkUpgrade( + com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCheckUpgradeMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * + * + *
        +   * Managed Apache Airflow Environments.
        +   * 
        + */ + public static final class EnvironmentsBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private EnvironmentsBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected EnvironmentsBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EnvironmentsBlockingStub(channel, callOptions); + } + + /** + * + * + *
        +     * Create a new environment.
        +     * 
        + */ + public com.google.longrunning.Operation createEnvironment( + com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateEnvironmentMethod(), getCallOptions(), request); + } + + /** + * + * + *
        +     * Get an existing environment.
        +     * 
        + */ + public com.google.cloud.orchestration.airflow.service.v1beta1.Environment getEnvironment( + com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetEnvironmentMethod(), getCallOptions(), request); + } + + /** + * + * + *
        +     * List environments.
        +     * 
        + */ + public com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse + listEnvironments( + com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest + request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListEnvironmentsMethod(), getCallOptions(), request); + } + + /** + * + * + *
        +     * Update an environment.
        +     * 
        + */ + public com.google.longrunning.Operation updateEnvironment( + com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateEnvironmentMethod(), getCallOptions(), request); + } + + /** + * + * + *
        +     * Delete an environment.
        +     * 
        + */ + public com.google.longrunning.Operation deleteEnvironment( + com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteEnvironmentMethod(), getCallOptions(), request); + } + + /** + * + * + *
        +     * Restart Airflow web server.
        +     * 
        + */ + public com.google.longrunning.Operation restartWebServer( + com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRestartWebServerMethod(), getCallOptions(), request); + } + + /** + * + * + *
        +     * Check if an upgrade operation on the environment will succeed.
        +     * In case of problems detailed info can be found in the returned Operation.
        +     * 
        + */ + public com.google.longrunning.Operation checkUpgrade( + com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCheckUpgradeMethod(), getCallOptions(), request); + } + } + + /** + * + * + *
        +   * Managed Apache Airflow Environments.
        +   * 
        + */ + public static final class EnvironmentsFutureStub + extends io.grpc.stub.AbstractFutureStub { + private EnvironmentsFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected EnvironmentsFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EnvironmentsFutureStub(channel, callOptions); + } + + /** + * + * + *
        +     * Create a new environment.
        +     * 
        + */ + public com.google.common.util.concurrent.ListenableFuture + createEnvironment( + com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest + request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateEnvironmentMethod(), getCallOptions()), request); + } + + /** + * + * + *
        +     * Get an existing environment.
        +     * 
        + */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.orchestration.airflow.service.v1beta1.Environment> + getEnvironment( + com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetEnvironmentMethod(), getCallOptions()), request); + } + + /** + * + * + *
        +     * List environments.
        +     * 
        + */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse> + listEnvironments( + com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest + request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListEnvironmentsMethod(), getCallOptions()), request); + } + + /** + * + * + *
        +     * Update an environment.
        +     * 
        + */ + public com.google.common.util.concurrent.ListenableFuture + updateEnvironment( + com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest + request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateEnvironmentMethod(), getCallOptions()), request); + } + + /** + * + * + *
        +     * Delete an environment.
        +     * 
        + */ + public com.google.common.util.concurrent.ListenableFuture + deleteEnvironment( + com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest + request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteEnvironmentMethod(), getCallOptions()), request); + } + + /** + * + * + *
        +     * Restart Airflow web server.
        +     * 
        + */ + public com.google.common.util.concurrent.ListenableFuture + restartWebServer( + com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest + request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRestartWebServerMethod(), getCallOptions()), request); + } + + /** + * + * + *
        +     * Check if an upgrade operation on the environment will succeed.
        +     * In case of problems detailed info can be found in the returned Operation.
        +     * 
        + */ + public com.google.common.util.concurrent.ListenableFuture + checkUpgrade( + com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCheckUpgradeMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_ENVIRONMENT = 0; + private static final int METHODID_GET_ENVIRONMENT = 1; + private static final int METHODID_LIST_ENVIRONMENTS = 2; + private static final int METHODID_UPDATE_ENVIRONMENT = 3; + private static final int METHODID_DELETE_ENVIRONMENT = 4; + private static final int METHODID_RESTART_WEB_SERVER = 5; + private static final int METHODID_CHECK_UPGRADE = 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 EnvironmentsImplBase serviceImpl; + private final int methodId; + + MethodHandlers(EnvironmentsImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_CREATE_ENVIRONMENT: + serviceImpl.createEnvironment( + (com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest) + request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_ENVIRONMENT: + serviceImpl.getEnvironment( + (com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest) + request, + (io.grpc.stub.StreamObserver< + com.google.cloud.orchestration.airflow.service.v1beta1.Environment>) + responseObserver); + break; + case METHODID_LIST_ENVIRONMENTS: + serviceImpl.listEnvironments( + (com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest) + request, + (io.grpc.stub.StreamObserver< + com.google.cloud.orchestration.airflow.service.v1beta1 + .ListEnvironmentsResponse>) + responseObserver); + break; + case METHODID_UPDATE_ENVIRONMENT: + serviceImpl.updateEnvironment( + (com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest) + request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_ENVIRONMENT: + serviceImpl.deleteEnvironment( + (com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest) + request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_RESTART_WEB_SERVER: + serviceImpl.restartWebServer( + (com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest) + request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CHECK_UPGRADE: + serviceImpl.checkUpgrade( + (com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest) 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 EnvironmentsBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + EnvironmentsBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("Environments"); + } + } + + private static final class EnvironmentsFileDescriptorSupplier + extends EnvironmentsBaseDescriptorSupplier { + EnvironmentsFileDescriptorSupplier() {} + } + + private static final class EnvironmentsMethodDescriptorSupplier + extends EnvironmentsBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + EnvironmentsMethodDescriptorSupplier(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 (EnvironmentsGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new EnvironmentsFileDescriptorSupplier()) + .addMethod(getCreateEnvironmentMethod()) + .addMethod(getGetEnvironmentMethod()) + .addMethod(getListEnvironmentsMethod()) + .addMethod(getUpdateEnvironmentMethod()) + .addMethod(getDeleteEnvironmentMethod()) + .addMethod(getRestartWebServerMethod()) + .addMethod(getCheckUpgradeMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/grpc-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsGrpc.java b/grpc-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsGrpc.java new file mode 100644 index 00000000..fa0b88b0 --- /dev/null +++ b/grpc-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsGrpc.java @@ -0,0 +1,379 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.orchestration.airflow.service.v1beta1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *
        + * Readonly service to query available ImageVersions.
        + * 
        + */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/orchestration/airflow/service/v1beta1/image_versions.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class ImageVersionsGrpc { + + private ImageVersionsGrpc() {} + + public static final String SERVICE_NAME = + "google.cloud.orchestration.airflow.service.v1beta1.ImageVersions"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest, + com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse> + getListImageVersionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListImageVersions", + requestType = + com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest.class, + responseType = + com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest, + com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse> + getListImageVersionsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest, + com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse> + getListImageVersionsMethod; + if ((getListImageVersionsMethod = ImageVersionsGrpc.getListImageVersionsMethod) == null) { + synchronized (ImageVersionsGrpc.class) { + if ((getListImageVersionsMethod = ImageVersionsGrpc.getListImageVersionsMethod) == null) { + ImageVersionsGrpc.getListImageVersionsMethod = + getListImageVersionsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListImageVersions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.orchestration.airflow.service.v1beta1 + .ListImageVersionsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.orchestration.airflow.service.v1beta1 + .ListImageVersionsResponse.getDefaultInstance())) + .setSchemaDescriptor( + new ImageVersionsMethodDescriptorSupplier("ListImageVersions")) + .build(); + } + } + } + return getListImageVersionsMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static ImageVersionsStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ImageVersionsStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ImageVersionsStub(channel, callOptions); + } + }; + return ImageVersionsStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static ImageVersionsBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ImageVersionsBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ImageVersionsBlockingStub(channel, callOptions); + } + }; + return ImageVersionsBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static ImageVersionsFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ImageVersionsFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ImageVersionsFutureStub(channel, callOptions); + } + }; + return ImageVersionsFutureStub.newStub(factory, channel); + } + + /** + * + * + *
        +   * Readonly service to query available ImageVersions.
        +   * 
        + */ + public abstract static class ImageVersionsImplBase implements io.grpc.BindableService { + + /** + * + * + *
        +     * List ImageVersions for provided location.
        +     * 
        + */ + public void listImageVersions( + com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListImageVersionsMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getListImageVersionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.orchestration.airflow.service.v1beta1 + .ListImageVersionsRequest, + com.google.cloud.orchestration.airflow.service.v1beta1 + .ListImageVersionsResponse>(this, METHODID_LIST_IMAGE_VERSIONS))) + .build(); + } + } + + /** + * + * + *
        +   * Readonly service to query available ImageVersions.
        +   * 
        + */ + public static final class ImageVersionsStub + extends io.grpc.stub.AbstractAsyncStub { + private ImageVersionsStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ImageVersionsStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ImageVersionsStub(channel, callOptions); + } + + /** + * + * + *
        +     * List ImageVersions for provided location.
        +     * 
        + */ + public void listImageVersions( + com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListImageVersionsMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * + * + *
        +   * Readonly service to query available ImageVersions.
        +   * 
        + */ + public static final class ImageVersionsBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private ImageVersionsBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ImageVersionsBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ImageVersionsBlockingStub(channel, callOptions); + } + + /** + * + * + *
        +     * List ImageVersions for provided location.
        +     * 
        + */ + public com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse + listImageVersions( + com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest + request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListImageVersionsMethod(), getCallOptions(), request); + } + } + + /** + * + * + *
        +   * Readonly service to query available ImageVersions.
        +   * 
        + */ + public static final class ImageVersionsFutureStub + extends io.grpc.stub.AbstractFutureStub { + private ImageVersionsFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ImageVersionsFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ImageVersionsFutureStub(channel, callOptions); + } + + /** + * + * + *
        +     * List ImageVersions for provided location.
        +     * 
        + */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse> + listImageVersions( + com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest + request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListImageVersionsMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_LIST_IMAGE_VERSIONS = 0; + + 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 ImageVersionsImplBase serviceImpl; + private final int methodId; + + MethodHandlers(ImageVersionsImplBase 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_IMAGE_VERSIONS: + serviceImpl.listImageVersions( + (com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest) + request, + (io.grpc.stub.StreamObserver< + com.google.cloud.orchestration.airflow.service.v1beta1 + .ListImageVersionsResponse>) + 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 ImageVersionsBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + ImageVersionsBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsOuterClass + .getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("ImageVersions"); + } + } + + private static final class ImageVersionsFileDescriptorSupplier + extends ImageVersionsBaseDescriptorSupplier { + ImageVersionsFileDescriptorSupplier() {} + } + + private static final class ImageVersionsMethodDescriptorSupplier + extends ImageVersionsBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + ImageVersionsMethodDescriptorSupplier(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 (ImageVersionsGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new ImageVersionsFileDescriptorSupplier()) + .addMethod(getListImageVersionsMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/v1/grpc-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsGrpc.java deleted file mode 100644 index 759873c1..00000000 --- a/owl-bot-staging/v1/grpc-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsGrpc.java +++ /dev/null @@ -1,647 +0,0 @@ -package com.google.cloud.orchestration.airflow.service.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
        - * Managed Apache Airflow Environments.
        - * 
        - */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/orchestration/airflow/service/v1/environments.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class EnvironmentsGrpc { - - private EnvironmentsGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.orchestration.airflow.service.v1.Environments"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getCreateEnvironmentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateEnvironment", - requestType = com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateEnvironmentMethod() { - io.grpc.MethodDescriptor getCreateEnvironmentMethod; - if ((getCreateEnvironmentMethod = EnvironmentsGrpc.getCreateEnvironmentMethod) == null) { - synchronized (EnvironmentsGrpc.class) { - if ((getCreateEnvironmentMethod = EnvironmentsGrpc.getCreateEnvironmentMethod) == null) { - EnvironmentsGrpc.getCreateEnvironmentMethod = getCreateEnvironmentMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateEnvironment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new EnvironmentsMethodDescriptorSupplier("CreateEnvironment")) - .build(); - } - } - } - return getCreateEnvironmentMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetEnvironmentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetEnvironment", - requestType = com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest.class, - responseType = com.google.cloud.orchestration.airflow.service.v1.Environment.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetEnvironmentMethod() { - io.grpc.MethodDescriptor getGetEnvironmentMethod; - if ((getGetEnvironmentMethod = EnvironmentsGrpc.getGetEnvironmentMethod) == null) { - synchronized (EnvironmentsGrpc.class) { - if ((getGetEnvironmentMethod = EnvironmentsGrpc.getGetEnvironmentMethod) == null) { - EnvironmentsGrpc.getGetEnvironmentMethod = getGetEnvironmentMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetEnvironment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.orchestration.airflow.service.v1.Environment.getDefaultInstance())) - .setSchemaDescriptor(new EnvironmentsMethodDescriptorSupplier("GetEnvironment")) - .build(); - } - } - } - return getGetEnvironmentMethod; - } - - private static volatile io.grpc.MethodDescriptor getListEnvironmentsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListEnvironments", - requestType = com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest.class, - responseType = com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListEnvironmentsMethod() { - io.grpc.MethodDescriptor getListEnvironmentsMethod; - if ((getListEnvironmentsMethod = EnvironmentsGrpc.getListEnvironmentsMethod) == null) { - synchronized (EnvironmentsGrpc.class) { - if ((getListEnvironmentsMethod = EnvironmentsGrpc.getListEnvironmentsMethod) == null) { - EnvironmentsGrpc.getListEnvironmentsMethod = getListEnvironmentsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListEnvironments")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse.getDefaultInstance())) - .setSchemaDescriptor(new EnvironmentsMethodDescriptorSupplier("ListEnvironments")) - .build(); - } - } - } - return getListEnvironmentsMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateEnvironmentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateEnvironment", - requestType = com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateEnvironmentMethod() { - io.grpc.MethodDescriptor getUpdateEnvironmentMethod; - if ((getUpdateEnvironmentMethod = EnvironmentsGrpc.getUpdateEnvironmentMethod) == null) { - synchronized (EnvironmentsGrpc.class) { - if ((getUpdateEnvironmentMethod = EnvironmentsGrpc.getUpdateEnvironmentMethod) == null) { - EnvironmentsGrpc.getUpdateEnvironmentMethod = getUpdateEnvironmentMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateEnvironment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new EnvironmentsMethodDescriptorSupplier("UpdateEnvironment")) - .build(); - } - } - } - return getUpdateEnvironmentMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteEnvironmentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteEnvironment", - requestType = com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteEnvironmentMethod() { - io.grpc.MethodDescriptor getDeleteEnvironmentMethod; - if ((getDeleteEnvironmentMethod = EnvironmentsGrpc.getDeleteEnvironmentMethod) == null) { - synchronized (EnvironmentsGrpc.class) { - if ((getDeleteEnvironmentMethod = EnvironmentsGrpc.getDeleteEnvironmentMethod) == null) { - EnvironmentsGrpc.getDeleteEnvironmentMethod = getDeleteEnvironmentMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteEnvironment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new EnvironmentsMethodDescriptorSupplier("DeleteEnvironment")) - .build(); - } - } - } - return getDeleteEnvironmentMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static EnvironmentsStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public EnvironmentsStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new EnvironmentsStub(channel, callOptions); - } - }; - return EnvironmentsStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static EnvironmentsBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public EnvironmentsBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new EnvironmentsBlockingStub(channel, callOptions); - } - }; - return EnvironmentsBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static EnvironmentsFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public EnvironmentsFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new EnvironmentsFutureStub(channel, callOptions); - } - }; - return EnvironmentsFutureStub.newStub(factory, channel); - } - - /** - *
        -   * Managed Apache Airflow Environments.
        -   * 
        - */ - public static abstract class EnvironmentsImplBase implements io.grpc.BindableService { - - /** - *
        -     * Create a new environment.
        -     * 
        - */ - public void createEnvironment(com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateEnvironmentMethod(), responseObserver); - } - - /** - *
        -     * Get an existing environment.
        -     * 
        - */ - public void getEnvironment(com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetEnvironmentMethod(), responseObserver); - } - - /** - *
        -     * List environments.
        -     * 
        - */ - public void listEnvironments(com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListEnvironmentsMethod(), responseObserver); - } - - /** - *
        -     * Update an environment.
        -     * 
        - */ - public void updateEnvironment(com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateEnvironmentMethod(), responseObserver); - } - - /** - *
        -     * Delete an environment.
        -     * 
        - */ - public void deleteEnvironment(com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteEnvironmentMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateEnvironmentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest, - com.google.longrunning.Operation>( - this, METHODID_CREATE_ENVIRONMENT))) - .addMethod( - getGetEnvironmentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest, - com.google.cloud.orchestration.airflow.service.v1.Environment>( - this, METHODID_GET_ENVIRONMENT))) - .addMethod( - getListEnvironmentsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest, - com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse>( - this, METHODID_LIST_ENVIRONMENTS))) - .addMethod( - getUpdateEnvironmentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest, - com.google.longrunning.Operation>( - this, METHODID_UPDATE_ENVIRONMENT))) - .addMethod( - getDeleteEnvironmentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest, - com.google.longrunning.Operation>( - this, METHODID_DELETE_ENVIRONMENT))) - .build(); - } - } - - /** - *
        -   * Managed Apache Airflow Environments.
        -   * 
        - */ - public static final class EnvironmentsStub extends io.grpc.stub.AbstractAsyncStub { - private EnvironmentsStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected EnvironmentsStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new EnvironmentsStub(channel, callOptions); - } - - /** - *
        -     * Create a new environment.
        -     * 
        - */ - public void createEnvironment(com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateEnvironmentMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
        -     * Get an existing environment.
        -     * 
        - */ - public void getEnvironment(com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetEnvironmentMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
        -     * List environments.
        -     * 
        - */ - public void listEnvironments(com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListEnvironmentsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
        -     * Update an environment.
        -     * 
        - */ - public void updateEnvironment(com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateEnvironmentMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
        -     * Delete an environment.
        -     * 
        - */ - public void deleteEnvironment(com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteEnvironmentMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - *
        -   * Managed Apache Airflow Environments.
        -   * 
        - */ - public static final class EnvironmentsBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private EnvironmentsBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected EnvironmentsBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new EnvironmentsBlockingStub(channel, callOptions); - } - - /** - *
        -     * Create a new environment.
        -     * 
        - */ - public com.google.longrunning.Operation createEnvironment(com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateEnvironmentMethod(), getCallOptions(), request); - } - - /** - *
        -     * Get an existing environment.
        -     * 
        - */ - public com.google.cloud.orchestration.airflow.service.v1.Environment getEnvironment(com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetEnvironmentMethod(), getCallOptions(), request); - } - - /** - *
        -     * List environments.
        -     * 
        - */ - public com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse listEnvironments(com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListEnvironmentsMethod(), getCallOptions(), request); - } - - /** - *
        -     * Update an environment.
        -     * 
        - */ - public com.google.longrunning.Operation updateEnvironment(com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateEnvironmentMethod(), getCallOptions(), request); - } - - /** - *
        -     * Delete an environment.
        -     * 
        - */ - public com.google.longrunning.Operation deleteEnvironment(com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteEnvironmentMethod(), getCallOptions(), request); - } - } - - /** - *
        -   * Managed Apache Airflow Environments.
        -   * 
        - */ - public static final class EnvironmentsFutureStub extends io.grpc.stub.AbstractFutureStub { - private EnvironmentsFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected EnvironmentsFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new EnvironmentsFutureStub(channel, callOptions); - } - - /** - *
        -     * Create a new environment.
        -     * 
        - */ - public com.google.common.util.concurrent.ListenableFuture createEnvironment( - com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateEnvironmentMethod(), getCallOptions()), request); - } - - /** - *
        -     * Get an existing environment.
        -     * 
        - */ - public com.google.common.util.concurrent.ListenableFuture getEnvironment( - com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetEnvironmentMethod(), getCallOptions()), request); - } - - /** - *
        -     * List environments.
        -     * 
        - */ - public com.google.common.util.concurrent.ListenableFuture listEnvironments( - com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListEnvironmentsMethod(), getCallOptions()), request); - } - - /** - *
        -     * Update an environment.
        -     * 
        - */ - public com.google.common.util.concurrent.ListenableFuture updateEnvironment( - com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateEnvironmentMethod(), getCallOptions()), request); - } - - /** - *
        -     * Delete an environment.
        -     * 
        - */ - public com.google.common.util.concurrent.ListenableFuture deleteEnvironment( - com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteEnvironmentMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_ENVIRONMENT = 0; - private static final int METHODID_GET_ENVIRONMENT = 1; - private static final int METHODID_LIST_ENVIRONMENTS = 2; - private static final int METHODID_UPDATE_ENVIRONMENT = 3; - private static final int METHODID_DELETE_ENVIRONMENT = 4; - - 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 EnvironmentsImplBase serviceImpl; - private final int methodId; - - MethodHandlers(EnvironmentsImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_CREATE_ENVIRONMENT: - serviceImpl.createEnvironment((com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_ENVIRONMENT: - serviceImpl.getEnvironment((com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_ENVIRONMENTS: - serviceImpl.listEnvironments((com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_ENVIRONMENT: - serviceImpl.updateEnvironment((com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_ENVIRONMENT: - serviceImpl.deleteEnvironment((com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest) 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 EnvironmentsBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - EnvironmentsBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("Environments"); - } - } - - private static final class EnvironmentsFileDescriptorSupplier - extends EnvironmentsBaseDescriptorSupplier { - EnvironmentsFileDescriptorSupplier() {} - } - - private static final class EnvironmentsMethodDescriptorSupplier - extends EnvironmentsBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - EnvironmentsMethodDescriptorSupplier(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 (EnvironmentsGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new EnvironmentsFileDescriptorSupplier()) - .addMethod(getCreateEnvironmentMethod()) - .addMethod(getGetEnvironmentMethod()) - .addMethod(getListEnvironmentsMethod()) - .addMethod(getUpdateEnvironmentMethod()) - .addMethod(getDeleteEnvironmentMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/v1/grpc-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsGrpc.java deleted file mode 100644 index 4b4163f9..00000000 --- a/owl-bot-staging/v1/grpc-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsGrpc.java +++ /dev/null @@ -1,303 +0,0 @@ -package com.google.cloud.orchestration.airflow.service.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
        - * Readonly service to query available ImageVersions.
        - * 
        - */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/orchestration/airflow/service/v1/image_versions.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class ImageVersionsGrpc { - - private ImageVersionsGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.orchestration.airflow.service.v1.ImageVersions"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getListImageVersionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListImageVersions", - requestType = com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest.class, - responseType = com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListImageVersionsMethod() { - io.grpc.MethodDescriptor getListImageVersionsMethod; - if ((getListImageVersionsMethod = ImageVersionsGrpc.getListImageVersionsMethod) == null) { - synchronized (ImageVersionsGrpc.class) { - if ((getListImageVersionsMethod = ImageVersionsGrpc.getListImageVersionsMethod) == null) { - ImageVersionsGrpc.getListImageVersionsMethod = getListImageVersionsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListImageVersions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse.getDefaultInstance())) - .setSchemaDescriptor(new ImageVersionsMethodDescriptorSupplier("ListImageVersions")) - .build(); - } - } - } - return getListImageVersionsMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static ImageVersionsStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ImageVersionsStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ImageVersionsStub(channel, callOptions); - } - }; - return ImageVersionsStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static ImageVersionsBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ImageVersionsBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ImageVersionsBlockingStub(channel, callOptions); - } - }; - return ImageVersionsBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static ImageVersionsFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ImageVersionsFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ImageVersionsFutureStub(channel, callOptions); - } - }; - return ImageVersionsFutureStub.newStub(factory, channel); - } - - /** - *
        -   * Readonly service to query available ImageVersions.
        -   * 
        - */ - public static abstract class ImageVersionsImplBase implements io.grpc.BindableService { - - /** - *
        -     * List ImageVersions for provided location.
        -     * 
        - */ - public void listImageVersions(com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListImageVersionsMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getListImageVersionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest, - com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse>( - this, METHODID_LIST_IMAGE_VERSIONS))) - .build(); - } - } - - /** - *
        -   * Readonly service to query available ImageVersions.
        -   * 
        - */ - public static final class ImageVersionsStub extends io.grpc.stub.AbstractAsyncStub { - private ImageVersionsStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ImageVersionsStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ImageVersionsStub(channel, callOptions); - } - - /** - *
        -     * List ImageVersions for provided location.
        -     * 
        - */ - public void listImageVersions(com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListImageVersionsMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - *
        -   * Readonly service to query available ImageVersions.
        -   * 
        - */ - public static final class ImageVersionsBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private ImageVersionsBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ImageVersionsBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ImageVersionsBlockingStub(channel, callOptions); - } - - /** - *
        -     * List ImageVersions for provided location.
        -     * 
        - */ - public com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse listImageVersions(com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListImageVersionsMethod(), getCallOptions(), request); - } - } - - /** - *
        -   * Readonly service to query available ImageVersions.
        -   * 
        - */ - public static final class ImageVersionsFutureStub extends io.grpc.stub.AbstractFutureStub { - private ImageVersionsFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ImageVersionsFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ImageVersionsFutureStub(channel, callOptions); - } - - /** - *
        -     * List ImageVersions for provided location.
        -     * 
        - */ - public com.google.common.util.concurrent.ListenableFuture listImageVersions( - com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListImageVersionsMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_LIST_IMAGE_VERSIONS = 0; - - 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 ImageVersionsImplBase serviceImpl; - private final int methodId; - - MethodHandlers(ImageVersionsImplBase 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_IMAGE_VERSIONS: - serviceImpl.listImageVersions((com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest) 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 ImageVersionsBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - ImageVersionsBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.ImageVersionsOuterClass.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("ImageVersions"); - } - } - - private static final class ImageVersionsFileDescriptorSupplier - extends ImageVersionsBaseDescriptorSupplier { - ImageVersionsFileDescriptorSupplier() {} - } - - private static final class ImageVersionsMethodDescriptorSupplier - extends ImageVersionsBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - ImageVersionsMethodDescriptorSupplier(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 (ImageVersionsGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new ImageVersionsFileDescriptorSupplier()) - .addMethod(getListImageVersionsMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsOuterClass.java b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsOuterClass.java deleted file mode 100644 index cc109723..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsOuterClass.java +++ /dev/null @@ -1,483 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/orchestration/airflow/service/v1/environments.proto - -package com.google.cloud.orchestration.airflow.service.v1; - -public final class EnvironmentsOuterClass { - private EnvironmentsOuterClass() {} - 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_orchestration_airflow_service_v1_CreateEnvironmentRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1_CreateEnvironmentRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1_GetEnvironmentRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1_GetEnvironmentRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1_DeleteEnvironmentRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1_DeleteEnvironmentRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1_UpdateEnvironmentRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1_UpdateEnvironmentRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1_EnvironmentConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1_EnvironmentConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_AllowedIpRange_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_AllowedIpRange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1_DatabaseConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1_DatabaseConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1_WebServerConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1_WebServerConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1_EncryptionConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1_EncryptionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_AirflowConfigOverridesEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_AirflowConfigOverridesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_PypiPackagesEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_PypiPackagesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_EnvVariablesEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_EnvVariablesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1_IPAllocationPolicy_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1_IPAllocationPolicy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1_NodeConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1_NodeConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1_PrivateClusterConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1_PrivateClusterConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1_PrivateEnvironmentConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1_PrivateEnvironmentConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1_Environment_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1_Environment_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1_Environment_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1_Environment_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_PypiDependenciesEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_PypiDependenciesEntry_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/orchestration/airflow/ser" + - "vice/v1/environments.proto\022-google.cloud" + - ".orchestration.airflow.service.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\"{\n\030CreateEnvironmentRequest" + - "\022\016\n\006parent\030\001 \001(\t\022O\n\013environment\030\002 \001(\0132:." + - "google.cloud.orchestration.airflow.servi" + - "ce.v1.Environment\"%\n\025GetEnvironmentReque" + - "st\022\014\n\004name\030\001 \001(\t\"P\n\027ListEnvironmentsRequ" + - "est\022\016\n\006parent\030\001 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022" + - "\n\npage_token\030\003 \001(\t\"\205\001\n\030ListEnvironmentsR" + - "esponse\022P\n\014environments\030\001 \003(\0132:.google.c" + - "loud.orchestration.airflow.service.v1.En" + - "vironment\022\027\n\017next_page_token\030\002 \001(\t\"(\n\030De" + - "leteEnvironmentRequest\022\014\n\004name\030\001 \001(\t\"\252\001\n" + - "\030UpdateEnvironmentRequest\022\014\n\004name\030\002 \001(\t\022" + - "O\n\013environment\030\001 \001(\0132:.google.cloud.orch" + - "estration.airflow.service.v1.Environment" + - "\022/\n\013update_mask\030\003 \001(\0132\032.google.protobuf." + - "FieldMask\"\232\006\n\021EnvironmentConfig\022\023\n\013gke_c" + - "luster\030\001 \001(\t\022\026\n\016dag_gcs_prefix\030\002 \001(\t\022\022\n\n" + - "node_count\030\003 \001(\005\022V\n\017software_config\030\004 \001(" + - "\0132=.google.cloud.orchestration.airflow.s" + - "ervice.v1.SoftwareConfig\022N\n\013node_config\030" + - "\005 \001(\01329.google.cloud.orchestration.airfl" + - "ow.service.v1.NodeConfig\022k\n\032private_envi" + - "ronment_config\030\007 \001(\0132G.google.cloud.orch" + - "estration.airflow.service.v1.PrivateEnvi" + - "ronmentConfig\022|\n!web_server_network_acce" + - "ss_control\030\010 \001(\0132L.google.cloud.orchestr" + - "ation.airflow.service.v1.WebServerNetwor" + - "kAccessControlB\003\340A\001\022[\n\017database_config\030\t" + - " \001(\0132=.google.cloud.orchestration.airflo" + - "w.service.v1.DatabaseConfigB\003\340A\001\022^\n\021web_" + - "server_config\030\n \001(\0132>.google.cloud.orche" + - "stration.airflow.service.v1.WebServerCon" + - "figB\003\340A\001\022_\n\021encryption_config\030\013 \001(\0132?.go" + - "ogle.cloud.orchestration.airflow.service" + - ".v1.EncryptionConfigB\003\340A\001\022\023\n\013airflow_uri" + - "\030\006 \001(\t\"\322\001\n\035WebServerNetworkAccessControl" + - "\022v\n\021allowed_ip_ranges\030\001 \003(\0132[.google.clo" + - "ud.orchestration.airflow.service.v1.WebS" + - "erverNetworkAccessControl.AllowedIpRange" + - "\0329\n\016AllowedIpRange\022\r\n\005value\030\001 \001(\t\022\030\n\013des" + - "cription\030\002 \001(\tB\003\340A\001\"+\n\016DatabaseConfig\022\031\n" + - "\014machine_type\030\001 \001(\tB\003\340A\001\",\n\017WebServerCon" + - "fig\022\031\n\014machine_type\030\001 \001(\tB\003\340A\001\"-\n\020Encryp" + - "tionConfig\022\031\n\014kms_key_name\030\001 \001(\tB\003\340A\001\"\265\004" + - "\n\016SoftwareConfig\022\025\n\rimage_version\030\001 \001(\t\022" + - "{\n\030airflow_config_overrides\030\002 \003(\0132Y.goog" + - "le.cloud.orchestration.airflow.service.v" + - "1.SoftwareConfig.AirflowConfigOverridesE" + - "ntry\022f\n\rpypi_packages\030\003 \003(\0132O.google.clo" + - "ud.orchestration.airflow.service.v1.Soft" + - "wareConfig.PypiPackagesEntry\022f\n\renv_vari" + - "ables\030\004 \003(\0132O.google.cloud.orchestration" + - ".airflow.service.v1.SoftwareConfig.EnvVa" + - "riablesEntry\022\026\n\016python_version\030\006 \001(\t\032=\n\033" + - "AirflowConfigOverridesEntry\022\013\n\003key\030\001 \001(\t" + - "\022\r\n\005value\030\002 \001(\t:\0028\001\0323\n\021PypiPackagesEntry" + - "\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\0323\n\021EnvV" + - "ariablesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(" + - "\t:\0028\001\"\220\002\n\022IPAllocationPolicy\022\033\n\016use_ip_a" + - "liases\030\001 \001(\010B\003\340A\001\022+\n\034cluster_secondary_r" + - "ange_name\030\002 \001(\tB\003\340A\001H\000\022&\n\027cluster_ipv4_c" + - "idr_block\030\004 \001(\tB\003\340A\001H\000\022,\n\035services_secon" + - "dary_range_name\030\003 \001(\tB\003\340A\001H\001\022\'\n\030services" + - "_ipv4_cidr_block\030\005 \001(\tB\003\340A\001H\001B\027\n\025cluster" + - "_ip_allocationB\030\n\026services_ip_allocation" + - "\"\222\002\n\nNodeConfig\022\020\n\010location\030\001 \001(\t\022\024\n\014mac" + - "hine_type\030\002 \001(\t\022\017\n\007network\030\003 \001(\t\022\022\n\nsubn" + - "etwork\030\004 \001(\t\022\024\n\014disk_size_gb\030\005 \001(\005\022\024\n\014oa" + - "uth_scopes\030\006 \003(\t\022\027\n\017service_account\030\007 \001(" + - "\t\022\014\n\004tags\030\010 \003(\t\022d\n\024ip_allocation_policy\030" + - "\t \001(\0132A.google.cloud.orchestration.airfl" + - "ow.service.v1.IPAllocationPolicyB\003\340A\001\"\212\001" + - "\n\024PrivateClusterConfig\022$\n\027enable_private" + - "_endpoint\030\001 \001(\010B\003\340A\001\022#\n\026master_ipv4_cidr" + - "_block\030\002 \001(\tB\003\340A\001\022\'\n\032master_ipv4_reserve" + - "d_range\030\003 \001(\tB\003\340A\003\"\253\002\n\030PrivateEnvironmen" + - "tConfig\022\'\n\032enable_private_environment\030\001 " + - "\001(\010B\003\340A\001\022h\n\026private_cluster_config\030\002 \001(\013" + - "2C.google.cloud.orchestration.airflow.se" + - "rvice.v1.PrivateClusterConfigB\003\340A\001\022\'\n\032we" + - "b_server_ipv4_cidr_block\030\003 \001(\tB\003\340A\001\022&\n\031c" + - "loud_sql_ipv4_cidr_block\030\004 \001(\tB\003\340A\001\022+\n\036w" + - "eb_server_ipv4_reserved_range\030\005 \001(\tB\003\340A\003" + - "\"\205\005\n\013Environment\022\014\n\004name\030\001 \001(\t\022P\n\006config" + - "\030\002 \001(\0132@.google.cloud.orchestration.airf" + - "low.service.v1.EnvironmentConfig\022\014\n\004uuid" + - "\030\003 \001(\t\022O\n\005state\030\004 \001(\0162@.google.cloud.orc" + - "hestration.airflow.service.v1.Environmen" + - "t.State\022/\n\013create_time\030\005 \001(\0132\032.google.pr" + - "otobuf.Timestamp\022/\n\013update_time\030\006 \001(\0132\032." + - "google.protobuf.Timestamp\022V\n\006labels\030\007 \003(" + - "\0132F.google.cloud.orchestration.airflow.s" + - "ervice.v1.Environment.LabelsEntry\032-\n\013Lab" + - "elsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001" + - "\"`\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\014\n\010CREA" + - "TING\020\001\022\013\n\007RUNNING\020\002\022\014\n\010UPDATING\020\003\022\014\n\010DEL" + - "ETING\020\004\022\t\n\005ERROR\020\005:l\352Ai\n#composer.google" + - "apis.com/Environment\022Bprojects/{project}" + - "/locations/{location}/environments/{envi" + - "ronment}\"\371\003\n\024CheckUpgradeResponse\022\032\n\rbui" + - "ld_log_uri\030\001 \001(\tB\003\340A\003\022\177\n\036contains_pypi_m" + - "odules_conflict\030\004 \001(\0162R.google.cloud.orc" + - "hestration.airflow.service.v1.CheckUpgra" + - "deResponse.ConflictResultB\003\340A\003\022,\n\037pypi_c" + - "onflict_build_log_extract\030\003 \001(\tB\003\340A\003\022\025\n\r" + - "image_version\030\005 \001(\t\022t\n\021pypi_dependencies" + - "\030\006 \003(\0132Y.google.cloud.orchestration.airf" + - "low.service.v1.CheckUpgradeResponse.Pypi" + - "DependenciesEntry\0327\n\025PypiDependenciesEnt" + - "ry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"P\n\016Co" + - "nflictResult\022\037\n\033CONFLICT_RESULT_UNSPECIF" + - "IED\020\000\022\014\n\010CONFLICT\020\001\022\017\n\013NO_CONFLICT\020\0022\227\013\n" + - "\014Environments\022\251\002\n\021CreateEnvironment\022G.go" + - "ogle.cloud.orchestration.airflow.service" + - ".v1.CreateEnvironmentRequest\032\035.google.lo" + - "ngrunning.Operation\"\253\001\202\323\344\223\002?\"0/v1/{paren" + - "t=projects/*/locations/*}/environments:\013" + - "environment\332A\022parent,environment\312AN\n\013Env" + - "ironment\022?google.cloud.orchestration.air" + - "flow.service.v1.OperationMetadata\022\323\001\n\016Ge" + - "tEnvironment\022D.google.cloud.orchestratio" + - "n.airflow.service.v1.GetEnvironmentReque" + - "st\032:.google.cloud.orchestration.airflow." + - "service.v1.Environment\"?\202\323\344\223\0022\0220/v1/{nam" + - "e=projects/*/locations/*/environments/*}" + - "\332A\004name\022\346\001\n\020ListEnvironments\022F.google.cl" + - "oud.orchestration.airflow.service.v1.Lis" + - "tEnvironmentsRequest\032G.google.cloud.orch" + - "estration.airflow.service.v1.ListEnviron" + - "mentsResponse\"A\202\323\344\223\0022\0220/v1/{parent=proje" + - "cts/*/locations/*}/environments\332A\006parent" + - "\022\263\002\n\021UpdateEnvironment\022G.google.cloud.or" + - "chestration.airflow.service.v1.UpdateEnv" + - "ironmentRequest\032\035.google.longrunning.Ope" + - "ration\"\265\001\202\323\344\223\002?20/v1/{name=projects/*/lo" + - "cations/*/environments/*}:\013environment\332A" + - "\034name,environment,update_mask\312AN\n\013Enviro" + - "nment\022?google.cloud.orchestration.airflo" + - "w.service.v1.OperationMetadata\022\230\002\n\021Delet" + - "eEnvironment\022G.google.cloud.orchestratio" + - "n.airflow.service.v1.DeleteEnvironmentRe" + - "quest\032\035.google.longrunning.Operation\"\232\001\202" + - "\323\344\223\0022*0/v1/{name=projects/*/locations/*/" + - "environments/*}\332A\004name\312AX\n\025google.protob" + - "uf.Empty\022?google.cloud.orchestration.air" + - "flow.service.v1.OperationMetadata\032K\312A\027co" + - "mposer.googleapis.com\322A.https://www.goog" + - "leapis.com/auth/cloud-platformB\213\001\n1com.g" + - "oogle.cloud.orchestration.airflow.servic" + - "e.v1P\001ZTgoogle.golang.org/genproto/googl" + - "eapis/cloud/orchestration/airflow/servic" + - "e/v1;serviceb\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.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_orchestration_airflow_service_v1_CreateEnvironmentRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_orchestration_airflow_service_v1_CreateEnvironmentRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1_CreateEnvironmentRequest_descriptor, - new java.lang.String[] { "Parent", "Environment", }); - internal_static_google_cloud_orchestration_airflow_service_v1_GetEnvironmentRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_orchestration_airflow_service_v1_GetEnvironmentRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1_GetEnvironmentRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsResponse_descriptor, - new java.lang.String[] { "Environments", "NextPageToken", }); - internal_static_google_cloud_orchestration_airflow_service_v1_DeleteEnvironmentRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_orchestration_airflow_service_v1_DeleteEnvironmentRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1_DeleteEnvironmentRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_orchestration_airflow_service_v1_UpdateEnvironmentRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_orchestration_airflow_service_v1_UpdateEnvironmentRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1_UpdateEnvironmentRequest_descriptor, - new java.lang.String[] { "Name", "Environment", "UpdateMask", }); - internal_static_google_cloud_orchestration_airflow_service_v1_EnvironmentConfig_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_orchestration_airflow_service_v1_EnvironmentConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1_EnvironmentConfig_descriptor, - new java.lang.String[] { "GkeCluster", "DagGcsPrefix", "NodeCount", "SoftwareConfig", "NodeConfig", "PrivateEnvironmentConfig", "WebServerNetworkAccessControl", "DatabaseConfig", "WebServerConfig", "EncryptionConfig", "AirflowUri", }); - internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_descriptor, - new java.lang.String[] { "AllowedIpRanges", }); - internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_AllowedIpRange_descriptor = - internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_AllowedIpRange_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_AllowedIpRange_descriptor, - new java.lang.String[] { "Value", "Description", }); - internal_static_google_cloud_orchestration_airflow_service_v1_DatabaseConfig_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_orchestration_airflow_service_v1_DatabaseConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1_DatabaseConfig_descriptor, - new java.lang.String[] { "MachineType", }); - internal_static_google_cloud_orchestration_airflow_service_v1_WebServerConfig_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_orchestration_airflow_service_v1_WebServerConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1_WebServerConfig_descriptor, - new java.lang.String[] { "MachineType", }); - internal_static_google_cloud_orchestration_airflow_service_v1_EncryptionConfig_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_orchestration_airflow_service_v1_EncryptionConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1_EncryptionConfig_descriptor, - new java.lang.String[] { "KmsKeyName", }); - internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_descriptor, - new java.lang.String[] { "ImageVersion", "AirflowConfigOverrides", "PypiPackages", "EnvVariables", "PythonVersion", }); - internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_AirflowConfigOverridesEntry_descriptor = - internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_AirflowConfigOverridesEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_AirflowConfigOverridesEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_PypiPackagesEntry_descriptor = - internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_PypiPackagesEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_PypiPackagesEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_EnvVariablesEntry_descriptor = - internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_EnvVariablesEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_EnvVariablesEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_orchestration_airflow_service_v1_IPAllocationPolicy_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_orchestration_airflow_service_v1_IPAllocationPolicy_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1_IPAllocationPolicy_descriptor, - new java.lang.String[] { "UseIpAliases", "ClusterSecondaryRangeName", "ClusterIpv4CidrBlock", "ServicesSecondaryRangeName", "ServicesIpv4CidrBlock", "ClusterIpAllocation", "ServicesIpAllocation", }); - internal_static_google_cloud_orchestration_airflow_service_v1_NodeConfig_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_orchestration_airflow_service_v1_NodeConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1_NodeConfig_descriptor, - new java.lang.String[] { "Location", "MachineType", "Network", "Subnetwork", "DiskSizeGb", "OauthScopes", "ServiceAccount", "Tags", "IpAllocationPolicy", }); - internal_static_google_cloud_orchestration_airflow_service_v1_PrivateClusterConfig_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_orchestration_airflow_service_v1_PrivateClusterConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1_PrivateClusterConfig_descriptor, - new java.lang.String[] { "EnablePrivateEndpoint", "MasterIpv4CidrBlock", "MasterIpv4ReservedRange", }); - internal_static_google_cloud_orchestration_airflow_service_v1_PrivateEnvironmentConfig_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_orchestration_airflow_service_v1_PrivateEnvironmentConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1_PrivateEnvironmentConfig_descriptor, - new java.lang.String[] { "EnablePrivateEnvironment", "PrivateClusterConfig", "WebServerIpv4CidrBlock", "CloudSqlIpv4CidrBlock", "WebServerIpv4ReservedRange", }); - internal_static_google_cloud_orchestration_airflow_service_v1_Environment_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_orchestration_airflow_service_v1_Environment_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1_Environment_descriptor, - new java.lang.String[] { "Name", "Config", "Uuid", "State", "CreateTime", "UpdateTime", "Labels", }); - internal_static_google_cloud_orchestration_airflow_service_v1_Environment_LabelsEntry_descriptor = - internal_static_google_cloud_orchestration_airflow_service_v1_Environment_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_orchestration_airflow_service_v1_Environment_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1_Environment_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_descriptor, - new java.lang.String[] { "BuildLogUri", "ContainsPypiModulesConflict", "PypiConflictBuildLogExtract", "ImageVersion", "PypiDependencies", }); - internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_PypiDependenciesEntry_descriptor = - internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_PypiDependenciesEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_PypiDependenciesEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - 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.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.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsOuterClass.java b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsOuterClass.java deleted file mode 100644 index dafb542e..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsOuterClass.java +++ /dev/null @@ -1,110 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/orchestration/airflow/service/v1/image_versions.proto - -package com.google.cloud.orchestration.airflow.service.v1; - -public final class ImageVersionsOuterClass { - private ImageVersionsOuterClass() {} - 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_orchestration_airflow_service_v1_ListImageVersionsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1_ImageVersion_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1_ImageVersion_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\nBgoogle/cloud/orchestration/airflow/ser" + - "vice/v1/image_versions.proto\022-google.clo" + - "ud.orchestration.airflow.service.v1\032\034goo" + - "gle/api/annotations.proto\032\027google/api/cl" + - "ient.proto\032\026google/type/date.proto\"p\n\030Li" + - "stImageVersionsRequest\022\016\n\006parent\030\001 \001(\t\022\021" + - "\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\035\n" + - "\025include_past_releases\030\004 \001(\010\"\211\001\n\031ListIma" + - "geVersionsResponse\022S\n\016image_versions\030\001 \003" + - "(\0132;.google.cloud.orchestration.airflow." + - "service.v1.ImageVersion\022\027\n\017next_page_tok" + - "en\030\002 \001(\t\"\275\001\n\014ImageVersion\022\030\n\020image_versi" + - "on_id\030\001 \001(\t\022\022\n\nis_default\030\002 \001(\010\022!\n\031suppo" + - "rted_python_versions\030\003 \003(\t\022\'\n\014release_da" + - "te\030\004 \001(\0132\021.google.type.Date\022\031\n\021creation_" + - "disabled\030\005 \001(\010\022\030\n\020upgrade_disabled\030\006 \001(\010" + - "2\311\002\n\rImageVersions\022\352\001\n\021ListImageVersions" + - "\022G.google.cloud.orchestration.airflow.se" + - "rvice.v1.ListImageVersionsRequest\032H.goog" + - "le.cloud.orchestration.airflow.service.v" + - "1.ListImageVersionsResponse\"B\202\323\344\223\0023\0221/v1" + - "/{parent=projects/*/locations/*}/imageVe" + - "rsions\332A\006parent\032K\312A\027composer.googleapis." + - "com\322A.https://www.googleapis.com/auth/cl" + - "oud-platformB\213\001\n1com.google.cloud.orches" + - "tration.airflow.service.v1P\001ZTgoogle.gol" + - "ang.org/genproto/googleapis/cloud/orches" + - "tration/airflow/service/v1;serviceb\006prot" + - "o3" - }; - 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.type.DateProto.getDescriptor(), - }); - internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "IncludePastReleases", }); - internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsResponse_descriptor, - new java.lang.String[] { "ImageVersions", "NextPageToken", }); - internal_static_google_cloud_orchestration_airflow_service_v1_ImageVersion_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_orchestration_airflow_service_v1_ImageVersion_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1_ImageVersion_descriptor, - new java.lang.String[] { "ImageVersionId", "IsDefault", "SupportedPythonVersions", "ReleaseDate", "CreationDisabled", "UpgradeDisabled", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.type.DateProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/OperationsProto.java b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/OperationsProto.java deleted file mode 100644 index ac28b376..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/OperationsProto.java +++ /dev/null @@ -1,71 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/orchestration/airflow/service/v1/operations.proto - -package com.google.cloud.orchestration.airflow.service.v1; - -public final class OperationsProto { - private OperationsProto() {} - 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_orchestration_airflow_service_v1_OperationMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1_OperationMetadata_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/orchestration/airflow/ser" + - "vice/v1/operations.proto\022-google.cloud.o" + - "rchestration.airflow.service.v1\032\037google/" + - "protobuf/timestamp.proto\032\034google/api/ann" + - "otations.proto\"\207\004\n\021OperationMetadata\022U\n\005" + - "state\030\001 \001(\0162F.google.cloud.orchestration" + - ".airflow.service.v1.OperationMetadata.St" + - "ate\022]\n\016operation_type\030\002 \001(\0162E.google.clo" + - "ud.orchestration.airflow.service.v1.Oper" + - "ationMetadata.Type\022\020\n\010resource\030\003 \001(\t\022\025\n\r" + - "resource_uuid\030\004 \001(\t\022/\n\013create_time\030\005 \001(\013" + - "2\032.google.protobuf.Timestamp\022,\n\010end_time" + - "\030\006 \001(\0132\032.google.protobuf.Timestamp\"g\n\005St" + - "ate\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007PENDING\020\001\022" + - "\013\n\007RUNNING\020\002\022\r\n\tSUCCEEDED\020\003\022\016\n\nSUCCESSFU" + - "L\020\003\022\n\n\006FAILED\020\004\032\002\020\001\"K\n\004Type\022\024\n\020TYPE_UNSP" + - "ECIFIED\020\000\022\n\n\006CREATE\020\001\022\n\n\006DELETE\020\002\022\n\n\006UPD" + - "ATE\020\003\022\t\n\005CHECK\020\004B\234\001\n1com.google.cloud.or" + - "chestration.airflow.service.v1B\017Operatio" + - "nsProtoP\001ZTgoogle.golang.org/genproto/go" + - "ogleapis/cloud/orchestration/airflow/ser" + - "vice/v1;serviceb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - }); - internal_static_google_cloud_orchestration_airflow_service_v1_OperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_orchestration_airflow_service_v1_OperationMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1_OperationMetadata_descriptor, - new java.lang.String[] { "State", "OperationType", "Resource", "ResourceUuid", "CreateTime", "EndTime", }); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/WebServerNetworkAccessControlOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/WebServerNetworkAccessControlOrBuilder.java deleted file mode 100644 index 863cad6c..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/WebServerNetworkAccessControlOrBuilder.java +++ /dev/null @@ -1,53 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/orchestration/airflow/service/v1/environments.proto - -package com.google.cloud.orchestration.airflow.service.v1; - -public interface WebServerNetworkAccessControlOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl) - com.google.protobuf.MessageOrBuilder { - - /** - *
        -   * A collection of allowed IP ranges with descriptions.
        -   * 
        - * - * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; - */ - java.util.List - getAllowedIpRangesList(); - /** - *
        -   * A collection of allowed IP ranges with descriptions.
        -   * 
        - * - * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; - */ - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange getAllowedIpRanges(int index); - /** - *
        -   * A collection of allowed IP ranges with descriptions.
        -   * 
        - * - * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; - */ - int getAllowedIpRangesCount(); - /** - *
        -   * A collection of allowed IP ranges with descriptions.
        -   * 
        - * - * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; - */ - java.util.List - getAllowedIpRangesOrBuilderList(); - /** - *
        -   * A collection of allowed IP ranges with descriptions.
        -   * 
        - * - * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; - */ - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRangeOrBuilder getAllowedIpRangesOrBuilder( - int index); -} diff --git a/owl-bot-staging/v1beta1/grpc-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsGrpc.java b/owl-bot-staging/v1beta1/grpc-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsGrpc.java deleted file mode 100644 index 93a0268c..00000000 --- a/owl-bot-staging/v1beta1/grpc-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsGrpc.java +++ /dev/null @@ -1,823 +0,0 @@ -package com.google.cloud.orchestration.airflow.service.v1beta1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
        - * Managed Apache Airflow Environments.
        - * 
        - */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/orchestration/airflow/service/v1beta1/environments.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class EnvironmentsGrpc { - - private EnvironmentsGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.orchestration.airflow.service.v1beta1.Environments"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getCreateEnvironmentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateEnvironment", - requestType = com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateEnvironmentMethod() { - io.grpc.MethodDescriptor getCreateEnvironmentMethod; - if ((getCreateEnvironmentMethod = EnvironmentsGrpc.getCreateEnvironmentMethod) == null) { - synchronized (EnvironmentsGrpc.class) { - if ((getCreateEnvironmentMethod = EnvironmentsGrpc.getCreateEnvironmentMethod) == null) { - EnvironmentsGrpc.getCreateEnvironmentMethod = getCreateEnvironmentMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateEnvironment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new EnvironmentsMethodDescriptorSupplier("CreateEnvironment")) - .build(); - } - } - } - return getCreateEnvironmentMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetEnvironmentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetEnvironment", - requestType = com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest.class, - responseType = com.google.cloud.orchestration.airflow.service.v1beta1.Environment.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetEnvironmentMethod() { - io.grpc.MethodDescriptor getGetEnvironmentMethod; - if ((getGetEnvironmentMethod = EnvironmentsGrpc.getGetEnvironmentMethod) == null) { - synchronized (EnvironmentsGrpc.class) { - if ((getGetEnvironmentMethod = EnvironmentsGrpc.getGetEnvironmentMethod) == null) { - EnvironmentsGrpc.getGetEnvironmentMethod = getGetEnvironmentMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetEnvironment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.orchestration.airflow.service.v1beta1.Environment.getDefaultInstance())) - .setSchemaDescriptor(new EnvironmentsMethodDescriptorSupplier("GetEnvironment")) - .build(); - } - } - } - return getGetEnvironmentMethod; - } - - private static volatile io.grpc.MethodDescriptor getListEnvironmentsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListEnvironments", - requestType = com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest.class, - responseType = com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListEnvironmentsMethod() { - io.grpc.MethodDescriptor getListEnvironmentsMethod; - if ((getListEnvironmentsMethod = EnvironmentsGrpc.getListEnvironmentsMethod) == null) { - synchronized (EnvironmentsGrpc.class) { - if ((getListEnvironmentsMethod = EnvironmentsGrpc.getListEnvironmentsMethod) == null) { - EnvironmentsGrpc.getListEnvironmentsMethod = getListEnvironmentsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListEnvironments")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse.getDefaultInstance())) - .setSchemaDescriptor(new EnvironmentsMethodDescriptorSupplier("ListEnvironments")) - .build(); - } - } - } - return getListEnvironmentsMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateEnvironmentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateEnvironment", - requestType = com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateEnvironmentMethod() { - io.grpc.MethodDescriptor getUpdateEnvironmentMethod; - if ((getUpdateEnvironmentMethod = EnvironmentsGrpc.getUpdateEnvironmentMethod) == null) { - synchronized (EnvironmentsGrpc.class) { - if ((getUpdateEnvironmentMethod = EnvironmentsGrpc.getUpdateEnvironmentMethod) == null) { - EnvironmentsGrpc.getUpdateEnvironmentMethod = getUpdateEnvironmentMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateEnvironment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new EnvironmentsMethodDescriptorSupplier("UpdateEnvironment")) - .build(); - } - } - } - return getUpdateEnvironmentMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteEnvironmentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteEnvironment", - requestType = com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteEnvironmentMethod() { - io.grpc.MethodDescriptor getDeleteEnvironmentMethod; - if ((getDeleteEnvironmentMethod = EnvironmentsGrpc.getDeleteEnvironmentMethod) == null) { - synchronized (EnvironmentsGrpc.class) { - if ((getDeleteEnvironmentMethod = EnvironmentsGrpc.getDeleteEnvironmentMethod) == null) { - EnvironmentsGrpc.getDeleteEnvironmentMethod = getDeleteEnvironmentMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteEnvironment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new EnvironmentsMethodDescriptorSupplier("DeleteEnvironment")) - .build(); - } - } - } - return getDeleteEnvironmentMethod; - } - - private static volatile io.grpc.MethodDescriptor getRestartWebServerMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RestartWebServer", - requestType = com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getRestartWebServerMethod() { - io.grpc.MethodDescriptor getRestartWebServerMethod; - if ((getRestartWebServerMethod = EnvironmentsGrpc.getRestartWebServerMethod) == null) { - synchronized (EnvironmentsGrpc.class) { - if ((getRestartWebServerMethod = EnvironmentsGrpc.getRestartWebServerMethod) == null) { - EnvironmentsGrpc.getRestartWebServerMethod = getRestartWebServerMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RestartWebServer")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new EnvironmentsMethodDescriptorSupplier("RestartWebServer")) - .build(); - } - } - } - return getRestartWebServerMethod; - } - - private static volatile io.grpc.MethodDescriptor getCheckUpgradeMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CheckUpgrade", - requestType = com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCheckUpgradeMethod() { - io.grpc.MethodDescriptor getCheckUpgradeMethod; - if ((getCheckUpgradeMethod = EnvironmentsGrpc.getCheckUpgradeMethod) == null) { - synchronized (EnvironmentsGrpc.class) { - if ((getCheckUpgradeMethod = EnvironmentsGrpc.getCheckUpgradeMethod) == null) { - EnvironmentsGrpc.getCheckUpgradeMethod = getCheckUpgradeMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CheckUpgrade")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new EnvironmentsMethodDescriptorSupplier("CheckUpgrade")) - .build(); - } - } - } - return getCheckUpgradeMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static EnvironmentsStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public EnvironmentsStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new EnvironmentsStub(channel, callOptions); - } - }; - return EnvironmentsStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static EnvironmentsBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public EnvironmentsBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new EnvironmentsBlockingStub(channel, callOptions); - } - }; - return EnvironmentsBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static EnvironmentsFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public EnvironmentsFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new EnvironmentsFutureStub(channel, callOptions); - } - }; - return EnvironmentsFutureStub.newStub(factory, channel); - } - - /** - *
        -   * Managed Apache Airflow Environments.
        -   * 
        - */ - public static abstract class EnvironmentsImplBase implements io.grpc.BindableService { - - /** - *
        -     * Create a new environment.
        -     * 
        - */ - public void createEnvironment(com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateEnvironmentMethod(), responseObserver); - } - - /** - *
        -     * Get an existing environment.
        -     * 
        - */ - public void getEnvironment(com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetEnvironmentMethod(), responseObserver); - } - - /** - *
        -     * List environments.
        -     * 
        - */ - public void listEnvironments(com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListEnvironmentsMethod(), responseObserver); - } - - /** - *
        -     * Update an environment.
        -     * 
        - */ - public void updateEnvironment(com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateEnvironmentMethod(), responseObserver); - } - - /** - *
        -     * Delete an environment.
        -     * 
        - */ - public void deleteEnvironment(com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteEnvironmentMethod(), responseObserver); - } - - /** - *
        -     * Restart Airflow web server.
        -     * 
        - */ - public void restartWebServer(com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRestartWebServerMethod(), responseObserver); - } - - /** - *
        -     * Check if an upgrade operation on the environment will succeed.
        -     * In case of problems detailed info can be found in the returned Operation.
        -     * 
        - */ - public void checkUpgrade(com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCheckUpgradeMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateEnvironmentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest, - com.google.longrunning.Operation>( - this, METHODID_CREATE_ENVIRONMENT))) - .addMethod( - getGetEnvironmentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest, - com.google.cloud.orchestration.airflow.service.v1beta1.Environment>( - this, METHODID_GET_ENVIRONMENT))) - .addMethod( - getListEnvironmentsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest, - com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse>( - this, METHODID_LIST_ENVIRONMENTS))) - .addMethod( - getUpdateEnvironmentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest, - com.google.longrunning.Operation>( - this, METHODID_UPDATE_ENVIRONMENT))) - .addMethod( - getDeleteEnvironmentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest, - com.google.longrunning.Operation>( - this, METHODID_DELETE_ENVIRONMENT))) - .addMethod( - getRestartWebServerMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest, - com.google.longrunning.Operation>( - this, METHODID_RESTART_WEB_SERVER))) - .addMethod( - getCheckUpgradeMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest, - com.google.longrunning.Operation>( - this, METHODID_CHECK_UPGRADE))) - .build(); - } - } - - /** - *
        -   * Managed Apache Airflow Environments.
        -   * 
        - */ - public static final class EnvironmentsStub extends io.grpc.stub.AbstractAsyncStub { - private EnvironmentsStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected EnvironmentsStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new EnvironmentsStub(channel, callOptions); - } - - /** - *
        -     * Create a new environment.
        -     * 
        - */ - public void createEnvironment(com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateEnvironmentMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
        -     * Get an existing environment.
        -     * 
        - */ - public void getEnvironment(com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetEnvironmentMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
        -     * List environments.
        -     * 
        - */ - public void listEnvironments(com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListEnvironmentsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
        -     * Update an environment.
        -     * 
        - */ - public void updateEnvironment(com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateEnvironmentMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
        -     * Delete an environment.
        -     * 
        - */ - public void deleteEnvironment(com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteEnvironmentMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
        -     * Restart Airflow web server.
        -     * 
        - */ - public void restartWebServer(com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRestartWebServerMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
        -     * Check if an upgrade operation on the environment will succeed.
        -     * In case of problems detailed info can be found in the returned Operation.
        -     * 
        - */ - public void checkUpgrade(com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCheckUpgradeMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - *
        -   * Managed Apache Airflow Environments.
        -   * 
        - */ - public static final class EnvironmentsBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private EnvironmentsBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected EnvironmentsBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new EnvironmentsBlockingStub(channel, callOptions); - } - - /** - *
        -     * Create a new environment.
        -     * 
        - */ - public com.google.longrunning.Operation createEnvironment(com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateEnvironmentMethod(), getCallOptions(), request); - } - - /** - *
        -     * Get an existing environment.
        -     * 
        - */ - public com.google.cloud.orchestration.airflow.service.v1beta1.Environment getEnvironment(com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetEnvironmentMethod(), getCallOptions(), request); - } - - /** - *
        -     * List environments.
        -     * 
        - */ - public com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse listEnvironments(com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListEnvironmentsMethod(), getCallOptions(), request); - } - - /** - *
        -     * Update an environment.
        -     * 
        - */ - public com.google.longrunning.Operation updateEnvironment(com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateEnvironmentMethod(), getCallOptions(), request); - } - - /** - *
        -     * Delete an environment.
        -     * 
        - */ - public com.google.longrunning.Operation deleteEnvironment(com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteEnvironmentMethod(), getCallOptions(), request); - } - - /** - *
        -     * Restart Airflow web server.
        -     * 
        - */ - public com.google.longrunning.Operation restartWebServer(com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRestartWebServerMethod(), getCallOptions(), request); - } - - /** - *
        -     * Check if an upgrade operation on the environment will succeed.
        -     * In case of problems detailed info can be found in the returned Operation.
        -     * 
        - */ - public com.google.longrunning.Operation checkUpgrade(com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCheckUpgradeMethod(), getCallOptions(), request); - } - } - - /** - *
        -   * Managed Apache Airflow Environments.
        -   * 
        - */ - public static final class EnvironmentsFutureStub extends io.grpc.stub.AbstractFutureStub { - private EnvironmentsFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected EnvironmentsFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new EnvironmentsFutureStub(channel, callOptions); - } - - /** - *
        -     * Create a new environment.
        -     * 
        - */ - public com.google.common.util.concurrent.ListenableFuture createEnvironment( - com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateEnvironmentMethod(), getCallOptions()), request); - } - - /** - *
        -     * Get an existing environment.
        -     * 
        - */ - public com.google.common.util.concurrent.ListenableFuture getEnvironment( - com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetEnvironmentMethod(), getCallOptions()), request); - } - - /** - *
        -     * List environments.
        -     * 
        - */ - public com.google.common.util.concurrent.ListenableFuture listEnvironments( - com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListEnvironmentsMethod(), getCallOptions()), request); - } - - /** - *
        -     * Update an environment.
        -     * 
        - */ - public com.google.common.util.concurrent.ListenableFuture updateEnvironment( - com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateEnvironmentMethod(), getCallOptions()), request); - } - - /** - *
        -     * Delete an environment.
        -     * 
        - */ - public com.google.common.util.concurrent.ListenableFuture deleteEnvironment( - com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteEnvironmentMethod(), getCallOptions()), request); - } - - /** - *
        -     * Restart Airflow web server.
        -     * 
        - */ - public com.google.common.util.concurrent.ListenableFuture restartWebServer( - com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRestartWebServerMethod(), getCallOptions()), request); - } - - /** - *
        -     * Check if an upgrade operation on the environment will succeed.
        -     * In case of problems detailed info can be found in the returned Operation.
        -     * 
        - */ - public com.google.common.util.concurrent.ListenableFuture checkUpgrade( - com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCheckUpgradeMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_ENVIRONMENT = 0; - private static final int METHODID_GET_ENVIRONMENT = 1; - private static final int METHODID_LIST_ENVIRONMENTS = 2; - private static final int METHODID_UPDATE_ENVIRONMENT = 3; - private static final int METHODID_DELETE_ENVIRONMENT = 4; - private static final int METHODID_RESTART_WEB_SERVER = 5; - private static final int METHODID_CHECK_UPGRADE = 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 EnvironmentsImplBase serviceImpl; - private final int methodId; - - MethodHandlers(EnvironmentsImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_CREATE_ENVIRONMENT: - serviceImpl.createEnvironment((com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_ENVIRONMENT: - serviceImpl.getEnvironment((com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_ENVIRONMENTS: - serviceImpl.listEnvironments((com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_ENVIRONMENT: - serviceImpl.updateEnvironment((com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_ENVIRONMENT: - serviceImpl.deleteEnvironment((com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_RESTART_WEB_SERVER: - serviceImpl.restartWebServer((com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CHECK_UPGRADE: - serviceImpl.checkUpgrade((com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest) 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 EnvironmentsBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - EnvironmentsBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("Environments"); - } - } - - private static final class EnvironmentsFileDescriptorSupplier - extends EnvironmentsBaseDescriptorSupplier { - EnvironmentsFileDescriptorSupplier() {} - } - - private static final class EnvironmentsMethodDescriptorSupplier - extends EnvironmentsBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - EnvironmentsMethodDescriptorSupplier(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 (EnvironmentsGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new EnvironmentsFileDescriptorSupplier()) - .addMethod(getCreateEnvironmentMethod()) - .addMethod(getGetEnvironmentMethod()) - .addMethod(getListEnvironmentsMethod()) - .addMethod(getUpdateEnvironmentMethod()) - .addMethod(getDeleteEnvironmentMethod()) - .addMethod(getRestartWebServerMethod()) - .addMethod(getCheckUpgradeMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/v1beta1/grpc-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsGrpc.java b/owl-bot-staging/v1beta1/grpc-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsGrpc.java deleted file mode 100644 index b469f45b..00000000 --- a/owl-bot-staging/v1beta1/grpc-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsGrpc.java +++ /dev/null @@ -1,303 +0,0 @@ -package com.google.cloud.orchestration.airflow.service.v1beta1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
        - * Readonly service to query available ImageVersions.
        - * 
        - */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/orchestration/airflow/service/v1beta1/image_versions.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class ImageVersionsGrpc { - - private ImageVersionsGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.orchestration.airflow.service.v1beta1.ImageVersions"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getListImageVersionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListImageVersions", - requestType = com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest.class, - responseType = com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListImageVersionsMethod() { - io.grpc.MethodDescriptor getListImageVersionsMethod; - if ((getListImageVersionsMethod = ImageVersionsGrpc.getListImageVersionsMethod) == null) { - synchronized (ImageVersionsGrpc.class) { - if ((getListImageVersionsMethod = ImageVersionsGrpc.getListImageVersionsMethod) == null) { - ImageVersionsGrpc.getListImageVersionsMethod = getListImageVersionsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListImageVersions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse.getDefaultInstance())) - .setSchemaDescriptor(new ImageVersionsMethodDescriptorSupplier("ListImageVersions")) - .build(); - } - } - } - return getListImageVersionsMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static ImageVersionsStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ImageVersionsStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ImageVersionsStub(channel, callOptions); - } - }; - return ImageVersionsStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static ImageVersionsBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ImageVersionsBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ImageVersionsBlockingStub(channel, callOptions); - } - }; - return ImageVersionsBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static ImageVersionsFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ImageVersionsFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ImageVersionsFutureStub(channel, callOptions); - } - }; - return ImageVersionsFutureStub.newStub(factory, channel); - } - - /** - *
        -   * Readonly service to query available ImageVersions.
        -   * 
        - */ - public static abstract class ImageVersionsImplBase implements io.grpc.BindableService { - - /** - *
        -     * List ImageVersions for provided location.
        -     * 
        - */ - public void listImageVersions(com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListImageVersionsMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getListImageVersionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest, - com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse>( - this, METHODID_LIST_IMAGE_VERSIONS))) - .build(); - } - } - - /** - *
        -   * Readonly service to query available ImageVersions.
        -   * 
        - */ - public static final class ImageVersionsStub extends io.grpc.stub.AbstractAsyncStub { - private ImageVersionsStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ImageVersionsStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ImageVersionsStub(channel, callOptions); - } - - /** - *
        -     * List ImageVersions for provided location.
        -     * 
        - */ - public void listImageVersions(com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListImageVersionsMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - *
        -   * Readonly service to query available ImageVersions.
        -   * 
        - */ - public static final class ImageVersionsBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private ImageVersionsBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ImageVersionsBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ImageVersionsBlockingStub(channel, callOptions); - } - - /** - *
        -     * List ImageVersions for provided location.
        -     * 
        - */ - public com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse listImageVersions(com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListImageVersionsMethod(), getCallOptions(), request); - } - } - - /** - *
        -   * Readonly service to query available ImageVersions.
        -   * 
        - */ - public static final class ImageVersionsFutureStub extends io.grpc.stub.AbstractFutureStub { - private ImageVersionsFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ImageVersionsFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ImageVersionsFutureStub(channel, callOptions); - } - - /** - *
        -     * List ImageVersions for provided location.
        -     * 
        - */ - public com.google.common.util.concurrent.ListenableFuture listImageVersions( - com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListImageVersionsMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_LIST_IMAGE_VERSIONS = 0; - - 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 ImageVersionsImplBase serviceImpl; - private final int methodId; - - MethodHandlers(ImageVersionsImplBase 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_IMAGE_VERSIONS: - serviceImpl.listImageVersions((com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest) 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 ImageVersionsBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - ImageVersionsBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsOuterClass.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("ImageVersions"); - } - } - - private static final class ImageVersionsFileDescriptorSupplier - extends ImageVersionsBaseDescriptorSupplier { - ImageVersionsFileDescriptorSupplier() {} - } - - private static final class ImageVersionsMethodDescriptorSupplier - extends ImageVersionsBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - ImageVersionsMethodDescriptorSupplier(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 (ImageVersionsGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new ImageVersionsFileDescriptorSupplier()) - .addMethod(getListImageVersionsMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsOuterClass.java b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsOuterClass.java deleted file mode 100644 index a5622a2c..00000000 --- a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsOuterClass.java +++ /dev/null @@ -1,621 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/orchestration/airflow/service/v1beta1/environments.proto - -package com.google.cloud.orchestration.airflow.service.v1beta1; - -public final class EnvironmentsOuterClass { - private EnvironmentsOuterClass() {} - 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_orchestration_airflow_service_v1beta1_CreateEnvironmentRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_CreateEnvironmentRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1beta1_GetEnvironmentRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_GetEnvironmentRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1beta1_DeleteEnvironmentRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_DeleteEnvironmentRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1beta1_UpdateEnvironmentRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_UpdateEnvironmentRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1beta1_RestartWebServerRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_RestartWebServerRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1beta1_EnvironmentConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_EnvironmentConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_AllowedIpRange_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_AllowedIpRange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_AirflowConfigOverridesEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_AirflowConfigOverridesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_PypiPackagesEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_PypiPackagesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_EnvVariablesEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_EnvVariablesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1beta1_IPAllocationPolicy_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_IPAllocationPolicy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1beta1_NodeConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_NodeConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateClusterConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateClusterConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateEnvironmentConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateEnvironmentConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1beta1_DatabaseConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_DatabaseConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1beta1_EncryptionConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_EncryptionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1beta1_MaintenanceWindow_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_MaintenanceWindow_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_SchedulerResource_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_SchedulerResource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WebServerResource_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WebServerResource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WorkerResource_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WorkerResource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_PypiDependenciesEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_PypiDependenciesEntry_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\nEgoogle/cloud/orchestration/airflow/ser" + - "vice/v1beta1/environments.proto\0222google." + - "cloud.orchestration.airflow.service.v1be" + - "ta1\032\034google/api/annotations.proto\032\027googl" + - "e/api/client.proto\032\037google/api/field_beh" + - "avior.proto\032\031google/api/resource.proto\032#" + - "google/longrunning/operations.proto\032 goo" + - "gle/protobuf/field_mask.proto\032\037google/pr" + - "otobuf/timestamp.proto\"\200\001\n\030CreateEnviron" + - "mentRequest\022\016\n\006parent\030\001 \001(\t\022T\n\013environme" + - "nt\030\002 \001(\0132?.google.cloud.orchestration.ai" + - "rflow.service.v1beta1.Environment\"%\n\025Get" + - "EnvironmentRequest\022\014\n\004name\030\001 \001(\t\"P\n\027List" + - "EnvironmentsRequest\022\016\n\006parent\030\001 \001(\t\022\021\n\tp" + - "age_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\212\001\n\030L" + - "istEnvironmentsResponse\022U\n\014environments\030" + - "\001 \003(\0132?.google.cloud.orchestration.airfl" + - "ow.service.v1beta1.Environment\022\027\n\017next_p" + - "age_token\030\002 \001(\t\"(\n\030DeleteEnvironmentRequ" + - "est\022\014\n\004name\030\001 \001(\t\"\264\001\n\030UpdateEnvironmentR" + - "equest\022\014\n\004name\030\002 \001(\t\022T\n\013environment\030\001 \001(" + - "\0132?.google.cloud.orchestration.airflow.s" + - "ervice.v1beta1.Environment\0224\n\013update_mas" + - "k\030\003 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002" + - "\"\'\n\027RestartWebServerRequest\022\014\n\004name\030\001 \001(" + - "\t\"\232\n\n\021EnvironmentConfig\022\030\n\013gke_cluster\030\001" + - " \001(\tB\003\340A\003\022\033\n\016dag_gcs_prefix\030\002 \001(\tB\003\340A\003\022\022" + - "\n\nnode_count\030\003 \001(\005\022[\n\017software_config\030\004 " + - "\001(\0132B.google.cloud.orchestration.airflow" + - ".service.v1beta1.SoftwareConfig\022S\n\013node_" + - "config\030\005 \001(\0132>.google.cloud.orchestratio" + - "n.airflow.service.v1beta1.NodeConfig\022p\n\032" + - "private_environment_config\030\007 \001(\0132L.googl" + - "e.cloud.orchestration.airflow.service.v1" + - "beta1.PrivateEnvironmentConfig\022\201\001\n!web_s" + - "erver_network_access_control\030\t \001(\0132Q.goo" + - "gle.cloud.orchestration.airflow.service." + - "v1beta1.WebServerNetworkAccessControlB\003\340" + - "A\001\022`\n\017database_config\030\n \001(\0132B.google.clo" + - "ud.orchestration.airflow.service.v1beta1" + - ".DatabaseConfigB\003\340A\001\022c\n\021web_server_confi" + - "g\030\013 \001(\0132C.google.cloud.orchestration.air" + - "flow.service.v1beta1.WebServerConfigB\003\340A" + - "\001\022\030\n\013airflow_uri\030\006 \001(\tB\003\340A\003\022d\n\021encryptio" + - "n_config\030\014 \001(\0132D.google.cloud.orchestrat" + - "ion.airflow.service.v1beta1.EncryptionCo" + - "nfigB\003\340A\001\022f\n\022maintenance_window\030\r \001(\0132E." + - "google.cloud.orchestration.airflow.servi" + - "ce.v1beta1.MaintenanceWindowB\003\340A\001\022b\n\020wor" + - "kloads_config\030\017 \001(\0132C.google.cloud.orche" + - "stration.airflow.service.v1beta1.Workloa" + - "dsConfigB\003\340A\001\022t\n\020environment_size\030\020 \001(\0162" + - "U.google.cloud.orchestration.airflow.ser" + - "vice.v1beta1.EnvironmentConfig.Environme" + - "ntSizeB\003\340A\001\"\210\001\n\017EnvironmentSize\022 \n\034ENVIR" + - "ONMENT_SIZE_UNSPECIFIED\020\000\022\032\n\026ENVIRONMENT" + - "_SIZE_SMALL\020\001\022\033\n\027ENVIRONMENT_SIZE_MEDIUM" + - "\020\002\022\032\n\026ENVIRONMENT_SIZE_LARGE\020\003\"\327\001\n\035WebSe" + - "rverNetworkAccessControl\022{\n\021allowed_ip_r" + - "anges\030\001 \003(\0132`.google.cloud.orchestration" + - ".airflow.service.v1beta1.WebServerNetwor" + - "kAccessControl.AllowedIpRange\0329\n\016Allowed" + - "IpRange\022\r\n\005value\030\001 \001(\t\022\030\n\013description\030\002 " + - "\001(\tB\003\340A\001\"\331\004\n\016SoftwareConfig\022\025\n\rimage_ver" + - "sion\030\001 \001(\t\022\205\001\n\030airflow_config_overrides\030" + - "\002 \003(\0132^.google.cloud.orchestration.airfl" + - "ow.service.v1beta1.SoftwareConfig.Airflo" + - "wConfigOverridesEntryB\003\340A\001\022p\n\rpypi_packa" + - "ges\030\003 \003(\0132T.google.cloud.orchestration.a" + - "irflow.service.v1beta1.SoftwareConfig.Py" + - "piPackagesEntryB\003\340A\001\022p\n\renv_variables\030\004 " + - "\003(\0132T.google.cloud.orchestration.airflow" + - ".service.v1beta1.SoftwareConfig.EnvVaria" + - "blesEntryB\003\340A\001\022\033\n\016python_version\030\006 \001(\tB\003" + - "\340A\001\032=\n\033AirflowConfigOverridesEntry\022\013\n\003ke" + - "y\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\0323\n\021PypiPackag" + - "esEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032" + - "3\n\021EnvVariablesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005val" + - "ue\030\002 \001(\t:\0028\001\"\325\001\n\022IPAllocationPolicy\022\033\n\016u" + - "se_ip_aliases\030\001 \001(\010B\003\340A\001\022)\n\034cluster_seco" + - "ndary_range_name\030\002 \001(\tB\003\340A\001\022*\n\035services_" + - "secondary_range_name\030\003 \001(\tB\003\340A\001\022$\n\027clust" + - "er_ipv4_cidr_block\030\004 \001(\tB\003\340A\001\022%\n\030service" + - "s_ipv4_cidr_block\030\005 \001(\tB\003\340A\001\"\337\002\n\nNodeCon" + - "fig\022\025\n\010location\030\001 \001(\tB\003\340A\001\022\031\n\014machine_ty" + - "pe\030\002 \001(\tB\003\340A\001\022\024\n\007network\030\003 \001(\tB\003\340A\001\022\027\n\ns" + - "ubnetwork\030\004 \001(\tB\003\340A\001\022\031\n\014disk_size_gb\030\005 \001" + - "(\005B\003\340A\001\022\031\n\014oauth_scopes\030\006 \003(\tB\003\340A\001\022\034\n\017se" + - "rvice_account\030\007 \001(\tB\003\340A\001\022\021\n\004tags\030\010 \003(\tB\003" + - "\340A\001\022i\n\024ip_allocation_policy\030\t \001(\0132F.goog" + - "le.cloud.orchestration.airflow.service.v" + - "1beta1.IPAllocationPolicyB\003\340A\001\022\036\n\021max_po" + - "ds_per_node\030\n \001(\005B\003\340A\001\"\212\001\n\024PrivateCluste" + - "rConfig\022$\n\027enable_private_endpoint\030\001 \001(\010" + - "B\003\340A\001\022#\n\026master_ipv4_cidr_block\030\002 \001(\tB\003\340" + - "A\001\022\'\n\032master_ipv4_reserved_range\030\003 \001(\tB\003" + - "\340A\003\"\236\003\n\030PrivateEnvironmentConfig\022\'\n\032enab" + - "le_private_environment\030\001 \001(\010B\003\340A\001\022m\n\026pri" + - "vate_cluster_config\030\002 \001(\0132H.google.cloud" + - ".orchestration.airflow.service.v1beta1.P" + - "rivateClusterConfigB\003\340A\001\022\'\n\032web_server_i" + - "pv4_cidr_block\030\003 \001(\tB\003\340A\001\022&\n\031cloud_sql_i" + - "pv4_cidr_block\030\004 \001(\tB\003\340A\001\022+\n\036web_server_" + - "ipv4_reserved_range\030\005 \001(\tB\003\340A\003\0223\n&cloud_" + - "composer_network_ipv4_cidr_block\030\007 \001(\tB\003" + - "\340A\001\0227\n*cloud_composer_network_ipv4_reser" + - "ved_range\030\010 \001(\tB\003\340A\003\"+\n\016DatabaseConfig\022\031" + - "\n\014machine_type\030\001 \001(\tB\003\340A\001\",\n\017WebServerCo" + - "nfig\022\031\n\014machine_type\030\001 \001(\tB\003\340A\001\"-\n\020Encry" + - "ptionConfig\022\031\n\014kms_key_name\030\001 \001(\tB\003\340A\001\"\224" + - "\001\n\021MaintenanceWindow\0223\n\nstart_time\030\001 \001(\013" + - "2\032.google.protobuf.TimestampB\003\340A\002\0221\n\010end" + - "_time\030\002 \001(\0132\032.google.protobuf.TimestampB" + - "\003\340A\002\022\027\n\nrecurrence\030\003 \001(\tB\003\340A\002\"\243\005\n\017Worklo" + - "adsConfig\022m\n\tscheduler\030\001 \001(\0132U.google.cl" + - "oud.orchestration.airflow.service.v1beta" + - "1.WorkloadsConfig.SchedulerResourceB\003\340A\001" + - "\022n\n\nweb_server\030\002 \001(\0132U.google.cloud.orch" + - "estration.airflow.service.v1beta1.Worklo" + - "adsConfig.WebServerResourceB\003\340A\001\022g\n\006work" + - "er\030\003 \001(\0132R.google.cloud.orchestration.ai" + - "rflow.service.v1beta1.WorkloadsConfig.Wo" + - "rkerResourceB\003\340A\001\032j\n\021SchedulerResource\022\020" + - "\n\003cpu\030\001 \001(\002B\003\340A\001\022\026\n\tmemory_gb\030\002 \001(\002B\003\340A\001" + - "\022\027\n\nstorage_gb\030\003 \001(\002B\003\340A\001\022\022\n\005count\030\004 \001(\005" + - "B\003\340A\001\032V\n\021WebServerResource\022\020\n\003cpu\030\001 \001(\002B" + - "\003\340A\001\022\026\n\tmemory_gb\030\002 \001(\002B\003\340A\001\022\027\n\nstorage_" + - "gb\030\003 \001(\002B\003\340A\001\032\203\001\n\016WorkerResource\022\020\n\003cpu\030" + - "\001 \001(\002B\003\340A\001\022\026\n\tmemory_gb\030\002 \001(\002B\003\340A\001\022\027\n\nst" + - "orage_gb\030\003 \001(\002B\003\340A\001\022\026\n\tmin_count\030\004 \001(\005B\003" + - "\340A\001\022\026\n\tmax_count\030\005 \001(\005B\003\340A\001\"\250\005\n\013Environm" + - "ent\022\014\n\004name\030\001 \001(\t\022U\n\006config\030\002 \001(\0132E.goog" + - "le.cloud.orchestration.airflow.service.v" + - "1beta1.EnvironmentConfig\022\021\n\004uuid\030\003 \001(\tB\003" + - "\340A\003\022T\n\005state\030\004 \001(\0162E.google.cloud.orches" + - "tration.airflow.service.v1beta1.Environm" + - "ent.State\0224\n\013create_time\030\005 \001(\0132\032.google." + - "protobuf.TimestampB\003\340A\003\0224\n\013update_time\030\006" + - " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022`\n" + - "\006labels\030\007 \003(\0132K.google.cloud.orchestrati" + - "on.airflow.service.v1beta1.Environment.L" + - "abelsEntryB\003\340A\001\032-\n\013LabelsEntry\022\013\n\003key\030\001 " + - "\001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"`\n\005State\022\025\n\021STATE" + - "_UNSPECIFIED\020\000\022\014\n\010CREATING\020\001\022\013\n\007RUNNING\020" + - "\002\022\014\n\010UPDATING\020\003\022\014\n\010DELETING\020\004\022\t\n\005ERROR\020\005" + - ":l\352Ai\n#composer.googleapis.com/Environme" + - "nt\022Bprojects/{project}/locations/{locati" + - "on}/environments/{environment}\"A\n\023CheckU" + - "pgradeRequest\022\023\n\013environment\030\001 \001(\t\022\025\n\rim" + - "age_version\030\002 \001(\t\"\204\004\n\024CheckUpgradeRespon" + - "se\022\032\n\rbuild_log_uri\030\001 \001(\tB\003\340A\003\022\204\001\n\036conta" + - "ins_pypi_modules_conflict\030\004 \001(\0162W.google" + - ".cloud.orchestration.airflow.service.v1b" + - "eta1.CheckUpgradeResponse.ConflictResult" + - "B\003\340A\003\022,\n\037pypi_conflict_build_log_extract" + - "\030\003 \001(\tB\003\340A\003\022\025\n\rimage_version\030\005 \001(\t\022y\n\021py" + - "pi_dependencies\030\006 \003(\0132^.google.cloud.orc" + - "hestration.airflow.service.v1beta1.Check" + - "UpgradeResponse.PypiDependenciesEntry\0327\n" + - "\025PypiDependenciesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005v" + - "alue\030\002 \001(\t:\0028\001\"P\n\016ConflictResult\022\037\n\033CONF" + - "LICT_RESULT_UNSPECIFIED\020\000\022\014\n\010CONFLICT\020\001\022" + - "\017\n\013NO_CONFLICT\020\0022\360\020\n\014Environments\022\270\002\n\021Cr" + - "eateEnvironment\022L.google.cloud.orchestra" + - "tion.airflow.service.v1beta1.CreateEnvir" + - "onmentRequest\032\035.google.longrunning.Opera" + - "tion\"\265\001\202\323\344\223\002D\"5/v1beta1/{parent=projects" + - "/*/locations/*}/environments:\013environmen" + - "t\332A\022parent,environment\312AS\n\013Environment\022D" + - "google.cloud.orchestration.airflow.servi" + - "ce.v1beta1.OperationMetadata\022\342\001\n\016GetEnvi" + - "ronment\022I.google.cloud.orchestration.air" + - "flow.service.v1beta1.GetEnvironmentReque" + - "st\032?.google.cloud.orchestration.airflow." + - "service.v1beta1.Environment\"D\202\323\344\223\0027\0225/v1" + - "beta1/{name=projects/*/locations/*/envir" + - "onments/*}\332A\004name\022\365\001\n\020ListEnvironments\022K" + - ".google.cloud.orchestration.airflow.serv" + - "ice.v1beta1.ListEnvironmentsRequest\032L.go" + - "ogle.cloud.orchestration.airflow.service" + - ".v1beta1.ListEnvironmentsResponse\"F\202\323\344\223\002" + - "7\0225/v1beta1/{parent=projects/*/locations" + - "/*}/environments\332A\006parent\022\302\002\n\021UpdateEnvi" + - "ronment\022L.google.cloud.orchestration.air" + - "flow.service.v1beta1.UpdateEnvironmentRe" + - "quest\032\035.google.longrunning.Operation\"\277\001\202" + - "\323\344\223\002D25/v1beta1/{name=projects/*/locatio" + - "ns/*/environments/*}:\013environment\332A\034name" + - ",environment,update_mask\312AS\n\013Environment" + - "\022Dgoogle.cloud.orchestration.airflow.ser" + - "vice.v1beta1.OperationMetadata\022\247\002\n\021Delet" + - "eEnvironment\022L.google.cloud.orchestratio" + - "n.airflow.service.v1beta1.DeleteEnvironm" + - "entRequest\032\035.google.longrunning.Operatio" + - "n\"\244\001\202\323\344\223\0027*5/v1beta1/{name=projects/*/lo" + - "cations/*/environments/*}\332A\004name\312A]\n\025goo" + - "gle.protobuf.Empty\022Dgoogle.cloud.orchest" + - "ration.airflow.service.v1beta1.Operation" + - "Metadata\022\250\002\n\020RestartWebServer\022K.google.c" + - "loud.orchestration.airflow.service.v1bet" + - "a1.RestartWebServerRequest\032\035.google.long" + - "running.Operation\"\247\001\202\323\344\223\002K\"F/v1beta1/{na" + - "me=projects/*/locations/*/environments/*" + - "}:restartWebServer:\001*\312AS\n\013Environment\022Dg" + - "oogle.cloud.orchestration.airflow.servic" + - "e.v1beta1.OperationMetadata\022\340\002\n\014CheckUpg" + - "rade\022G.google.cloud.orchestration.airflo" + - "w.service.v1beta1.CheckUpgradeRequest\032\035." + - "google.longrunning.Operation\"\347\001\202\323\344\223\002N\"I/" + - "v1beta1/{environment=projects/*/location" + - "s/*/environments/*}:checkUpgrade:\001*\312A\217\001\n" + - "Ggoogle.cloud.orchestration.airflow.serv" + - "ice.v1beta1.CheckUpgradeResponse\022Dgoogle" + - ".cloud.orchestration.airflow.service.v1b" + - "eta1.OperationMetadata\032K\312A\027composer.goog" + - "leapis.com\322A.https://www.googleapis.com/" + - "auth/cloud-platformB\225\001\n6com.google.cloud" + - ".orchestration.airflow.service.v1beta1P\001" + - "ZYgoogle.golang.org/genproto/googleapis/" + - "cloud/orchestration/airflow/service/v1be" + - "ta1;serviceb\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.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_CreateEnvironmentRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_CreateEnvironmentRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_CreateEnvironmentRequest_descriptor, - new java.lang.String[] { "Parent", "Environment", }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_GetEnvironmentRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_GetEnvironmentRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_GetEnvironmentRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsResponse_descriptor, - new java.lang.String[] { "Environments", "NextPageToken", }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_DeleteEnvironmentRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_DeleteEnvironmentRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_DeleteEnvironmentRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_UpdateEnvironmentRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_UpdateEnvironmentRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_UpdateEnvironmentRequest_descriptor, - new java.lang.String[] { "Name", "Environment", "UpdateMask", }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_RestartWebServerRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_RestartWebServerRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_RestartWebServerRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_EnvironmentConfig_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_EnvironmentConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_EnvironmentConfig_descriptor, - new java.lang.String[] { "GkeCluster", "DagGcsPrefix", "NodeCount", "SoftwareConfig", "NodeConfig", "PrivateEnvironmentConfig", "WebServerNetworkAccessControl", "DatabaseConfig", "WebServerConfig", "AirflowUri", "EncryptionConfig", "MaintenanceWindow", "WorkloadsConfig", "EnvironmentSize", }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_descriptor, - new java.lang.String[] { "AllowedIpRanges", }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_AllowedIpRange_descriptor = - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_AllowedIpRange_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_AllowedIpRange_descriptor, - new java.lang.String[] { "Value", "Description", }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_descriptor, - new java.lang.String[] { "ImageVersion", "AirflowConfigOverrides", "PypiPackages", "EnvVariables", "PythonVersion", }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_AirflowConfigOverridesEntry_descriptor = - internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_AirflowConfigOverridesEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_AirflowConfigOverridesEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_PypiPackagesEntry_descriptor = - internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_PypiPackagesEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_PypiPackagesEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_EnvVariablesEntry_descriptor = - internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_EnvVariablesEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_EnvVariablesEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_IPAllocationPolicy_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_IPAllocationPolicy_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_IPAllocationPolicy_descriptor, - new java.lang.String[] { "UseIpAliases", "ClusterSecondaryRangeName", "ServicesSecondaryRangeName", "ClusterIpv4CidrBlock", "ServicesIpv4CidrBlock", }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_NodeConfig_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_NodeConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_NodeConfig_descriptor, - new java.lang.String[] { "Location", "MachineType", "Network", "Subnetwork", "DiskSizeGb", "OauthScopes", "ServiceAccount", "Tags", "IpAllocationPolicy", "MaxPodsPerNode", }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateClusterConfig_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateClusterConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateClusterConfig_descriptor, - new java.lang.String[] { "EnablePrivateEndpoint", "MasterIpv4CidrBlock", "MasterIpv4ReservedRange", }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateEnvironmentConfig_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateEnvironmentConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateEnvironmentConfig_descriptor, - new java.lang.String[] { "EnablePrivateEnvironment", "PrivateClusterConfig", "WebServerIpv4CidrBlock", "CloudSqlIpv4CidrBlock", "WebServerIpv4ReservedRange", "CloudComposerNetworkIpv4CidrBlock", "CloudComposerNetworkIpv4ReservedRange", }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_DatabaseConfig_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_DatabaseConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_DatabaseConfig_descriptor, - new java.lang.String[] { "MachineType", }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerConfig_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerConfig_descriptor, - new java.lang.String[] { "MachineType", }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_EncryptionConfig_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_EncryptionConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_EncryptionConfig_descriptor, - new java.lang.String[] { "KmsKeyName", }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_MaintenanceWindow_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_MaintenanceWindow_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_MaintenanceWindow_descriptor, - new java.lang.String[] { "StartTime", "EndTime", "Recurrence", }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_descriptor, - new java.lang.String[] { "Scheduler", "WebServer", "Worker", }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_SchedulerResource_descriptor = - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_SchedulerResource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_SchedulerResource_descriptor, - new java.lang.String[] { "Cpu", "MemoryGb", "StorageGb", "Count", }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WebServerResource_descriptor = - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WebServerResource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WebServerResource_descriptor, - new java.lang.String[] { "Cpu", "MemoryGb", "StorageGb", }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WorkerResource_descriptor = - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WorkerResource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WorkerResource_descriptor, - new java.lang.String[] { "Cpu", "MemoryGb", "StorageGb", "MinCount", "MaxCount", }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_descriptor, - new java.lang.String[] { "Name", "Config", "Uuid", "State", "CreateTime", "UpdateTime", "Labels", }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_LabelsEntry_descriptor = - internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeRequest_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeRequest_descriptor, - new java.lang.String[] { "Environment", "ImageVersion", }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_descriptor, - new java.lang.String[] { "BuildLogUri", "ContainsPypiModulesConflict", "PypiConflictBuildLogExtract", "ImageVersion", "PypiDependencies", }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_PypiDependenciesEntry_descriptor = - internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_PypiDependenciesEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_PypiDependenciesEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - 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.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.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsOuterClass.java b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsOuterClass.java deleted file mode 100644 index eb2d0329..00000000 --- a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsOuterClass.java +++ /dev/null @@ -1,111 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/orchestration/airflow/service/v1beta1/image_versions.proto - -package com.google.cloud.orchestration.airflow.service.v1beta1; - -public final class ImageVersionsOuterClass { - private ImageVersionsOuterClass() {} - 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_orchestration_airflow_service_v1beta1_ListImageVersionsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_orchestration_airflow_service_v1beta1_ImageVersion_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_ImageVersion_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\nGgoogle/cloud/orchestration/airflow/ser" + - "vice/v1beta1/image_versions.proto\0222googl" + - "e.cloud.orchestration.airflow.service.v1" + - "beta1\032\034google/api/annotations.proto\032\027goo" + - "gle/api/client.proto\032\026google/type/date.p" + - "roto\"p\n\030ListImageVersionsRequest\022\016\n\006pare" + - "nt\030\001 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_toke" + - "n\030\003 \001(\t\022\035\n\025include_past_releases\030\004 \001(\010\"\216" + - "\001\n\031ListImageVersionsResponse\022X\n\016image_ve" + - "rsions\030\001 \003(\0132@.google.cloud.orchestratio" + - "n.airflow.service.v1beta1.ImageVersion\022\027" + - "\n\017next_page_token\030\002 \001(\t\"\275\001\n\014ImageVersion" + - "\022\030\n\020image_version_id\030\001 \001(\t\022\022\n\nis_default" + - "\030\002 \001(\010\022!\n\031supported_python_versions\030\003 \003(" + - "\t\022\'\n\014release_date\030\004 \001(\0132\021.google.type.Da" + - "te\022\031\n\021creation_disabled\030\005 \001(\010\022\030\n\020upgrade" + - "_disabled\030\006 \001(\0102\330\002\n\rImageVersions\022\371\001\n\021Li" + - "stImageVersions\022L.google.cloud.orchestra" + - "tion.airflow.service.v1beta1.ListImageVe" + - "rsionsRequest\032M.google.cloud.orchestrati" + - "on.airflow.service.v1beta1.ListImageVers" + - "ionsResponse\"G\202\323\344\223\0028\0226/v1beta1/{parent=p" + - "rojects/*/locations/*}/imageVersions\332A\006p" + - "arent\032K\312A\027composer.googleapis.com\322A.http" + - "s://www.googleapis.com/auth/cloud-platfo" + - "rmB\225\001\n6com.google.cloud.orchestration.ai" + - "rflow.service.v1beta1P\001ZYgoogle.golang.o" + - "rg/genproto/googleapis/cloud/orchestrati" + - "on/airflow/service/v1beta1;serviceb\006prot" + - "o3" - }; - 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.type.DateProto.getDescriptor(), - }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "IncludePastReleases", }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsResponse_descriptor, - new java.lang.String[] { "ImageVersions", "NextPageToken", }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_ImageVersion_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_ImageVersion_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_ImageVersion_descriptor, - new java.lang.String[] { "ImageVersionId", "IsDefault", "SupportedPythonVersions", "ReleaseDate", "CreationDisabled", "UpgradeDisabled", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.type.DateProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListImageVersionsResponseOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListImageVersionsResponseOrBuilder.java deleted file mode 100644 index 7e52c016..00000000 --- a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListImageVersionsResponseOrBuilder.java +++ /dev/null @@ -1,73 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/orchestration/airflow/service/v1beta1/image_versions.proto - -package com.google.cloud.orchestration.airflow.service.v1beta1; - -public interface ListImageVersionsResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse) - com.google.protobuf.MessageOrBuilder { - - /** - *
        -   * The list of supported ImageVersions in a location.
        -   * 
        - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; - */ - java.util.List - getImageVersionsList(); - /** - *
        -   * The list of supported ImageVersions in a location.
        -   * 
        - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; - */ - com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion getImageVersions(int index); - /** - *
        -   * The list of supported ImageVersions in a location.
        -   * 
        - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; - */ - int getImageVersionsCount(); - /** - *
        -   * The list of supported ImageVersions in a location.
        -   * 
        - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; - */ - java.util.List - getImageVersionsOrBuilderList(); - /** - *
        -   * The list of supported ImageVersions in a location.
        -   * 
        - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; - */ - com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionOrBuilder getImageVersionsOrBuilder( - int index); - - /** - *
        -   * The page token used to query for the next page if one exists.
        -   * 
        - * - * string next_page_token = 2; - * @return The nextPageToken. - */ - java.lang.String getNextPageToken(); - /** - *
        -   * The page token used to query for the next page if one exists.
        -   * 
        - * - * string next_page_token = 2; - * @return The bytes for nextPageToken. - */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); -} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/OperationsProto.java b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/OperationsProto.java deleted file mode 100644 index 2e2ca56c..00000000 --- a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/OperationsProto.java +++ /dev/null @@ -1,71 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/orchestration/airflow/service/v1beta1/operations.proto - -package com.google.cloud.orchestration.airflow.service.v1beta1; - -public final class OperationsProto { - private OperationsProto() {} - 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_orchestration_airflow_service_v1beta1_OperationMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_orchestration_airflow_service_v1beta1_OperationMetadata_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\nCgoogle/cloud/orchestration/airflow/ser" + - "vice/v1beta1/operations.proto\0222google.cl" + - "oud.orchestration.airflow.service.v1beta" + - "1\032\037google/protobuf/timestamp.proto\032\034goog" + - "le/api/annotations.proto\"\376\003\n\021OperationMe" + - "tadata\022Z\n\005state\030\001 \001(\0162K.google.cloud.orc" + - "hestration.airflow.service.v1beta1.Opera" + - "tionMetadata.State\022b\n\016operation_type\030\002 \001" + - "(\0162J.google.cloud.orchestration.airflow." + - "service.v1beta1.OperationMetadata.Type\022\020" + - "\n\010resource\030\003 \001(\t\022\025\n\rresource_uuid\030\004 \001(\t\022" + - "/\n\013create_time\030\005 \001(\0132\032.google.protobuf.T" + - "imestamp\022,\n\010end_time\030\006 \001(\0132\032.google.prot" + - "obuf.Timestamp\"T\n\005State\022\025\n\021STATE_UNSPECI" + - "FIED\020\000\022\013\n\007PENDING\020\001\022\013\n\007RUNNING\020\002\022\016\n\nSUCC" + - "ESSFUL\020\003\022\n\n\006FAILED\020\004\"K\n\004Type\022\024\n\020TYPE_UNS" + - "PECIFIED\020\000\022\n\n\006CREATE\020\001\022\n\n\006DELETE\020\002\022\n\n\006UP" + - "DATE\020\003\022\t\n\005CHECK\020\004B\246\001\n6com.google.cloud.o" + - "rchestration.airflow.service.v1beta1B\017Op" + - "erationsProtoP\001ZYgoogle.golang.org/genpr" + - "oto/googleapis/cloud/orchestration/airfl" + - "ow/service/v1beta1;serviceb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - }); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_OperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_orchestration_airflow_service_v1beta1_OperationMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_orchestration_airflow_service_v1beta1_OperationMetadata_descriptor, - new java.lang.String[] { "State", "OperationType", "Resource", "ResourceUuid", "CreateTime", "EndTime", }); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WebServerNetworkAccessControlOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WebServerNetworkAccessControlOrBuilder.java deleted file mode 100644 index d764f577..00000000 --- a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WebServerNetworkAccessControlOrBuilder.java +++ /dev/null @@ -1,53 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/orchestration/airflow/service/v1beta1/environments.proto - -package com.google.cloud.orchestration.airflow.service.v1beta1; - -public interface WebServerNetworkAccessControlOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl) - com.google.protobuf.MessageOrBuilder { - - /** - *
        -   * A collection of allowed IP ranges with descriptions.
        -   * 
        - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; - */ - java.util.List - getAllowedIpRangesList(); - /** - *
        -   * A collection of allowed IP ranges with descriptions.
        -   * 
        - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; - */ - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange getAllowedIpRanges(int index); - /** - *
        -   * A collection of allowed IP ranges with descriptions.
        -   * 
        - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; - */ - int getAllowedIpRangesCount(); - /** - *
        -   * A collection of allowed IP ranges with descriptions.
        -   * 
        - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; - */ - java.util.List - getAllowedIpRangesOrBuilderList(); - /** - *
        -   * A collection of allowed IP ranges with descriptions.
        -   * 
        - * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; - */ - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRangeOrBuilder getAllowedIpRangesOrBuilder( - int index); -} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WorkloadsConfigOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WorkloadsConfigOrBuilder.java deleted file mode 100644 index 005b38b7..00000000 --- a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WorkloadsConfigOrBuilder.java +++ /dev/null @@ -1,90 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/orchestration/airflow/service/v1beta1/environments.proto - -package com.google.cloud.orchestration.airflow.service.v1beta1; - -public interface WorkloadsConfigOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig) - com.google.protobuf.MessageOrBuilder { - - /** - *
        -   * Optional. Resources used by Airflow schedulers.
        -   * 
        - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @return Whether the scheduler field is set. - */ - boolean hasScheduler(); - /** - *
        -   * Optional. Resources used by Airflow schedulers.
        -   * 
        - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @return The scheduler. - */ - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource getScheduler(); - /** - *
        -   * Optional. Resources used by Airflow schedulers.
        -   * 
        - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL]; - */ - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResourceOrBuilder getSchedulerOrBuilder(); - - /** - *
        -   * Optional. Resources used by Airflow web server.
        -   * 
        - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return Whether the webServer field is set. - */ - boolean hasWebServer(); - /** - *
        -   * Optional. Resources used by Airflow web server.
        -   * 
        - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return The webServer. - */ - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource getWebServer(); - /** - *
        -   * Optional. Resources used by Airflow web server.
        -   * 
        - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL]; - */ - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResourceOrBuilder getWebServerOrBuilder(); - - /** - *
        -   * Optional. Resources used by Airflow workers.
        -   * 
        - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @return Whether the worker field is set. - */ - boolean hasWorker(); - /** - *
        -   * Optional. Resources used by Airflow workers.
        -   * 
        - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @return The worker. - */ - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource getWorker(); - /** - *
        -   * Optional. Resources used by Airflow workers.
        -   * 
        - * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL]; - */ - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResourceOrBuilder getWorkerOrBuilder(); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/CheckUpgradeResponse.java b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/CheckUpgradeResponse.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/CheckUpgradeResponse.java rename to proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/CheckUpgradeResponse.java index be7f12ef..929bf516 100644 --- a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/CheckUpgradeResponse.java +++ b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/CheckUpgradeResponse.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/orchestration/airflow/service/v1/environments.proto package com.google.cloud.orchestration.airflow.service.v1; /** + * + * *
          * Message containing information about the result of an upgrade check
          * operation.
        @@ -11,15 +28,16 @@
          *
          * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse}
          */
        -public final class CheckUpgradeResponse extends
        -    com.google.protobuf.GeneratedMessageV3 implements
        +public final class CheckUpgradeResponse extends com.google.protobuf.GeneratedMessageV3
        +    implements
             // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse)
             CheckUpgradeResponseOrBuilder {
        -private static final long serialVersionUID = 0L;
        +  private static final long serialVersionUID = 0L;
           // Use CheckUpgradeResponse.newBuilder() to construct.
           private CheckUpgradeResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
             super(builder);
           }
        +
           private CheckUpgradeResponse() {
             buildLogUri_ = "";
             containsPypiModulesConflict_ = 0;
        @@ -29,16 +47,15 @@ private CheckUpgradeResponse() {
         
           @java.lang.Override
           @SuppressWarnings({"unused"})
        -  protected java.lang.Object newInstance(
        -      UnusedPrivateParameter unused) {
        +  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
             return new CheckUpgradeResponse();
           }
         
           @java.lang.Override
        -  public final com.google.protobuf.UnknownFieldSet
        -  getUnknownFields() {
        +  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
             return this.unknownFields;
           }
        +
           private CheckUpgradeResponse(
               com.google.protobuf.CodedInputStream input,
               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        @@ -58,50 +75,58 @@ private CheckUpgradeResponse(
                   case 0:
                     done = true;
                     break;
        -          case 10: {
        -            java.lang.String s = input.readStringRequireUtf8();
        +          case 10:
        +            {
        +              java.lang.String s = input.readStringRequireUtf8();
         
        -            buildLogUri_ = s;
        -            break;
        -          }
        -          case 26: {
        -            java.lang.String s = input.readStringRequireUtf8();
        +              buildLogUri_ = s;
        +              break;
        +            }
        +          case 26:
        +            {
        +              java.lang.String s = input.readStringRequireUtf8();
         
        -            pypiConflictBuildLogExtract_ = s;
        -            break;
        -          }
        -          case 32: {
        -            int rawValue = input.readEnum();
        +              pypiConflictBuildLogExtract_ = s;
        +              break;
        +            }
        +          case 32:
        +            {
        +              int rawValue = input.readEnum();
         
        -            containsPypiModulesConflict_ = rawValue;
        -            break;
        -          }
        -          case 42: {
        -            java.lang.String s = input.readStringRequireUtf8();
        +              containsPypiModulesConflict_ = rawValue;
        +              break;
        +            }
        +          case 42:
        +            {
        +              java.lang.String s = input.readStringRequireUtf8();
         
        -            imageVersion_ = s;
        -            break;
        -          }
        -          case 50: {
        -            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
        -              pypiDependencies_ = com.google.protobuf.MapField.newMapField(
        -                  PypiDependenciesDefaultEntryHolder.defaultEntry);
        -              mutable_bitField0_ |= 0x00000001;
        +              imageVersion_ = s;
        +              break;
                     }
        -            com.google.protobuf.MapEntry
        -            pypiDependencies__ = input.readMessage(
        -                PypiDependenciesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
        -            pypiDependencies_.getMutableMap().put(
        -                pypiDependencies__.getKey(), pypiDependencies__.getValue());
        -            break;
        -          }
        -          default: {
        -            if (!parseUnknownField(
        -                input, unknownFields, extensionRegistry, tag)) {
        -              done = true;
        +          case 50:
        +            {
        +              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
        +                pypiDependencies_ =
        +                    com.google.protobuf.MapField.newMapField(
        +                        PypiDependenciesDefaultEntryHolder.defaultEntry);
        +                mutable_bitField0_ |= 0x00000001;
        +              }
        +              com.google.protobuf.MapEntry pypiDependencies__ =
        +                  input.readMessage(
        +                      PypiDependenciesDefaultEntryHolder.defaultEntry.getParserForType(),
        +                      extensionRegistry);
        +              pypiDependencies_
        +                  .getMutableMap()
        +                  .put(pypiDependencies__.getKey(), pypiDependencies__.getValue());
        +              break;
        +            }
        +          default:
        +            {
        +              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
        +                done = true;
        +              }
        +              break;
                     }
        -            break;
        -          }
                 }
               }
             } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        @@ -109,48 +134,53 @@ private CheckUpgradeResponse(
             } catch (com.google.protobuf.UninitializedMessageException e) {
               throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
             } catch (java.io.IOException e) {
        -      throw new com.google.protobuf.InvalidProtocolBufferException(
        -          e).setUnfinishedMessage(this);
        +      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
             } finally {
               this.unknownFields = unknownFields.build();
               makeExtensionsImmutable();
             }
           }
        -  public static final com.google.protobuf.Descriptors.Descriptor
        -      getDescriptor() {
        -    return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_descriptor;
        +
        +  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        +    return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
        +        .internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_descriptor;
           }
         
           @SuppressWarnings({"rawtypes"})
           @java.lang.Override
        -  protected com.google.protobuf.MapField internalGetMapField(
        -      int number) {
        +  protected com.google.protobuf.MapField internalGetMapField(int number) {
             switch (number) {
               case 6:
                 return internalGetPypiDependencies();
               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.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_fieldAccessorTable
        +    return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
        +        .internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_fieldAccessorTable
                 .ensureFieldAccessorsInitialized(
        -            com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.class, com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.Builder.class);
        +            com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.class,
        +            com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.Builder.class);
           }
         
           /**
        +   *
        +   *
            * 
            * Whether there were python modules conflict during image build.
            * 
        * - * Protobuf enum {@code google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult} + * Protobuf enum {@code + * google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult} */ - public enum ConflictResult - implements com.google.protobuf.ProtocolMessageEnum { + public enum ConflictResult implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
              * It is unknown whether build had conflicts or not.
              * 
        @@ -159,6 +189,8 @@ public enum ConflictResult */ CONFLICT_RESULT_UNSPECIFIED(0), /** + * + * *
              * There were python packages conflicts.
              * 
        @@ -167,6 +199,8 @@ public enum ConflictResult */ CONFLICT(1), /** + * + * *
              * There were no python packages conflicts.
              * 
        @@ -178,6 +212,8 @@ public enum ConflictResult ; /** + * + * *
              * It is unknown whether build had conflicts or not.
              * 
        @@ -186,6 +222,8 @@ public enum ConflictResult */ public static final int CONFLICT_RESULT_UNSPECIFIED_VALUE = 0; /** + * + * *
              * There were python packages conflicts.
              * 
        @@ -194,6 +232,8 @@ public enum ConflictResult */ public static final int CONFLICT_VALUE = 1; /** + * + * *
              * There were no python packages conflicts.
              * 
        @@ -202,7 +242,6 @@ public enum ConflictResult */ public static final int NO_CONFLICT_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -227,49 +266,51 @@ public static ConflictResult valueOf(int value) { */ public static ConflictResult forNumber(int value) { switch (value) { - case 0: return CONFLICT_RESULT_UNSPECIFIED; - case 1: return CONFLICT; - case 2: return NO_CONFLICT; - default: return null; + case 0: + return CONFLICT_RESULT_UNSPECIFIED; + case 1: + return CONFLICT; + case 2: + return NO_CONFLICT; + 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< - ConflictResult> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ConflictResult findValueByNumber(int number) { - return ConflictResult.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 ConflictResult findValueByNumber(int number) { + return ConflictResult.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.getDescriptor() + .getEnumTypes() + .get(0); } private static final ConflictResult[] VALUES = values(); - public static ConflictResult valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ConflictResult 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; @@ -289,11 +330,14 @@ private ConflictResult(int value) { public static final int BUILD_LOG_URI_FIELD_NUMBER = 1; private volatile java.lang.Object buildLogUri_; /** + * + * *
            * Output only. Url for a docker build log of an upgraded image.
            * 
        * * string build_log_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The buildLogUri. */ @java.lang.Override @@ -302,29 +346,29 @@ public java.lang.String getBuildLogUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); buildLogUri_ = s; return s; } } /** + * + * *
            * Output only. Url for a docker build log of an upgraded image.
            * 
        * * string build_log_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for buildLogUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getBuildLogUriBytes() { + public com.google.protobuf.ByteString getBuildLogUriBytes() { java.lang.Object ref = buildLogUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); buildLogUri_ = b; return b; } else { @@ -335,39 +379,61 @@ public java.lang.String getBuildLogUri() { public static final int CONTAINS_PYPI_MODULES_CONFLICT_FIELD_NUMBER = 4; private int containsPypiModulesConflict_; /** + * + * *
            * Output only. Whether build has succeeded or failed on modules conflicts.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for containsPypiModulesConflict. */ - @java.lang.Override public int getContainsPypiModulesConflictValue() { + @java.lang.Override + public int getContainsPypiModulesConflictValue() { return containsPypiModulesConflict_; } /** + * + * *
            * Output only. Whether build has succeeded or failed on modules conflicts.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The containsPypiModulesConflict. */ - @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult getContainsPypiModulesConflict() { + @java.lang.Override + public com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult + getContainsPypiModulesConflict() { @SuppressWarnings("deprecation") - com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult result = com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult.valueOf(containsPypiModulesConflict_); - return result == null ? com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult.UNRECOGNIZED : result; + com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult result = + com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult + .valueOf(containsPypiModulesConflict_); + return result == null + ? com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult + .UNRECOGNIZED + : result; } public static final int PYPI_CONFLICT_BUILD_LOG_EXTRACT_FIELD_NUMBER = 3; private volatile java.lang.Object pypiConflictBuildLogExtract_; /** + * + * *
            * Output only. Extract from a docker image build log containing information about pypi
            * modules conflicts.
            * 
        * - * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The pypiConflictBuildLogExtract. */ @java.lang.Override @@ -376,30 +442,31 @@ public java.lang.String getPypiConflictBuildLogExtract() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pypiConflictBuildLogExtract_ = s; return s; } } /** + * + * *
            * Output only. Extract from a docker image build log containing information about pypi
            * modules conflicts.
            * 
        * - * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bytes for pypiConflictBuildLogExtract. */ @java.lang.Override - public com.google.protobuf.ByteString - getPypiConflictBuildLogExtractBytes() { + public com.google.protobuf.ByteString getPypiConflictBuildLogExtractBytes() { java.lang.Object ref = pypiConflictBuildLogExtract_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pypiConflictBuildLogExtract_ = b; return b; } else { @@ -410,11 +477,14 @@ public java.lang.String getPypiConflictBuildLogExtract() { public static final int IMAGE_VERSION_FIELD_NUMBER = 5; private volatile java.lang.Object imageVersion_; /** + * + * *
            * Composer image for which the build was happening.
            * 
        * * string image_version = 5; + * * @return The imageVersion. */ @java.lang.Override @@ -423,29 +493,29 @@ public java.lang.String getImageVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageVersion_ = s; return s; } } /** + * + * *
            * Composer image for which the build was happening.
            * 
        * * string image_version = 5; + * * @return The bytes for imageVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getImageVersionBytes() { + public com.google.protobuf.ByteString getImageVersionBytes() { java.lang.Object ref = imageVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); imageVersion_ = b; return b; } else { @@ -454,21 +524,22 @@ public java.lang.String getImageVersion() { } public static final int PYPI_DEPENDENCIES_FIELD_NUMBER = 6; + private static final class PypiDependenciesDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_PypiDependenciesEntry_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.orchestration.airflow.service.v1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_PypiDependenciesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> pypiDependencies_; + + private com.google.protobuf.MapField pypiDependencies_; + private com.google.protobuf.MapField - internalGetPypiDependencies() { + internalGetPypiDependencies() { if (pypiDependencies_ == null) { return com.google.protobuf.MapField.emptyMapField( PypiDependenciesDefaultEntryHolder.defaultEntry); @@ -480,6 +551,8 @@ public int getPypiDependenciesCount() { return internalGetPypiDependencies().getMap().size(); } /** + * + * *
            * Pypi dependencies specified in the environment configuration, at the time
            * when the build was triggered.
        @@ -487,22 +560,22 @@ public int getPypiDependenciesCount() {
            *
            * map<string, string> pypi_dependencies = 6;
            */
        -
           @java.lang.Override
        -  public boolean containsPypiDependencies(
        -      java.lang.String key) {
        -    if (key == null) { throw new NullPointerException("map key"); }
        +  public boolean containsPypiDependencies(java.lang.String key) {
        +    if (key == null) {
        +      throw new NullPointerException("map key");
        +    }
             return internalGetPypiDependencies().getMap().containsKey(key);
           }
        -  /**
        -   * Use {@link #getPypiDependenciesMap()} instead.
        -   */
        +  /** Use {@link #getPypiDependenciesMap()} instead. */
           @java.lang.Override
           @java.lang.Deprecated
           public java.util.Map getPypiDependencies() {
             return getPypiDependenciesMap();
           }
           /**
        +   *
        +   *
            * 
            * Pypi dependencies specified in the environment configuration, at the time
            * when the build was triggered.
        @@ -511,11 +584,12 @@ public java.util.Map getPypiDependencies() {
            * map<string, string> pypi_dependencies = 6;
            */
           @java.lang.Override
        -
           public java.util.Map getPypiDependenciesMap() {
             return internalGetPypiDependencies().getMap();
           }
           /**
        +   *
        +   *
            * 
            * Pypi dependencies specified in the environment configuration, at the time
            * when the build was triggered.
        @@ -524,16 +598,17 @@ public java.util.Map getPypiDependenciesMap(
            * map<string, string> pypi_dependencies = 6;
            */
           @java.lang.Override
        -
           public java.lang.String getPypiDependenciesOrDefault(
        -      java.lang.String key,
        -      java.lang.String defaultValue) {
        -    if (key == null) { throw new NullPointerException("map key"); }
        -    java.util.Map map =
        -        internalGetPypiDependencies().getMap();
        +      java.lang.String key, java.lang.String defaultValue) {
        +    if (key == null) {
        +      throw new NullPointerException("map key");
        +    }
        +    java.util.Map map = internalGetPypiDependencies().getMap();
             return map.containsKey(key) ? map.get(key) : defaultValue;
           }
           /**
        +   *
        +   *
            * 
            * Pypi dependencies specified in the environment configuration, at the time
            * when the build was triggered.
        @@ -542,12 +617,11 @@ public java.lang.String getPypiDependenciesOrDefault(
            * map<string, string> pypi_dependencies = 6;
            */
           @java.lang.Override
        -
        -  public java.lang.String getPypiDependenciesOrThrow(
        -      java.lang.String key) {
        -    if (key == null) { throw new NullPointerException("map key"); }
        -    java.util.Map map =
        -        internalGetPypiDependencies().getMap();
        +  public java.lang.String getPypiDependenciesOrThrow(java.lang.String key) {
        +    if (key == null) {
        +      throw new NullPointerException("map key");
        +    }
        +    java.util.Map map = internalGetPypiDependencies().getMap();
             if (!map.containsKey(key)) {
               throw new java.lang.IllegalArgumentException();
             }
        @@ -555,6 +629,7 @@ public java.lang.String getPypiDependenciesOrThrow(
           }
         
           private byte memoizedIsInitialized = -1;
        +
           @java.lang.Override
           public final boolean isInitialized() {
             byte isInitialized = memoizedIsInitialized;
        @@ -566,26 +641,24 @@ public final boolean isInitialized() {
           }
         
           @java.lang.Override
        -  public void writeTo(com.google.protobuf.CodedOutputStream output)
        -                      throws java.io.IOException {
        +  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
             if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(buildLogUri_)) {
               com.google.protobuf.GeneratedMessageV3.writeString(output, 1, buildLogUri_);
             }
             if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pypiConflictBuildLogExtract_)) {
               com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pypiConflictBuildLogExtract_);
             }
        -    if (containsPypiModulesConflict_ != com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult.CONFLICT_RESULT_UNSPECIFIED.getNumber()) {
        +    if (containsPypiModulesConflict_
        +        != com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult
        +            .CONFLICT_RESULT_UNSPECIFIED
        +            .getNumber()) {
               output.writeEnum(4, containsPypiModulesConflict_);
             }
             if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageVersion_)) {
               com.google.protobuf.GeneratedMessageV3.writeString(output, 5, imageVersion_);
             }
        -    com.google.protobuf.GeneratedMessageV3
        -      .serializeStringMapTo(
        -        output,
        -        internalGetPypiDependencies(),
        -        PypiDependenciesDefaultEntryHolder.defaultEntry,
        -        6);
        +    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
        +        output, internalGetPypiDependencies(), PypiDependenciesDefaultEntryHolder.defaultEntry, 6);
             unknownFields.writeTo(output);
           }
         
        @@ -599,24 +672,28 @@ public int getSerializedSize() {
               size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, buildLogUri_);
             }
             if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pypiConflictBuildLogExtract_)) {
        -      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pypiConflictBuildLogExtract_);
        +      size +=
        +          com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pypiConflictBuildLogExtract_);
             }
        -    if (containsPypiModulesConflict_ != com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult.CONFLICT_RESULT_UNSPECIFIED.getNumber()) {
        -      size += com.google.protobuf.CodedOutputStream
        -        .computeEnumSize(4, containsPypiModulesConflict_);
        +    if (containsPypiModulesConflict_
        +        != com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult
        +            .CONFLICT_RESULT_UNSPECIFIED
        +            .getNumber()) {
        +      size +=
        +          com.google.protobuf.CodedOutputStream.computeEnumSize(4, containsPypiModulesConflict_);
             }
             if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageVersion_)) {
               size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, imageVersion_);
             }
        -    for (java.util.Map.Entry entry
        -         : internalGetPypiDependencies().getMap().entrySet()) {
        -      com.google.protobuf.MapEntry
        -      pypiDependencies__ = PypiDependenciesDefaultEntryHolder.defaultEntry.newBuilderForType()
        -          .setKey(entry.getKey())
        -          .setValue(entry.getValue())
        -          .build();
        -      size += com.google.protobuf.CodedOutputStream
        -          .computeMessageSize(6, pypiDependencies__);
        +    for (java.util.Map.Entry entry :
        +        internalGetPypiDependencies().getMap().entrySet()) {
        +      com.google.protobuf.MapEntry pypiDependencies__ =
        +          PypiDependenciesDefaultEntryHolder.defaultEntry
        +              .newBuilderForType()
        +              .setKey(entry.getKey())
        +              .setValue(entry.getValue())
        +              .build();
        +      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, pypiDependencies__);
             }
             size += unknownFields.getSerializedSize();
             memoizedSize = size;
        @@ -626,22 +703,20 @@ public int getSerializedSize() {
           @java.lang.Override
           public boolean equals(final java.lang.Object obj) {
             if (obj == this) {
        -     return true;
        +      return true;
             }
             if (!(obj instanceof com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse)) {
               return super.equals(obj);
             }
        -    com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse other = (com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse) obj;
        +    com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse other =
        +        (com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse) obj;
         
        -    if (!getBuildLogUri()
        -        .equals(other.getBuildLogUri())) return false;
        +    if (!getBuildLogUri().equals(other.getBuildLogUri())) return false;
             if (containsPypiModulesConflict_ != other.containsPypiModulesConflict_) return false;
        -    if (!getPypiConflictBuildLogExtract()
        -        .equals(other.getPypiConflictBuildLogExtract())) return false;
        -    if (!getImageVersion()
        -        .equals(other.getImageVersion())) return false;
        -    if (!internalGetPypiDependencies().equals(
        -        other.internalGetPypiDependencies())) return false;
        +    if (!getPypiConflictBuildLogExtract().equals(other.getPypiConflictBuildLogExtract()))
        +      return false;
        +    if (!getImageVersion().equals(other.getImageVersion())) return false;
        +    if (!internalGetPypiDependencies().equals(other.internalGetPypiDependencies())) return false;
             if (!unknownFields.equals(other.unknownFields)) return false;
             return true;
           }
        @@ -671,96 +746,105 @@ public int hashCode() {
           }
         
           public static com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse 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.orchestration.airflow.service.v1.CheckUpgradeResponse parseFrom(
        -      java.nio.ByteBuffer data,
        -      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        +      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
               throws com.google.protobuf.InvalidProtocolBufferException {
             return PARSER.parseFrom(data, extensionRegistry);
           }
        +
           public static com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse parseFrom(
               com.google.protobuf.ByteString data)
               throws com.google.protobuf.InvalidProtocolBufferException {
             return PARSER.parseFrom(data);
           }
        +
           public static com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse parseFrom(
               com.google.protobuf.ByteString data,
               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
               throws com.google.protobuf.InvalidProtocolBufferException {
             return PARSER.parseFrom(data, extensionRegistry);
           }
        -  public static com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse parseFrom(byte[] data)
        -      throws com.google.protobuf.InvalidProtocolBufferException {
        +
        +  public static com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse parseFrom(
        +      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
             return PARSER.parseFrom(data);
           }
        +
           public static com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse parseFrom(
        -      byte[] data,
        -      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        +      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
               throws com.google.protobuf.InvalidProtocolBufferException {
             return PARSER.parseFrom(data, extensionRegistry);
           }
        -  public static com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse parseFrom(java.io.InputStream input)
        -      throws java.io.IOException {
        -    return com.google.protobuf.GeneratedMessageV3
        -        .parseWithIOException(PARSER, input);
        +
        +  public static com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse parseFrom(
        +      java.io.InputStream input) throws java.io.IOException {
        +    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
           }
        +
           public static com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse parseFrom(
        -      java.io.InputStream input,
        -      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        +      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
               throws java.io.IOException {
        -    return com.google.protobuf.GeneratedMessageV3
        -        .parseWithIOException(PARSER, input, extensionRegistry);
        +    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
        +        PARSER, input, extensionRegistry);
           }
        -  public static com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse parseDelimitedFrom(java.io.InputStream input)
        -      throws java.io.IOException {
        -    return com.google.protobuf.GeneratedMessageV3
        -        .parseDelimitedWithIOException(PARSER, input);
        +
        +  public static com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse
        +      parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
        +    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
           }
        -  public static com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse 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.orchestration.airflow.service.v1.CheckUpgradeResponse
        +      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.orchestration.airflow.service.v1.CheckUpgradeResponse parseFrom(
        -      com.google.protobuf.CodedInputStream input)
        -      throws java.io.IOException {
        -    return com.google.protobuf.GeneratedMessageV3
        -        .parseWithIOException(PARSER, input);
        +      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
        +    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
           }
        +
           public static com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse parseFrom(
               com.google.protobuf.CodedInputStream input,
               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
               throws java.io.IOException {
        -    return com.google.protobuf.GeneratedMessageV3
        -        .parseWithIOException(PARSER, input, extensionRegistry);
        +    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
        +        PARSER, input, extensionRegistry);
           }
         
           @java.lang.Override
        -  public Builder newBuilderForType() { return newBuilder(); }
        +  public Builder newBuilderForType() {
        +    return newBuilder();
        +  }
        +
           public static Builder newBuilder() {
             return DEFAULT_INSTANCE.toBuilder();
           }
        -  public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse prototype) {
        +
        +  public static Builder newBuilder(
        +      com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse prototype) {
             return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
           }
        +
           @java.lang.Override
           public Builder toBuilder() {
        -    return this == DEFAULT_INSTANCE
        -        ? new Builder() : new Builder().mergeFrom(this);
        +    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
           }
         
           @java.lang.Override
        -  protected Builder newBuilderForType(
        -      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        +  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
             Builder builder = new Builder(parent);
             return builder;
           }
           /**
        +   *
        +   *
            * 
            * Message containing information about the result of an upgrade check
            * operation.
        @@ -768,60 +852,60 @@ protected Builder newBuilderForType(
            *
            * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse}
            */
        -  public static final class Builder extends
        -      com.google.protobuf.GeneratedMessageV3.Builder implements
        +  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
        +      implements
               // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse)
               com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponseOrBuilder {
        -    public static final com.google.protobuf.Descriptors.Descriptor
        -        getDescriptor() {
        -      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_descriptor;
        +    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        +      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
        +          .internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_descriptor;
             }
         
             @SuppressWarnings({"rawtypes"})
        -    protected com.google.protobuf.MapField internalGetMapField(
        -        int number) {
        +    protected com.google.protobuf.MapField internalGetMapField(int number) {
               switch (number) {
                 case 6:
                   return internalGetPypiDependencies();
                 default:
        -          throw new RuntimeException(
        -              "Invalid map field number: " + number);
        +          throw new RuntimeException("Invalid map field number: " + number);
               }
             }
        +
             @SuppressWarnings({"rawtypes"})
        -    protected com.google.protobuf.MapField internalGetMutableMapField(
        -        int number) {
        +    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
               switch (number) {
                 case 6:
                   return internalGetMutablePypiDependencies();
                 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.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_fieldAccessorTable
        +      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
        +          .internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_fieldAccessorTable
                   .ensureFieldAccessorsInitialized(
        -              com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.class, com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.Builder.class);
        +              com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.class,
        +              com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.Builder.class);
             }
         
        -    // Construct using com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.newBuilder()
        +    // Construct using
        +    // com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.newBuilder()
             private Builder() {
               maybeForceBuilderInitialization();
             }
         
        -    private Builder(
        -        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        +    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
               super(parent);
               maybeForceBuilderInitialization();
             }
        +
             private void maybeForceBuilderInitialization() {
        -      if (com.google.protobuf.GeneratedMessageV3
        -              .alwaysUseFieldBuilders) {
        -      }
        +      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
             }
        +
             @java.lang.Override
             public Builder clear() {
               super.clear();
        @@ -838,19 +922,22 @@ public Builder clear() {
             }
         
             @java.lang.Override
        -    public com.google.protobuf.Descriptors.Descriptor
        -        getDescriptorForType() {
        -      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_descriptor;
        +    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
        +      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
        +          .internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_descriptor;
             }
         
             @java.lang.Override
        -    public com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse getDefaultInstanceForType() {
        -      return com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.getDefaultInstance();
        +    public com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse
        +        getDefaultInstanceForType() {
        +      return com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse
        +          .getDefaultInstance();
             }
         
             @java.lang.Override
             public com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse build() {
        -      com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse result = buildPartial();
        +      com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse result =
        +          buildPartial();
               if (!result.isInitialized()) {
                 throw newUninitializedMessageException(result);
               }
        @@ -859,7 +946,8 @@ public com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse bu
         
             @java.lang.Override
             public com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse buildPartial() {
        -      com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse result = new com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse(this);
        +      com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse result =
        +          new com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse(this);
               int from_bitField0_ = bitField0_;
               result.buildLogUri_ = buildLogUri_;
               result.containsPypiModulesConflict_ = containsPypiModulesConflict_;
        @@ -875,46 +963,51 @@ public com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse bu
             public Builder clone() {
               return super.clone();
             }
        +
             @java.lang.Override
             public Builder setField(
        -        com.google.protobuf.Descriptors.FieldDescriptor field,
        -        java.lang.Object value) {
        +        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
               return super.setField(field, value);
             }
        +
             @java.lang.Override
        -    public Builder clearField(
        -        com.google.protobuf.Descriptors.FieldDescriptor field) {
        +    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
               return super.clearField(field);
             }
        +
             @java.lang.Override
        -    public Builder clearOneof(
        -        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        +    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
               return super.clearOneof(oneof);
             }
        +
             @java.lang.Override
             public Builder setRepeatedField(
        -        com.google.protobuf.Descriptors.FieldDescriptor field,
        -        int index, java.lang.Object value) {
        +        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
               return super.setRepeatedField(field, index, value);
             }
        +
             @java.lang.Override
             public Builder addRepeatedField(
        -        com.google.protobuf.Descriptors.FieldDescriptor field,
        -        java.lang.Object value) {
        +        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
               return super.addRepeatedField(field, value);
             }
        +
             @java.lang.Override
             public Builder mergeFrom(com.google.protobuf.Message other) {
               if (other instanceof com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse) {
        -        return mergeFrom((com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse)other);
        +        return mergeFrom(
        +            (com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse) other);
               } else {
                 super.mergeFrom(other);
                 return this;
               }
             }
         
        -    public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse other) {
        -      if (other == com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.getDefaultInstance()) return this;
        +    public Builder mergeFrom(
        +        com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse other) {
        +      if (other
        +          == com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse
        +              .getDefaultInstance()) return this;
               if (!other.getBuildLogUri().isEmpty()) {
                 buildLogUri_ = other.buildLogUri_;
                 onChanged();
        @@ -930,8 +1023,7 @@ public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1.Check
                 imageVersion_ = other.imageVersion_;
                 onChanged();
               }
        -      internalGetMutablePypiDependencies().mergeFrom(
        -          other.internalGetPypiDependencies());
        +      internalGetMutablePypiDependencies().mergeFrom(other.internalGetPypiDependencies());
               this.mergeUnknownFields(other.unknownFields);
               onChanged();
               return this;
        @@ -951,7 +1043,9 @@ public Builder mergeFrom(
               try {
                 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
               } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        -        parsedMessage = (com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse) e.getUnfinishedMessage();
        +        parsedMessage =
        +            (com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse)
        +                e.getUnfinishedMessage();
                 throw e.unwrapIOException();
               } finally {
                 if (parsedMessage != null) {
        @@ -960,22 +1054,25 @@ public Builder mergeFrom(
               }
               return this;
             }
        +
             private int bitField0_;
         
             private java.lang.Object buildLogUri_ = "";
             /**
        +     *
        +     *
              * 
              * Output only. Url for a docker build log of an upgraded image.
              * 
        * * string build_log_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The buildLogUri. */ public java.lang.String getBuildLogUri() { java.lang.Object ref = buildLogUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); buildLogUri_ = s; return s; @@ -984,20 +1081,21 @@ public java.lang.String getBuildLogUri() { } } /** + * + * *
              * Output only. Url for a docker build log of an upgraded image.
              * 
        * * string build_log_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for buildLogUri. */ - public com.google.protobuf.ByteString - getBuildLogUriBytes() { + public com.google.protobuf.ByteString getBuildLogUriBytes() { java.lang.Object ref = buildLogUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); buildLogUri_ = b; return b; } else { @@ -1005,54 +1103,61 @@ public java.lang.String getBuildLogUri() { } } /** + * + * *
              * Output only. Url for a docker build log of an upgraded image.
              * 
        * * string build_log_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The buildLogUri to set. * @return This builder for chaining. */ - public Builder setBuildLogUri( - java.lang.String value) { + public Builder setBuildLogUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + buildLogUri_ = value; onChanged(); return this; } /** + * + * *
              * Output only. Url for a docker build log of an upgraded image.
              * 
        * * string build_log_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearBuildLogUri() { - + buildLogUri_ = getDefaultInstance().getBuildLogUri(); onChanged(); return this; } /** + * + * *
              * Output only. Url for a docker build log of an upgraded image.
              * 
        * * string build_log_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for buildLogUri to set. * @return This builder for chaining. */ - public Builder setBuildLogUriBytes( - com.google.protobuf.ByteString value) { + public Builder setBuildLogUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + buildLogUri_ = value; onChanged(); return this; @@ -1060,73 +1165,107 @@ public Builder setBuildLogUriBytes( private int containsPypiModulesConflict_ = 0; /** + * + * *
              * Output only. Whether build has succeeded or failed on modules conflicts.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for containsPypiModulesConflict. */ - @java.lang.Override public int getContainsPypiModulesConflictValue() { + @java.lang.Override + public int getContainsPypiModulesConflictValue() { return containsPypiModulesConflict_; } /** + * + * *
              * Output only. Whether build has succeeded or failed on modules conflicts.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for containsPypiModulesConflict to set. * @return This builder for chaining. */ public Builder setContainsPypiModulesConflictValue(int value) { - + containsPypiModulesConflict_ = value; onChanged(); return this; } /** + * + * *
              * Output only. Whether build has succeeded or failed on modules conflicts.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The containsPypiModulesConflict. */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult getContainsPypiModulesConflict() { + public com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult + getContainsPypiModulesConflict() { @SuppressWarnings("deprecation") - com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult result = com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult.valueOf(containsPypiModulesConflict_); - return result == null ? com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult.UNRECOGNIZED : result; + com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult result = + com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult + .valueOf(containsPypiModulesConflict_); + return result == null + ? com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult + .UNRECOGNIZED + : result; } /** + * + * *
              * Output only. Whether build has succeeded or failed on modules conflicts.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The containsPypiModulesConflict to set. * @return This builder for chaining. */ - public Builder setContainsPypiModulesConflict(com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult value) { + public Builder setContainsPypiModulesConflict( + com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult + value) { if (value == null) { throw new NullPointerException(); } - + containsPypiModulesConflict_ = value.getNumber(); onChanged(); return this; } /** + * + * *
              * Output only. Whether build has succeeded or failed on modules conflicts.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearContainsPypiModulesConflict() { - + containsPypiModulesConflict_ = 0; onChanged(); return this; @@ -1134,19 +1273,23 @@ public Builder clearContainsPypiModulesConflict() { private java.lang.Object pypiConflictBuildLogExtract_ = ""; /** + * + * *
              * Output only. Extract from a docker image build log containing information about pypi
              * modules conflicts.
              * 
        * - * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The pypiConflictBuildLogExtract. */ public java.lang.String getPypiConflictBuildLogExtract() { java.lang.Object ref = pypiConflictBuildLogExtract_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pypiConflictBuildLogExtract_ = s; return s; @@ -1155,21 +1298,24 @@ public java.lang.String getPypiConflictBuildLogExtract() { } } /** + * + * *
              * Output only. Extract from a docker image build log containing information about pypi
              * modules conflicts.
              * 
        * - * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bytes for pypiConflictBuildLogExtract. */ - public com.google.protobuf.ByteString - getPypiConflictBuildLogExtractBytes() { + public com.google.protobuf.ByteString getPypiConflictBuildLogExtractBytes() { java.lang.Object ref = pypiConflictBuildLogExtract_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pypiConflictBuildLogExtract_ = b; return b; } else { @@ -1177,57 +1323,70 @@ public java.lang.String getPypiConflictBuildLogExtract() { } } /** + * + * *
              * Output only. Extract from a docker image build log containing information about pypi
              * modules conflicts.
              * 
        * - * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The pypiConflictBuildLogExtract to set. * @return This builder for chaining. */ - public Builder setPypiConflictBuildLogExtract( - java.lang.String value) { + public Builder setPypiConflictBuildLogExtract(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pypiConflictBuildLogExtract_ = value; onChanged(); return this; } /** + * + * *
              * Output only. Extract from a docker image build log containing information about pypi
              * modules conflicts.
              * 
        * - * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearPypiConflictBuildLogExtract() { - + pypiConflictBuildLogExtract_ = getDefaultInstance().getPypiConflictBuildLogExtract(); onChanged(); return this; } /** + * + * *
              * Output only. Extract from a docker image build log containing information about pypi
              * modules conflicts.
              * 
        * - * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The bytes for pypiConflictBuildLogExtract to set. * @return This builder for chaining. */ - public Builder setPypiConflictBuildLogExtractBytes( - com.google.protobuf.ByteString value) { + public Builder setPypiConflictBuildLogExtractBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pypiConflictBuildLogExtract_ = value; onChanged(); return this; @@ -1235,18 +1394,20 @@ public Builder setPypiConflictBuildLogExtractBytes( private java.lang.Object imageVersion_ = ""; /** + * + * *
              * Composer image for which the build was happening.
              * 
        * * string image_version = 5; + * * @return The imageVersion. */ public java.lang.String getImageVersion() { java.lang.Object ref = imageVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageVersion_ = s; return s; @@ -1255,20 +1416,21 @@ public java.lang.String getImageVersion() { } } /** + * + * *
              * Composer image for which the build was happening.
              * 
        * * string image_version = 5; + * * @return The bytes for imageVersion. */ - public com.google.protobuf.ByteString - getImageVersionBytes() { + public com.google.protobuf.ByteString getImageVersionBytes() { java.lang.Object ref = imageVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); imageVersion_ = b; return b; } else { @@ -1276,75 +1438,85 @@ public java.lang.String getImageVersion() { } } /** + * + * *
              * Composer image for which the build was happening.
              * 
        * * string image_version = 5; + * * @param value The imageVersion to set. * @return This builder for chaining. */ - public Builder setImageVersion( - java.lang.String value) { + public Builder setImageVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + imageVersion_ = value; onChanged(); return this; } /** + * + * *
              * Composer image for which the build was happening.
              * 
        * * string image_version = 5; + * * @return This builder for chaining. */ public Builder clearImageVersion() { - + imageVersion_ = getDefaultInstance().getImageVersion(); onChanged(); return this; } /** + * + * *
              * Composer image for which the build was happening.
              * 
        * * string image_version = 5; + * * @param value The bytes for imageVersion to set. * @return This builder for chaining. */ - public Builder setImageVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setImageVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + imageVersion_ = value; onChanged(); return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> pypiDependencies_; + private com.google.protobuf.MapField pypiDependencies_; + private com.google.protobuf.MapField - internalGetPypiDependencies() { + internalGetPypiDependencies() { if (pypiDependencies_ == null) { return com.google.protobuf.MapField.emptyMapField( PypiDependenciesDefaultEntryHolder.defaultEntry); } return pypiDependencies_; } + private com.google.protobuf.MapField - internalGetMutablePypiDependencies() { - onChanged();; + internalGetMutablePypiDependencies() { + onChanged(); + ; if (pypiDependencies_ == null) { - pypiDependencies_ = com.google.protobuf.MapField.newMapField( - PypiDependenciesDefaultEntryHolder.defaultEntry); + pypiDependencies_ = + com.google.protobuf.MapField.newMapField( + PypiDependenciesDefaultEntryHolder.defaultEntry); } if (!pypiDependencies_.isMutable()) { pypiDependencies_ = pypiDependencies_.copy(); @@ -1356,6 +1528,8 @@ public int getPypiDependenciesCount() { return internalGetPypiDependencies().getMap().size(); } /** + * + * *
              * Pypi dependencies specified in the environment configuration, at the time
              * when the build was triggered.
        @@ -1363,22 +1537,22 @@ public int getPypiDependenciesCount() {
              *
              * map<string, string> pypi_dependencies = 6;
              */
        -
             @java.lang.Override
        -    public boolean containsPypiDependencies(
        -        java.lang.String key) {
        -      if (key == null) { throw new NullPointerException("map key"); }
        +    public boolean containsPypiDependencies(java.lang.String key) {
        +      if (key == null) {
        +        throw new NullPointerException("map key");
        +      }
               return internalGetPypiDependencies().getMap().containsKey(key);
             }
        -    /**
        -     * Use {@link #getPypiDependenciesMap()} instead.
        -     */
        +    /** Use {@link #getPypiDependenciesMap()} instead. */
             @java.lang.Override
             @java.lang.Deprecated
             public java.util.Map getPypiDependencies() {
               return getPypiDependenciesMap();
             }
             /**
        +     *
        +     *
              * 
              * Pypi dependencies specified in the environment configuration, at the time
              * when the build was triggered.
        @@ -1387,11 +1561,12 @@ public java.util.Map getPypiDependencies() {
              * map<string, string> pypi_dependencies = 6;
              */
             @java.lang.Override
        -
             public java.util.Map getPypiDependenciesMap() {
               return internalGetPypiDependencies().getMap();
             }
             /**
        +     *
        +     *
              * 
              * Pypi dependencies specified in the environment configuration, at the time
              * when the build was triggered.
        @@ -1400,16 +1575,18 @@ public java.util.Map getPypiDependenciesMap(
              * map<string, string> pypi_dependencies = 6;
              */
             @java.lang.Override
        -
             public java.lang.String getPypiDependenciesOrDefault(
        -        java.lang.String key,
        -        java.lang.String defaultValue) {
        -      if (key == null) { throw new NullPointerException("map key"); }
        +        java.lang.String key, java.lang.String defaultValue) {
        +      if (key == null) {
        +        throw new NullPointerException("map key");
        +      }
               java.util.Map map =
                   internalGetPypiDependencies().getMap();
               return map.containsKey(key) ? map.get(key) : defaultValue;
             }
             /**
        +     *
        +     *
              * 
              * Pypi dependencies specified in the environment configuration, at the time
              * when the build was triggered.
        @@ -1418,10 +1595,10 @@ public java.lang.String getPypiDependenciesOrDefault(
              * map<string, string> pypi_dependencies = 6;
              */
             @java.lang.Override
        -
        -    public java.lang.String getPypiDependenciesOrThrow(
        -        java.lang.String key) {
        -      if (key == null) { throw new NullPointerException("map key"); }
        +    public java.lang.String getPypiDependenciesOrThrow(java.lang.String key) {
        +      if (key == null) {
        +        throw new NullPointerException("map key");
        +      }
               java.util.Map map =
                   internalGetPypiDependencies().getMap();
               if (!map.containsKey(key)) {
        @@ -1431,11 +1608,12 @@ public java.lang.String getPypiDependenciesOrThrow(
             }
         
             public Builder clearPypiDependencies() {
        -      internalGetMutablePypiDependencies().getMutableMap()
        -          .clear();
        +      internalGetMutablePypiDependencies().getMutableMap().clear();
               return this;
             }
             /**
        +     *
        +     *
              * 
              * Pypi dependencies specified in the environment configuration, at the time
              * when the build was triggered.
        @@ -1443,23 +1621,21 @@ public Builder clearPypiDependencies() {
              *
              * map<string, string> pypi_dependencies = 6;
              */
        -
        -    public Builder removePypiDependencies(
        -        java.lang.String key) {
        -      if (key == null) { throw new NullPointerException("map key"); }
        -      internalGetMutablePypiDependencies().getMutableMap()
        -          .remove(key);
        +    public Builder removePypiDependencies(java.lang.String key) {
        +      if (key == null) {
        +        throw new NullPointerException("map key");
        +      }
        +      internalGetMutablePypiDependencies().getMutableMap().remove(key);
               return this;
             }
        -    /**
        -     * Use alternate mutation accessors instead.
        -     */
        +    /** Use alternate mutation accessors instead. */
             @java.lang.Deprecated
        -    public java.util.Map
        -    getMutablePypiDependencies() {
        +    public java.util.Map getMutablePypiDependencies() {
               return internalGetMutablePypiDependencies().getMutableMap();
             }
             /**
        +     *
        +     *
              * 
              * Pypi dependencies specified in the environment configuration, at the time
              * when the build was triggered.
        @@ -1467,19 +1643,20 @@ public Builder removePypiDependencies(
              *
              * map<string, string> pypi_dependencies = 6;
              */
        -    public Builder putPypiDependencies(
        -        java.lang.String key,
        -        java.lang.String value) {
        -      if (key == null) { throw new NullPointerException("map key"); }
        +    public Builder putPypiDependencies(java.lang.String key, java.lang.String value) {
        +      if (key == null) {
        +        throw new NullPointerException("map key");
        +      }
               if (value == null) {
        -  throw new NullPointerException("map value");
        -}
        +        throw new NullPointerException("map value");
        +      }
         
        -      internalGetMutablePypiDependencies().getMutableMap()
        -          .put(key, value);
        +      internalGetMutablePypiDependencies().getMutableMap().put(key, value);
               return this;
             }
             /**
        +     *
        +     *
              * 
              * Pypi dependencies specified in the environment configuration, at the time
              * when the build was triggered.
        @@ -1487,16 +1664,14 @@ public Builder putPypiDependencies(
              *
              * map<string, string> pypi_dependencies = 6;
              */
        -
             public Builder putAllPypiDependencies(
                 java.util.Map values) {
        -      internalGetMutablePypiDependencies().getMutableMap()
        -          .putAll(values);
        +      internalGetMutablePypiDependencies().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);
             }
         
        @@ -1506,30 +1681,32 @@ public final Builder mergeUnknownFields(
               return super.mergeUnknownFields(unknownFields);
             }
         
        -
             // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse)
           }
         
           // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse)
        -  private static final com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse DEFAULT_INSTANCE;
        +  private static final com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse
        +      DEFAULT_INSTANCE;
        +
           static {
             DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse();
           }
         
        -  public static com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse getDefaultInstance() {
        +  public static com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse
        +      getDefaultInstance() {
             return DEFAULT_INSTANCE;
           }
         
        -  private static final com.google.protobuf.Parser
        -      PARSER = new com.google.protobuf.AbstractParser() {
        -    @java.lang.Override
        -    public CheckUpgradeResponse parsePartialFrom(
        -        com.google.protobuf.CodedInputStream input,
        -        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        -        throws com.google.protobuf.InvalidProtocolBufferException {
        -      return new CheckUpgradeResponse(input, extensionRegistry);
        -    }
        -  };
        +  private static final com.google.protobuf.Parser PARSER =
        +      new com.google.protobuf.AbstractParser() {
        +        @java.lang.Override
        +        public CheckUpgradeResponse parsePartialFrom(
        +            com.google.protobuf.CodedInputStream input,
        +            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        +            throws com.google.protobuf.InvalidProtocolBufferException {
        +          return new CheckUpgradeResponse(input, extensionRegistry);
        +        }
        +      };
         
           public static com.google.protobuf.Parser parser() {
             return PARSER;
        @@ -1541,9 +1718,8 @@ public com.google.protobuf.Parser getParserForType() {
           }
         
           @java.lang.Override
        -  public com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse getDefaultInstanceForType() {
        +  public com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse
        +      getDefaultInstanceForType() {
             return DEFAULT_INSTANCE;
           }
        -
         }
        -
        diff --git a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/CheckUpgradeResponseOrBuilder.java b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/CheckUpgradeResponseOrBuilder.java
        similarity index 64%
        rename from owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/CheckUpgradeResponseOrBuilder.java
        rename to proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/CheckUpgradeResponseOrBuilder.java
        index 8e6542f5..cf784a1c 100644
        --- a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/CheckUpgradeResponseOrBuilder.java
        +++ b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/CheckUpgradeResponseOrBuilder.java
        @@ -1,94 +1,140 @@
        +/*
        + * Copyright 2020 Google LLC
        + *
        + * Licensed under the Apache License, Version 2.0 (the "License");
        + * you may not use this file except in compliance with the License.
        + * You may obtain a copy of the License at
        + *
        + *     https://www.apache.org/licenses/LICENSE-2.0
        + *
        + * Unless required by applicable law or agreed to in writing, software
        + * distributed under the License is distributed on an "AS IS" BASIS,
        + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
        + * See the License for the specific language governing permissions and
        + * limitations under the License.
        + */
         // Generated by the protocol buffer compiler.  DO NOT EDIT!
         // source: google/cloud/orchestration/airflow/service/v1/environments.proto
         
         package com.google.cloud.orchestration.airflow.service.v1;
         
        -public interface CheckUpgradeResponseOrBuilder extends
        +public interface CheckUpgradeResponseOrBuilder
        +    extends
             // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse)
             com.google.protobuf.MessageOrBuilder {
         
           /**
        +   *
        +   *
            * 
            * Output only. Url for a docker build log of an upgraded image.
            * 
        * * string build_log_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The buildLogUri. */ java.lang.String getBuildLogUri(); /** + * + * *
            * Output only. Url for a docker build log of an upgraded image.
            * 
        * * string build_log_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for buildLogUri. */ - com.google.protobuf.ByteString - getBuildLogUriBytes(); + com.google.protobuf.ByteString getBuildLogUriBytes(); /** + * + * *
            * Output only. Whether build has succeeded or failed on modules conflicts.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for containsPypiModulesConflict. */ int getContainsPypiModulesConflictValue(); /** + * + * *
            * Output only. Whether build has succeeded or failed on modules conflicts.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The containsPypiModulesConflict. */ - com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult getContainsPypiModulesConflict(); + com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult + getContainsPypiModulesConflict(); /** + * + * *
            * Output only. Extract from a docker image build log containing information about pypi
            * modules conflicts.
            * 
        * - * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The pypiConflictBuildLogExtract. */ java.lang.String getPypiConflictBuildLogExtract(); /** + * + * *
            * Output only. Extract from a docker image build log containing information about pypi
            * modules conflicts.
            * 
        * - * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bytes for pypiConflictBuildLogExtract. */ - com.google.protobuf.ByteString - getPypiConflictBuildLogExtractBytes(); + com.google.protobuf.ByteString getPypiConflictBuildLogExtractBytes(); /** + * + * *
            * Composer image for which the build was happening.
            * 
        * * string image_version = 5; + * * @return The imageVersion. */ java.lang.String getImageVersion(); /** + * + * *
            * Composer image for which the build was happening.
            * 
        * * string image_version = 5; + * * @return The bytes for imageVersion. */ - com.google.protobuf.ByteString - getImageVersionBytes(); + com.google.protobuf.ByteString getImageVersionBytes(); /** + * + * *
            * Pypi dependencies specified in the environment configuration, at the time
            * when the build was triggered.
        @@ -98,6 +144,8 @@ public interface CheckUpgradeResponseOrBuilder extends
            */
           int getPypiDependenciesCount();
           /**
        +   *
        +   *
            * 
            * Pypi dependencies specified in the environment configuration, at the time
            * when the build was triggered.
        @@ -105,15 +153,13 @@ public interface CheckUpgradeResponseOrBuilder extends
            *
            * map<string, string> pypi_dependencies = 6;
            */
        -  boolean containsPypiDependencies(
        -      java.lang.String key);
        -  /**
        -   * Use {@link #getPypiDependenciesMap()} instead.
        -   */
        +  boolean containsPypiDependencies(java.lang.String key);
        +  /** Use {@link #getPypiDependenciesMap()} instead. */
           @java.lang.Deprecated
        -  java.util.Map
        -  getPypiDependencies();
        +  java.util.Map getPypiDependencies();
           /**
        +   *
        +   *
            * 
            * Pypi dependencies specified in the environment configuration, at the time
            * when the build was triggered.
        @@ -121,9 +167,10 @@ boolean containsPypiDependencies(
            *
            * map<string, string> pypi_dependencies = 6;
            */
        -  java.util.Map
        -  getPypiDependenciesMap();
        +  java.util.Map getPypiDependenciesMap();
           /**
        +   *
        +   *
            * 
            * Pypi dependencies specified in the environment configuration, at the time
            * when the build was triggered.
        @@ -133,11 +180,13 @@ boolean containsPypiDependencies(
            */
         
           /* nullable */
        -java.lang.String getPypiDependenciesOrDefault(
        +  java.lang.String getPypiDependenciesOrDefault(
               java.lang.String key,
               /* nullable */
        -java.lang.String defaultValue);
        +      java.lang.String defaultValue);
           /**
        +   *
        +   *
            * 
            * Pypi dependencies specified in the environment configuration, at the time
            * when the build was triggered.
        @@ -145,7 +194,5 @@ java.lang.String getPypiDependenciesOrDefault(
            *
            * map<string, string> pypi_dependencies = 6;
            */
        -
        -  java.lang.String getPypiDependenciesOrThrow(
        -      java.lang.String key);
        +  java.lang.String getPypiDependenciesOrThrow(java.lang.String key);
         }
        diff --git a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/CreateEnvironmentRequest.java b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/CreateEnvironmentRequest.java
        similarity index 61%
        rename from owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/CreateEnvironmentRequest.java
        rename to proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/CreateEnvironmentRequest.java
        index a94df987..a3139c0b 100644
        --- a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/CreateEnvironmentRequest.java
        +++ b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/CreateEnvironmentRequest.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/orchestration/airflow/service/v1/environments.proto
         
         package com.google.cloud.orchestration.airflow.service.v1;
         
         /**
        + *
        + *
          * 
          * Create a new environment.
          * 
        * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest} */ -public final class CreateEnvironmentRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateEnvironmentRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest) CreateEnvironmentRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateEnvironmentRequest.newBuilder() to construct. private CreateEnvironmentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateEnvironmentRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateEnvironmentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateEnvironmentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,32 +70,38 @@ private CreateEnvironmentRequest( 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.orchestration.airflow.service.v1.Environment.Builder subBuilder = null; - if (environment_ != null) { - subBuilder = environment_.toBuilder(); + parent_ = s; + break; } - environment_ = input.readMessage(com.google.cloud.orchestration.airflow.service.v1.Environment.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(environment_); - environment_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.orchestration.airflow.service.v1.Environment.Builder subBuilder = + null; + if (environment_ != null) { + subBuilder = environment_.toBuilder(); + } + environment_ = + input.readMessage( + com.google.cloud.orchestration.airflow.service.v1.Environment.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(environment_); + environment_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -86,35 +109,41 @@ private CreateEnvironmentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_CreateEnvironmentRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_CreateEnvironmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_CreateEnvironmentRequest_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_CreateEnvironmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest.class, com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest.Builder.class); + com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest.class, + com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest.Builder + .class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
            * The parent must be of the form
            * "projects/{projectId}/locations/{locationId}".
            * 
        * * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -123,30 +152,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 parent must be of the form
            * "projects/{projectId}/locations/{locationId}".
            * 
        * * 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 { @@ -157,11 +186,14 @@ public java.lang.String getParent() { public static final int ENVIRONMENT_FIELD_NUMBER = 2; private com.google.cloud.orchestration.airflow.service.v1.Environment environment_; /** + * + * *
            * The environment to create.
            * 
        * * .google.cloud.orchestration.airflow.service.v1.Environment environment = 2; + * * @return Whether the environment field is set. */ @java.lang.Override @@ -169,18 +201,25 @@ public boolean hasEnvironment() { return environment_ != null; } /** + * + * *
            * The environment to create.
            * 
        * * .google.cloud.orchestration.airflow.service.v1.Environment environment = 2; + * * @return The environment. */ @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1.Environment getEnvironment() { - return environment_ == null ? com.google.cloud.orchestration.airflow.service.v1.Environment.getDefaultInstance() : environment_; + return environment_ == null + ? com.google.cloud.orchestration.airflow.service.v1.Environment.getDefaultInstance() + : environment_; } /** + * + * *
            * The environment to create.
            * 
        @@ -188,11 +227,13 @@ public com.google.cloud.orchestration.airflow.service.v1.Environment getEnvironm * .google.cloud.orchestration.airflow.service.v1.Environment environment = 2; */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder getEnvironmentOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder + getEnvironmentOrBuilder() { return getEnvironment(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,8 +245,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -225,8 +265,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (environment_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getEnvironment()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEnvironment()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -236,19 +275,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.orchestration.airflow.service.v1.CreateEnvironmentRequest)) { + if (!(obj + instanceof com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest other = (com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest) obj; + com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest other = + (com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasEnvironment() != other.hasEnvironment()) return false; if (hasEnvironment()) { - if (!getEnvironment() - .equals(other.getEnvironment())) return false; + if (!getEnvironment().equals(other.getEnvironment())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -272,135 +311,152 @@ public int hashCode() { return hash; } - public static com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest 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.orchestration.airflow.service.v1.CreateEnvironmentRequest + 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.orchestration.airflow.service.v1.CreateEnvironmentRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
            * Create a new environment.
            * 
        * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest) com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_CreateEnvironmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_CreateEnvironmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_CreateEnvironmentRequest_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_CreateEnvironmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest.class, com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest.Builder.class); + com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest.class, + com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest.Builder + .class); } - // Construct using com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest.newBuilder() + // Construct using + // com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -416,19 +472,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_CreateEnvironmentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_CreateEnvironmentRequest_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest.getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest + getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest build() { - com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest result = buildPartial(); + com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -436,8 +495,10 @@ public com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentReques } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest buildPartial() { - com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest result = new com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest(this); + public com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest + buildPartial() { + com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest result = + new com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest(this); result.parent_ = parent_; if (environmentBuilder_ == null) { result.environment_ = environment_; @@ -452,46 +513,52 @@ public com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentReques public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest) { - return mergeFrom((com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest)other); + if (other + instanceof com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest) { + return mergeFrom( + (com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest other) { - if (other == com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest other) { + if (other + == com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -514,11 +581,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest parsedMessage = null; + com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -530,19 +600,21 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
              * The parent must be of the form
              * "projects/{projectId}/locations/{locationId}".
              * 
        * * 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; @@ -551,21 +623,22 @@ public java.lang.String getParent() { } } /** + * + * *
              * The parent must be of the form
              * "projects/{projectId}/locations/{locationId}".
              * 
        * * 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 { @@ -573,57 +646,64 @@ public java.lang.String getParent() { } } /** + * + * *
              * The parent must be of the form
              * "projects/{projectId}/locations/{locationId}".
              * 
        * * 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 parent must be of the form
              * "projects/{projectId}/locations/{locationId}".
              * 
        * * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
              * The parent must be of the form
              * "projects/{projectId}/locations/{locationId}".
              * 
        * * 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; @@ -631,41 +711,55 @@ public Builder setParentBytes( private com.google.cloud.orchestration.airflow.service.v1.Environment environment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.Environment, com.google.cloud.orchestration.airflow.service.v1.Environment.Builder, com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder> environmentBuilder_; + com.google.cloud.orchestration.airflow.service.v1.Environment, + com.google.cloud.orchestration.airflow.service.v1.Environment.Builder, + com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder> + environmentBuilder_; /** + * + * *
              * The environment to create.
              * 
        * * .google.cloud.orchestration.airflow.service.v1.Environment environment = 2; + * * @return Whether the environment field is set. */ public boolean hasEnvironment() { return environmentBuilder_ != null || environment_ != null; } /** + * + * *
              * The environment to create.
              * 
        * * .google.cloud.orchestration.airflow.service.v1.Environment environment = 2; + * * @return The environment. */ public com.google.cloud.orchestration.airflow.service.v1.Environment getEnvironment() { if (environmentBuilder_ == null) { - return environment_ == null ? com.google.cloud.orchestration.airflow.service.v1.Environment.getDefaultInstance() : environment_; + return environment_ == null + ? com.google.cloud.orchestration.airflow.service.v1.Environment.getDefaultInstance() + : environment_; } else { return environmentBuilder_.getMessage(); } } /** + * + * *
              * The environment to create.
              * 
        * * .google.cloud.orchestration.airflow.service.v1.Environment environment = 2; */ - public Builder setEnvironment(com.google.cloud.orchestration.airflow.service.v1.Environment value) { + public Builder setEnvironment( + com.google.cloud.orchestration.airflow.service.v1.Environment value) { if (environmentBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -679,6 +773,8 @@ public Builder setEnvironment(com.google.cloud.orchestration.airflow.service.v1. return this; } /** + * + * *
              * The environment to create.
              * 
        @@ -697,17 +793,22 @@ public Builder setEnvironment( return this; } /** + * + * *
              * The environment to create.
              * 
        * * .google.cloud.orchestration.airflow.service.v1.Environment environment = 2; */ - public Builder mergeEnvironment(com.google.cloud.orchestration.airflow.service.v1.Environment value) { + public Builder mergeEnvironment( + com.google.cloud.orchestration.airflow.service.v1.Environment value) { if (environmentBuilder_ == null) { if (environment_ != null) { environment_ = - com.google.cloud.orchestration.airflow.service.v1.Environment.newBuilder(environment_).mergeFrom(value).buildPartial(); + com.google.cloud.orchestration.airflow.service.v1.Environment.newBuilder(environment_) + .mergeFrom(value) + .buildPartial(); } else { environment_ = value; } @@ -719,6 +820,8 @@ public Builder mergeEnvironment(com.google.cloud.orchestration.airflow.service.v return this; } /** + * + * *
              * The environment to create.
              * 
        @@ -737,33 +840,42 @@ public Builder clearEnvironment() { return this; } /** + * + * *
              * The environment to create.
              * 
        * * .google.cloud.orchestration.airflow.service.v1.Environment environment = 2; */ - public com.google.cloud.orchestration.airflow.service.v1.Environment.Builder getEnvironmentBuilder() { - + public com.google.cloud.orchestration.airflow.service.v1.Environment.Builder + getEnvironmentBuilder() { + onChanged(); return getEnvironmentFieldBuilder().getBuilder(); } /** + * + * *
              * The environment to create.
              * 
        * * .google.cloud.orchestration.airflow.service.v1.Environment environment = 2; */ - public com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder getEnvironmentOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder + getEnvironmentOrBuilder() { if (environmentBuilder_ != null) { return environmentBuilder_.getMessageOrBuilder(); } else { - return environment_ == null ? - com.google.cloud.orchestration.airflow.service.v1.Environment.getDefaultInstance() : environment_; + return environment_ == null + ? com.google.cloud.orchestration.airflow.service.v1.Environment.getDefaultInstance() + : environment_; } } /** + * + * *
              * The environment to create.
              * 
        @@ -771,21 +883,24 @@ public com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder ge * .google.cloud.orchestration.airflow.service.v1.Environment environment = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.Environment, com.google.cloud.orchestration.airflow.service.v1.Environment.Builder, com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder> + com.google.cloud.orchestration.airflow.service.v1.Environment, + com.google.cloud.orchestration.airflow.service.v1.Environment.Builder, + com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder> getEnvironmentFieldBuilder() { if (environmentBuilder_ == null) { - environmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.Environment, com.google.cloud.orchestration.airflow.service.v1.Environment.Builder, com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder>( - getEnvironment(), - getParentForChildren(), - isClean()); + environmentBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.orchestration.airflow.service.v1.Environment, + com.google.cloud.orchestration.airflow.service.v1.Environment.Builder, + com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder>( + getEnvironment(), getParentForChildren(), isClean()); environment_ = null; } return environmentBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -795,30 +910,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest) - private static final com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest DEFAULT_INSTANCE; + private static final com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest(); } - public static com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateEnvironmentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateEnvironmentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateEnvironmentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateEnvironmentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -830,9 +948,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/CreateEnvironmentRequestOrBuilder.java b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/CreateEnvironmentRequestOrBuilder.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/CreateEnvironmentRequestOrBuilder.java rename to proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/CreateEnvironmentRequestOrBuilder.java index ba05f5d9..cbc7d533 100644 --- a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/CreateEnvironmentRequestOrBuilder.java +++ b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/CreateEnvironmentRequestOrBuilder.java @@ -1,53 +1,82 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/orchestration/airflow/service/v1/environments.proto package com.google.cloud.orchestration.airflow.service.v1; -public interface CreateEnvironmentRequestOrBuilder extends +public interface CreateEnvironmentRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
            * The parent must be of the form
            * "projects/{projectId}/locations/{locationId}".
            * 
        * * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
            * The parent must be of the form
            * "projects/{projectId}/locations/{locationId}".
            * 
        * * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
            * The environment to create.
            * 
        * * .google.cloud.orchestration.airflow.service.v1.Environment environment = 2; + * * @return Whether the environment field is set. */ boolean hasEnvironment(); /** + * + * *
            * The environment to create.
            * 
        * * .google.cloud.orchestration.airflow.service.v1.Environment environment = 2; + * * @return The environment. */ com.google.cloud.orchestration.airflow.service.v1.Environment getEnvironment(); /** + * + * *
            * The environment to create.
            * 
        diff --git a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/DatabaseConfig.java b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/DatabaseConfig.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/DatabaseConfig.java rename to proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/DatabaseConfig.java index e9ec8d8c..8b754ab3 100644 --- a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/DatabaseConfig.java +++ b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/DatabaseConfig.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/orchestration/airflow/service/v1/environments.proto package com.google.cloud.orchestration.airflow.service.v1; /** + * + * *
          * The configuration of Cloud SQL instance that is used by the Apache Airflow
          * software.
        @@ -11,31 +28,31 @@
          *
          * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.DatabaseConfig}
          */
        -public final class DatabaseConfig extends
        -    com.google.protobuf.GeneratedMessageV3 implements
        +public final class DatabaseConfig extends com.google.protobuf.GeneratedMessageV3
        +    implements
             // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1.DatabaseConfig)
             DatabaseConfigOrBuilder {
        -private static final long serialVersionUID = 0L;
        +  private static final long serialVersionUID = 0L;
           // Use DatabaseConfig.newBuilder() to construct.
           private DatabaseConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
             super(builder);
           }
        +
           private DatabaseConfig() {
             machineType_ = "";
           }
         
           @java.lang.Override
           @SuppressWarnings({"unused"})
        -  protected java.lang.Object newInstance(
        -      UnusedPrivateParameter unused) {
        +  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
             return new DatabaseConfig();
           }
         
           @java.lang.Override
        -  public final com.google.protobuf.UnknownFieldSet
        -  getUnknownFields() {
        +  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
             return this.unknownFields;
           }
        +
           private DatabaseConfig(
               com.google.protobuf.CodedInputStream input,
               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        @@ -54,19 +71,20 @@ private DatabaseConfig(
                   case 0:
                     done = true;
                     break;
        -          case 10: {
        -            java.lang.String s = input.readStringRequireUtf8();
        +          case 10:
        +            {
        +              java.lang.String s = input.readStringRequireUtf8();
         
        -            machineType_ = s;
        -            break;
        -          }
        -          default: {
        -            if (!parseUnknownField(
        -                input, unknownFields, extensionRegistry, tag)) {
        -              done = true;
        +              machineType_ = s;
        +              break;
        +            }
        +          default:
        +            {
        +              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
        +                done = true;
        +              }
        +              break;
                     }
        -            break;
        -          }
                 }
               }
             } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        @@ -74,29 +92,33 @@ private DatabaseConfig(
             } catch (com.google.protobuf.UninitializedMessageException e) {
               throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
             } catch (java.io.IOException e) {
        -      throw new com.google.protobuf.InvalidProtocolBufferException(
        -          e).setUnfinishedMessage(this);
        +      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
             } finally {
               this.unknownFields = unknownFields.build();
               makeExtensionsImmutable();
             }
           }
        -  public static final com.google.protobuf.Descriptors.Descriptor
        -      getDescriptor() {
        -    return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_DatabaseConfig_descriptor;
        +
        +  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        +    return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
        +        .internal_static_google_cloud_orchestration_airflow_service_v1_DatabaseConfig_descriptor;
           }
         
           @java.lang.Override
           protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
               internalGetFieldAccessorTable() {
        -    return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_DatabaseConfig_fieldAccessorTable
        +    return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
        +        .internal_static_google_cloud_orchestration_airflow_service_v1_DatabaseConfig_fieldAccessorTable
                 .ensureFieldAccessorsInitialized(
        -            com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig.class, com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig.Builder.class);
        +            com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig.class,
        +            com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig.Builder.class);
           }
         
           public static final int MACHINE_TYPE_FIELD_NUMBER = 1;
           private volatile java.lang.Object machineType_;
           /**
        +   *
        +   *
            * 
            * Optional. Cloud SQL machine type used by Airflow database.
            * It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8
        @@ -104,6 +126,7 @@ private DatabaseConfig(
            * 
        * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The machineType. */ @java.lang.Override @@ -112,14 +135,15 @@ public java.lang.String getMachineType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); machineType_ = s; return s; } } /** + * + * *
            * Optional. Cloud SQL machine type used by Airflow database.
            * It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8
        @@ -127,16 +151,15 @@ public java.lang.String getMachineType() {
            * 
        * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for machineType. */ @java.lang.Override - public com.google.protobuf.ByteString - getMachineTypeBytes() { + public com.google.protobuf.ByteString getMachineTypeBytes() { java.lang.Object ref = machineType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); machineType_ = b; return b; } else { @@ -145,6 +168,7 @@ public java.lang.String getMachineType() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -156,8 +180,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(machineType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, machineType_); } @@ -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.orchestration.airflow.service.v1.DatabaseConfig)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig other = (com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig) obj; + com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig other = + (com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig) obj; - if (!getMachineType() - .equals(other.getMachineType())) return false; + if (!getMachineType().equals(other.getMachineType())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -209,96 +232,104 @@ public int hashCode() { } public static com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig 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.orchestration.airflow.service.v1.DatabaseConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 configuration of Cloud SQL instance that is used by the Apache Airflow
            * software.
        @@ -306,21 +337,23 @@ protected Builder newBuilderForType(
            *
            * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.DatabaseConfig}
            */
        -  public static final class Builder extends
        -      com.google.protobuf.GeneratedMessageV3.Builder implements
        +  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
        +      implements
               // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1.DatabaseConfig)
               com.google.cloud.orchestration.airflow.service.v1.DatabaseConfigOrBuilder {
        -    public static final com.google.protobuf.Descriptors.Descriptor
        -        getDescriptor() {
        -      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_DatabaseConfig_descriptor;
        +    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        +      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
        +          .internal_static_google_cloud_orchestration_airflow_service_v1_DatabaseConfig_descriptor;
             }
         
             @java.lang.Override
             protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
                 internalGetFieldAccessorTable() {
        -      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_DatabaseConfig_fieldAccessorTable
        +      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
        +          .internal_static_google_cloud_orchestration_airflow_service_v1_DatabaseConfig_fieldAccessorTable
                   .ensureFieldAccessorsInitialized(
        -              com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig.class, com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig.Builder.class);
        +              com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig.class,
        +              com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig.Builder.class);
             }
         
             // Construct using com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig.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,13 +379,14 @@ public Builder clear() {
             }
         
             @java.lang.Override
        -    public com.google.protobuf.Descriptors.Descriptor
        -        getDescriptorForType() {
        -      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_DatabaseConfig_descriptor;
        +    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
        +      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
        +          .internal_static_google_cloud_orchestration_airflow_service_v1_DatabaseConfig_descriptor;
             }
         
             @java.lang.Override
        -    public com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig getDefaultInstanceForType() {
        +    public com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig
        +        getDefaultInstanceForType() {
               return com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig.getDefaultInstance();
             }
         
        @@ -368,7 +401,8 @@ public com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig build()
         
             @java.lang.Override
             public com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig buildPartial() {
        -      com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig result = new com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig(this);
        +      com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig result =
        +          new com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig(this);
               result.machineType_ = machineType_;
               onBuilt();
               return result;
        @@ -378,46 +412,50 @@ public com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig 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.orchestration.airflow.service.v1.DatabaseConfig) {
        -        return mergeFrom((com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig)other);
        +        return mergeFrom((com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig) other);
               } else {
                 super.mergeFrom(other);
                 return this;
               }
             }
         
        -    public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig other) {
        -      if (other == com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig.getDefaultInstance()) return this;
        +    public Builder mergeFrom(
        +        com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig other) {
        +      if (other
        +          == com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig.getDefaultInstance())
        +        return this;
               if (!other.getMachineType().isEmpty()) {
                 machineType_ = other.machineType_;
                 onChanged();
        @@ -441,7 +479,9 @@ public Builder mergeFrom(
               try {
                 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
               } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        -        parsedMessage = (com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig) e.getUnfinishedMessage();
        +        parsedMessage =
        +            (com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig)
        +                e.getUnfinishedMessage();
                 throw e.unwrapIOException();
               } finally {
                 if (parsedMessage != null) {
        @@ -453,6 +493,8 @@ public Builder mergeFrom(
         
             private java.lang.Object machineType_ = "";
             /**
        +     *
        +     *
              * 
              * Optional. Cloud SQL machine type used by Airflow database.
              * It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8
        @@ -460,13 +502,13 @@ public Builder mergeFrom(
              * 
        * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The machineType. */ public java.lang.String getMachineType() { java.lang.Object ref = machineType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); machineType_ = s; return s; @@ -475,6 +517,8 @@ public java.lang.String getMachineType() { } } /** + * + * *
              * Optional. Cloud SQL machine type used by Airflow database.
              * It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8
        @@ -482,15 +526,14 @@ public java.lang.String getMachineType() {
              * 
        * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for machineType. */ - public com.google.protobuf.ByteString - getMachineTypeBytes() { + public com.google.protobuf.ByteString getMachineTypeBytes() { java.lang.Object ref = machineType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); machineType_ = b; return b; } else { @@ -498,6 +541,8 @@ public java.lang.String getMachineType() { } } /** + * + * *
              * Optional. Cloud SQL machine type used by Airflow database.
              * It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8
        @@ -505,20 +550,22 @@ public java.lang.String getMachineType() {
              * 
        * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The machineType to set. * @return This builder for chaining. */ - public Builder setMachineType( - java.lang.String value) { + public Builder setMachineType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + machineType_ = value; onChanged(); return this; } /** + * + * *
              * Optional. Cloud SQL machine type used by Airflow database.
              * It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8
        @@ -526,15 +573,18 @@ public Builder setMachineType(
              * 
        * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearMachineType() { - + machineType_ = getDefaultInstance().getMachineType(); onChanged(); return this; } /** + * + * *
              * Optional. Cloud SQL machine type used by Airflow database.
              * It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8
        @@ -542,23 +592,23 @@ public Builder clearMachineType() {
              * 
        * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for machineType to set. * @return This builder for chaining. */ - public Builder setMachineTypeBytes( - com.google.protobuf.ByteString value) { + public Builder setMachineTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + machineType_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -568,30 +618,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1.DatabaseConfig) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1.DatabaseConfig) - private static final com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig DEFAULT_INSTANCE; + private static final com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig(); } - public static com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DatabaseConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DatabaseConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DatabaseConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DatabaseConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -603,9 +655,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/DatabaseConfigOrBuilder.java b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/DatabaseConfigOrBuilder.java similarity index 61% rename from owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/DatabaseConfigOrBuilder.java rename to proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/DatabaseConfigOrBuilder.java index 3d336860..25483cb0 100644 --- a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/DatabaseConfigOrBuilder.java +++ b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/DatabaseConfigOrBuilder.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/orchestration/airflow/service/v1/environments.proto package com.google.cloud.orchestration.airflow.service.v1; -public interface DatabaseConfigOrBuilder extends +public interface DatabaseConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1.DatabaseConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
            * Optional. Cloud SQL machine type used by Airflow database.
            * It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8
        @@ -15,10 +33,13 @@ public interface DatabaseConfigOrBuilder extends
            * 
        * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The machineType. */ java.lang.String getMachineType(); /** + * + * *
            * Optional. Cloud SQL machine type used by Airflow database.
            * It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8
        @@ -26,8 +47,8 @@ public interface DatabaseConfigOrBuilder extends
            * 
        * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for machineType. */ - com.google.protobuf.ByteString - getMachineTypeBytes(); + com.google.protobuf.ByteString getMachineTypeBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/DeleteEnvironmentRequest.java b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/DeleteEnvironmentRequest.java similarity index 58% rename from owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/DeleteEnvironmentRequest.java rename to proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/DeleteEnvironmentRequest.java index e62324a2..f547ddda 100644 --- a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/DeleteEnvironmentRequest.java +++ b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/DeleteEnvironmentRequest.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/orchestration/airflow/service/v1/environments.proto package com.google.cloud.orchestration.airflow.service.v1; /** + * + * *
          * Delete an environment.
          * 
        * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest} */ -public final class DeleteEnvironmentRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteEnvironmentRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest) DeleteEnvironmentRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteEnvironmentRequest.newBuilder() to construct. private DeleteEnvironmentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteEnvironmentRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteEnvironmentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteEnvironmentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private DeleteEnvironmentRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,41 @@ private DeleteEnvironmentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_DeleteEnvironmentRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_DeleteEnvironmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_DeleteEnvironmentRequest_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_DeleteEnvironmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest.class, com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest.Builder.class); + com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest.class, + com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest.Builder + .class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
            * The environment to delete, in the form:
            * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
            * 
        * * string name = 1; + * * @return The name. */ @java.lang.Override @@ -110,30 +134,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 environment to delete, in the form:
            * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
            * 
        * * 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 { @@ -142,6 +166,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +202,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.orchestration.airflow.service.v1.DeleteEnvironmentRequest)) { + if (!(obj + instanceof com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest other = (com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest) obj; + com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest other = + (com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -205,135 +230,152 @@ public int hashCode() { return hash; } - public static com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest 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.orchestration.airflow.service.v1.DeleteEnvironmentRequest + 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.orchestration.airflow.service.v1.DeleteEnvironmentRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
            * Delete an environment.
            * 
        * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest) com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_DeleteEnvironmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_DeleteEnvironmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_DeleteEnvironmentRequest_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_DeleteEnvironmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest.class, com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest.Builder.class); + com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest.class, + com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest.Builder + .class); } - // Construct using com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest.newBuilder() + // Construct using + // com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,19 +385,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_DeleteEnvironmentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_DeleteEnvironmentRequest_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest.getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest + getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest build() { - com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest result = buildPartial(); + com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -363,8 +408,10 @@ public com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentReques } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest buildPartial() { - com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest result = new com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest(this); + public com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest + buildPartial() { + com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest result = + new com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,46 +421,52 @@ public com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentReques public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest) { - return mergeFrom((com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest)other); + if (other + instanceof com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest) { + return mergeFrom( + (com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest other) { - if (other == com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest other) { + if (other + == com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -433,11 +486,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest parsedMessage = null; + com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +505,21 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
              * The environment to delete, in the form:
              * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
              * 
        * * 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; @@ -470,21 +528,22 @@ public java.lang.String getName() { } } /** + * + * *
              * The environment to delete, in the form:
              * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
              * 
        * * 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 { @@ -492,64 +551,71 @@ public java.lang.String getName() { } } /** + * + * *
              * The environment to delete, in the form:
              * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
              * 
        * * 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 environment to delete, in the form:
              * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
              * 
        * * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
              * The environment to delete, in the form:
              * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
              * 
        * * 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); } @@ -559,30 +625,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest) - private static final com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest DEFAULT_INSTANCE; + private static final com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest(); } - public static com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteEnvironmentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteEnvironmentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteEnvironmentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteEnvironmentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -594,9 +663,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/DeleteEnvironmentRequestOrBuilder.java b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/DeleteEnvironmentRequestOrBuilder.java similarity index 53% rename from owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/DeleteEnvironmentRequestOrBuilder.java rename to proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/DeleteEnvironmentRequestOrBuilder.java index ef619226..2b488cd7 100644 --- a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/DeleteEnvironmentRequestOrBuilder.java +++ b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/DeleteEnvironmentRequestOrBuilder.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/orchestration/airflow/service/v1/environments.proto package com.google.cloud.orchestration.airflow.service.v1; -public interface DeleteEnvironmentRequestOrBuilder extends +public interface DeleteEnvironmentRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
            * The environment to delete, in the form:
            * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
            * 
        * * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
            * The environment to delete, in the form:
            * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
            * 
        * * 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-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EncryptionConfig.java b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EncryptionConfig.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EncryptionConfig.java rename to proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EncryptionConfig.java index 5bdbce26..95b955e9 100644 --- a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EncryptionConfig.java +++ b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EncryptionConfig.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/orchestration/airflow/service/v1/environments.proto package com.google.cloud.orchestration.airflow.service.v1; /** + * + * *
          * The encryption options for the Cloud Composer environment
          * and its dependencies.
        @@ -11,31 +28,31 @@
          *
          * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.EncryptionConfig}
          */
        -public final class EncryptionConfig extends
        -    com.google.protobuf.GeneratedMessageV3 implements
        +public final class EncryptionConfig extends com.google.protobuf.GeneratedMessageV3
        +    implements
             // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1.EncryptionConfig)
             EncryptionConfigOrBuilder {
        -private static final long serialVersionUID = 0L;
        +  private static final long serialVersionUID = 0L;
           // Use EncryptionConfig.newBuilder() to construct.
           private EncryptionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
             super(builder);
           }
        +
           private EncryptionConfig() {
             kmsKeyName_ = "";
           }
         
           @java.lang.Override
           @SuppressWarnings({"unused"})
        -  protected java.lang.Object newInstance(
        -      UnusedPrivateParameter unused) {
        +  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
             return new EncryptionConfig();
           }
         
           @java.lang.Override
        -  public final com.google.protobuf.UnknownFieldSet
        -  getUnknownFields() {
        +  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
             return this.unknownFields;
           }
        +
           private EncryptionConfig(
               com.google.protobuf.CodedInputStream input,
               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        @@ -54,19 +71,20 @@ private EncryptionConfig(
                   case 0:
                     done = true;
                     break;
        -          case 10: {
        -            java.lang.String s = input.readStringRequireUtf8();
        +          case 10:
        +            {
        +              java.lang.String s = input.readStringRequireUtf8();
         
        -            kmsKeyName_ = s;
        -            break;
        -          }
        -          default: {
        -            if (!parseUnknownField(
        -                input, unknownFields, extensionRegistry, tag)) {
        -              done = true;
        +              kmsKeyName_ = s;
        +              break;
        +            }
        +          default:
        +            {
        +              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
        +                done = true;
        +              }
        +              break;
                     }
        -            break;
        -          }
                 }
               }
             } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        @@ -74,29 +92,33 @@ private EncryptionConfig(
             } catch (com.google.protobuf.UninitializedMessageException e) {
               throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
             } catch (java.io.IOException e) {
        -      throw new com.google.protobuf.InvalidProtocolBufferException(
        -          e).setUnfinishedMessage(this);
        +      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
             } finally {
               this.unknownFields = unknownFields.build();
               makeExtensionsImmutable();
             }
           }
        -  public static final com.google.protobuf.Descriptors.Descriptor
        -      getDescriptor() {
        -    return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_EncryptionConfig_descriptor;
        +
        +  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        +    return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
        +        .internal_static_google_cloud_orchestration_airflow_service_v1_EncryptionConfig_descriptor;
           }
         
           @java.lang.Override
           protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
               internalGetFieldAccessorTable() {
        -    return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_EncryptionConfig_fieldAccessorTable
        +    return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
        +        .internal_static_google_cloud_orchestration_airflow_service_v1_EncryptionConfig_fieldAccessorTable
                 .ensureFieldAccessorsInitialized(
        -            com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig.class, com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig.Builder.class);
        +            com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig.class,
        +            com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig.Builder.class);
           }
         
           public static final int KMS_KEY_NAME_FIELD_NUMBER = 1;
           private volatile java.lang.Object kmsKeyName_;
           /**
        +   *
        +   *
            * 
            * Optional. Customer-managed Encryption Key available through Google's Key Management
            * Service. Cannot be updated.
        @@ -104,6 +126,7 @@ private EncryptionConfig(
            * 
        * * string kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The kmsKeyName. */ @java.lang.Override @@ -112,14 +135,15 @@ public java.lang.String getKmsKeyName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyName_ = s; return s; } } /** + * + * *
            * Optional. Customer-managed Encryption Key available through Google's Key Management
            * Service. Cannot be updated.
        @@ -127,16 +151,15 @@ public java.lang.String getKmsKeyName() {
            * 
        * * string kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for kmsKeyName. */ @java.lang.Override - public com.google.protobuf.ByteString - getKmsKeyNameBytes() { + public com.google.protobuf.ByteString getKmsKeyNameBytes() { java.lang.Object ref = kmsKeyName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kmsKeyName_ = b; return b; } else { @@ -145,6 +168,7 @@ public java.lang.String getKmsKeyName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -156,8 +180,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, kmsKeyName_); } @@ -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.orchestration.airflow.service.v1.EncryptionConfig)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig other = (com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig) obj; + com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig other = + (com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig) obj; - if (!getKmsKeyName() - .equals(other.getKmsKeyName())) return false; + if (!getKmsKeyName().equals(other.getKmsKeyName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -209,96 +232,105 @@ public int hashCode() { } public static com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig 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.orchestration.airflow.service.v1.EncryptionConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig 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.orchestration.airflow.service.v1.EncryptionConfig + 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.orchestration.airflow.service.v1.EncryptionConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 encryption options for the Cloud Composer environment
            * and its dependencies.
        @@ -306,38 +338,40 @@ protected Builder newBuilderForType(
            *
            * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.EncryptionConfig}
            */
        -  public static final class Builder extends
        -      com.google.protobuf.GeneratedMessageV3.Builder implements
        +  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
        +      implements
               // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1.EncryptionConfig)
               com.google.cloud.orchestration.airflow.service.v1.EncryptionConfigOrBuilder {
        -    public static final com.google.protobuf.Descriptors.Descriptor
        -        getDescriptor() {
        -      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_EncryptionConfig_descriptor;
        +    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        +      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
        +          .internal_static_google_cloud_orchestration_airflow_service_v1_EncryptionConfig_descriptor;
             }
         
             @java.lang.Override
             protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
                 internalGetFieldAccessorTable() {
        -      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_EncryptionConfig_fieldAccessorTable
        +      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
        +          .internal_static_google_cloud_orchestration_airflow_service_v1_EncryptionConfig_fieldAccessorTable
                   .ensureFieldAccessorsInitialized(
        -              com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig.class, com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig.Builder.class);
        +              com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig.class,
        +              com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig.Builder.class);
             }
         
        -    // Construct using com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig.newBuilder()
        +    // Construct using
        +    // com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig.newBuilder()
             private Builder() {
               maybeForceBuilderInitialization();
             }
         
        -    private Builder(
        -        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        +    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
               super(parent);
               maybeForceBuilderInitialization();
             }
        +
             private void maybeForceBuilderInitialization() {
        -      if (com.google.protobuf.GeneratedMessageV3
        -              .alwaysUseFieldBuilders) {
        -      }
        +      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
             }
        +
             @java.lang.Override
             public Builder clear() {
               super.clear();
        @@ -347,14 +381,16 @@ public Builder clear() {
             }
         
             @java.lang.Override
        -    public com.google.protobuf.Descriptors.Descriptor
        -        getDescriptorForType() {
        -      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_EncryptionConfig_descriptor;
        +    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
        +      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
        +          .internal_static_google_cloud_orchestration_airflow_service_v1_EncryptionConfig_descriptor;
             }
         
             @java.lang.Override
        -    public com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig getDefaultInstanceForType() {
        -      return com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig.getDefaultInstance();
        +    public com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig
        +        getDefaultInstanceForType() {
        +      return com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig
        +          .getDefaultInstance();
             }
         
             @java.lang.Override
        @@ -368,7 +404,8 @@ public com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig build(
         
             @java.lang.Override
             public com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig buildPartial() {
        -      com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig result = new com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig(this);
        +      com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig result =
        +          new com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig(this);
               result.kmsKeyName_ = kmsKeyName_;
               onBuilt();
               return result;
        @@ -378,46 +415,51 @@ public com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig buildP
             public Builder clone() {
               return super.clone();
             }
        +
             @java.lang.Override
             public Builder setField(
        -        com.google.protobuf.Descriptors.FieldDescriptor field,
        -        java.lang.Object value) {
        +        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
               return super.setField(field, value);
             }
        +
             @java.lang.Override
        -    public Builder clearField(
        -        com.google.protobuf.Descriptors.FieldDescriptor field) {
        +    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
               return super.clearField(field);
             }
        +
             @java.lang.Override
        -    public Builder clearOneof(
        -        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        +    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
               return super.clearOneof(oneof);
             }
        +
             @java.lang.Override
             public Builder setRepeatedField(
        -        com.google.protobuf.Descriptors.FieldDescriptor field,
        -        int index, java.lang.Object value) {
        +        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
               return super.setRepeatedField(field, index, value);
             }
        +
             @java.lang.Override
             public Builder addRepeatedField(
        -        com.google.protobuf.Descriptors.FieldDescriptor field,
        -        java.lang.Object value) {
        +        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
               return super.addRepeatedField(field, value);
             }
        +
             @java.lang.Override
             public Builder mergeFrom(com.google.protobuf.Message other) {
               if (other instanceof com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig) {
        -        return mergeFrom((com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig)other);
        +        return mergeFrom(
        +            (com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig) other);
               } else {
                 super.mergeFrom(other);
                 return this;
               }
             }
         
        -    public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig other) {
        -      if (other == com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig.getDefaultInstance()) return this;
        +    public Builder mergeFrom(
        +        com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig other) {
        +      if (other
        +          == com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig
        +              .getDefaultInstance()) return this;
               if (!other.getKmsKeyName().isEmpty()) {
                 kmsKeyName_ = other.kmsKeyName_;
                 onChanged();
        @@ -441,7 +483,9 @@ public Builder mergeFrom(
               try {
                 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
               } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        -        parsedMessage = (com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig) e.getUnfinishedMessage();
        +        parsedMessage =
        +            (com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig)
        +                e.getUnfinishedMessage();
                 throw e.unwrapIOException();
               } finally {
                 if (parsedMessage != null) {
        @@ -453,6 +497,8 @@ public Builder mergeFrom(
         
             private java.lang.Object kmsKeyName_ = "";
             /**
        +     *
        +     *
              * 
              * Optional. Customer-managed Encryption Key available through Google's Key Management
              * Service. Cannot be updated.
        @@ -460,13 +506,13 @@ public Builder mergeFrom(
              * 
        * * string kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The kmsKeyName. */ public java.lang.String getKmsKeyName() { java.lang.Object ref = kmsKeyName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyName_ = s; return s; @@ -475,6 +521,8 @@ public java.lang.String getKmsKeyName() { } } /** + * + * *
              * Optional. Customer-managed Encryption Key available through Google's Key Management
              * Service. Cannot be updated.
        @@ -482,15 +530,14 @@ public java.lang.String getKmsKeyName() {
              * 
        * * string kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for kmsKeyName. */ - public com.google.protobuf.ByteString - getKmsKeyNameBytes() { + public com.google.protobuf.ByteString getKmsKeyNameBytes() { java.lang.Object ref = kmsKeyName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kmsKeyName_ = b; return b; } else { @@ -498,6 +545,8 @@ public java.lang.String getKmsKeyName() { } } /** + * + * *
              * Optional. Customer-managed Encryption Key available through Google's Key Management
              * Service. Cannot be updated.
        @@ -505,20 +554,22 @@ public java.lang.String getKmsKeyName() {
              * 
        * * string kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The kmsKeyName to set. * @return This builder for chaining. */ - public Builder setKmsKeyName( - java.lang.String value) { + public Builder setKmsKeyName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kmsKeyName_ = value; onChanged(); return this; } /** + * + * *
              * Optional. Customer-managed Encryption Key available through Google's Key Management
              * Service. Cannot be updated.
        @@ -526,15 +577,18 @@ public Builder setKmsKeyName(
              * 
        * * string kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearKmsKeyName() { - + kmsKeyName_ = getDefaultInstance().getKmsKeyName(); onChanged(); return this; } /** + * + * *
              * Optional. Customer-managed Encryption Key available through Google's Key Management
              * Service. Cannot be updated.
        @@ -542,23 +596,23 @@ public Builder clearKmsKeyName() {
              * 
        * * string kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for kmsKeyName to set. * @return This builder for chaining. */ - public Builder setKmsKeyNameBytes( - com.google.protobuf.ByteString value) { + public Builder setKmsKeyNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kmsKeyName_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -568,30 +622,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1.EncryptionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1.EncryptionConfig) - private static final com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig DEFAULT_INSTANCE; + private static final com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig(); } - public static com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EncryptionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new EncryptionConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EncryptionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new EncryptionConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -603,9 +659,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EncryptionConfigOrBuilder.java b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EncryptionConfigOrBuilder.java similarity index 59% rename from owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EncryptionConfigOrBuilder.java rename to proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EncryptionConfigOrBuilder.java index 0b6de6a8..4e4a6a73 100644 --- a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EncryptionConfigOrBuilder.java +++ b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EncryptionConfigOrBuilder.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/orchestration/airflow/service/v1/environments.proto package com.google.cloud.orchestration.airflow.service.v1; -public interface EncryptionConfigOrBuilder extends +public interface EncryptionConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1.EncryptionConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
            * Optional. Customer-managed Encryption Key available through Google's Key Management
            * Service. Cannot be updated.
        @@ -15,10 +33,13 @@ public interface EncryptionConfigOrBuilder extends
            * 
        * * string kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The kmsKeyName. */ java.lang.String getKmsKeyName(); /** + * + * *
            * Optional. Customer-managed Encryption Key available through Google's Key Management
            * Service. Cannot be updated.
        @@ -26,8 +47,8 @@ public interface EncryptionConfigOrBuilder extends
            * 
        * * string kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for kmsKeyName. */ - com.google.protobuf.ByteString - getKmsKeyNameBytes(); + com.google.protobuf.ByteString getKmsKeyNameBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/Environment.java b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/Environment.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/Environment.java rename to proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/Environment.java index a6d2163e..2c943a78 100644 --- a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/Environment.java +++ b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/Environment.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/orchestration/airflow/service/v1/environments.proto package com.google.cloud.orchestration.airflow.service.v1; /** + * + * *
          * An environment for running orchestration tasks.
          * 
        * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.Environment} */ -public final class Environment extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Environment extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1.Environment) EnvironmentOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Environment.newBuilder() to construct. private Environment(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Environment() { name_ = ""; uuid_ = ""; @@ -27,16 +45,15 @@ private Environment() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Environment(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Environment( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,83 +73,95 @@ private Environment( 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.orchestration.airflow.service.v1.EnvironmentConfig.Builder subBuilder = null; - if (config_ != null) { - subBuilder = config_.toBuilder(); + name_ = s; + break; } - config_ = input.readMessage(com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(config_); - config_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.Builder + subBuilder = null; + if (config_ != null) { + subBuilder = config_.toBuilder(); + } + config_ = + input.readMessage( + com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(config_); + config_ = subBuilder.buildPartial(); + } + + break; } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - uuid_ = s; - break; - } - case 32: { - int rawValue = input.readEnum(); - - state_ = rawValue; - break; - } - case 42: { - 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(); + uuid_ = s; + break; } + case 32: + { + int rawValue = input.readEnum(); - break; - } - case 50: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); + state_ = rawValue; + break; } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + case 42: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 58: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; + case 50: + { + 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; } - com.google.protobuf.MapEntry - labels__ = input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - labels_.getMutableMap().put( - labels__.getKey(), labels__.getValue()); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 58: + { + 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; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -140,48 +169,52 @@ private Environment( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_Environment_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_Environment_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 7: return internalGetLabels(); 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.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_Environment_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_Environment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1.Environment.class, com.google.cloud.orchestration.airflow.service.v1.Environment.Builder.class); + com.google.cloud.orchestration.airflow.service.v1.Environment.class, + com.google.cloud.orchestration.airflow.service.v1.Environment.Builder.class); } /** + * + * *
            * State of the environment.
            * 
        * * Protobuf enum {@code google.cloud.orchestration.airflow.service.v1.Environment.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
              * The state of the environment is unknown.
              * 
        @@ -190,6 +223,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
              * The environment is in the process of being created.
              * 
        @@ -198,6 +233,8 @@ public enum State */ CREATING(1), /** + * + * *
              * The environment is currently running and healthy. It is ready for use.
              * 
        @@ -206,6 +243,8 @@ public enum State */ RUNNING(2), /** + * + * *
              * The environment is being updated. It remains usable but cannot receive
              * additional update requests or be deleted at this time.
        @@ -215,6 +254,8 @@ public enum State
              */
             UPDATING(3),
             /**
        +     *
        +     *
              * 
              * The environment is undergoing deletion. It cannot be used.
              * 
        @@ -223,6 +264,8 @@ public enum State */ DELETING(4), /** + * + * *
              * The environment has encountered an error and cannot be used.
              * 
        @@ -234,6 +277,8 @@ public enum State ; /** + * + * *
              * The state of the environment is unknown.
              * 
        @@ -242,6 +287,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
              * The environment is in the process of being created.
              * 
        @@ -250,6 +297,8 @@ public enum State */ public static final int CREATING_VALUE = 1; /** + * + * *
              * The environment is currently running and healthy. It is ready for use.
              * 
        @@ -258,6 +307,8 @@ public enum State */ public static final int RUNNING_VALUE = 2; /** + * + * *
              * The environment is being updated. It remains usable but cannot receive
              * additional update requests or be deleted at this time.
        @@ -267,6 +318,8 @@ public enum State
              */
             public static final int UPDATING_VALUE = 3;
             /**
        +     *
        +     *
              * 
              * The environment is undergoing deletion. It cannot be used.
              * 
        @@ -275,6 +328,8 @@ public enum State */ public static final int DELETING_VALUE = 4; /** + * + * *
              * The environment has encountered an error and cannot be used.
              * 
        @@ -283,7 +338,6 @@ public enum State */ public static final int ERROR_VALUE = 5; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -308,52 +362,57 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: return STATE_UNSPECIFIED; - case 1: return CREATING; - case 2: return RUNNING; - case 3: return UPDATING; - case 4: return DELETING; - case 5: return ERROR; - default: return null; + case 0: + return STATE_UNSPECIFIED; + case 1: + return CREATING; + case 2: + return RUNNING; + case 3: + return UPDATING; + case 4: + return DELETING; + case 5: + return ERROR; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - State> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public State findValueByNumber(int number) { - return State.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.Environment.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.Environment.getDescriptor() + .getEnumTypes() + .get(0); } private static final State[] VALUES = values(); - public static State valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -373,6 +432,8 @@ private State(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
            * The resource name of the environment, in the form:
            * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
        @@ -381,6 +442,7 @@ private State(int value) {
            * 
        * * string name = 1; + * * @return The name. */ @java.lang.Override @@ -389,14 +451,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; } } /** + * + * *
            * The resource name of the environment, in the form:
            * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
        @@ -405,16 +468,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 { @@ -425,11 +487,14 @@ public java.lang.String getName() { public static final int CONFIG_FIELD_NUMBER = 2; private com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig config_; /** + * + * *
            * Configuration parameters for this environment.
            * 
        * * .google.cloud.orchestration.airflow.service.v1.EnvironmentConfig config = 2; + * * @return Whether the config field is set. */ @java.lang.Override @@ -437,18 +502,25 @@ public boolean hasConfig() { return config_ != null; } /** + * + * *
            * Configuration parameters for this environment.
            * 
        * * .google.cloud.orchestration.airflow.service.v1.EnvironmentConfig config = 2; + * * @return The config. */ @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig getConfig() { - return config_ == null ? com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.getDefaultInstance() : config_; + return config_ == null + ? com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.getDefaultInstance() + : config_; } /** + * + * *
            * Configuration parameters for this environment.
            * 
        @@ -456,19 +528,23 @@ public com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig getCo * .google.cloud.orchestration.airflow.service.v1.EnvironmentConfig config = 2; */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfigOrBuilder getConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfigOrBuilder + getConfigOrBuilder() { return getConfig(); } public static final int UUID_FIELD_NUMBER = 3; private volatile java.lang.Object uuid_; /** + * + * *
            * Output only. The UUID (Universally Unique IDentifier) associated with this environment.
            * This value is generated when the environment is created.
            * 
        * * string uuid = 3; + * * @return The uuid. */ @java.lang.Override @@ -477,30 +553,30 @@ public java.lang.String getUuid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uuid_ = s; return s; } } /** + * + * *
            * Output only. The UUID (Universally Unique IDentifier) associated with this environment.
            * This value is generated when the environment is created.
            * 
        * * string uuid = 3; + * * @return The bytes for uuid. */ @java.lang.Override - public com.google.protobuf.ByteString - getUuidBytes() { + public com.google.protobuf.ByteString getUuidBytes() { java.lang.Object ref = uuid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uuid_ = b; return b; } else { @@ -511,38 +587,52 @@ public java.lang.String getUuid() { public static final int STATE_FIELD_NUMBER = 4; private int state_; /** + * + * *
            * The current state of the environment.
            * 
        * * .google.cloud.orchestration.airflow.service.v1.Environment.State state = 4; + * * @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 current state of the environment.
            * 
        * * .google.cloud.orchestration.airflow.service.v1.Environment.State state = 4; + * * @return The state. */ - @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1.Environment.State getState() { + @java.lang.Override + public com.google.cloud.orchestration.airflow.service.v1.Environment.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.orchestration.airflow.service.v1.Environment.State result = com.google.cloud.orchestration.airflow.service.v1.Environment.State.valueOf(state_); - return result == null ? com.google.cloud.orchestration.airflow.service.v1.Environment.State.UNRECOGNIZED : result; + com.google.cloud.orchestration.airflow.service.v1.Environment.State result = + com.google.cloud.orchestration.airflow.service.v1.Environment.State.valueOf(state_); + return result == null + ? com.google.cloud.orchestration.airflow.service.v1.Environment.State.UNRECOGNIZED + : result; } public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** + * + * *
            * Output only. The time at which this environment was created.
            * 
        * * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -550,11 +640,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
            * Output only. The time at which this environment was created.
            * 
        * * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ @java.lang.Override @@ -562,6 +655,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
            * Output only. The time at which this environment was created.
            * 
        @@ -576,11 +671,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
            * Output only. The time at which this environment was last modified.
            * 
        * * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -588,11 +686,14 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
            * Output only. The time at which this environment was last modified.
            * 
        * * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ @java.lang.Override @@ -600,6 +701,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
            * Output only. The time at which this environment was last modified.
            * 
        @@ -612,24 +715,23 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int LABELS_FIELD_NUMBER = 7; + 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.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_Environment_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.orchestration.airflow.service.v1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_Environment_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_; } @@ -638,6 +740,8 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
            * Optional. User-defined labels for this environment.
            * The labels map can contain no more than 64 entries. Entries of the labels
        @@ -650,22 +754,22 @@ public int getLabelsCount() {
            *
            * map<string, string> labels = 7;
            */
        -
           @java.lang.Override
        -  public boolean containsLabels(
        -      java.lang.String key) {
        -    if (key == null) { throw new NullPointerException("map key"); }
        +  public boolean containsLabels(java.lang.String key) {
        +    if (key == null) {
        +      throw new NullPointerException("map key");
        +    }
             return internalGetLabels().getMap().containsKey(key);
           }
        -  /**
        -   * Use {@link #getLabelsMap()} instead.
        -   */
        +  /** Use {@link #getLabelsMap()} instead. */
           @java.lang.Override
           @java.lang.Deprecated
           public java.util.Map getLabels() {
             return getLabelsMap();
           }
           /**
        +   *
        +   *
            * 
            * Optional. User-defined labels for this environment.
            * The labels map can contain no more than 64 entries. Entries of the labels
        @@ -679,11 +783,12 @@ public java.util.Map getLabels() {
            * map<string, string> labels = 7;
            */
           @java.lang.Override
        -
           public java.util.Map getLabelsMap() {
             return internalGetLabels().getMap();
           }
           /**
        +   *
        +   *
            * 
            * Optional. User-defined labels for this environment.
            * The labels map can contain no more than 64 entries. Entries of the labels
        @@ -697,16 +802,16 @@ public java.util.Map getLabelsMap() {
            * map<string, string> labels = 7;
            */
           @java.lang.Override
        -
        -  public java.lang.String getLabelsOrDefault(
        -      java.lang.String key,
        -      java.lang.String defaultValue) {
        -    if (key == null) { throw new NullPointerException("map key"); }
        -    java.util.Map map =
        -        internalGetLabels().getMap();
        +  public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
        +    if (key == null) {
        +      throw new NullPointerException("map key");
        +    }
        +    java.util.Map map = internalGetLabels().getMap();
             return map.containsKey(key) ? map.get(key) : defaultValue;
           }
           /**
        +   *
        +   *
            * 
            * Optional. User-defined labels for this environment.
            * The labels map can contain no more than 64 entries. Entries of the labels
        @@ -720,12 +825,11 @@ public java.lang.String getLabelsOrDefault(
            * map<string, string> labels = 7;
            */
           @java.lang.Override
        -
        -  public java.lang.String getLabelsOrThrow(
        -      java.lang.String key) {
        -    if (key == null) { throw new NullPointerException("map key"); }
        -    java.util.Map map =
        -        internalGetLabels().getMap();
        +  public java.lang.String getLabelsOrThrow(java.lang.String key) {
        +    if (key == null) {
        +      throw new NullPointerException("map key");
        +    }
        +    java.util.Map map = internalGetLabels().getMap();
             if (!map.containsKey(key)) {
               throw new java.lang.IllegalArgumentException();
             }
        @@ -733,6 +837,7 @@ public java.lang.String getLabelsOrThrow(
           }
         
           private byte memoizedIsInitialized = -1;
        +
           @java.lang.Override
           public final boolean isInitialized() {
             byte isInitialized = memoizedIsInitialized;
        @@ -744,8 +849,7 @@ public final boolean isInitialized() {
           }
         
           @java.lang.Override
        -  public void writeTo(com.google.protobuf.CodedOutputStream output)
        -                      throws java.io.IOException {
        +  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
             if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
               com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
             }
        @@ -755,7 +859,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
             if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uuid_)) {
               com.google.protobuf.GeneratedMessageV3.writeString(output, 3, uuid_);
             }
        -    if (state_ != com.google.cloud.orchestration.airflow.service.v1.Environment.State.STATE_UNSPECIFIED.getNumber()) {
        +    if (state_
        +        != com.google.cloud.orchestration.airflow.service.v1.Environment.State.STATE_UNSPECIFIED
        +            .getNumber()) {
               output.writeEnum(4, state_);
             }
             if (createTime_ != null) {
        @@ -764,12 +870,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
             if (updateTime_ != null) {
               output.writeMessage(6, getUpdateTime());
             }
        -    com.google.protobuf.GeneratedMessageV3
        -      .serializeStringMapTo(
        -        output,
        -        internalGetLabels(),
        -        LabelsDefaultEntryHolder.defaultEntry,
        -        7);
        +    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
        +        output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 7);
             unknownFields.writeTo(output);
           }
         
        @@ -783,33 +885,31 @@ public int getSerializedSize() {
               size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
             }
             if (config_ != null) {
        -      size += com.google.protobuf.CodedOutputStream
        -        .computeMessageSize(2, getConfig());
        +      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getConfig());
             }
             if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uuid_)) {
               size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, uuid_);
             }
        -    if (state_ != com.google.cloud.orchestration.airflow.service.v1.Environment.State.STATE_UNSPECIFIED.getNumber()) {
        -      size += com.google.protobuf.CodedOutputStream
        -        .computeEnumSize(4, state_);
        +    if (state_
        +        != com.google.cloud.orchestration.airflow.service.v1.Environment.State.STATE_UNSPECIFIED
        +            .getNumber()) {
        +      size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, state_);
             }
             if (createTime_ != null) {
        -      size += com.google.protobuf.CodedOutputStream
        -        .computeMessageSize(5, getCreateTime());
        +      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime());
             }
             if (updateTime_ != null) {
        -      size += com.google.protobuf.CodedOutputStream
        -        .computeMessageSize(6, getUpdateTime());
        -    }
        -    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(7, labels__);
        +      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime());
        +    }
        +    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(7, labels__);
             }
             size += unknownFields.getSerializedSize();
             memoizedSize = size;
        @@ -819,35 +919,30 @@ public int getSerializedSize() {
           @java.lang.Override
           public boolean equals(final java.lang.Object obj) {
             if (obj == this) {
        -     return true;
        +      return true;
             }
             if (!(obj instanceof com.google.cloud.orchestration.airflow.service.v1.Environment)) {
               return super.equals(obj);
             }
        -    com.google.cloud.orchestration.airflow.service.v1.Environment other = (com.google.cloud.orchestration.airflow.service.v1.Environment) obj;
        +    com.google.cloud.orchestration.airflow.service.v1.Environment other =
        +        (com.google.cloud.orchestration.airflow.service.v1.Environment) obj;
         
        -    if (!getName()
        -        .equals(other.getName())) return false;
        +    if (!getName().equals(other.getName())) return false;
             if (hasConfig() != other.hasConfig()) return false;
             if (hasConfig()) {
        -      if (!getConfig()
        -          .equals(other.getConfig())) return false;
        +      if (!getConfig().equals(other.getConfig())) return false;
             }
        -    if (!getUuid()
        -        .equals(other.getUuid())) return false;
        +    if (!getUuid().equals(other.getUuid())) return false;
             if (state_ != other.state_) return false;
             if (hasCreateTime() != other.hasCreateTime()) return false;
             if (hasCreateTime()) {
        -      if (!getCreateTime()
        -          .equals(other.getCreateTime())) return false;
        +      if (!getCreateTime().equals(other.getCreateTime())) return false;
             }
             if (hasUpdateTime() != other.hasUpdateTime()) return false;
             if (hasUpdateTime()) {
        -      if (!getUpdateTime()
        -          .equals(other.getUpdateTime())) return false;
        +      if (!getUpdateTime().equals(other.getUpdateTime())) return false;
             }
        -    if (!internalGetLabels().equals(
        -        other.internalGetLabels())) return false;
        +    if (!internalGetLabels().equals(other.internalGetLabels())) return false;
             if (!unknownFields.equals(other.unknownFields)) return false;
             return true;
           }
        @@ -887,139 +982,147 @@ public int hashCode() {
           }
         
           public static com.google.cloud.orchestration.airflow.service.v1.Environment 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.orchestration.airflow.service.v1.Environment parseFrom(
        -      java.nio.ByteBuffer data,
        -      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        +      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
               throws com.google.protobuf.InvalidProtocolBufferException {
             return PARSER.parseFrom(data, extensionRegistry);
           }
        +
           public static com.google.cloud.orchestration.airflow.service.v1.Environment parseFrom(
               com.google.protobuf.ByteString data)
               throws com.google.protobuf.InvalidProtocolBufferException {
             return PARSER.parseFrom(data);
           }
        +
           public static com.google.cloud.orchestration.airflow.service.v1.Environment parseFrom(
               com.google.protobuf.ByteString data,
               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
               throws com.google.protobuf.InvalidProtocolBufferException {
             return PARSER.parseFrom(data, extensionRegistry);
           }
        +
           public static com.google.cloud.orchestration.airflow.service.v1.Environment parseFrom(byte[] data)
               throws com.google.protobuf.InvalidProtocolBufferException {
             return PARSER.parseFrom(data);
           }
        +
           public static com.google.cloud.orchestration.airflow.service.v1.Environment parseFrom(
        -      byte[] data,
        -      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        +      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
               throws com.google.protobuf.InvalidProtocolBufferException {
             return PARSER.parseFrom(data, extensionRegistry);
           }
        -  public static com.google.cloud.orchestration.airflow.service.v1.Environment parseFrom(java.io.InputStream input)
        -      throws java.io.IOException {
        -    return com.google.protobuf.GeneratedMessageV3
        -        .parseWithIOException(PARSER, input);
        +
        +  public static com.google.cloud.orchestration.airflow.service.v1.Environment parseFrom(
        +      java.io.InputStream input) throws java.io.IOException {
        +    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
           }
        +
           public static com.google.cloud.orchestration.airflow.service.v1.Environment parseFrom(
        -      java.io.InputStream input,
        -      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        +      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
               throws java.io.IOException {
        -    return com.google.protobuf.GeneratedMessageV3
        -        .parseWithIOException(PARSER, input, extensionRegistry);
        +    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
        +        PARSER, input, extensionRegistry);
           }
        -  public static com.google.cloud.orchestration.airflow.service.v1.Environment parseDelimitedFrom(java.io.InputStream input)
        -      throws java.io.IOException {
        -    return com.google.protobuf.GeneratedMessageV3
        -        .parseDelimitedWithIOException(PARSER, input);
        +
        +  public static com.google.cloud.orchestration.airflow.service.v1.Environment parseDelimitedFrom(
        +      java.io.InputStream input) throws java.io.IOException {
        +    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
           }
        +
           public static com.google.cloud.orchestration.airflow.service.v1.Environment parseDelimitedFrom(
        -      java.io.InputStream input,
        -      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        +      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
               throws java.io.IOException {
        -    return com.google.protobuf.GeneratedMessageV3
        -        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
        +    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
        +        PARSER, input, extensionRegistry);
           }
        +
           public static com.google.cloud.orchestration.airflow.service.v1.Environment parseFrom(
        -      com.google.protobuf.CodedInputStream input)
        -      throws java.io.IOException {
        -    return com.google.protobuf.GeneratedMessageV3
        -        .parseWithIOException(PARSER, input);
        +      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
        +    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
           }
        +
           public static com.google.cloud.orchestration.airflow.service.v1.Environment parseFrom(
               com.google.protobuf.CodedInputStream input,
               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
               throws java.io.IOException {
        -    return com.google.protobuf.GeneratedMessageV3
        -        .parseWithIOException(PARSER, input, extensionRegistry);
        +    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
        +        PARSER, input, extensionRegistry);
           }
         
           @java.lang.Override
        -  public Builder newBuilderForType() { return newBuilder(); }
        +  public Builder newBuilderForType() {
        +    return newBuilder();
        +  }
        +
           public static Builder newBuilder() {
             return DEFAULT_INSTANCE.toBuilder();
           }
        -  public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1.Environment prototype) {
        +
        +  public static Builder newBuilder(
        +      com.google.cloud.orchestration.airflow.service.v1.Environment prototype) {
             return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
           }
        +
           @java.lang.Override
           public Builder toBuilder() {
        -    return this == DEFAULT_INSTANCE
        -        ? new Builder() : new Builder().mergeFrom(this);
        +    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
           }
         
           @java.lang.Override
        -  protected Builder newBuilderForType(
        -      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        +  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
             Builder builder = new Builder(parent);
             return builder;
           }
           /**
        +   *
        +   *
            * 
            * An environment for running orchestration tasks.
            * 
        * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.Environment} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1.Environment) com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_Environment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_Environment_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 7: return internalGetLabels(); 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 7: return internalGetMutableLabels(); 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.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_Environment_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_Environment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1.Environment.class, com.google.cloud.orchestration.airflow.service.v1.Environment.Builder.class); + com.google.cloud.orchestration.airflow.service.v1.Environment.class, + com.google.cloud.orchestration.airflow.service.v1.Environment.Builder.class); } // Construct using com.google.cloud.orchestration.airflow.service.v1.Environment.newBuilder() @@ -1027,16 +1130,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(); @@ -1069,13 +1171,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_Environment_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_Environment_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.Environment getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1.Environment + getDefaultInstanceForType() { return com.google.cloud.orchestration.airflow.service.v1.Environment.getDefaultInstance(); } @@ -1090,7 +1193,8 @@ public com.google.cloud.orchestration.airflow.service.v1.Environment build() { @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1.Environment buildPartial() { - com.google.cloud.orchestration.airflow.service.v1.Environment result = new com.google.cloud.orchestration.airflow.service.v1.Environment(this); + com.google.cloud.orchestration.airflow.service.v1.Environment result = + new com.google.cloud.orchestration.airflow.service.v1.Environment(this); int from_bitField0_ = bitField0_; result.name_ = name_; if (configBuilder_ == null) { @@ -1120,38 +1224,39 @@ public com.google.cloud.orchestration.airflow.service.v1.Environment buildPartia public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.orchestration.airflow.service.v1.Environment) { - return mergeFrom((com.google.cloud.orchestration.airflow.service.v1.Environment)other); + return mergeFrom((com.google.cloud.orchestration.airflow.service.v1.Environment) other); } else { super.mergeFrom(other); return this; @@ -1159,7 +1264,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1.Environment other) { - if (other == com.google.cloud.orchestration.airflow.service.v1.Environment.getDefaultInstance()) return this; + if (other + == com.google.cloud.orchestration.airflow.service.v1.Environment.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -1180,8 +1287,7 @@ public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1.Envir if (other.hasUpdateTime()) { mergeUpdateTime(other.getUpdateTime()); } - internalGetMutableLabels().mergeFrom( - other.internalGetLabels()); + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -1201,7 +1307,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.orchestration.airflow.service.v1.Environment) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.orchestration.airflow.service.v1.Environment) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1210,10 +1318,13 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
              * The resource name of the environment, in the form:
              * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
        @@ -1222,13 +1333,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; @@ -1237,6 +1348,8 @@ public java.lang.String getName() { } } /** + * + * *
              * The resource name of the environment, in the form:
              * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
        @@ -1245,15 +1358,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 { @@ -1261,6 +1373,8 @@ public java.lang.String getName() { } } /** + * + * *
              * The resource name of the environment, in the form:
              * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
        @@ -1269,20 +1383,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; } /** + * + * *
              * The resource name of the environment, in the form:
              * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
        @@ -1291,15 +1407,18 @@ public Builder setName(
              * 
        * * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
              * The resource name of the environment, in the form:
              * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
        @@ -1308,16 +1427,16 @@ 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; @@ -1325,41 +1444,56 @@ public Builder setNameBytes( private com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig config_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig, com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.Builder, com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfigOrBuilder> configBuilder_; + com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig, + com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.Builder, + com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfigOrBuilder> + configBuilder_; /** + * + * *
              * Configuration parameters for this environment.
              * 
        * * .google.cloud.orchestration.airflow.service.v1.EnvironmentConfig config = 2; + * * @return Whether the config field is set. */ public boolean hasConfig() { return configBuilder_ != null || config_ != null; } /** + * + * *
              * Configuration parameters for this environment.
              * 
        * * .google.cloud.orchestration.airflow.service.v1.EnvironmentConfig config = 2; + * * @return The config. */ public com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig getConfig() { if (configBuilder_ == null) { - return config_ == null ? com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.getDefaultInstance() : config_; + return config_ == null + ? com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig + .getDefaultInstance() + : config_; } else { return configBuilder_.getMessage(); } } /** + * + * *
              * Configuration parameters for this environment.
              * 
        * * .google.cloud.orchestration.airflow.service.v1.EnvironmentConfig config = 2; */ - public Builder setConfig(com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig value) { + public Builder setConfig( + com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig value) { if (configBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1373,6 +1507,8 @@ public Builder setConfig(com.google.cloud.orchestration.airflow.service.v1.Envir return this; } /** + * + * *
              * Configuration parameters for this environment.
              * 
        @@ -1380,7 +1516,8 @@ public Builder setConfig(com.google.cloud.orchestration.airflow.service.v1.Envir * .google.cloud.orchestration.airflow.service.v1.EnvironmentConfig config = 2; */ public Builder setConfig( - com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.Builder builderForValue) { + com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.Builder + builderForValue) { if (configBuilder_ == null) { config_ = builderForValue.build(); onChanged(); @@ -1391,17 +1528,23 @@ public Builder setConfig( return this; } /** + * + * *
              * Configuration parameters for this environment.
              * 
        * * .google.cloud.orchestration.airflow.service.v1.EnvironmentConfig config = 2; */ - public Builder mergeConfig(com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig value) { + public Builder mergeConfig( + com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig value) { if (configBuilder_ == null) { if (config_ != null) { config_ = - com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.newBuilder(config_).mergeFrom(value).buildPartial(); + com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.newBuilder( + config_) + .mergeFrom(value) + .buildPartial(); } else { config_ = value; } @@ -1413,6 +1556,8 @@ public Builder mergeConfig(com.google.cloud.orchestration.airflow.service.v1.Env return this; } /** + * + * *
              * Configuration parameters for this environment.
              * 
        @@ -1431,33 +1576,43 @@ public Builder clearConfig() { return this; } /** + * + * *
              * Configuration parameters for this environment.
              * 
        * * .google.cloud.orchestration.airflow.service.v1.EnvironmentConfig config = 2; */ - public com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.Builder getConfigBuilder() { - + public com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.Builder + getConfigBuilder() { + onChanged(); return getConfigFieldBuilder().getBuilder(); } /** + * + * *
              * Configuration parameters for this environment.
              * 
        * * .google.cloud.orchestration.airflow.service.v1.EnvironmentConfig config = 2; */ - public com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfigOrBuilder getConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfigOrBuilder + getConfigOrBuilder() { if (configBuilder_ != null) { return configBuilder_.getMessageOrBuilder(); } else { - return config_ == null ? - com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.getDefaultInstance() : config_; + return config_ == null + ? com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig + .getDefaultInstance() + : config_; } } /** + * + * *
              * Configuration parameters for this environment.
              * 
        @@ -1465,14 +1620,17 @@ public com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfigOrBuil * .google.cloud.orchestration.airflow.service.v1.EnvironmentConfig config = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig, com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.Builder, com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfigOrBuilder> + com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig, + com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.Builder, + com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfigOrBuilder> getConfigFieldBuilder() { if (configBuilder_ == null) { - configBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig, com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.Builder, com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfigOrBuilder>( - getConfig(), - getParentForChildren(), - isClean()); + configBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig, + com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.Builder, + com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfigOrBuilder>( + getConfig(), getParentForChildren(), isClean()); config_ = null; } return configBuilder_; @@ -1480,19 +1638,21 @@ public com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfigOrBuil private java.lang.Object uuid_ = ""; /** + * + * *
              * Output only. The UUID (Universally Unique IDentifier) associated with this environment.
              * This value is generated when the environment is created.
              * 
        * * string uuid = 3; + * * @return The uuid. */ public java.lang.String getUuid() { java.lang.Object ref = uuid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uuid_ = s; return s; @@ -1501,21 +1661,22 @@ public java.lang.String getUuid() { } } /** + * + * *
              * Output only. The UUID (Universally Unique IDentifier) associated with this environment.
              * This value is generated when the environment is created.
              * 
        * * string uuid = 3; + * * @return The bytes for uuid. */ - public com.google.protobuf.ByteString - getUuidBytes() { + public com.google.protobuf.ByteString getUuidBytes() { java.lang.Object ref = uuid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uuid_ = b; return b; } else { @@ -1523,57 +1684,64 @@ public java.lang.String getUuid() { } } /** + * + * *
              * Output only. The UUID (Universally Unique IDentifier) associated with this environment.
              * This value is generated when the environment is created.
              * 
        * * string uuid = 3; + * * @param value The uuid to set. * @return This builder for chaining. */ - public Builder setUuid( - java.lang.String value) { + public Builder setUuid(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uuid_ = value; onChanged(); return this; } /** + * + * *
              * Output only. The UUID (Universally Unique IDentifier) associated with this environment.
              * This value is generated when the environment is created.
              * 
        * * string uuid = 3; + * * @return This builder for chaining. */ public Builder clearUuid() { - + uuid_ = getDefaultInstance().getUuid(); onChanged(); return this; } /** + * + * *
              * Output only. The UUID (Universally Unique IDentifier) associated with this environment.
              * This value is generated when the environment is created.
              * 
        * * string uuid = 3; + * * @param value The bytes for uuid to set. * @return This builder for chaining. */ - public Builder setUuidBytes( - com.google.protobuf.ByteString value) { + public Builder setUuidBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uuid_ = value; onChanged(); return this; @@ -1581,73 +1749,93 @@ public Builder setUuidBytes( private int state_ = 0; /** + * + * *
              * The current state of the environment.
              * 
        * * .google.cloud.orchestration.airflow.service.v1.Environment.State state = 4; + * * @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 current state of the environment.
              * 
        * * .google.cloud.orchestration.airflow.service.v1.Environment.State state = 4; + * * @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 current state of the environment.
              * 
        * * .google.cloud.orchestration.airflow.service.v1.Environment.State state = 4; + * * @return The state. */ @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1.Environment.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.orchestration.airflow.service.v1.Environment.State result = com.google.cloud.orchestration.airflow.service.v1.Environment.State.valueOf(state_); - return result == null ? com.google.cloud.orchestration.airflow.service.v1.Environment.State.UNRECOGNIZED : result; + com.google.cloud.orchestration.airflow.service.v1.Environment.State result = + com.google.cloud.orchestration.airflow.service.v1.Environment.State.valueOf(state_); + return result == null + ? com.google.cloud.orchestration.airflow.service.v1.Environment.State.UNRECOGNIZED + : result; } /** + * + * *
              * The current state of the environment.
              * 
        * * .google.cloud.orchestration.airflow.service.v1.Environment.State state = 4; + * * @param value The state to set. * @return This builder for chaining. */ - public Builder setState(com.google.cloud.orchestration.airflow.service.v1.Environment.State value) { + public Builder setState( + com.google.cloud.orchestration.airflow.service.v1.Environment.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
              * The current state of the environment.
              * 
        * * .google.cloud.orchestration.airflow.service.v1.Environment.State state = 4; + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -1655,34 +1843,47 @@ public Builder clearState() { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
              * Output only. The time at which this environment was created.
              * 
        * * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
              * Output only. The time at which this environment was created.
              * 
        * * .google.protobuf.Timestamp create_time = 5; + * * @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 at which this environment was created.
              * 
        @@ -1703,14 +1904,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
              * Output only. The time at which this environment was created.
              * 
        * * .google.protobuf.Timestamp create_time = 5; */ - 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(); @@ -1721,6 +1923,8 @@ public Builder setCreateTime( return this; } /** + * + * *
              * Output only. The time at which this environment was created.
              * 
        @@ -1731,7 +1935,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; } @@ -1743,6 +1947,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
              * Output only. The time at which this environment was created.
              * 
        @@ -1761,6 +1967,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
              * Output only. The time at which this environment was created.
              * 
        @@ -1768,11 +1976,13 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
              * Output only. The time at which this environment was created.
              * 
        @@ -1783,11 +1993,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_; } } /** + * + * *
              * Output only. The time at which this environment was created.
              * 
        @@ -1795,14 +2008,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> 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_; @@ -1810,34 +2026,47 @@ 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 at which this environment was last modified.
              * 
        * * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
              * Output only. The time at which this environment was last modified.
              * 
        * * .google.protobuf.Timestamp update_time = 6; + * * @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 at which this environment was last modified.
              * 
        @@ -1858,14 +2087,15 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
              * Output only. The time at which this environment was last modified.
              * 
        * * .google.protobuf.Timestamp update_time = 6; */ - 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(); @@ -1876,6 +2106,8 @@ public Builder setUpdateTime( return this; } /** + * + * *
              * Output only. The time at which this environment was last modified.
              * 
        @@ -1886,7 +2118,7 @@ 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; } @@ -1898,6 +2130,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
              * Output only. The time at which this environment was last modified.
              * 
        @@ -1916,6 +2150,8 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
              * Output only. The time at which this environment was last modified.
              * 
        @@ -1923,11 +2159,13 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 6; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
              * Output only. The time at which this environment was last modified.
              * 
        @@ -1938,11 +2176,14 @@ 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 at which this environment was last modified.
              * 
        @@ -1950,35 +2191,37 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_time = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> 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_; } - 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(); @@ -1990,6 +2233,8 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
              * Optional. User-defined labels for this environment.
              * The labels map can contain no more than 64 entries. Entries of the labels
        @@ -2002,22 +2247,22 @@ public int getLabelsCount() {
              *
              * map<string, string> labels = 7;
              */
        -
             @java.lang.Override
        -    public boolean containsLabels(
        -        java.lang.String key) {
        -      if (key == null) { throw new NullPointerException("map key"); }
        +    public boolean containsLabels(java.lang.String key) {
        +      if (key == null) {
        +        throw new NullPointerException("map key");
        +      }
               return internalGetLabels().getMap().containsKey(key);
             }
        -    /**
        -     * Use {@link #getLabelsMap()} instead.
        -     */
        +    /** Use {@link #getLabelsMap()} instead. */
             @java.lang.Override
             @java.lang.Deprecated
             public java.util.Map getLabels() {
               return getLabelsMap();
             }
             /**
        +     *
        +     *
              * 
              * Optional. User-defined labels for this environment.
              * The labels map can contain no more than 64 entries. Entries of the labels
        @@ -2031,11 +2276,12 @@ public java.util.Map getLabels() {
              * map<string, string> labels = 7;
              */
             @java.lang.Override
        -
             public java.util.Map getLabelsMap() {
               return internalGetLabels().getMap();
             }
             /**
        +     *
        +     *
              * 
              * Optional. User-defined labels for this environment.
              * The labels map can contain no more than 64 entries. Entries of the labels
        @@ -2049,16 +2295,17 @@ public java.util.Map getLabelsMap() {
              * map<string, string> labels = 7;
              */
             @java.lang.Override
        -
             public java.lang.String getLabelsOrDefault(
        -        java.lang.String key,
        -        java.lang.String defaultValue) {
        -      if (key == null) { throw new NullPointerException("map key"); }
        -      java.util.Map map =
        -          internalGetLabels().getMap();
        +        java.lang.String key, java.lang.String defaultValue) {
        +      if (key == null) {
        +        throw new NullPointerException("map key");
        +      }
        +      java.util.Map map = internalGetLabels().getMap();
               return map.containsKey(key) ? map.get(key) : defaultValue;
             }
             /**
        +     *
        +     *
              * 
              * Optional. User-defined labels for this environment.
              * The labels map can contain no more than 64 entries. Entries of the labels
        @@ -2072,12 +2319,11 @@ public java.lang.String getLabelsOrDefault(
              * map<string, string> labels = 7;
              */
             @java.lang.Override
        -
        -    public java.lang.String getLabelsOrThrow(
        -        java.lang.String key) {
        -      if (key == null) { throw new NullPointerException("map key"); }
        -      java.util.Map map =
        -          internalGetLabels().getMap();
        +    public java.lang.String getLabelsOrThrow(java.lang.String key) {
        +      if (key == null) {
        +        throw new NullPointerException("map key");
        +      }
        +      java.util.Map map = internalGetLabels().getMap();
               if (!map.containsKey(key)) {
                 throw new java.lang.IllegalArgumentException();
               }
        @@ -2085,11 +2331,12 @@ public java.lang.String getLabelsOrThrow(
             }
         
             public Builder clearLabels() {
        -      internalGetMutableLabels().getMutableMap()
        -          .clear();
        +      internalGetMutableLabels().getMutableMap().clear();
               return this;
             }
             /**
        +     *
        +     *
              * 
              * Optional. User-defined labels for this environment.
              * The labels map can contain no more than 64 entries. Entries of the labels
        @@ -2102,23 +2349,21 @@ public Builder clearLabels() {
              *
              * map<string, string> labels = 7;
              */
        -
        -    public Builder removeLabels(
        -        java.lang.String key) {
        -      if (key == null) { throw new NullPointerException("map key"); }
        -      internalGetMutableLabels().getMutableMap()
        -          .remove(key);
        +    public Builder removeLabels(java.lang.String key) {
        +      if (key == null) {
        +        throw new NullPointerException("map key");
        +      }
        +      internalGetMutableLabels().getMutableMap().remove(key);
               return this;
             }
        -    /**
        -     * Use alternate mutation accessors instead.
        -     */
        +    /** Use alternate mutation accessors instead. */
             @java.lang.Deprecated
        -    public java.util.Map
        -    getMutableLabels() {
        +    public java.util.Map getMutableLabels() {
               return internalGetMutableLabels().getMutableMap();
             }
             /**
        +     *
        +     *
              * 
              * Optional. User-defined labels for this environment.
              * The labels map can contain no more than 64 entries. Entries of the labels
        @@ -2131,19 +2376,20 @@ public Builder removeLabels(
              *
              * map<string, string> labels = 7;
              */
        -    public Builder putLabels(
        -        java.lang.String key,
        -        java.lang.String value) {
        -      if (key == null) { throw new NullPointerException("map key"); }
        +    public Builder putLabels(java.lang.String key, java.lang.String value) {
        +      if (key == null) {
        +        throw new NullPointerException("map key");
        +      }
               if (value == null) {
        -  throw new NullPointerException("map value");
        -}
        +        throw new NullPointerException("map value");
        +      }
         
        -      internalGetMutableLabels().getMutableMap()
        -          .put(key, value);
        +      internalGetMutableLabels().getMutableMap().put(key, value);
               return this;
             }
             /**
        +     *
        +     *
              * 
              * Optional. User-defined labels for this environment.
              * The labels map can contain no more than 64 entries. Entries of the labels
        @@ -2156,16 +2402,13 @@ public Builder putLabels(
              *
              * map<string, string> labels = 7;
              */
        -
        -    public Builder putAllLabels(
        -        java.util.Map values) {
        -      internalGetMutableLabels().getMutableMap()
        -          .putAll(values);
        +    public Builder putAllLabels(java.util.Map values) {
        +      internalGetMutableLabels().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);
             }
         
        @@ -2175,12 +2418,13 @@ public final Builder mergeUnknownFields(
               return super.mergeUnknownFields(unknownFields);
             }
         
        -
             // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1.Environment)
           }
         
           // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1.Environment)
        -  private static final com.google.cloud.orchestration.airflow.service.v1.Environment DEFAULT_INSTANCE;
        +  private static final com.google.cloud.orchestration.airflow.service.v1.Environment
        +      DEFAULT_INSTANCE;
        +
           static {
             DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1.Environment();
           }
        @@ -2189,16 +2433,16 @@ public static com.google.cloud.orchestration.airflow.service.v1.Environment getD
             return DEFAULT_INSTANCE;
           }
         
        -  private static final com.google.protobuf.Parser
        -      PARSER = new com.google.protobuf.AbstractParser() {
        -    @java.lang.Override
        -    public Environment parsePartialFrom(
        -        com.google.protobuf.CodedInputStream input,
        -        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        -        throws com.google.protobuf.InvalidProtocolBufferException {
        -      return new Environment(input, extensionRegistry);
        -    }
        -  };
        +  private static final com.google.protobuf.Parser PARSER =
        +      new com.google.protobuf.AbstractParser() {
        +        @java.lang.Override
        +        public Environment parsePartialFrom(
        +            com.google.protobuf.CodedInputStream input,
        +            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        +            throws com.google.protobuf.InvalidProtocolBufferException {
        +          return new Environment(input, extensionRegistry);
        +        }
        +      };
         
           public static com.google.protobuf.Parser parser() {
             return PARSER;
        @@ -2213,6 +2457,4 @@ public com.google.protobuf.Parser getParserForType() {
           public com.google.cloud.orchestration.airflow.service.v1.Environment getDefaultInstanceForType() {
             return DEFAULT_INSTANCE;
           }
        -
         }
        -
        diff --git a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentConfig.java b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentConfig.java
        similarity index 62%
        rename from owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentConfig.java
        rename to proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentConfig.java
        index 0100a262..2b3d72de 100644
        --- a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentConfig.java
        +++ b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentConfig.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/orchestration/airflow/service/v1/environments.proto
         
         package com.google.cloud.orchestration.airflow.service.v1;
         
         /**
        + *
        + *
          * 
          * Configuration information for an environment.
          * 
        * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.EnvironmentConfig} */ -public final class EnvironmentConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class EnvironmentConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1.EnvironmentConfig) EnvironmentConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use EnvironmentConfig.newBuilder() to construct. private EnvironmentConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private EnvironmentConfig() { gkeCluster_ = ""; dagGcsPrefix_ = ""; @@ -27,16 +45,15 @@ private EnvironmentConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new EnvironmentConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private EnvironmentConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,127 +72,168 @@ private EnvironmentConfig( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - gkeCluster_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - dagGcsPrefix_ = s; - break; - } - case 24: { - - nodeCount_ = input.readInt32(); - break; - } - case 34: { - com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.Builder subBuilder = null; - if (softwareConfig_ != null) { - subBuilder = softwareConfig_.toBuilder(); - } - softwareConfig_ = input.readMessage(com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(softwareConfig_); - softwareConfig_ = subBuilder.buildPartial(); + gkeCluster_ = s; + break; } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 42: { - com.google.cloud.orchestration.airflow.service.v1.NodeConfig.Builder subBuilder = null; - if (nodeConfig_ != null) { - subBuilder = nodeConfig_.toBuilder(); + dagGcsPrefix_ = s; + break; } - nodeConfig_ = input.readMessage(com.google.cloud.orchestration.airflow.service.v1.NodeConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(nodeConfig_); - nodeConfig_ = subBuilder.buildPartial(); + case 24: + { + nodeCount_ = input.readInt32(); + break; } - - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); - - airflowUri_ = s; - break; - } - case 58: { - com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig.Builder subBuilder = null; - if (privateEnvironmentConfig_ != null) { - subBuilder = privateEnvironmentConfig_.toBuilder(); + case 34: + { + com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.Builder subBuilder = + null; + if (softwareConfig_ != null) { + subBuilder = softwareConfig_.toBuilder(); + } + softwareConfig_ = + input.readMessage( + com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(softwareConfig_); + softwareConfig_ = subBuilder.buildPartial(); + } + + break; } - privateEnvironmentConfig_ = input.readMessage(com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(privateEnvironmentConfig_); - privateEnvironmentConfig_ = subBuilder.buildPartial(); + case 42: + { + com.google.cloud.orchestration.airflow.service.v1.NodeConfig.Builder subBuilder = + null; + if (nodeConfig_ != null) { + subBuilder = nodeConfig_.toBuilder(); + } + nodeConfig_ = + input.readMessage( + com.google.cloud.orchestration.airflow.service.v1.NodeConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(nodeConfig_); + nodeConfig_ = subBuilder.buildPartial(); + } + + break; } + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 66: { - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.Builder subBuilder = null; - if (webServerNetworkAccessControl_ != null) { - subBuilder = webServerNetworkAccessControl_.toBuilder(); + airflowUri_ = s; + break; } - webServerNetworkAccessControl_ = input.readMessage(com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(webServerNetworkAccessControl_); - webServerNetworkAccessControl_ = subBuilder.buildPartial(); + case 58: + { + com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig.Builder + subBuilder = null; + if (privateEnvironmentConfig_ != null) { + subBuilder = privateEnvironmentConfig_.toBuilder(); + } + privateEnvironmentConfig_ = + input.readMessage( + com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(privateEnvironmentConfig_); + privateEnvironmentConfig_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 74: { - com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig.Builder subBuilder = null; - if (databaseConfig_ != null) { - subBuilder = databaseConfig_.toBuilder(); + case 66: + { + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .Builder + subBuilder = null; + if (webServerNetworkAccessControl_ != null) { + subBuilder = webServerNetworkAccessControl_.toBuilder(); + } + webServerNetworkAccessControl_ = + input.readMessage( + com.google.cloud.orchestration.airflow.service.v1 + .WebServerNetworkAccessControl.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(webServerNetworkAccessControl_); + webServerNetworkAccessControl_ = subBuilder.buildPartial(); + } + + break; } - databaseConfig_ = input.readMessage(com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(databaseConfig_); - databaseConfig_ = subBuilder.buildPartial(); + case 74: + { + com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig.Builder subBuilder = + null; + if (databaseConfig_ != null) { + subBuilder = databaseConfig_.toBuilder(); + } + databaseConfig_ = + input.readMessage( + com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(databaseConfig_); + databaseConfig_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 82: { - com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.Builder subBuilder = null; - if (webServerConfig_ != null) { - subBuilder = webServerConfig_.toBuilder(); + case 82: + { + com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.Builder subBuilder = + null; + if (webServerConfig_ != null) { + subBuilder = webServerConfig_.toBuilder(); + } + webServerConfig_ = + input.readMessage( + com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(webServerConfig_); + webServerConfig_ = subBuilder.buildPartial(); + } + + break; } - webServerConfig_ = input.readMessage(com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(webServerConfig_); - webServerConfig_ = subBuilder.buildPartial(); + case 90: + { + com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig.Builder + subBuilder = null; + if (encryptionConfig_ != null) { + subBuilder = encryptionConfig_.toBuilder(); + } + encryptionConfig_ = + input.readMessage( + com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(encryptionConfig_); + encryptionConfig_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 90: { - com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig.Builder subBuilder = null; - if (encryptionConfig_ != null) { - subBuilder = encryptionConfig_.toBuilder(); - } - encryptionConfig_ = input.readMessage(com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(encryptionConfig_); - encryptionConfig_ = subBuilder.buildPartial(); - } - - 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) { @@ -183,34 +241,39 @@ private EnvironmentConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_EnvironmentConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_EnvironmentConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_EnvironmentConfig_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_EnvironmentConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.class, com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.Builder.class); + com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.class, + com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.Builder.class); } public static final int GKE_CLUSTER_FIELD_NUMBER = 1; private volatile java.lang.Object gkeCluster_; /** + * + * *
            * Output only. The Kubernetes Engine cluster used to run this environment.
            * 
        * * string gke_cluster = 1; + * * @return The gkeCluster. */ @java.lang.Override @@ -219,29 +282,29 @@ public java.lang.String getGkeCluster() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); gkeCluster_ = s; return s; } } /** + * + * *
            * Output only. The Kubernetes Engine cluster used to run this environment.
            * 
        * * string gke_cluster = 1; + * * @return The bytes for gkeCluster. */ @java.lang.Override - public com.google.protobuf.ByteString - getGkeClusterBytes() { + public com.google.protobuf.ByteString getGkeClusterBytes() { java.lang.Object ref = gkeCluster_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); gkeCluster_ = b; return b; } else { @@ -252,6 +315,8 @@ public java.lang.String getGkeCluster() { public static final int DAG_GCS_PREFIX_FIELD_NUMBER = 2; private volatile java.lang.Object dagGcsPrefix_; /** + * + * *
            * Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud
            * Storage objects reside in a flat namespace, a hierarchical file tree
        @@ -260,6 +325,7 @@ public java.lang.String getGkeCluster() {
            * 
        * * string dag_gcs_prefix = 2; + * * @return The dagGcsPrefix. */ @java.lang.Override @@ -268,14 +334,15 @@ public java.lang.String getDagGcsPrefix() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dagGcsPrefix_ = s; return s; } } /** + * + * *
            * Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud
            * Storage objects reside in a flat namespace, a hierarchical file tree
        @@ -284,16 +351,15 @@ public java.lang.String getDagGcsPrefix() {
            * 
        * * string dag_gcs_prefix = 2; + * * @return The bytes for dagGcsPrefix. */ @java.lang.Override - public com.google.protobuf.ByteString - getDagGcsPrefixBytes() { + public com.google.protobuf.ByteString getDagGcsPrefixBytes() { java.lang.Object ref = dagGcsPrefix_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dagGcsPrefix_ = b; return b; } else { @@ -304,12 +370,15 @@ public java.lang.String getDagGcsPrefix() { public static final int NODE_COUNT_FIELD_NUMBER = 3; private int nodeCount_; /** + * + * *
            * The number of nodes in the Kubernetes Engine cluster that will be
            * used to run this environment.
            * 
        * * int32 node_count = 3; + * * @return The nodeCount. */ @java.lang.Override @@ -320,11 +389,14 @@ public int getNodeCount() { public static final int SOFTWARE_CONFIG_FIELD_NUMBER = 4; private com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig softwareConfig_; /** + * + * *
            * The configuration settings for software inside the environment.
            * 
        * * .google.cloud.orchestration.airflow.service.v1.SoftwareConfig software_config = 4; + * * @return Whether the softwareConfig field is set. */ @java.lang.Override @@ -332,18 +404,25 @@ public boolean hasSoftwareConfig() { return softwareConfig_ != null; } /** + * + * *
            * The configuration settings for software inside the environment.
            * 
        * * .google.cloud.orchestration.airflow.service.v1.SoftwareConfig software_config = 4; + * * @return The softwareConfig. */ @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig getSoftwareConfig() { - return softwareConfig_ == null ? com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.getDefaultInstance() : softwareConfig_; + return softwareConfig_ == null + ? com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.getDefaultInstance() + : softwareConfig_; } /** + * + * *
            * The configuration settings for software inside the environment.
            * 
        @@ -351,18 +430,22 @@ public com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig getSoftw * .google.cloud.orchestration.airflow.service.v1.SoftwareConfig software_config = 4; */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.SoftwareConfigOrBuilder getSoftwareConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1.SoftwareConfigOrBuilder + getSoftwareConfigOrBuilder() { return getSoftwareConfig(); } public static final int NODE_CONFIG_FIELD_NUMBER = 5; private com.google.cloud.orchestration.airflow.service.v1.NodeConfig nodeConfig_; /** + * + * *
            * The configuration used for the Kubernetes Engine cluster.
            * 
        * * .google.cloud.orchestration.airflow.service.v1.NodeConfig node_config = 5; + * * @return Whether the nodeConfig field is set. */ @java.lang.Override @@ -370,18 +453,25 @@ public boolean hasNodeConfig() { return nodeConfig_ != null; } /** + * + * *
            * The configuration used for the Kubernetes Engine cluster.
            * 
        * * .google.cloud.orchestration.airflow.service.v1.NodeConfig node_config = 5; + * * @return The nodeConfig. */ @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1.NodeConfig getNodeConfig() { - return nodeConfig_ == null ? com.google.cloud.orchestration.airflow.service.v1.NodeConfig.getDefaultInstance() : nodeConfig_; + return nodeConfig_ == null + ? com.google.cloud.orchestration.airflow.service.v1.NodeConfig.getDefaultInstance() + : nodeConfig_; } /** + * + * *
            * The configuration used for the Kubernetes Engine cluster.
            * 
        @@ -389,18 +479,25 @@ public com.google.cloud.orchestration.airflow.service.v1.NodeConfig getNodeConfi * .google.cloud.orchestration.airflow.service.v1.NodeConfig node_config = 5; */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.NodeConfigOrBuilder getNodeConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1.NodeConfigOrBuilder + getNodeConfigOrBuilder() { return getNodeConfig(); } public static final int PRIVATE_ENVIRONMENT_CONFIG_FIELD_NUMBER = 7; - private com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig privateEnvironmentConfig_; + private com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig + privateEnvironmentConfig_; /** + * + * *
            * The configuration used for the Private IP Cloud Composer environment.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7; + * + * .google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7; + * + * * @return Whether the privateEnvironmentConfig field is set. */ @java.lang.Override @@ -408,38 +505,58 @@ public boolean hasPrivateEnvironmentConfig() { return privateEnvironmentConfig_ != null; } /** + * + * *
            * The configuration used for the Private IP Cloud Composer environment.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7; + * + * .google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7; + * + * * @return The privateEnvironmentConfig. */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig getPrivateEnvironmentConfig() { - return privateEnvironmentConfig_ == null ? com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig.getDefaultInstance() : privateEnvironmentConfig_; + public com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig + getPrivateEnvironmentConfig() { + return privateEnvironmentConfig_ == null + ? com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig + .getDefaultInstance() + : privateEnvironmentConfig_; } /** + * + * *
            * The configuration used for the Private IP Cloud Composer environment.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7; + * + * .google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7; + * */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfigOrBuilder getPrivateEnvironmentConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfigOrBuilder + getPrivateEnvironmentConfigOrBuilder() { return getPrivateEnvironmentConfig(); } public static final int WEB_SERVER_NETWORK_ACCESS_CONTROL_FIELD_NUMBER = 8; - private com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl webServerNetworkAccessControl_; + private com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + webServerNetworkAccessControl_; /** + * + * *
            * Optional. The network-level access control policy for the Airflow web server. If
            * unspecified, no network-level access restrictions will be applied.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the webServerNetworkAccessControl field is set. */ @java.lang.Override @@ -447,40 +564,59 @@ public boolean hasWebServerNetworkAccessControl() { return webServerNetworkAccessControl_ != null; } /** + * + * *
            * Optional. The network-level access control policy for the Airflow web server. If
            * unspecified, no network-level access restrictions will be applied.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The webServerNetworkAccessControl. */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl getWebServerNetworkAccessControl() { - return webServerNetworkAccessControl_ == null ? com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.getDefaultInstance() : webServerNetworkAccessControl_; + public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + getWebServerNetworkAccessControl() { + return webServerNetworkAccessControl_ == null + ? com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .getDefaultInstance() + : webServerNetworkAccessControl_; } /** + * + * *
            * Optional. The network-level access control policy for the Airflow web server. If
            * unspecified, no network-level access restrictions will be applied.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControlOrBuilder getWebServerNetworkAccessControlOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControlOrBuilder + getWebServerNetworkAccessControlOrBuilder() { return getWebServerNetworkAccessControl(); } public static final int DATABASE_CONFIG_FIELD_NUMBER = 9; private com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig databaseConfig_; /** + * + * *
            * Optional. The configuration settings for Cloud SQL instance used internally by Apache
            * Airflow software.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the databaseConfig field is set. */ @java.lang.Override @@ -488,39 +624,56 @@ public boolean hasDatabaseConfig() { return databaseConfig_ != null; } /** + * + * *
            * Optional. The configuration settings for Cloud SQL instance used internally by Apache
            * Airflow software.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The databaseConfig. */ @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig getDatabaseConfig() { - return databaseConfig_ == null ? com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig.getDefaultInstance() : databaseConfig_; + return databaseConfig_ == null + ? com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig.getDefaultInstance() + : databaseConfig_; } /** + * + * *
            * Optional. The configuration settings for Cloud SQL instance used internally by Apache
            * Airflow software.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.DatabaseConfigOrBuilder getDatabaseConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1.DatabaseConfigOrBuilder + getDatabaseConfigOrBuilder() { return getDatabaseConfig(); } public static final int WEB_SERVER_CONFIG_FIELD_NUMBER = 10; private com.google.cloud.orchestration.airflow.service.v1.WebServerConfig webServerConfig_; /** + * + * *
            * Optional. The configuration settings for the Airflow web server App Engine instance.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the webServerConfig field is set. */ @java.lang.Override @@ -528,38 +681,55 @@ public boolean hasWebServerConfig() { return webServerConfig_ != null; } /** + * + * *
            * Optional. The configuration settings for the Airflow web server App Engine instance.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The webServerConfig. */ @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1.WebServerConfig getWebServerConfig() { - return webServerConfig_ == null ? com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.getDefaultInstance() : webServerConfig_; + return webServerConfig_ == null + ? com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.getDefaultInstance() + : webServerConfig_; } /** + * + * *
            * Optional. The configuration settings for the Airflow web server App Engine instance.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.WebServerConfigOrBuilder getWebServerConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1.WebServerConfigOrBuilder + getWebServerConfigOrBuilder() { return getWebServerConfig(); } public static final int ENCRYPTION_CONFIG_FIELD_NUMBER = 11; private com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryptionConfig_; /** + * + * *
            * Optional. The encryption options for the Cloud Composer environment
            * and its dependencies. Cannot be updated.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the encryptionConfig field is set. */ @java.lang.Override @@ -567,34 +737,48 @@ public boolean hasEncryptionConfig() { return encryptionConfig_ != null; } /** + * + * *
            * Optional. The encryption options for the Cloud Composer environment
            * and its dependencies. Cannot be updated.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The encryptionConfig. */ @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig getEncryptionConfig() { - return encryptionConfig_ == null ? com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_; + return encryptionConfig_ == null + ? com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig.getDefaultInstance() + : encryptionConfig_; } /** + * + * *
            * Optional. The encryption options for the Cloud Composer environment
            * and its dependencies. Cannot be updated.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1.EncryptionConfigOrBuilder + getEncryptionConfigOrBuilder() { return getEncryptionConfig(); } public static final int AIRFLOW_URI_FIELD_NUMBER = 6; private volatile java.lang.Object airflowUri_; /** + * + * *
            * Output only. The URI of the Apache Airflow Web UI hosted within this environment (see
            * [Airflow web
        @@ -602,6 +786,7 @@ public com.google.cloud.orchestration.airflow.service.v1.EncryptionConfigOrBuild
            * 
        * * string airflow_uri = 6; + * * @return The airflowUri. */ @java.lang.Override @@ -610,14 +795,15 @@ public java.lang.String getAirflowUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); airflowUri_ = s; return s; } } /** + * + * *
            * Output only. The URI of the Apache Airflow Web UI hosted within this environment (see
            * [Airflow web
        @@ -625,16 +811,15 @@ public java.lang.String getAirflowUri() {
            * 
        * * string airflow_uri = 6; + * * @return The bytes for airflowUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getAirflowUriBytes() { + public com.google.protobuf.ByteString getAirflowUriBytes() { java.lang.Object ref = airflowUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); airflowUri_ = b; return b; } else { @@ -643,6 +828,7 @@ public java.lang.String getAirflowUri() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -654,8 +840,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(gkeCluster_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, gkeCluster_); } @@ -705,39 +890,35 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, dagGcsPrefix_); } if (nodeCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, nodeCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, nodeCount_); } if (softwareConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getSoftwareConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getSoftwareConfig()); } if (nodeConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getNodeConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getNodeConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(airflowUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, airflowUri_); } if (privateEnvironmentConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getPrivateEnvironmentConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 7, getPrivateEnvironmentConfig()); } if (webServerNetworkAccessControl_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getWebServerNetworkAccessControl()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 8, getWebServerNetworkAccessControl()); } if (databaseConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getDatabaseConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getDatabaseConfig()); } if (webServerConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, getWebServerConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getWebServerConfig()); } if (encryptionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, getEncryptionConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getEncryptionConfig()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -747,56 +928,48 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig other = (com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig) obj; + com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig other = + (com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig) obj; - if (!getGkeCluster() - .equals(other.getGkeCluster())) return false; - if (!getDagGcsPrefix() - .equals(other.getDagGcsPrefix())) return false; - if (getNodeCount() - != other.getNodeCount()) return false; + if (!getGkeCluster().equals(other.getGkeCluster())) return false; + if (!getDagGcsPrefix().equals(other.getDagGcsPrefix())) return false; + if (getNodeCount() != other.getNodeCount()) return false; if (hasSoftwareConfig() != other.hasSoftwareConfig()) return false; if (hasSoftwareConfig()) { - if (!getSoftwareConfig() - .equals(other.getSoftwareConfig())) return false; + if (!getSoftwareConfig().equals(other.getSoftwareConfig())) return false; } if (hasNodeConfig() != other.hasNodeConfig()) return false; if (hasNodeConfig()) { - if (!getNodeConfig() - .equals(other.getNodeConfig())) return false; + if (!getNodeConfig().equals(other.getNodeConfig())) return false; } if (hasPrivateEnvironmentConfig() != other.hasPrivateEnvironmentConfig()) return false; if (hasPrivateEnvironmentConfig()) { - if (!getPrivateEnvironmentConfig() - .equals(other.getPrivateEnvironmentConfig())) return false; + if (!getPrivateEnvironmentConfig().equals(other.getPrivateEnvironmentConfig())) return false; } - if (hasWebServerNetworkAccessControl() != other.hasWebServerNetworkAccessControl()) return false; + if (hasWebServerNetworkAccessControl() != other.hasWebServerNetworkAccessControl()) + return false; if (hasWebServerNetworkAccessControl()) { - if (!getWebServerNetworkAccessControl() - .equals(other.getWebServerNetworkAccessControl())) return false; + if (!getWebServerNetworkAccessControl().equals(other.getWebServerNetworkAccessControl())) + return false; } if (hasDatabaseConfig() != other.hasDatabaseConfig()) return false; if (hasDatabaseConfig()) { - if (!getDatabaseConfig() - .equals(other.getDatabaseConfig())) return false; + if (!getDatabaseConfig().equals(other.getDatabaseConfig())) return false; } if (hasWebServerConfig() != other.hasWebServerConfig()) return false; if (hasWebServerConfig()) { - if (!getWebServerConfig() - .equals(other.getWebServerConfig())) return false; + if (!getWebServerConfig().equals(other.getWebServerConfig())) return false; } if (hasEncryptionConfig() != other.hasEncryptionConfig()) return false; if (hasEncryptionConfig()) { - if (!getEncryptionConfig() - .equals(other.getEncryptionConfig())) return false; + if (!getEncryptionConfig().equals(other.getEncryptionConfig())) return false; } - if (!getAirflowUri() - .equals(other.getAirflowUri())) return false; + if (!getAirflowUri().equals(other.getAirflowUri())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -850,134 +1023,145 @@ public int hashCode() { } public static com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig 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.orchestration.airflow.service.v1.EnvironmentConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig 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.orchestration.airflow.service.v1.EnvironmentConfig + 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.orchestration.airflow.service.v1.EnvironmentConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
            * Configuration information for an environment.
            * 
        * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.EnvironmentConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1.EnvironmentConfig) com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_EnvironmentConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_EnvironmentConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_EnvironmentConfig_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_EnvironmentConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.class, com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.Builder.class); + com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.class, + com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.Builder.class); } - // Construct using com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.newBuilder() + // Construct using + // com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1035,14 +1219,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_EnvironmentConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_EnvironmentConfig_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig + getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig + .getDefaultInstance(); } @java.lang.Override @@ -1056,7 +1242,8 @@ public com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig build @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig buildPartial() { - com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig result = new com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig(this); + com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig result = + new com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig(this); result.gkeCluster_ = gkeCluster_; result.dagGcsPrefix_ = dagGcsPrefix_; result.nodeCount_ = nodeCount_; @@ -1104,46 +1291,51 @@ public com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig build public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig) { - return mergeFrom((com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig)other); + return mergeFrom( + (com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig other) { - if (other == com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig other) { + if (other + == com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig + .getDefaultInstance()) return this; if (!other.getGkeCluster().isEmpty()) { gkeCluster_ = other.gkeCluster_; onChanged(); @@ -1199,7 +1391,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1211,18 +1405,20 @@ public Builder mergeFrom( private java.lang.Object gkeCluster_ = ""; /** + * + * *
              * Output only. The Kubernetes Engine cluster used to run this environment.
              * 
        * * string gke_cluster = 1; + * * @return The gkeCluster. */ public java.lang.String getGkeCluster() { java.lang.Object ref = gkeCluster_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); gkeCluster_ = s; return s; @@ -1231,20 +1427,21 @@ public java.lang.String getGkeCluster() { } } /** + * + * *
              * Output only. The Kubernetes Engine cluster used to run this environment.
              * 
        * * string gke_cluster = 1; + * * @return The bytes for gkeCluster. */ - public com.google.protobuf.ByteString - getGkeClusterBytes() { + public com.google.protobuf.ByteString getGkeClusterBytes() { java.lang.Object ref = gkeCluster_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); gkeCluster_ = b; return b; } else { @@ -1252,54 +1449,61 @@ public java.lang.String getGkeCluster() { } } /** + * + * *
              * Output only. The Kubernetes Engine cluster used to run this environment.
              * 
        * * string gke_cluster = 1; + * * @param value The gkeCluster to set. * @return This builder for chaining. */ - public Builder setGkeCluster( - java.lang.String value) { + public Builder setGkeCluster(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + gkeCluster_ = value; onChanged(); return this; } /** + * + * *
              * Output only. The Kubernetes Engine cluster used to run this environment.
              * 
        * * string gke_cluster = 1; + * * @return This builder for chaining. */ public Builder clearGkeCluster() { - + gkeCluster_ = getDefaultInstance().getGkeCluster(); onChanged(); return this; } /** + * + * *
              * Output only. The Kubernetes Engine cluster used to run this environment.
              * 
        * * string gke_cluster = 1; + * * @param value The bytes for gkeCluster to set. * @return This builder for chaining. */ - public Builder setGkeClusterBytes( - com.google.protobuf.ByteString value) { + public Builder setGkeClusterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + gkeCluster_ = value; onChanged(); return this; @@ -1307,6 +1511,8 @@ public Builder setGkeClusterBytes( private java.lang.Object dagGcsPrefix_ = ""; /** + * + * *
              * Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud
              * Storage objects reside in a flat namespace, a hierarchical file tree
        @@ -1315,13 +1521,13 @@ public Builder setGkeClusterBytes(
              * 
        * * string dag_gcs_prefix = 2; + * * @return The dagGcsPrefix. */ public java.lang.String getDagGcsPrefix() { java.lang.Object ref = dagGcsPrefix_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dagGcsPrefix_ = s; return s; @@ -1330,6 +1536,8 @@ public java.lang.String getDagGcsPrefix() { } } /** + * + * *
              * Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud
              * Storage objects reside in a flat namespace, a hierarchical file tree
        @@ -1338,15 +1546,14 @@ public java.lang.String getDagGcsPrefix() {
              * 
        * * string dag_gcs_prefix = 2; + * * @return The bytes for dagGcsPrefix. */ - public com.google.protobuf.ByteString - getDagGcsPrefixBytes() { + public com.google.protobuf.ByteString getDagGcsPrefixBytes() { java.lang.Object ref = dagGcsPrefix_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dagGcsPrefix_ = b; return b; } else { @@ -1354,6 +1561,8 @@ public java.lang.String getDagGcsPrefix() { } } /** + * + * *
              * Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud
              * Storage objects reside in a flat namespace, a hierarchical file tree
        @@ -1362,20 +1571,22 @@ public java.lang.String getDagGcsPrefix() {
              * 
        * * string dag_gcs_prefix = 2; + * * @param value The dagGcsPrefix to set. * @return This builder for chaining. */ - public Builder setDagGcsPrefix( - java.lang.String value) { + public Builder setDagGcsPrefix(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + dagGcsPrefix_ = value; onChanged(); return this; } /** + * + * *
              * Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud
              * Storage objects reside in a flat namespace, a hierarchical file tree
        @@ -1384,15 +1595,18 @@ public Builder setDagGcsPrefix(
              * 
        * * string dag_gcs_prefix = 2; + * * @return This builder for chaining. */ public Builder clearDagGcsPrefix() { - + dagGcsPrefix_ = getDefaultInstance().getDagGcsPrefix(); onChanged(); return this; } /** + * + * *
              * Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud
              * Storage objects reside in a flat namespace, a hierarchical file tree
        @@ -1401,29 +1615,32 @@ public Builder clearDagGcsPrefix() {
              * 
        * * string dag_gcs_prefix = 2; + * * @param value The bytes for dagGcsPrefix to set. * @return This builder for chaining. */ - public Builder setDagGcsPrefixBytes( - com.google.protobuf.ByteString value) { + public Builder setDagGcsPrefixBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + dagGcsPrefix_ = value; onChanged(); return this; } - private int nodeCount_ ; + private int nodeCount_; /** + * + * *
              * The number of nodes in the Kubernetes Engine cluster that will be
              * used to run this environment.
              * 
        * * int32 node_count = 3; + * * @return The nodeCount. */ @java.lang.Override @@ -1431,32 +1648,38 @@ public int getNodeCount() { return nodeCount_; } /** + * + * *
              * The number of nodes in the Kubernetes Engine cluster that will be
              * used to run this environment.
              * 
        * * int32 node_count = 3; + * * @param value The nodeCount to set. * @return This builder for chaining. */ public Builder setNodeCount(int value) { - + nodeCount_ = value; onChanged(); return this; } /** + * + * *
              * The number of nodes in the Kubernetes Engine cluster that will be
              * used to run this environment.
              * 
        * * int32 node_count = 3; + * * @return This builder for chaining. */ public Builder clearNodeCount() { - + nodeCount_ = 0; onChanged(); return this; @@ -1464,41 +1687,58 @@ public Builder clearNodeCount() { private com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig softwareConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig, com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.Builder, com.google.cloud.orchestration.airflow.service.v1.SoftwareConfigOrBuilder> softwareConfigBuilder_; + com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig, + com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.Builder, + com.google.cloud.orchestration.airflow.service.v1.SoftwareConfigOrBuilder> + softwareConfigBuilder_; /** + * + * *
              * The configuration settings for software inside the environment.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.SoftwareConfig software_config = 4; + * .google.cloud.orchestration.airflow.service.v1.SoftwareConfig software_config = 4; + * + * * @return Whether the softwareConfig field is set. */ public boolean hasSoftwareConfig() { return softwareConfigBuilder_ != null || softwareConfig_ != null; } /** + * + * *
              * The configuration settings for software inside the environment.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.SoftwareConfig software_config = 4; + * .google.cloud.orchestration.airflow.service.v1.SoftwareConfig software_config = 4; + * + * * @return The softwareConfig. */ public com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig getSoftwareConfig() { if (softwareConfigBuilder_ == null) { - return softwareConfig_ == null ? com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.getDefaultInstance() : softwareConfig_; + return softwareConfig_ == null + ? com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.getDefaultInstance() + : softwareConfig_; } else { return softwareConfigBuilder_.getMessage(); } } /** + * + * *
              * The configuration settings for software inside the environment.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.SoftwareConfig software_config = 4; + * .google.cloud.orchestration.airflow.service.v1.SoftwareConfig software_config = 4; + * */ - public Builder setSoftwareConfig(com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig value) { + public Builder setSoftwareConfig( + com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig value) { if (softwareConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1512,11 +1752,14 @@ public Builder setSoftwareConfig(com.google.cloud.orchestration.airflow.service. return this; } /** + * + * *
              * The configuration settings for software inside the environment.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.SoftwareConfig software_config = 4; + * .google.cloud.orchestration.airflow.service.v1.SoftwareConfig software_config = 4; + * */ public Builder setSoftwareConfig( com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.Builder builderForValue) { @@ -1530,17 +1773,24 @@ public Builder setSoftwareConfig( return this; } /** + * + * *
              * The configuration settings for software inside the environment.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.SoftwareConfig software_config = 4; + * .google.cloud.orchestration.airflow.service.v1.SoftwareConfig software_config = 4; + * */ - public Builder mergeSoftwareConfig(com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig value) { + public Builder mergeSoftwareConfig( + com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig value) { if (softwareConfigBuilder_ == null) { if (softwareConfig_ != null) { softwareConfig_ = - com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.newBuilder(softwareConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.newBuilder( + softwareConfig_) + .mergeFrom(value) + .buildPartial(); } else { softwareConfig_ = value; } @@ -1552,11 +1802,14 @@ public Builder mergeSoftwareConfig(com.google.cloud.orchestration.airflow.servic return this; } /** + * + * *
              * The configuration settings for software inside the environment.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.SoftwareConfig software_config = 4; + * .google.cloud.orchestration.airflow.service.v1.SoftwareConfig software_config = 4; + * */ public Builder clearSoftwareConfig() { if (softwareConfigBuilder_ == null) { @@ -1570,48 +1823,63 @@ public Builder clearSoftwareConfig() { return this; } /** + * + * *
              * The configuration settings for software inside the environment.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.SoftwareConfig software_config = 4; + * .google.cloud.orchestration.airflow.service.v1.SoftwareConfig software_config = 4; + * */ - public com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.Builder getSoftwareConfigBuilder() { - + public com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.Builder + getSoftwareConfigBuilder() { + onChanged(); return getSoftwareConfigFieldBuilder().getBuilder(); } /** + * + * *
              * The configuration settings for software inside the environment.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.SoftwareConfig software_config = 4; + * .google.cloud.orchestration.airflow.service.v1.SoftwareConfig software_config = 4; + * */ - public com.google.cloud.orchestration.airflow.service.v1.SoftwareConfigOrBuilder getSoftwareConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1.SoftwareConfigOrBuilder + getSoftwareConfigOrBuilder() { if (softwareConfigBuilder_ != null) { return softwareConfigBuilder_.getMessageOrBuilder(); } else { - return softwareConfig_ == null ? - com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.getDefaultInstance() : softwareConfig_; + return softwareConfig_ == null + ? com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.getDefaultInstance() + : softwareConfig_; } } /** + * + * *
              * The configuration settings for software inside the environment.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.SoftwareConfig software_config = 4; + * .google.cloud.orchestration.airflow.service.v1.SoftwareConfig software_config = 4; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig, com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.Builder, com.google.cloud.orchestration.airflow.service.v1.SoftwareConfigOrBuilder> + com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig, + com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.Builder, + com.google.cloud.orchestration.airflow.service.v1.SoftwareConfigOrBuilder> getSoftwareConfigFieldBuilder() { if (softwareConfigBuilder_ == null) { - softwareConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig, com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.Builder, com.google.cloud.orchestration.airflow.service.v1.SoftwareConfigOrBuilder>( - getSoftwareConfig(), - getParentForChildren(), - isClean()); + softwareConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig, + com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.Builder, + com.google.cloud.orchestration.airflow.service.v1.SoftwareConfigOrBuilder>( + getSoftwareConfig(), getParentForChildren(), isClean()); softwareConfig_ = null; } return softwareConfigBuilder_; @@ -1619,41 +1887,55 @@ public com.google.cloud.orchestration.airflow.service.v1.SoftwareConfigOrBuilder private com.google.cloud.orchestration.airflow.service.v1.NodeConfig nodeConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.NodeConfig, com.google.cloud.orchestration.airflow.service.v1.NodeConfig.Builder, com.google.cloud.orchestration.airflow.service.v1.NodeConfigOrBuilder> nodeConfigBuilder_; + com.google.cloud.orchestration.airflow.service.v1.NodeConfig, + com.google.cloud.orchestration.airflow.service.v1.NodeConfig.Builder, + com.google.cloud.orchestration.airflow.service.v1.NodeConfigOrBuilder> + nodeConfigBuilder_; /** + * + * *
              * The configuration used for the Kubernetes Engine cluster.
              * 
        * * .google.cloud.orchestration.airflow.service.v1.NodeConfig node_config = 5; + * * @return Whether the nodeConfig field is set. */ public boolean hasNodeConfig() { return nodeConfigBuilder_ != null || nodeConfig_ != null; } /** + * + * *
              * The configuration used for the Kubernetes Engine cluster.
              * 
        * * .google.cloud.orchestration.airflow.service.v1.NodeConfig node_config = 5; + * * @return The nodeConfig. */ public com.google.cloud.orchestration.airflow.service.v1.NodeConfig getNodeConfig() { if (nodeConfigBuilder_ == null) { - return nodeConfig_ == null ? com.google.cloud.orchestration.airflow.service.v1.NodeConfig.getDefaultInstance() : nodeConfig_; + return nodeConfig_ == null + ? com.google.cloud.orchestration.airflow.service.v1.NodeConfig.getDefaultInstance() + : nodeConfig_; } else { return nodeConfigBuilder_.getMessage(); } } /** + * + * *
              * The configuration used for the Kubernetes Engine cluster.
              * 
        * * .google.cloud.orchestration.airflow.service.v1.NodeConfig node_config = 5; */ - public Builder setNodeConfig(com.google.cloud.orchestration.airflow.service.v1.NodeConfig value) { + public Builder setNodeConfig( + com.google.cloud.orchestration.airflow.service.v1.NodeConfig value) { if (nodeConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1667,6 +1949,8 @@ public Builder setNodeConfig(com.google.cloud.orchestration.airflow.service.v1.N return this; } /** + * + * *
              * The configuration used for the Kubernetes Engine cluster.
              * 
        @@ -1685,17 +1969,22 @@ public Builder setNodeConfig( return this; } /** + * + * *
              * The configuration used for the Kubernetes Engine cluster.
              * 
        * * .google.cloud.orchestration.airflow.service.v1.NodeConfig node_config = 5; */ - public Builder mergeNodeConfig(com.google.cloud.orchestration.airflow.service.v1.NodeConfig value) { + public Builder mergeNodeConfig( + com.google.cloud.orchestration.airflow.service.v1.NodeConfig value) { if (nodeConfigBuilder_ == null) { if (nodeConfig_ != null) { nodeConfig_ = - com.google.cloud.orchestration.airflow.service.v1.NodeConfig.newBuilder(nodeConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.orchestration.airflow.service.v1.NodeConfig.newBuilder(nodeConfig_) + .mergeFrom(value) + .buildPartial(); } else { nodeConfig_ = value; } @@ -1707,6 +1996,8 @@ public Builder mergeNodeConfig(com.google.cloud.orchestration.airflow.service.v1 return this; } /** + * + * *
              * The configuration used for the Kubernetes Engine cluster.
              * 
        @@ -1725,33 +2016,42 @@ public Builder clearNodeConfig() { return this; } /** + * + * *
              * The configuration used for the Kubernetes Engine cluster.
              * 
        * * .google.cloud.orchestration.airflow.service.v1.NodeConfig node_config = 5; */ - public com.google.cloud.orchestration.airflow.service.v1.NodeConfig.Builder getNodeConfigBuilder() { - + public com.google.cloud.orchestration.airflow.service.v1.NodeConfig.Builder + getNodeConfigBuilder() { + onChanged(); return getNodeConfigFieldBuilder().getBuilder(); } /** + * + * *
              * The configuration used for the Kubernetes Engine cluster.
              * 
        * * .google.cloud.orchestration.airflow.service.v1.NodeConfig node_config = 5; */ - public com.google.cloud.orchestration.airflow.service.v1.NodeConfigOrBuilder getNodeConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1.NodeConfigOrBuilder + getNodeConfigOrBuilder() { if (nodeConfigBuilder_ != null) { return nodeConfigBuilder_.getMessageOrBuilder(); } else { - return nodeConfig_ == null ? - com.google.cloud.orchestration.airflow.service.v1.NodeConfig.getDefaultInstance() : nodeConfig_; + return nodeConfig_ == null + ? com.google.cloud.orchestration.airflow.service.v1.NodeConfig.getDefaultInstance() + : nodeConfig_; } } /** + * + * *
              * The configuration used for the Kubernetes Engine cluster.
              * 
        @@ -1759,56 +2059,82 @@ public com.google.cloud.orchestration.airflow.service.v1.NodeConfigOrBuilder get * .google.cloud.orchestration.airflow.service.v1.NodeConfig node_config = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.NodeConfig, com.google.cloud.orchestration.airflow.service.v1.NodeConfig.Builder, com.google.cloud.orchestration.airflow.service.v1.NodeConfigOrBuilder> + com.google.cloud.orchestration.airflow.service.v1.NodeConfig, + com.google.cloud.orchestration.airflow.service.v1.NodeConfig.Builder, + com.google.cloud.orchestration.airflow.service.v1.NodeConfigOrBuilder> getNodeConfigFieldBuilder() { if (nodeConfigBuilder_ == null) { - nodeConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.NodeConfig, com.google.cloud.orchestration.airflow.service.v1.NodeConfig.Builder, com.google.cloud.orchestration.airflow.service.v1.NodeConfigOrBuilder>( - getNodeConfig(), - getParentForChildren(), - isClean()); + nodeConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.orchestration.airflow.service.v1.NodeConfig, + com.google.cloud.orchestration.airflow.service.v1.NodeConfig.Builder, + com.google.cloud.orchestration.airflow.service.v1.NodeConfigOrBuilder>( + getNodeConfig(), getParentForChildren(), isClean()); nodeConfig_ = null; } return nodeConfigBuilder_; } - private com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig privateEnvironmentConfig_; + private com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig + privateEnvironmentConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig, com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig.Builder, com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfigOrBuilder> privateEnvironmentConfigBuilder_; + com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig, + com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig.Builder, + com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfigOrBuilder> + privateEnvironmentConfigBuilder_; /** + * + * *
              * The configuration used for the Private IP Cloud Composer environment.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7; + * + * .google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7; + * + * * @return Whether the privateEnvironmentConfig field is set. */ public boolean hasPrivateEnvironmentConfig() { return privateEnvironmentConfigBuilder_ != null || privateEnvironmentConfig_ != null; } /** + * + * *
              * The configuration used for the Private IP Cloud Composer environment.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7; + * + * .google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7; + * + * * @return The privateEnvironmentConfig. */ - public com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig getPrivateEnvironmentConfig() { + public com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig + getPrivateEnvironmentConfig() { if (privateEnvironmentConfigBuilder_ == null) { - return privateEnvironmentConfig_ == null ? com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig.getDefaultInstance() : privateEnvironmentConfig_; + return privateEnvironmentConfig_ == null + ? com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig + .getDefaultInstance() + : privateEnvironmentConfig_; } else { return privateEnvironmentConfigBuilder_.getMessage(); } } /** + * + * *
              * The configuration used for the Private IP Cloud Composer environment.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7; + * + * .google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7; + * */ - public Builder setPrivateEnvironmentConfig(com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig value) { + public Builder setPrivateEnvironmentConfig( + com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig value) { if (privateEnvironmentConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1822,14 +2148,19 @@ public Builder setPrivateEnvironmentConfig(com.google.cloud.orchestration.airflo return this; } /** + * + * *
              * The configuration used for the Private IP Cloud Composer environment.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7; + * + * .google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7; + * */ public Builder setPrivateEnvironmentConfig( - com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig.Builder builderForValue) { + com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig.Builder + builderForValue) { if (privateEnvironmentConfigBuilder_ == null) { privateEnvironmentConfig_ = builderForValue.build(); onChanged(); @@ -1840,17 +2171,25 @@ public Builder setPrivateEnvironmentConfig( return this; } /** + * + * *
              * The configuration used for the Private IP Cloud Composer environment.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7; + * + * .google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7; + * */ - public Builder mergePrivateEnvironmentConfig(com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig value) { + public Builder mergePrivateEnvironmentConfig( + com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig value) { if (privateEnvironmentConfigBuilder_ == null) { if (privateEnvironmentConfig_ != null) { privateEnvironmentConfig_ = - com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig.newBuilder(privateEnvironmentConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig.newBuilder( + privateEnvironmentConfig_) + .mergeFrom(value) + .buildPartial(); } else { privateEnvironmentConfig_ = value; } @@ -1862,11 +2201,15 @@ public Builder mergePrivateEnvironmentConfig(com.google.cloud.orchestration.airf return this; } /** + * + * *
              * The configuration used for the Private IP Cloud Composer environment.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7; + * + * .google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7; + * */ public Builder clearPrivateEnvironmentConfig() { if (privateEnvironmentConfigBuilder_ == null) { @@ -1880,93 +2223,138 @@ public Builder clearPrivateEnvironmentConfig() { return this; } /** + * + * *
              * The configuration used for the Private IP Cloud Composer environment.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7; + * + * .google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7; + * */ - public com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig.Builder getPrivateEnvironmentConfigBuilder() { - + public com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig.Builder + getPrivateEnvironmentConfigBuilder() { + onChanged(); return getPrivateEnvironmentConfigFieldBuilder().getBuilder(); } /** + * + * *
              * The configuration used for the Private IP Cloud Composer environment.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7; + * + * .google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7; + * */ - public com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfigOrBuilder getPrivateEnvironmentConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfigOrBuilder + getPrivateEnvironmentConfigOrBuilder() { if (privateEnvironmentConfigBuilder_ != null) { return privateEnvironmentConfigBuilder_.getMessageOrBuilder(); } else { - return privateEnvironmentConfig_ == null ? - com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig.getDefaultInstance() : privateEnvironmentConfig_; + return privateEnvironmentConfig_ == null + ? com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig + .getDefaultInstance() + : privateEnvironmentConfig_; } } /** + * + * *
              * The configuration used for the Private IP Cloud Composer environment.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7; + * + * .google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig, com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig.Builder, com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfigOrBuilder> + com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig, + com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig.Builder, + com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfigOrBuilder> getPrivateEnvironmentConfigFieldBuilder() { if (privateEnvironmentConfigBuilder_ == null) { - privateEnvironmentConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig, com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig.Builder, com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfigOrBuilder>( - getPrivateEnvironmentConfig(), - getParentForChildren(), - isClean()); + privateEnvironmentConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig, + com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig.Builder, + com.google.cloud.orchestration.airflow.service.v1 + .PrivateEnvironmentConfigOrBuilder>( + getPrivateEnvironmentConfig(), getParentForChildren(), isClean()); privateEnvironmentConfig_ = null; } return privateEnvironmentConfigBuilder_; } - private com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl webServerNetworkAccessControl_; + private com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + webServerNetworkAccessControl_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl, com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.Builder, com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControlOrBuilder> webServerNetworkAccessControlBuilder_; + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl, + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.Builder, + com.google.cloud.orchestration.airflow.service.v1 + .WebServerNetworkAccessControlOrBuilder> + webServerNetworkAccessControlBuilder_; /** + * + * *
              * Optional. The network-level access control policy for the Airflow web server. If
              * unspecified, no network-level access restrictions will be applied.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the webServerNetworkAccessControl field is set. */ public boolean hasWebServerNetworkAccessControl() { - return webServerNetworkAccessControlBuilder_ != null || webServerNetworkAccessControl_ != null; + return webServerNetworkAccessControlBuilder_ != null + || webServerNetworkAccessControl_ != null; } /** + * + * *
              * Optional. The network-level access control policy for the Airflow web server. If
              * unspecified, no network-level access restrictions will be applied.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The webServerNetworkAccessControl. */ - public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl getWebServerNetworkAccessControl() { + public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + getWebServerNetworkAccessControl() { if (webServerNetworkAccessControlBuilder_ == null) { - return webServerNetworkAccessControl_ == null ? com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.getDefaultInstance() : webServerNetworkAccessControl_; + return webServerNetworkAccessControl_ == null + ? com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .getDefaultInstance() + : webServerNetworkAccessControl_; } else { return webServerNetworkAccessControlBuilder_.getMessage(); } } /** + * + * *
              * Optional. The network-level access control policy for the Airflow web server. If
              * unspecified, no network-level access restrictions will be applied.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setWebServerNetworkAccessControl(com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl value) { + public Builder setWebServerNetworkAccessControl( + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl value) { if (webServerNetworkAccessControlBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1980,15 +2368,20 @@ public Builder setWebServerNetworkAccessControl(com.google.cloud.orchestration.a return this; } /** + * + * *
              * Optional. The network-level access control policy for the Airflow web server. If
              * unspecified, no network-level access restrictions will be applied.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setWebServerNetworkAccessControl( - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.Builder builderForValue) { + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.Builder + builderForValue) { if (webServerNetworkAccessControlBuilder_ == null) { webServerNetworkAccessControl_ = builderForValue.build(); onChanged(); @@ -1999,18 +2392,26 @@ public Builder setWebServerNetworkAccessControl( return this; } /** + * + * *
              * Optional. The network-level access control policy for the Airflow web server. If
              * unspecified, no network-level access restrictions will be applied.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeWebServerNetworkAccessControl(com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl value) { + public Builder mergeWebServerNetworkAccessControl( + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl value) { if (webServerNetworkAccessControlBuilder_ == null) { if (webServerNetworkAccessControl_ != null) { webServerNetworkAccessControl_ = - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.newBuilder(webServerNetworkAccessControl_).mergeFrom(value).buildPartial(); + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .newBuilder(webServerNetworkAccessControl_) + .mergeFrom(value) + .buildPartial(); } else { webServerNetworkAccessControl_ = value; } @@ -2022,12 +2423,16 @@ public Builder mergeWebServerNetworkAccessControl(com.google.cloud.orchestration return this; } /** + * + * *
              * Optional. The network-level access control policy for the Airflow web server. If
              * unspecified, no network-level access restrictions will be applied.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearWebServerNetworkAccessControl() { if (webServerNetworkAccessControlBuilder_ == null) { @@ -2041,51 +2446,73 @@ public Builder clearWebServerNetworkAccessControl() { return this; } /** + * + * *
              * Optional. The network-level access control policy for the Airflow web server. If
              * unspecified, no network-level access restrictions will be applied.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.Builder getWebServerNetworkAccessControlBuilder() { - + public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.Builder + getWebServerNetworkAccessControlBuilder() { + onChanged(); return getWebServerNetworkAccessControlFieldBuilder().getBuilder(); } /** + * + * *
              * Optional. The network-level access control policy for the Airflow web server. If
              * unspecified, no network-level access restrictions will be applied.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControlOrBuilder getWebServerNetworkAccessControlOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControlOrBuilder + getWebServerNetworkAccessControlOrBuilder() { if (webServerNetworkAccessControlBuilder_ != null) { return webServerNetworkAccessControlBuilder_.getMessageOrBuilder(); } else { - return webServerNetworkAccessControl_ == null ? - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.getDefaultInstance() : webServerNetworkAccessControl_; + return webServerNetworkAccessControl_ == null + ? com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .getDefaultInstance() + : webServerNetworkAccessControl_; } } /** + * + * *
              * Optional. The network-level access control policy for the Airflow web server. If
              * unspecified, no network-level access restrictions will be applied.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl, com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.Builder, com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControlOrBuilder> + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl, + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.Builder, + com.google.cloud.orchestration.airflow.service.v1 + .WebServerNetworkAccessControlOrBuilder> getWebServerNetworkAccessControlFieldBuilder() { if (webServerNetworkAccessControlBuilder_ == null) { - webServerNetworkAccessControlBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl, com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.Builder, com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControlOrBuilder>( - getWebServerNetworkAccessControl(), - getParentForChildren(), - isClean()); + webServerNetworkAccessControlBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl, + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .Builder, + com.google.cloud.orchestration.airflow.service.v1 + .WebServerNetworkAccessControlOrBuilder>( + getWebServerNetworkAccessControl(), getParentForChildren(), isClean()); webServerNetworkAccessControl_ = null; } return webServerNetworkAccessControlBuilder_; @@ -2093,44 +2520,64 @@ public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessC private com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig databaseConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig, com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig.Builder, com.google.cloud.orchestration.airflow.service.v1.DatabaseConfigOrBuilder> databaseConfigBuilder_; + com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig, + com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig.Builder, + com.google.cloud.orchestration.airflow.service.v1.DatabaseConfigOrBuilder> + databaseConfigBuilder_; /** + * + * *
              * Optional. The configuration settings for Cloud SQL instance used internally by Apache
              * Airflow software.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the databaseConfig field is set. */ public boolean hasDatabaseConfig() { return databaseConfigBuilder_ != null || databaseConfig_ != null; } /** + * + * *
              * Optional. The configuration settings for Cloud SQL instance used internally by Apache
              * Airflow software.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The databaseConfig. */ public com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig getDatabaseConfig() { if (databaseConfigBuilder_ == null) { - return databaseConfig_ == null ? com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig.getDefaultInstance() : databaseConfig_; + return databaseConfig_ == null + ? com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig.getDefaultInstance() + : databaseConfig_; } else { return databaseConfigBuilder_.getMessage(); } } /** + * + * *
              * Optional. The configuration settings for Cloud SQL instance used internally by Apache
              * Airflow software.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setDatabaseConfig(com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig value) { + public Builder setDatabaseConfig( + com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig value) { if (databaseConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2144,12 +2591,16 @@ public Builder setDatabaseConfig(com.google.cloud.orchestration.airflow.service. return this; } /** + * + * *
              * Optional. The configuration settings for Cloud SQL instance used internally by Apache
              * Airflow software.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setDatabaseConfig( com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig.Builder builderForValue) { @@ -2163,18 +2614,26 @@ public Builder setDatabaseConfig( return this; } /** + * + * *
              * Optional. The configuration settings for Cloud SQL instance used internally by Apache
              * Airflow software.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeDatabaseConfig(com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig value) { + public Builder mergeDatabaseConfig( + com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig value) { if (databaseConfigBuilder_ == null) { if (databaseConfig_ != null) { databaseConfig_ = - com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig.newBuilder(databaseConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig.newBuilder( + databaseConfig_) + .mergeFrom(value) + .buildPartial(); } else { databaseConfig_ = value; } @@ -2186,12 +2645,16 @@ public Builder mergeDatabaseConfig(com.google.cloud.orchestration.airflow.servic return this; } /** + * + * *
              * Optional. The configuration settings for Cloud SQL instance used internally by Apache
              * Airflow software.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearDatabaseConfig() { if (databaseConfigBuilder_ == null) { @@ -2205,51 +2668,69 @@ public Builder clearDatabaseConfig() { return this; } /** + * + * *
              * Optional. The configuration settings for Cloud SQL instance used internally by Apache
              * Airflow software.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig.Builder getDatabaseConfigBuilder() { - + public com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig.Builder + getDatabaseConfigBuilder() { + onChanged(); return getDatabaseConfigFieldBuilder().getBuilder(); } /** + * + * *
              * Optional. The configuration settings for Cloud SQL instance used internally by Apache
              * Airflow software.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.orchestration.airflow.service.v1.DatabaseConfigOrBuilder getDatabaseConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1.DatabaseConfigOrBuilder + getDatabaseConfigOrBuilder() { if (databaseConfigBuilder_ != null) { return databaseConfigBuilder_.getMessageOrBuilder(); } else { - return databaseConfig_ == null ? - com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig.getDefaultInstance() : databaseConfig_; + return databaseConfig_ == null + ? com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig.getDefaultInstance() + : databaseConfig_; } } /** + * + * *
              * Optional. The configuration settings for Cloud SQL instance used internally by Apache
              * Airflow software.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig, com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig.Builder, com.google.cloud.orchestration.airflow.service.v1.DatabaseConfigOrBuilder> + com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig, + com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig.Builder, + com.google.cloud.orchestration.airflow.service.v1.DatabaseConfigOrBuilder> getDatabaseConfigFieldBuilder() { if (databaseConfigBuilder_ == null) { - databaseConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig, com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig.Builder, com.google.cloud.orchestration.airflow.service.v1.DatabaseConfigOrBuilder>( - getDatabaseConfig(), - getParentForChildren(), - isClean()); + databaseConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig, + com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig.Builder, + com.google.cloud.orchestration.airflow.service.v1.DatabaseConfigOrBuilder>( + getDatabaseConfig(), getParentForChildren(), isClean()); databaseConfig_ = null; } return databaseConfigBuilder_; @@ -2257,41 +2738,61 @@ public com.google.cloud.orchestration.airflow.service.v1.DatabaseConfigOrBuilder private com.google.cloud.orchestration.airflow.service.v1.WebServerConfig webServerConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.WebServerConfig, com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.Builder, com.google.cloud.orchestration.airflow.service.v1.WebServerConfigOrBuilder> webServerConfigBuilder_; + com.google.cloud.orchestration.airflow.service.v1.WebServerConfig, + com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.Builder, + com.google.cloud.orchestration.airflow.service.v1.WebServerConfigOrBuilder> + webServerConfigBuilder_; /** + * + * *
              * Optional. The configuration settings for the Airflow web server App Engine instance.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the webServerConfig field is set. */ public boolean hasWebServerConfig() { return webServerConfigBuilder_ != null || webServerConfig_ != null; } /** + * + * *
              * Optional. The configuration settings for the Airflow web server App Engine instance.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The webServerConfig. */ public com.google.cloud.orchestration.airflow.service.v1.WebServerConfig getWebServerConfig() { if (webServerConfigBuilder_ == null) { - return webServerConfig_ == null ? com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.getDefaultInstance() : webServerConfig_; + return webServerConfig_ == null + ? com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.getDefaultInstance() + : webServerConfig_; } else { return webServerConfigBuilder_.getMessage(); } } /** + * + * *
              * Optional. The configuration settings for the Airflow web server App Engine instance.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setWebServerConfig(com.google.cloud.orchestration.airflow.service.v1.WebServerConfig value) { + public Builder setWebServerConfig( + com.google.cloud.orchestration.airflow.service.v1.WebServerConfig value) { if (webServerConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2305,11 +2806,15 @@ public Builder setWebServerConfig(com.google.cloud.orchestration.airflow.service return this; } /** + * + * *
              * Optional. The configuration settings for the Airflow web server App Engine instance.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setWebServerConfig( com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.Builder builderForValue) { @@ -2323,17 +2828,25 @@ public Builder setWebServerConfig( return this; } /** + * + * *
              * Optional. The configuration settings for the Airflow web server App Engine instance.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeWebServerConfig(com.google.cloud.orchestration.airflow.service.v1.WebServerConfig value) { + public Builder mergeWebServerConfig( + com.google.cloud.orchestration.airflow.service.v1.WebServerConfig value) { if (webServerConfigBuilder_ == null) { if (webServerConfig_ != null) { webServerConfig_ = - com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.newBuilder(webServerConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.newBuilder( + webServerConfig_) + .mergeFrom(value) + .buildPartial(); } else { webServerConfig_ = value; } @@ -2345,11 +2858,15 @@ public Builder mergeWebServerConfig(com.google.cloud.orchestration.airflow.servi return this; } /** + * + * *
              * Optional. The configuration settings for the Airflow web server App Engine instance.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearWebServerConfig() { if (webServerConfigBuilder_ == null) { @@ -2363,48 +2880,66 @@ public Builder clearWebServerConfig() { return this; } /** + * + * *
              * Optional. The configuration settings for the Airflow web server App Engine instance.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.Builder getWebServerConfigBuilder() { - + public com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.Builder + getWebServerConfigBuilder() { + onChanged(); return getWebServerConfigFieldBuilder().getBuilder(); } /** + * + * *
              * Optional. The configuration settings for the Airflow web server App Engine instance.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.orchestration.airflow.service.v1.WebServerConfigOrBuilder getWebServerConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1.WebServerConfigOrBuilder + getWebServerConfigOrBuilder() { if (webServerConfigBuilder_ != null) { return webServerConfigBuilder_.getMessageOrBuilder(); } else { - return webServerConfig_ == null ? - com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.getDefaultInstance() : webServerConfig_; + return webServerConfig_ == null + ? com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.getDefaultInstance() + : webServerConfig_; } } /** + * + * *
              * Optional. The configuration settings for the Airflow web server App Engine instance.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.WebServerConfig, com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.Builder, com.google.cloud.orchestration.airflow.service.v1.WebServerConfigOrBuilder> + com.google.cloud.orchestration.airflow.service.v1.WebServerConfig, + com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.Builder, + com.google.cloud.orchestration.airflow.service.v1.WebServerConfigOrBuilder> getWebServerConfigFieldBuilder() { if (webServerConfigBuilder_ == null) { - webServerConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.WebServerConfig, com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.Builder, com.google.cloud.orchestration.airflow.service.v1.WebServerConfigOrBuilder>( - getWebServerConfig(), - getParentForChildren(), - isClean()); + webServerConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.orchestration.airflow.service.v1.WebServerConfig, + com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.Builder, + com.google.cloud.orchestration.airflow.service.v1.WebServerConfigOrBuilder>( + getWebServerConfig(), getParentForChildren(), isClean()); webServerConfig_ = null; } return webServerConfigBuilder_; @@ -2412,44 +2947,66 @@ public com.google.cloud.orchestration.airflow.service.v1.WebServerConfigOrBuilde private com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryptionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig, com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig.Builder, com.google.cloud.orchestration.airflow.service.v1.EncryptionConfigOrBuilder> encryptionConfigBuilder_; + com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig, + com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig.Builder, + com.google.cloud.orchestration.airflow.service.v1.EncryptionConfigOrBuilder> + encryptionConfigBuilder_; /** + * + * *
              * Optional. The encryption options for the Cloud Composer environment
              * and its dependencies. Cannot be updated.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the encryptionConfig field is set. */ public boolean hasEncryptionConfig() { return encryptionConfigBuilder_ != null || encryptionConfig_ != null; } /** + * + * *
              * Optional. The encryption options for the Cloud Composer environment
              * and its dependencies. Cannot be updated.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The encryptionConfig. */ - public com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig getEncryptionConfig() { + public com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig + getEncryptionConfig() { if (encryptionConfigBuilder_ == null) { - return encryptionConfig_ == null ? com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_; + return encryptionConfig_ == null + ? com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig + .getDefaultInstance() + : encryptionConfig_; } else { return encryptionConfigBuilder_.getMessage(); } } /** + * + * *
              * Optional. The encryption options for the Cloud Composer environment
              * and its dependencies. Cannot be updated.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setEncryptionConfig(com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig value) { + public Builder setEncryptionConfig( + com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig value) { if (encryptionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2463,15 +3020,20 @@ public Builder setEncryptionConfig(com.google.cloud.orchestration.airflow.servic return this; } /** + * + * *
              * Optional. The encryption options for the Cloud Composer environment
              * and its dependencies. Cannot be updated.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setEncryptionConfig( - com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig.Builder builderForValue) { + com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig.Builder + builderForValue) { if (encryptionConfigBuilder_ == null) { encryptionConfig_ = builderForValue.build(); onChanged(); @@ -2482,18 +3044,26 @@ public Builder setEncryptionConfig( return this; } /** + * + * *
              * Optional. The encryption options for the Cloud Composer environment
              * and its dependencies. Cannot be updated.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeEncryptionConfig(com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig value) { + public Builder mergeEncryptionConfig( + com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig value) { if (encryptionConfigBuilder_ == null) { if (encryptionConfig_ != null) { encryptionConfig_ = - com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig.newBuilder(encryptionConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig.newBuilder( + encryptionConfig_) + .mergeFrom(value) + .buildPartial(); } else { encryptionConfig_ = value; } @@ -2505,12 +3075,16 @@ public Builder mergeEncryptionConfig(com.google.cloud.orchestration.airflow.serv return this; } /** + * + * *
              * Optional. The encryption options for the Cloud Composer environment
              * and its dependencies. Cannot be updated.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearEncryptionConfig() { if (encryptionConfigBuilder_ == null) { @@ -2524,51 +3098,70 @@ public Builder clearEncryptionConfig() { return this; } /** + * + * *
              * Optional. The encryption options for the Cloud Composer environment
              * and its dependencies. Cannot be updated.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig.Builder getEncryptionConfigBuilder() { - + public com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig.Builder + getEncryptionConfigBuilder() { + onChanged(); return getEncryptionConfigFieldBuilder().getBuilder(); } /** + * + * *
              * Optional. The encryption options for the Cloud Composer environment
              * and its dependencies. Cannot be updated.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.orchestration.airflow.service.v1.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1.EncryptionConfigOrBuilder + getEncryptionConfigOrBuilder() { if (encryptionConfigBuilder_ != null) { return encryptionConfigBuilder_.getMessageOrBuilder(); } else { - return encryptionConfig_ == null ? - com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_; + return encryptionConfig_ == null + ? com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig + .getDefaultInstance() + : encryptionConfig_; } } /** + * + * *
              * Optional. The encryption options for the Cloud Composer environment
              * and its dependencies. Cannot be updated.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig, com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig.Builder, com.google.cloud.orchestration.airflow.service.v1.EncryptionConfigOrBuilder> + com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig, + com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig.Builder, + com.google.cloud.orchestration.airflow.service.v1.EncryptionConfigOrBuilder> getEncryptionConfigFieldBuilder() { if (encryptionConfigBuilder_ == null) { - encryptionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig, com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig.Builder, com.google.cloud.orchestration.airflow.service.v1.EncryptionConfigOrBuilder>( - getEncryptionConfig(), - getParentForChildren(), - isClean()); + encryptionConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig, + com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig.Builder, + com.google.cloud.orchestration.airflow.service.v1.EncryptionConfigOrBuilder>( + getEncryptionConfig(), getParentForChildren(), isClean()); encryptionConfig_ = null; } return encryptionConfigBuilder_; @@ -2576,6 +3169,8 @@ public com.google.cloud.orchestration.airflow.service.v1.EncryptionConfigOrBuild private java.lang.Object airflowUri_ = ""; /** + * + * *
              * Output only. The URI of the Apache Airflow Web UI hosted within this environment (see
              * [Airflow web
        @@ -2583,13 +3178,13 @@ public com.google.cloud.orchestration.airflow.service.v1.EncryptionConfigOrBuild
              * 
        * * string airflow_uri = 6; + * * @return The airflowUri. */ public java.lang.String getAirflowUri() { java.lang.Object ref = airflowUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); airflowUri_ = s; return s; @@ -2598,6 +3193,8 @@ public java.lang.String getAirflowUri() { } } /** + * + * *
              * Output only. The URI of the Apache Airflow Web UI hosted within this environment (see
              * [Airflow web
        @@ -2605,15 +3202,14 @@ public java.lang.String getAirflowUri() {
              * 
        * * string airflow_uri = 6; + * * @return The bytes for airflowUri. */ - public com.google.protobuf.ByteString - getAirflowUriBytes() { + public com.google.protobuf.ByteString getAirflowUriBytes() { java.lang.Object ref = airflowUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); airflowUri_ = b; return b; } else { @@ -2621,6 +3217,8 @@ public java.lang.String getAirflowUri() { } } /** + * + * *
              * Output only. The URI of the Apache Airflow Web UI hosted within this environment (see
              * [Airflow web
        @@ -2628,20 +3226,22 @@ public java.lang.String getAirflowUri() {
              * 
        * * string airflow_uri = 6; + * * @param value The airflowUri to set. * @return This builder for chaining. */ - public Builder setAirflowUri( - java.lang.String value) { + public Builder setAirflowUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + airflowUri_ = value; onChanged(); return this; } /** + * + * *
              * Output only. The URI of the Apache Airflow Web UI hosted within this environment (see
              * [Airflow web
        @@ -2649,15 +3249,18 @@ public Builder setAirflowUri(
              * 
        * * string airflow_uri = 6; + * * @return This builder for chaining. */ public Builder clearAirflowUri() { - + airflowUri_ = getDefaultInstance().getAirflowUri(); onChanged(); return this; } /** + * + * *
              * Output only. The URI of the Apache Airflow Web UI hosted within this environment (see
              * [Airflow web
        @@ -2665,23 +3268,23 @@ public Builder clearAirflowUri() {
              * 
        * * string airflow_uri = 6; + * * @param value The bytes for airflowUri to set. * @return This builder for chaining. */ - public Builder setAirflowUriBytes( - com.google.protobuf.ByteString value) { + public Builder setAirflowUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + airflowUri_ = 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); } @@ -2691,30 +3294,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1.EnvironmentConfig) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1.EnvironmentConfig) - private static final com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig DEFAULT_INSTANCE; + private static final com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig(); } - public static com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EnvironmentConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new EnvironmentConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EnvironmentConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new EnvironmentConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2726,9 +3331,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentConfigOrBuilder.java b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentConfigOrBuilder.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentConfigOrBuilder.java rename to proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentConfigOrBuilder.java index a7bd3e46..8bb4646b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentConfigOrBuilder.java +++ b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentConfigOrBuilder.java @@ -1,33 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/orchestration/airflow/service/v1/environments.proto package com.google.cloud.orchestration.airflow.service.v1; -public interface EnvironmentConfigOrBuilder extends +public interface EnvironmentConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1.EnvironmentConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
            * Output only. The Kubernetes Engine cluster used to run this environment.
            * 
        * * string gke_cluster = 1; + * * @return The gkeCluster. */ java.lang.String getGkeCluster(); /** + * + * *
            * Output only. The Kubernetes Engine cluster used to run this environment.
            * 
        * * string gke_cluster = 1; + * * @return The bytes for gkeCluster. */ - com.google.protobuf.ByteString - getGkeClusterBytes(); + com.google.protobuf.ByteString getGkeClusterBytes(); /** + * + * *
            * Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud
            * Storage objects reside in a flat namespace, a hierarchical file tree
        @@ -36,10 +59,13 @@ public interface EnvironmentConfigOrBuilder extends
            * 
        * * string dag_gcs_prefix = 2; + * * @return The dagGcsPrefix. */ java.lang.String getDagGcsPrefix(); /** + * + * *
            * Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud
            * Storage objects reside in a flat namespace, a hierarchical file tree
        @@ -48,68 +74,88 @@ public interface EnvironmentConfigOrBuilder extends
            * 
        * * string dag_gcs_prefix = 2; + * * @return The bytes for dagGcsPrefix. */ - com.google.protobuf.ByteString - getDagGcsPrefixBytes(); + com.google.protobuf.ByteString getDagGcsPrefixBytes(); /** + * + * *
            * The number of nodes in the Kubernetes Engine cluster that will be
            * used to run this environment.
            * 
        * * int32 node_count = 3; + * * @return The nodeCount. */ int getNodeCount(); /** + * + * *
            * The configuration settings for software inside the environment.
            * 
        * * .google.cloud.orchestration.airflow.service.v1.SoftwareConfig software_config = 4; + * * @return Whether the softwareConfig field is set. */ boolean hasSoftwareConfig(); /** + * + * *
            * The configuration settings for software inside the environment.
            * 
        * * .google.cloud.orchestration.airflow.service.v1.SoftwareConfig software_config = 4; + * * @return The softwareConfig. */ com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig getSoftwareConfig(); /** + * + * *
            * The configuration settings for software inside the environment.
            * 
        * * .google.cloud.orchestration.airflow.service.v1.SoftwareConfig software_config = 4; */ - com.google.cloud.orchestration.airflow.service.v1.SoftwareConfigOrBuilder getSoftwareConfigOrBuilder(); + com.google.cloud.orchestration.airflow.service.v1.SoftwareConfigOrBuilder + getSoftwareConfigOrBuilder(); /** + * + * *
            * The configuration used for the Kubernetes Engine cluster.
            * 
        * * .google.cloud.orchestration.airflow.service.v1.NodeConfig node_config = 5; + * * @return Whether the nodeConfig field is set. */ boolean hasNodeConfig(); /** + * + * *
            * The configuration used for the Kubernetes Engine cluster.
            * 
        * * .google.cloud.orchestration.airflow.service.v1.NodeConfig node_config = 5; + * * @return The nodeConfig. */ com.google.cloud.orchestration.airflow.service.v1.NodeConfig getNodeConfig(); /** + * + * *
            * The configuration used for the Kubernetes Engine cluster.
            * 
        @@ -119,150 +165,229 @@ public interface EnvironmentConfigOrBuilder extends com.google.cloud.orchestration.airflow.service.v1.NodeConfigOrBuilder getNodeConfigOrBuilder(); /** + * + * *
            * The configuration used for the Private IP Cloud Composer environment.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7; + * + * .google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7; + * + * * @return Whether the privateEnvironmentConfig field is set. */ boolean hasPrivateEnvironmentConfig(); /** + * + * *
            * The configuration used for the Private IP Cloud Composer environment.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7; + * + * .google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7; + * + * * @return The privateEnvironmentConfig. */ - com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig getPrivateEnvironmentConfig(); + com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig + getPrivateEnvironmentConfig(); /** + * + * *
            * The configuration used for the Private IP Cloud Composer environment.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7; + * + * .google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7; + * */ - com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfigOrBuilder getPrivateEnvironmentConfigOrBuilder(); + com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfigOrBuilder + getPrivateEnvironmentConfigOrBuilder(); /** + * + * *
            * Optional. The network-level access control policy for the Airflow web server. If
            * unspecified, no network-level access restrictions will be applied.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the webServerNetworkAccessControl field is set. */ boolean hasWebServerNetworkAccessControl(); /** + * + * *
            * Optional. The network-level access control policy for the Airflow web server. If
            * unspecified, no network-level access restrictions will be applied.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The webServerNetworkAccessControl. */ - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl getWebServerNetworkAccessControl(); + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + getWebServerNetworkAccessControl(); /** + * + * *
            * Optional. The network-level access control policy for the Airflow web server. If
            * unspecified, no network-level access restrictions will be applied.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControlOrBuilder getWebServerNetworkAccessControlOrBuilder(); + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControlOrBuilder + getWebServerNetworkAccessControlOrBuilder(); /** + * + * *
            * Optional. The configuration settings for Cloud SQL instance used internally by Apache
            * Airflow software.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the databaseConfig field is set. */ boolean hasDatabaseConfig(); /** + * + * *
            * Optional. The configuration settings for Cloud SQL instance used internally by Apache
            * Airflow software.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The databaseConfig. */ com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig getDatabaseConfig(); /** + * + * *
            * Optional. The configuration settings for Cloud SQL instance used internally by Apache
            * Airflow software.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.orchestration.airflow.service.v1.DatabaseConfigOrBuilder getDatabaseConfigOrBuilder(); + com.google.cloud.orchestration.airflow.service.v1.DatabaseConfigOrBuilder + getDatabaseConfigOrBuilder(); /** + * + * *
            * Optional. The configuration settings for the Airflow web server App Engine instance.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the webServerConfig field is set. */ boolean hasWebServerConfig(); /** + * + * *
            * Optional. The configuration settings for the Airflow web server App Engine instance.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The webServerConfig. */ com.google.cloud.orchestration.airflow.service.v1.WebServerConfig getWebServerConfig(); /** + * + * *
            * Optional. The configuration settings for the Airflow web server App Engine instance.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.orchestration.airflow.service.v1.WebServerConfigOrBuilder getWebServerConfigOrBuilder(); + com.google.cloud.orchestration.airflow.service.v1.WebServerConfigOrBuilder + getWebServerConfigOrBuilder(); /** + * + * *
            * Optional. The encryption options for the Cloud Composer environment
            * and its dependencies. Cannot be updated.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the encryptionConfig field is set. */ boolean hasEncryptionConfig(); /** + * + * *
            * Optional. The encryption options for the Cloud Composer environment
            * and its dependencies. Cannot be updated.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The encryptionConfig. */ com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig getEncryptionConfig(); /** + * + * *
            * Optional. The encryption options for the Cloud Composer environment
            * and its dependencies. Cannot be updated.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.orchestration.airflow.service.v1.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder(); + com.google.cloud.orchestration.airflow.service.v1.EncryptionConfigOrBuilder + getEncryptionConfigOrBuilder(); /** + * + * *
            * Output only. The URI of the Apache Airflow Web UI hosted within this environment (see
            * [Airflow web
        @@ -270,10 +395,13 @@ public interface EnvironmentConfigOrBuilder extends
            * 
        * * string airflow_uri = 6; + * * @return The airflowUri. */ java.lang.String getAirflowUri(); /** + * + * *
            * Output only. The URI of the Apache Airflow Web UI hosted within this environment (see
            * [Airflow web
        @@ -281,8 +409,8 @@ public interface EnvironmentConfigOrBuilder extends
            * 
        * * string airflow_uri = 6; + * * @return The bytes for airflowUri. */ - com.google.protobuf.ByteString - getAirflowUriBytes(); + com.google.protobuf.ByteString getAirflowUriBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentOrBuilder.java b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentOrBuilder.java similarity index 84% rename from owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentOrBuilder.java rename to proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentOrBuilder.java index 316ab8c0..cc61d4c7 100644 --- a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentOrBuilder.java +++ b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentOrBuilder.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/orchestration/airflow/service/v1/environments.proto package com.google.cloud.orchestration.airflow.service.v1; -public interface EnvironmentOrBuilder extends +public interface EnvironmentOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1.Environment) com.google.protobuf.MessageOrBuilder { /** + * + * *
            * The resource name of the environment, in the form:
            * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
        @@ -16,10 +34,13 @@ public interface EnvironmentOrBuilder extends
            * 
        * * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
            * The resource name of the environment, in the form:
            * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
        @@ -28,30 +49,38 @@ public interface EnvironmentOrBuilder extends
            * 
        * * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
            * Configuration parameters for this environment.
            * 
        * * .google.cloud.orchestration.airflow.service.v1.EnvironmentConfig config = 2; + * * @return Whether the config field is set. */ boolean hasConfig(); /** + * + * *
            * Configuration parameters for this environment.
            * 
        * * .google.cloud.orchestration.airflow.service.v1.EnvironmentConfig config = 2; + * * @return The config. */ com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig getConfig(); /** + * + * *
            * Configuration parameters for this environment.
            * 
        @@ -61,65 +90,84 @@ public interface EnvironmentOrBuilder extends com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfigOrBuilder getConfigOrBuilder(); /** + * + * *
            * Output only. The UUID (Universally Unique IDentifier) associated with this environment.
            * This value is generated when the environment is created.
            * 
        * * string uuid = 3; + * * @return The uuid. */ java.lang.String getUuid(); /** + * + * *
            * Output only. The UUID (Universally Unique IDentifier) associated with this environment.
            * This value is generated when the environment is created.
            * 
        * * string uuid = 3; + * * @return The bytes for uuid. */ - com.google.protobuf.ByteString - getUuidBytes(); + com.google.protobuf.ByteString getUuidBytes(); /** + * + * *
            * The current state of the environment.
            * 
        * * .google.cloud.orchestration.airflow.service.v1.Environment.State state = 4; + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
            * The current state of the environment.
            * 
        * * .google.cloud.orchestration.airflow.service.v1.Environment.State state = 4; + * * @return The state. */ com.google.cloud.orchestration.airflow.service.v1.Environment.State getState(); /** + * + * *
            * Output only. The time at which this environment was created.
            * 
        * * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
            * Output only. The time at which this environment was created.
            * 
        * * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
            * Output only. The time at which this environment was created.
            * 
        @@ -129,24 +177,32 @@ public interface EnvironmentOrBuilder extends com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
            * Output only. The time at which this environment was last modified.
            * 
        * * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
            * Output only. The time at which this environment was last modified.
            * 
        * * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
            * Output only. The time at which this environment was last modified.
            * 
        @@ -156,6 +212,8 @@ public interface EnvironmentOrBuilder extends com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
            * Optional. User-defined labels for this environment.
            * The labels map can contain no more than 64 entries. Entries of the labels
        @@ -170,6 +228,8 @@ public interface EnvironmentOrBuilder extends
            */
           int getLabelsCount();
           /**
        +   *
        +   *
            * 
            * Optional. User-defined labels for this environment.
            * The labels map can contain no more than 64 entries. Entries of the labels
        @@ -182,15 +242,13 @@ public interface EnvironmentOrBuilder extends
            *
            * map<string, string> labels = 7;
            */
        -  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();
           /**
        +   *
        +   *
            * 
            * Optional. User-defined labels for this environment.
            * The labels map can contain no more than 64 entries. Entries of the labels
        @@ -203,9 +261,10 @@ boolean containsLabels(
            *
            * map<string, string> labels = 7;
            */
        -  java.util.Map
        -  getLabelsMap();
        +  java.util.Map getLabelsMap();
           /**
        +   *
        +   *
            * 
            * Optional. User-defined labels for this environment.
            * The labels map can contain no more than 64 entries. Entries of the labels
        @@ -220,11 +279,13 @@ boolean containsLabels(
            */
         
           /* nullable */
        -java.lang.String getLabelsOrDefault(
        +  java.lang.String getLabelsOrDefault(
               java.lang.String key,
               /* nullable */
        -java.lang.String defaultValue);
        +      java.lang.String defaultValue);
           /**
        +   *
        +   *
            * 
            * Optional. User-defined labels for this environment.
            * The labels map can contain no more than 64 entries. Entries of the labels
        @@ -237,7 +298,5 @@ java.lang.String getLabelsOrDefault(
            *
            * map<string, string> labels = 7;
            */
        -
        -  java.lang.String getLabelsOrThrow(
        -      java.lang.String key);
        +  java.lang.String getLabelsOrThrow(java.lang.String key);
         }
        diff --git a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsOuterClass.java b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsOuterClass.java
        new file mode 100644
        index 00000000..9ccfc590
        --- /dev/null
        +++ b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsOuterClass.java
        @@ -0,0 +1,569 @@
        +/*
        + * Copyright 2020 Google LLC
        + *
        + * Licensed under the Apache License, Version 2.0 (the "License");
        + * you may not use this file except in compliance with the License.
        + * You may obtain a copy of the License at
        + *
        + *     https://www.apache.org/licenses/LICENSE-2.0
        + *
        + * Unless required by applicable law or agreed to in writing, software
        + * distributed under the License is distributed on an "AS IS" BASIS,
        + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
        + * See the License for the specific language governing permissions and
        + * limitations under the License.
        + */
        +// Generated by the protocol buffer compiler.  DO NOT EDIT!
        +// source: google/cloud/orchestration/airflow/service/v1/environments.proto
        +
        +package com.google.cloud.orchestration.airflow.service.v1;
        +
        +public final class EnvironmentsOuterClass {
        +  private EnvironmentsOuterClass() {}
        +
        +  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_orchestration_airflow_service_v1_CreateEnvironmentRequest_descriptor;
        +  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        +      internal_static_google_cloud_orchestration_airflow_service_v1_CreateEnvironmentRequest_fieldAccessorTable;
        +  static final com.google.protobuf.Descriptors.Descriptor
        +      internal_static_google_cloud_orchestration_airflow_service_v1_GetEnvironmentRequest_descriptor;
        +  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        +      internal_static_google_cloud_orchestration_airflow_service_v1_GetEnvironmentRequest_fieldAccessorTable;
        +  static final com.google.protobuf.Descriptors.Descriptor
        +      internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsRequest_descriptor;
        +  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        +      internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsRequest_fieldAccessorTable;
        +  static final com.google.protobuf.Descriptors.Descriptor
        +      internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsResponse_descriptor;
        +  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        +      internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsResponse_fieldAccessorTable;
        +  static final com.google.protobuf.Descriptors.Descriptor
        +      internal_static_google_cloud_orchestration_airflow_service_v1_DeleteEnvironmentRequest_descriptor;
        +  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        +      internal_static_google_cloud_orchestration_airflow_service_v1_DeleteEnvironmentRequest_fieldAccessorTable;
        +  static final com.google.protobuf.Descriptors.Descriptor
        +      internal_static_google_cloud_orchestration_airflow_service_v1_UpdateEnvironmentRequest_descriptor;
        +  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        +      internal_static_google_cloud_orchestration_airflow_service_v1_UpdateEnvironmentRequest_fieldAccessorTable;
        +  static final com.google.protobuf.Descriptors.Descriptor
        +      internal_static_google_cloud_orchestration_airflow_service_v1_EnvironmentConfig_descriptor;
        +  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        +      internal_static_google_cloud_orchestration_airflow_service_v1_EnvironmentConfig_fieldAccessorTable;
        +  static final com.google.protobuf.Descriptors.Descriptor
        +      internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_descriptor;
        +  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        +      internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_fieldAccessorTable;
        +  static final com.google.protobuf.Descriptors.Descriptor
        +      internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_AllowedIpRange_descriptor;
        +  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        +      internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_AllowedIpRange_fieldAccessorTable;
        +  static final com.google.protobuf.Descriptors.Descriptor
        +      internal_static_google_cloud_orchestration_airflow_service_v1_DatabaseConfig_descriptor;
        +  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        +      internal_static_google_cloud_orchestration_airflow_service_v1_DatabaseConfig_fieldAccessorTable;
        +  static final com.google.protobuf.Descriptors.Descriptor
        +      internal_static_google_cloud_orchestration_airflow_service_v1_WebServerConfig_descriptor;
        +  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        +      internal_static_google_cloud_orchestration_airflow_service_v1_WebServerConfig_fieldAccessorTable;
        +  static final com.google.protobuf.Descriptors.Descriptor
        +      internal_static_google_cloud_orchestration_airflow_service_v1_EncryptionConfig_descriptor;
        +  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        +      internal_static_google_cloud_orchestration_airflow_service_v1_EncryptionConfig_fieldAccessorTable;
        +  static final com.google.protobuf.Descriptors.Descriptor
        +      internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_descriptor;
        +  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        +      internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_fieldAccessorTable;
        +  static final com.google.protobuf.Descriptors.Descriptor
        +      internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_AirflowConfigOverridesEntry_descriptor;
        +  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        +      internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_AirflowConfigOverridesEntry_fieldAccessorTable;
        +  static final com.google.protobuf.Descriptors.Descriptor
        +      internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_PypiPackagesEntry_descriptor;
        +  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        +      internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_PypiPackagesEntry_fieldAccessorTable;
        +  static final com.google.protobuf.Descriptors.Descriptor
        +      internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_EnvVariablesEntry_descriptor;
        +  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        +      internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_EnvVariablesEntry_fieldAccessorTable;
        +  static final com.google.protobuf.Descriptors.Descriptor
        +      internal_static_google_cloud_orchestration_airflow_service_v1_IPAllocationPolicy_descriptor;
        +  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        +      internal_static_google_cloud_orchestration_airflow_service_v1_IPAllocationPolicy_fieldAccessorTable;
        +  static final com.google.protobuf.Descriptors.Descriptor
        +      internal_static_google_cloud_orchestration_airflow_service_v1_NodeConfig_descriptor;
        +  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        +      internal_static_google_cloud_orchestration_airflow_service_v1_NodeConfig_fieldAccessorTable;
        +  static final com.google.protobuf.Descriptors.Descriptor
        +      internal_static_google_cloud_orchestration_airflow_service_v1_PrivateClusterConfig_descriptor;
        +  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        +      internal_static_google_cloud_orchestration_airflow_service_v1_PrivateClusterConfig_fieldAccessorTable;
        +  static final com.google.protobuf.Descriptors.Descriptor
        +      internal_static_google_cloud_orchestration_airflow_service_v1_PrivateEnvironmentConfig_descriptor;
        +  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        +      internal_static_google_cloud_orchestration_airflow_service_v1_PrivateEnvironmentConfig_fieldAccessorTable;
        +  static final com.google.protobuf.Descriptors.Descriptor
        +      internal_static_google_cloud_orchestration_airflow_service_v1_Environment_descriptor;
        +  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        +      internal_static_google_cloud_orchestration_airflow_service_v1_Environment_fieldAccessorTable;
        +  static final com.google.protobuf.Descriptors.Descriptor
        +      internal_static_google_cloud_orchestration_airflow_service_v1_Environment_LabelsEntry_descriptor;
        +  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        +      internal_static_google_cloud_orchestration_airflow_service_v1_Environment_LabelsEntry_fieldAccessorTable;
        +  static final com.google.protobuf.Descriptors.Descriptor
        +      internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_descriptor;
        +  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        +      internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_fieldAccessorTable;
        +  static final com.google.protobuf.Descriptors.Descriptor
        +      internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_PypiDependenciesEntry_descriptor;
        +  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        +      internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_PypiDependenciesEntry_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/orchestration/airflow/ser"
        +          + "vice/v1/environments.proto\022-google.cloud"
        +          + ".orchestration.airflow.service.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\"{\n\030CreateEnvironmentRequest"
        +          + "\022\016\n\006parent\030\001 \001(\t\022O\n\013environment\030\002 \001(\0132:."
        +          + "google.cloud.orchestration.airflow.servi"
        +          + "ce.v1.Environment\"%\n\025GetEnvironmentReque"
        +          + "st\022\014\n\004name\030\001 \001(\t\"P\n\027ListEnvironmentsRequ"
        +          + "est\022\016\n\006parent\030\001 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022"
        +          + "\n\npage_token\030\003 \001(\t\"\205\001\n\030ListEnvironmentsR"
        +          + "esponse\022P\n\014environments\030\001 \003(\0132:.google.c"
        +          + "loud.orchestration.airflow.service.v1.En"
        +          + "vironment\022\027\n\017next_page_token\030\002 \001(\t\"(\n\030De"
        +          + "leteEnvironmentRequest\022\014\n\004name\030\001 \001(\t\"\252\001\n"
        +          + "\030UpdateEnvironmentRequest\022\014\n\004name\030\002 \001(\t\022"
        +          + "O\n\013environment\030\001 \001(\0132:.google.cloud.orch"
        +          + "estration.airflow.service.v1.Environment"
        +          + "\022/\n\013update_mask\030\003 \001(\0132\032.google.protobuf."
        +          + "FieldMask\"\232\006\n\021EnvironmentConfig\022\023\n\013gke_c"
        +          + "luster\030\001 \001(\t\022\026\n\016dag_gcs_prefix\030\002 \001(\t\022\022\n\n"
        +          + "node_count\030\003 \001(\005\022V\n\017software_config\030\004 \001("
        +          + "\0132=.google.cloud.orchestration.airflow.s"
        +          + "ervice.v1.SoftwareConfig\022N\n\013node_config\030"
        +          + "\005 \001(\01329.google.cloud.orchestration.airfl"
        +          + "ow.service.v1.NodeConfig\022k\n\032private_envi"
        +          + "ronment_config\030\007 \001(\0132G.google.cloud.orch"
        +          + "estration.airflow.service.v1.PrivateEnvi"
        +          + "ronmentConfig\022|\n!web_server_network_acce"
        +          + "ss_control\030\010 \001(\0132L.google.cloud.orchestr"
        +          + "ation.airflow.service.v1.WebServerNetwor"
        +          + "kAccessControlB\003\340A\001\022[\n\017database_config\030\t"
        +          + " \001(\0132=.google.cloud.orchestration.airflo"
        +          + "w.service.v1.DatabaseConfigB\003\340A\001\022^\n\021web_"
        +          + "server_config\030\n \001(\0132>.google.cloud.orche"
        +          + "stration.airflow.service.v1.WebServerCon"
        +          + "figB\003\340A\001\022_\n\021encryption_config\030\013 \001(\0132?.go"
        +          + "ogle.cloud.orchestration.airflow.service"
        +          + ".v1.EncryptionConfigB\003\340A\001\022\023\n\013airflow_uri"
        +          + "\030\006 \001(\t\"\322\001\n\035WebServerNetworkAccessControl"
        +          + "\022v\n\021allowed_ip_ranges\030\001 \003(\0132[.google.clo"
        +          + "ud.orchestration.airflow.service.v1.WebS"
        +          + "erverNetworkAccessControl.AllowedIpRange"
        +          + "\0329\n\016AllowedIpRange\022\r\n\005value\030\001 \001(\t\022\030\n\013des"
        +          + "cription\030\002 \001(\tB\003\340A\001\"+\n\016DatabaseConfig\022\031\n"
        +          + "\014machine_type\030\001 \001(\tB\003\340A\001\",\n\017WebServerCon"
        +          + "fig\022\031\n\014machine_type\030\001 \001(\tB\003\340A\001\"-\n\020Encryp"
        +          + "tionConfig\022\031\n\014kms_key_name\030\001 \001(\tB\003\340A\001\"\265\004"
        +          + "\n\016SoftwareConfig\022\025\n\rimage_version\030\001 \001(\t\022"
        +          + "{\n\030airflow_config_overrides\030\002 \003(\0132Y.goog"
        +          + "le.cloud.orchestration.airflow.service.v"
        +          + "1.SoftwareConfig.AirflowConfigOverridesE"
        +          + "ntry\022f\n\rpypi_packages\030\003 \003(\0132O.google.clo"
        +          + "ud.orchestration.airflow.service.v1.Soft"
        +          + "wareConfig.PypiPackagesEntry\022f\n\renv_vari"
        +          + "ables\030\004 \003(\0132O.google.cloud.orchestration"
        +          + ".airflow.service.v1.SoftwareConfig.EnvVa"
        +          + "riablesEntry\022\026\n\016python_version\030\006 \001(\t\032=\n\033"
        +          + "AirflowConfigOverridesEntry\022\013\n\003key\030\001 \001(\t"
        +          + "\022\r\n\005value\030\002 \001(\t:\0028\001\0323\n\021PypiPackagesEntry"
        +          + "\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\0323\n\021EnvV"
        +          + "ariablesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001("
        +          + "\t:\0028\001\"\220\002\n\022IPAllocationPolicy\022\033\n\016use_ip_a"
        +          + "liases\030\001 \001(\010B\003\340A\001\022+\n\034cluster_secondary_r"
        +          + "ange_name\030\002 \001(\tB\003\340A\001H\000\022&\n\027cluster_ipv4_c"
        +          + "idr_block\030\004 \001(\tB\003\340A\001H\000\022,\n\035services_secon"
        +          + "dary_range_name\030\003 \001(\tB\003\340A\001H\001\022\'\n\030services"
        +          + "_ipv4_cidr_block\030\005 \001(\tB\003\340A\001H\001B\027\n\025cluster"
        +          + "_ip_allocationB\030\n\026services_ip_allocation"
        +          + "\"\222\002\n\nNodeConfig\022\020\n\010location\030\001 \001(\t\022\024\n\014mac"
        +          + "hine_type\030\002 \001(\t\022\017\n\007network\030\003 \001(\t\022\022\n\nsubn"
        +          + "etwork\030\004 \001(\t\022\024\n\014disk_size_gb\030\005 \001(\005\022\024\n\014oa"
        +          + "uth_scopes\030\006 \003(\t\022\027\n\017service_account\030\007 \001("
        +          + "\t\022\014\n\004tags\030\010 \003(\t\022d\n\024ip_allocation_policy\030"
        +          + "\t \001(\0132A.google.cloud.orchestration.airfl"
        +          + "ow.service.v1.IPAllocationPolicyB\003\340A\001\"\212\001"
        +          + "\n\024PrivateClusterConfig\022$\n\027enable_private"
        +          + "_endpoint\030\001 \001(\010B\003\340A\001\022#\n\026master_ipv4_cidr"
        +          + "_block\030\002 \001(\tB\003\340A\001\022\'\n\032master_ipv4_reserve"
        +          + "d_range\030\003 \001(\tB\003\340A\003\"\253\002\n\030PrivateEnvironmen"
        +          + "tConfig\022\'\n\032enable_private_environment\030\001 "
        +          + "\001(\010B\003\340A\001\022h\n\026private_cluster_config\030\002 \001(\013"
        +          + "2C.google.cloud.orchestration.airflow.se"
        +          + "rvice.v1.PrivateClusterConfigB\003\340A\001\022\'\n\032we"
        +          + "b_server_ipv4_cidr_block\030\003 \001(\tB\003\340A\001\022&\n\031c"
        +          + "loud_sql_ipv4_cidr_block\030\004 \001(\tB\003\340A\001\022+\n\036w"
        +          + "eb_server_ipv4_reserved_range\030\005 \001(\tB\003\340A\003"
        +          + "\"\205\005\n\013Environment\022\014\n\004name\030\001 \001(\t\022P\n\006config"
        +          + "\030\002 \001(\0132@.google.cloud.orchestration.airf"
        +          + "low.service.v1.EnvironmentConfig\022\014\n\004uuid"
        +          + "\030\003 \001(\t\022O\n\005state\030\004 \001(\0162@.google.cloud.orc"
        +          + "hestration.airflow.service.v1.Environmen"
        +          + "t.State\022/\n\013create_time\030\005 \001(\0132\032.google.pr"
        +          + "otobuf.Timestamp\022/\n\013update_time\030\006 \001(\0132\032."
        +          + "google.protobuf.Timestamp\022V\n\006labels\030\007 \003("
        +          + "\0132F.google.cloud.orchestration.airflow.s"
        +          + "ervice.v1.Environment.LabelsEntry\032-\n\013Lab"
        +          + "elsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001"
        +          + "\"`\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\014\n\010CREA"
        +          + "TING\020\001\022\013\n\007RUNNING\020\002\022\014\n\010UPDATING\020\003\022\014\n\010DEL"
        +          + "ETING\020\004\022\t\n\005ERROR\020\005:l\352Ai\n#composer.google"
        +          + "apis.com/Environment\022Bprojects/{project}"
        +          + "/locations/{location}/environments/{envi"
        +          + "ronment}\"\371\003\n\024CheckUpgradeResponse\022\032\n\rbui"
        +          + "ld_log_uri\030\001 \001(\tB\003\340A\003\022\177\n\036contains_pypi_m"
        +          + "odules_conflict\030\004 \001(\0162R.google.cloud.orc"
        +          + "hestration.airflow.service.v1.CheckUpgra"
        +          + "deResponse.ConflictResultB\003\340A\003\022,\n\037pypi_c"
        +          + "onflict_build_log_extract\030\003 \001(\tB\003\340A\003\022\025\n\r"
        +          + "image_version\030\005 \001(\t\022t\n\021pypi_dependencies"
        +          + "\030\006 \003(\0132Y.google.cloud.orchestration.airf"
        +          + "low.service.v1.CheckUpgradeResponse.Pypi"
        +          + "DependenciesEntry\0327\n\025PypiDependenciesEnt"
        +          + "ry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"P\n\016Co"
        +          + "nflictResult\022\037\n\033CONFLICT_RESULT_UNSPECIF"
        +          + "IED\020\000\022\014\n\010CONFLICT\020\001\022\017\n\013NO_CONFLICT\020\0022\227\013\n"
        +          + "\014Environments\022\251\002\n\021CreateEnvironment\022G.go"
        +          + "ogle.cloud.orchestration.airflow.service"
        +          + ".v1.CreateEnvironmentRequest\032\035.google.lo"
        +          + "ngrunning.Operation\"\253\001\202\323\344\223\002?\"0/v1/{paren"
        +          + "t=projects/*/locations/*}/environments:\013"
        +          + "environment\332A\022parent,environment\312AN\n\013Env"
        +          + "ironment\022?google.cloud.orchestration.air"
        +          + "flow.service.v1.OperationMetadata\022\323\001\n\016Ge"
        +          + "tEnvironment\022D.google.cloud.orchestratio"
        +          + "n.airflow.service.v1.GetEnvironmentReque"
        +          + "st\032:.google.cloud.orchestration.airflow."
        +          + "service.v1.Environment\"?\202\323\344\223\0022\0220/v1/{nam"
        +          + "e=projects/*/locations/*/environments/*}"
        +          + "\332A\004name\022\346\001\n\020ListEnvironments\022F.google.cl"
        +          + "oud.orchestration.airflow.service.v1.Lis"
        +          + "tEnvironmentsRequest\032G.google.cloud.orch"
        +          + "estration.airflow.service.v1.ListEnviron"
        +          + "mentsResponse\"A\202\323\344\223\0022\0220/v1/{parent=proje"
        +          + "cts/*/locations/*}/environments\332A\006parent"
        +          + "\022\263\002\n\021UpdateEnvironment\022G.google.cloud.or"
        +          + "chestration.airflow.service.v1.UpdateEnv"
        +          + "ironmentRequest\032\035.google.longrunning.Ope"
        +          + "ration\"\265\001\202\323\344\223\002?20/v1/{name=projects/*/lo"
        +          + "cations/*/environments/*}:\013environment\332A"
        +          + "\034name,environment,update_mask\312AN\n\013Enviro"
        +          + "nment\022?google.cloud.orchestration.airflo"
        +          + "w.service.v1.OperationMetadata\022\230\002\n\021Delet"
        +          + "eEnvironment\022G.google.cloud.orchestratio"
        +          + "n.airflow.service.v1.DeleteEnvironmentRe"
        +          + "quest\032\035.google.longrunning.Operation\"\232\001\202"
        +          + "\323\344\223\0022*0/v1/{name=projects/*/locations/*/"
        +          + "environments/*}\332A\004name\312AX\n\025google.protob"
        +          + "uf.Empty\022?google.cloud.orchestration.air"
        +          + "flow.service.v1.OperationMetadata\032K\312A\027co"
        +          + "mposer.googleapis.com\322A.https://www.goog"
        +          + "leapis.com/auth/cloud-platformB\213\001\n1com.g"
        +          + "oogle.cloud.orchestration.airflow.servic"
        +          + "e.v1P\001ZTgoogle.golang.org/genproto/googl"
        +          + "eapis/cloud/orchestration/airflow/servic"
        +          + "e/v1;serviceb\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.longrunning.OperationsProto.getDescriptor(),
        +              com.google.protobuf.FieldMaskProto.getDescriptor(),
        +              com.google.protobuf.TimestampProto.getDescriptor(),
        +            });
        +    internal_static_google_cloud_orchestration_airflow_service_v1_CreateEnvironmentRequest_descriptor =
        +        getDescriptor().getMessageTypes().get(0);
        +    internal_static_google_cloud_orchestration_airflow_service_v1_CreateEnvironmentRequest_fieldAccessorTable =
        +        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        +            internal_static_google_cloud_orchestration_airflow_service_v1_CreateEnvironmentRequest_descriptor,
        +            new java.lang.String[] {
        +              "Parent", "Environment",
        +            });
        +    internal_static_google_cloud_orchestration_airflow_service_v1_GetEnvironmentRequest_descriptor =
        +        getDescriptor().getMessageTypes().get(1);
        +    internal_static_google_cloud_orchestration_airflow_service_v1_GetEnvironmentRequest_fieldAccessorTable =
        +        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        +            internal_static_google_cloud_orchestration_airflow_service_v1_GetEnvironmentRequest_descriptor,
        +            new java.lang.String[] {
        +              "Name",
        +            });
        +    internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsRequest_descriptor =
        +        getDescriptor().getMessageTypes().get(2);
        +    internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsRequest_fieldAccessorTable =
        +        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        +            internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsRequest_descriptor,
        +            new java.lang.String[] {
        +              "Parent", "PageSize", "PageToken",
        +            });
        +    internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsResponse_descriptor =
        +        getDescriptor().getMessageTypes().get(3);
        +    internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsResponse_fieldAccessorTable =
        +        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        +            internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsResponse_descriptor,
        +            new java.lang.String[] {
        +              "Environments", "NextPageToken",
        +            });
        +    internal_static_google_cloud_orchestration_airflow_service_v1_DeleteEnvironmentRequest_descriptor =
        +        getDescriptor().getMessageTypes().get(4);
        +    internal_static_google_cloud_orchestration_airflow_service_v1_DeleteEnvironmentRequest_fieldAccessorTable =
        +        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        +            internal_static_google_cloud_orchestration_airflow_service_v1_DeleteEnvironmentRequest_descriptor,
        +            new java.lang.String[] {
        +              "Name",
        +            });
        +    internal_static_google_cloud_orchestration_airflow_service_v1_UpdateEnvironmentRequest_descriptor =
        +        getDescriptor().getMessageTypes().get(5);
        +    internal_static_google_cloud_orchestration_airflow_service_v1_UpdateEnvironmentRequest_fieldAccessorTable =
        +        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        +            internal_static_google_cloud_orchestration_airflow_service_v1_UpdateEnvironmentRequest_descriptor,
        +            new java.lang.String[] {
        +              "Name", "Environment", "UpdateMask",
        +            });
        +    internal_static_google_cloud_orchestration_airflow_service_v1_EnvironmentConfig_descriptor =
        +        getDescriptor().getMessageTypes().get(6);
        +    internal_static_google_cloud_orchestration_airflow_service_v1_EnvironmentConfig_fieldAccessorTable =
        +        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        +            internal_static_google_cloud_orchestration_airflow_service_v1_EnvironmentConfig_descriptor,
        +            new java.lang.String[] {
        +              "GkeCluster",
        +              "DagGcsPrefix",
        +              "NodeCount",
        +              "SoftwareConfig",
        +              "NodeConfig",
        +              "PrivateEnvironmentConfig",
        +              "WebServerNetworkAccessControl",
        +              "DatabaseConfig",
        +              "WebServerConfig",
        +              "EncryptionConfig",
        +              "AirflowUri",
        +            });
        +    internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_descriptor =
        +        getDescriptor().getMessageTypes().get(7);
        +    internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_fieldAccessorTable =
        +        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        +            internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_descriptor,
        +            new java.lang.String[] {
        +              "AllowedIpRanges",
        +            });
        +    internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_AllowedIpRange_descriptor =
        +        internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_descriptor
        +            .getNestedTypes()
        +            .get(0);
        +    internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_AllowedIpRange_fieldAccessorTable =
        +        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        +            internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_AllowedIpRange_descriptor,
        +            new java.lang.String[] {
        +              "Value", "Description",
        +            });
        +    internal_static_google_cloud_orchestration_airflow_service_v1_DatabaseConfig_descriptor =
        +        getDescriptor().getMessageTypes().get(8);
        +    internal_static_google_cloud_orchestration_airflow_service_v1_DatabaseConfig_fieldAccessorTable =
        +        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        +            internal_static_google_cloud_orchestration_airflow_service_v1_DatabaseConfig_descriptor,
        +            new java.lang.String[] {
        +              "MachineType",
        +            });
        +    internal_static_google_cloud_orchestration_airflow_service_v1_WebServerConfig_descriptor =
        +        getDescriptor().getMessageTypes().get(9);
        +    internal_static_google_cloud_orchestration_airflow_service_v1_WebServerConfig_fieldAccessorTable =
        +        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        +            internal_static_google_cloud_orchestration_airflow_service_v1_WebServerConfig_descriptor,
        +            new java.lang.String[] {
        +              "MachineType",
        +            });
        +    internal_static_google_cloud_orchestration_airflow_service_v1_EncryptionConfig_descriptor =
        +        getDescriptor().getMessageTypes().get(10);
        +    internal_static_google_cloud_orchestration_airflow_service_v1_EncryptionConfig_fieldAccessorTable =
        +        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        +            internal_static_google_cloud_orchestration_airflow_service_v1_EncryptionConfig_descriptor,
        +            new java.lang.String[] {
        +              "KmsKeyName",
        +            });
        +    internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_descriptor =
        +        getDescriptor().getMessageTypes().get(11);
        +    internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_fieldAccessorTable =
        +        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        +            internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_descriptor,
        +            new java.lang.String[] {
        +              "ImageVersion",
        +              "AirflowConfigOverrides",
        +              "PypiPackages",
        +              "EnvVariables",
        +              "PythonVersion",
        +            });
        +    internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_AirflowConfigOverridesEntry_descriptor =
        +        internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_descriptor
        +            .getNestedTypes()
        +            .get(0);
        +    internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_AirflowConfigOverridesEntry_fieldAccessorTable =
        +        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        +            internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_AirflowConfigOverridesEntry_descriptor,
        +            new java.lang.String[] {
        +              "Key", "Value",
        +            });
        +    internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_PypiPackagesEntry_descriptor =
        +        internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_descriptor
        +            .getNestedTypes()
        +            .get(1);
        +    internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_PypiPackagesEntry_fieldAccessorTable =
        +        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        +            internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_PypiPackagesEntry_descriptor,
        +            new java.lang.String[] {
        +              "Key", "Value",
        +            });
        +    internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_EnvVariablesEntry_descriptor =
        +        internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_descriptor
        +            .getNestedTypes()
        +            .get(2);
        +    internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_EnvVariablesEntry_fieldAccessorTable =
        +        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        +            internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_EnvVariablesEntry_descriptor,
        +            new java.lang.String[] {
        +              "Key", "Value",
        +            });
        +    internal_static_google_cloud_orchestration_airflow_service_v1_IPAllocationPolicy_descriptor =
        +        getDescriptor().getMessageTypes().get(12);
        +    internal_static_google_cloud_orchestration_airflow_service_v1_IPAllocationPolicy_fieldAccessorTable =
        +        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        +            internal_static_google_cloud_orchestration_airflow_service_v1_IPAllocationPolicy_descriptor,
        +            new java.lang.String[] {
        +              "UseIpAliases",
        +              "ClusterSecondaryRangeName",
        +              "ClusterIpv4CidrBlock",
        +              "ServicesSecondaryRangeName",
        +              "ServicesIpv4CidrBlock",
        +              "ClusterIpAllocation",
        +              "ServicesIpAllocation",
        +            });
        +    internal_static_google_cloud_orchestration_airflow_service_v1_NodeConfig_descriptor =
        +        getDescriptor().getMessageTypes().get(13);
        +    internal_static_google_cloud_orchestration_airflow_service_v1_NodeConfig_fieldAccessorTable =
        +        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        +            internal_static_google_cloud_orchestration_airflow_service_v1_NodeConfig_descriptor,
        +            new java.lang.String[] {
        +              "Location",
        +              "MachineType",
        +              "Network",
        +              "Subnetwork",
        +              "DiskSizeGb",
        +              "OauthScopes",
        +              "ServiceAccount",
        +              "Tags",
        +              "IpAllocationPolicy",
        +            });
        +    internal_static_google_cloud_orchestration_airflow_service_v1_PrivateClusterConfig_descriptor =
        +        getDescriptor().getMessageTypes().get(14);
        +    internal_static_google_cloud_orchestration_airflow_service_v1_PrivateClusterConfig_fieldAccessorTable =
        +        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        +            internal_static_google_cloud_orchestration_airflow_service_v1_PrivateClusterConfig_descriptor,
        +            new java.lang.String[] {
        +              "EnablePrivateEndpoint", "MasterIpv4CidrBlock", "MasterIpv4ReservedRange",
        +            });
        +    internal_static_google_cloud_orchestration_airflow_service_v1_PrivateEnvironmentConfig_descriptor =
        +        getDescriptor().getMessageTypes().get(15);
        +    internal_static_google_cloud_orchestration_airflow_service_v1_PrivateEnvironmentConfig_fieldAccessorTable =
        +        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        +            internal_static_google_cloud_orchestration_airflow_service_v1_PrivateEnvironmentConfig_descriptor,
        +            new java.lang.String[] {
        +              "EnablePrivateEnvironment",
        +              "PrivateClusterConfig",
        +              "WebServerIpv4CidrBlock",
        +              "CloudSqlIpv4CidrBlock",
        +              "WebServerIpv4ReservedRange",
        +            });
        +    internal_static_google_cloud_orchestration_airflow_service_v1_Environment_descriptor =
        +        getDescriptor().getMessageTypes().get(16);
        +    internal_static_google_cloud_orchestration_airflow_service_v1_Environment_fieldAccessorTable =
        +        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        +            internal_static_google_cloud_orchestration_airflow_service_v1_Environment_descriptor,
        +            new java.lang.String[] {
        +              "Name", "Config", "Uuid", "State", "CreateTime", "UpdateTime", "Labels",
        +            });
        +    internal_static_google_cloud_orchestration_airflow_service_v1_Environment_LabelsEntry_descriptor =
        +        internal_static_google_cloud_orchestration_airflow_service_v1_Environment_descriptor
        +            .getNestedTypes()
        +            .get(0);
        +    internal_static_google_cloud_orchestration_airflow_service_v1_Environment_LabelsEntry_fieldAccessorTable =
        +        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        +            internal_static_google_cloud_orchestration_airflow_service_v1_Environment_LabelsEntry_descriptor,
        +            new java.lang.String[] {
        +              "Key", "Value",
        +            });
        +    internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_descriptor =
        +        getDescriptor().getMessageTypes().get(17);
        +    internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_fieldAccessorTable =
        +        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        +            internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_descriptor,
        +            new java.lang.String[] {
        +              "BuildLogUri",
        +              "ContainsPypiModulesConflict",
        +              "PypiConflictBuildLogExtract",
        +              "ImageVersion",
        +              "PypiDependencies",
        +            });
        +    internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_PypiDependenciesEntry_descriptor =
        +        internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_descriptor
        +            .getNestedTypes()
        +            .get(0);
        +    internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_PypiDependenciesEntry_fieldAccessorTable =
        +        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        +            internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_PypiDependenciesEntry_descriptor,
        +            new java.lang.String[] {
        +              "Key", "Value",
        +            });
        +    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.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.longrunning.OperationsProto.getDescriptor();
        +    com.google.protobuf.FieldMaskProto.getDescriptor();
        +    com.google.protobuf.TimestampProto.getDescriptor();
        +  }
        +
        +  // @@protoc_insertion_point(outer_class_scope)
        +}
        diff --git a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/GetEnvironmentRequest.java b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/GetEnvironmentRequest.java
        similarity index 64%
        rename from owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/GetEnvironmentRequest.java
        rename to proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/GetEnvironmentRequest.java
        index 378dafcf..e1495aab 100644
        --- a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/GetEnvironmentRequest.java
        +++ b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/GetEnvironmentRequest.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/orchestration/airflow/service/v1/environments.proto
         
         package com.google.cloud.orchestration.airflow.service.v1;
         
         /**
        + *
        + *
          * 
          * Get an environment.
          * 
        * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest} */ -public final class GetEnvironmentRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetEnvironmentRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest) GetEnvironmentRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetEnvironmentRequest.newBuilder() to construct. private GetEnvironmentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetEnvironmentRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetEnvironmentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetEnvironmentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetEnvironmentRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,40 @@ private GetEnvironmentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_GetEnvironmentRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_GetEnvironmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_GetEnvironmentRequest_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_GetEnvironmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest.class, com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest.Builder.class); + com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest.class, + com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
            * The resource name of the environment to get, in the form:
            * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
            * 
        * * string name = 1; + * * @return The name. */ @java.lang.Override @@ -110,30 +133,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 resource name of the environment to get, in the form:
            * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
            * 
        * * 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 { @@ -142,6 +165,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +177,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +201,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.orchestration.airflow.service.v1.GetEnvironmentRequest)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest other = (com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest) obj; + com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest other = + (com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,134 +229,146 @@ public int hashCode() { } public static com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest 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.orchestration.airflow.service.v1.GetEnvironmentRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest 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.orchestration.airflow.service.v1.GetEnvironmentRequest + 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.orchestration.airflow.service.v1.GetEnvironmentRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
            * Get an environment.
            * 
        * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest) com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_GetEnvironmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_GetEnvironmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_GetEnvironmentRequest_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_GetEnvironmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest.class, com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest.Builder.class); + com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest.class, + com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest.Builder + .class); } - // Construct using com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest.newBuilder() + // Construct using + // com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,19 +378,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_GetEnvironmentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_GetEnvironmentRequest_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest.getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest + getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest build() { - com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest result = buildPartial(); + com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -364,7 +402,8 @@ public com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest b @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest buildPartial() { - com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest result = new com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest(this); + com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest result = + new com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,46 +413,52 @@ public com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest b public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest) { - return mergeFrom((com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest)other); + if (other + instanceof com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest) { + return mergeFrom( + (com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest other) { - if (other == com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest other) { + if (other + == com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,7 +482,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +496,21 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
              * The resource name of the environment to get, in the form:
              * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
              * 
        * * 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; @@ -470,21 +519,22 @@ public java.lang.String getName() { } } /** + * + * *
              * The resource name of the environment to get, in the form:
              * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
              * 
        * * 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 { @@ -492,64 +542,71 @@ public java.lang.String getName() { } } /** + * + * *
              * The resource name of the environment to get, in the form:
              * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
              * 
        * * 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 resource name of the environment to get, in the form:
              * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
              * 
        * * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
              * The resource name of the environment to get, in the form:
              * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
              * 
        * * 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); } @@ -559,30 +616,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest) - private static final com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest DEFAULT_INSTANCE; + private static final com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest(); } - public static com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetEnvironmentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetEnvironmentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetEnvironmentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetEnvironmentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -594,9 +654,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/GetEnvironmentRequestOrBuilder.java b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/GetEnvironmentRequestOrBuilder.java similarity index 54% rename from owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/GetEnvironmentRequestOrBuilder.java rename to proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/GetEnvironmentRequestOrBuilder.java index f14ff887..8bc6f82e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/GetEnvironmentRequestOrBuilder.java +++ b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/GetEnvironmentRequestOrBuilder.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/orchestration/airflow/service/v1/environments.proto package com.google.cloud.orchestration.airflow.service.v1; -public interface GetEnvironmentRequestOrBuilder extends +public interface GetEnvironmentRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
            * The resource name of the environment to get, in the form:
            * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
            * 
        * * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
            * The resource name of the environment to get, in the form:
            * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
            * 
        * * 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-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/IPAllocationPolicy.java b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/IPAllocationPolicy.java similarity index 76% rename from owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/IPAllocationPolicy.java rename to proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/IPAllocationPolicy.java index d6a39c51..9a212045 100644 --- a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/IPAllocationPolicy.java +++ b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/IPAllocationPolicy.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/orchestration/airflow/service/v1/environments.proto package com.google.cloud.orchestration.airflow.service.v1; /** + * + * *
          * Configuration for controlling how IPs are allocated in the
          * GKE cluster running the Apache Airflow software.
        @@ -11,30 +28,29 @@
          *
          * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy}
          */
        -public final class IPAllocationPolicy extends
        -    com.google.protobuf.GeneratedMessageV3 implements
        +public final class IPAllocationPolicy extends com.google.protobuf.GeneratedMessageV3
        +    implements
             // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy)
             IPAllocationPolicyOrBuilder {
        -private static final long serialVersionUID = 0L;
        +  private static final long serialVersionUID = 0L;
           // Use IPAllocationPolicy.newBuilder() to construct.
           private IPAllocationPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) {
             super(builder);
           }
        -  private IPAllocationPolicy() {
        -  }
        +
        +  private IPAllocationPolicy() {}
         
           @java.lang.Override
           @SuppressWarnings({"unused"})
        -  protected java.lang.Object newInstance(
        -      UnusedPrivateParameter unused) {
        +  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
             return new IPAllocationPolicy();
           }
         
           @java.lang.Override
        -  public final com.google.protobuf.UnknownFieldSet
        -  getUnknownFields() {
        +  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
             return this.unknownFields;
           }
        +
           private IPAllocationPolicy(
               com.google.protobuf.CodedInputStream input,
               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        @@ -53,42 +69,46 @@ private IPAllocationPolicy(
                   case 0:
                     done = true;
                     break;
        -          case 8: {
        -
        -            useIpAliases_ = input.readBool();
        -            break;
        -          }
        -          case 18: {
        -            java.lang.String s = input.readStringRequireUtf8();
        -            clusterIpAllocationCase_ = 2;
        -            clusterIpAllocation_ = s;
        -            break;
        -          }
        -          case 26: {
        -            java.lang.String s = input.readStringRequireUtf8();
        -            servicesIpAllocationCase_ = 3;
        -            servicesIpAllocation_ = s;
        -            break;
        -          }
        -          case 34: {
        -            java.lang.String s = input.readStringRequireUtf8();
        -            clusterIpAllocationCase_ = 4;
        -            clusterIpAllocation_ = s;
        -            break;
        -          }
        -          case 42: {
        -            java.lang.String s = input.readStringRequireUtf8();
        -            servicesIpAllocationCase_ = 5;
        -            servicesIpAllocation_ = s;
        -            break;
        -          }
        -          default: {
        -            if (!parseUnknownField(
        -                input, unknownFields, extensionRegistry, tag)) {
        -              done = true;
        +          case 8:
        +            {
        +              useIpAliases_ = input.readBool();
        +              break;
        +            }
        +          case 18:
        +            {
        +              java.lang.String s = input.readStringRequireUtf8();
        +              clusterIpAllocationCase_ = 2;
        +              clusterIpAllocation_ = s;
        +              break;
        +            }
        +          case 26:
        +            {
        +              java.lang.String s = input.readStringRequireUtf8();
        +              servicesIpAllocationCase_ = 3;
        +              servicesIpAllocation_ = s;
        +              break;
        +            }
        +          case 34:
        +            {
        +              java.lang.String s = input.readStringRequireUtf8();
        +              clusterIpAllocationCase_ = 4;
        +              clusterIpAllocation_ = s;
        +              break;
        +            }
        +          case 42:
        +            {
        +              java.lang.String s = input.readStringRequireUtf8();
        +              servicesIpAllocationCase_ = 5;
        +              servicesIpAllocation_ = s;
        +              break;
        +            }
        +          default:
        +            {
        +              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
        +                done = true;
        +              }
        +              break;
                     }
        -            break;
        -          }
                 }
               }
             } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        @@ -96,35 +116,40 @@ private IPAllocationPolicy(
             } catch (com.google.protobuf.UninitializedMessageException e) {
               throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
             } catch (java.io.IOException e) {
        -      throw new com.google.protobuf.InvalidProtocolBufferException(
        -          e).setUnfinishedMessage(this);
        +      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
             } finally {
               this.unknownFields = unknownFields.build();
               makeExtensionsImmutable();
             }
           }
        -  public static final com.google.protobuf.Descriptors.Descriptor
        -      getDescriptor() {
        -    return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_IPAllocationPolicy_descriptor;
        +
        +  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        +    return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
        +        .internal_static_google_cloud_orchestration_airflow_service_v1_IPAllocationPolicy_descriptor;
           }
         
           @java.lang.Override
           protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
               internalGetFieldAccessorTable() {
        -    return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_IPAllocationPolicy_fieldAccessorTable
        +    return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
        +        .internal_static_google_cloud_orchestration_airflow_service_v1_IPAllocationPolicy_fieldAccessorTable
                 .ensureFieldAccessorsInitialized(
        -            com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.class, com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.Builder.class);
        +            com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.class,
        +            com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.Builder.class);
           }
         
           private int clusterIpAllocationCase_ = 0;
           private java.lang.Object clusterIpAllocation_;
        +
           public enum ClusterIpAllocationCase
        -      implements com.google.protobuf.Internal.EnumLite,
        +      implements
        +          com.google.protobuf.Internal.EnumLite,
                   com.google.protobuf.AbstractMessage.InternalOneOfEnum {
             CLUSTER_SECONDARY_RANGE_NAME(2),
             CLUSTER_IPV4_CIDR_BLOCK(4),
             CLUSTERIPALLOCATION_NOT_SET(0);
             private final int value;
        +
             private ClusterIpAllocationCase(int value) {
               this.value = value;
             }
        @@ -140,32 +165,38 @@ public static ClusterIpAllocationCase valueOf(int value) {
         
             public static ClusterIpAllocationCase forNumber(int value) {
               switch (value) {
        -        case 2: return CLUSTER_SECONDARY_RANGE_NAME;
        -        case 4: return CLUSTER_IPV4_CIDR_BLOCK;
        -        case 0: return CLUSTERIPALLOCATION_NOT_SET;
        -        default: return null;
        +        case 2:
        +          return CLUSTER_SECONDARY_RANGE_NAME;
        +        case 4:
        +          return CLUSTER_IPV4_CIDR_BLOCK;
        +        case 0:
        +          return CLUSTERIPALLOCATION_NOT_SET;
        +        default:
        +          return null;
               }
             }
        +
             public int getNumber() {
               return this.value;
             }
           };
         
        -  public ClusterIpAllocationCase
        -  getClusterIpAllocationCase() {
        -    return ClusterIpAllocationCase.forNumber(
        -        clusterIpAllocationCase_);
        +  public ClusterIpAllocationCase getClusterIpAllocationCase() {
        +    return ClusterIpAllocationCase.forNumber(clusterIpAllocationCase_);
           }
         
           private int servicesIpAllocationCase_ = 0;
           private java.lang.Object servicesIpAllocation_;
        +
           public enum ServicesIpAllocationCase
        -      implements com.google.protobuf.Internal.EnumLite,
        +      implements
        +          com.google.protobuf.Internal.EnumLite,
                   com.google.protobuf.AbstractMessage.InternalOneOfEnum {
             SERVICES_SECONDARY_RANGE_NAME(3),
             SERVICES_IPV4_CIDR_BLOCK(5),
             SERVICESIPALLOCATION_NOT_SET(0);
             private final int value;
        +
             private ServicesIpAllocationCase(int value) {
               this.value = value;
             }
        @@ -181,32 +212,38 @@ public static ServicesIpAllocationCase valueOf(int value) {
         
             public static ServicesIpAllocationCase forNumber(int value) {
               switch (value) {
        -        case 3: return SERVICES_SECONDARY_RANGE_NAME;
        -        case 5: return SERVICES_IPV4_CIDR_BLOCK;
        -        case 0: return SERVICESIPALLOCATION_NOT_SET;
        -        default: return null;
        +        case 3:
        +          return SERVICES_SECONDARY_RANGE_NAME;
        +        case 5:
        +          return SERVICES_IPV4_CIDR_BLOCK;
        +        case 0:
        +          return SERVICESIPALLOCATION_NOT_SET;
        +        default:
        +          return null;
               }
             }
        +
             public int getNumber() {
               return this.value;
             }
           };
         
        -  public ServicesIpAllocationCase
        -  getServicesIpAllocationCase() {
        -    return ServicesIpAllocationCase.forNumber(
        -        servicesIpAllocationCase_);
        +  public ServicesIpAllocationCase getServicesIpAllocationCase() {
        +    return ServicesIpAllocationCase.forNumber(servicesIpAllocationCase_);
           }
         
           public static final int USE_IP_ALIASES_FIELD_NUMBER = 1;
           private boolean useIpAliases_;
           /**
        +   *
        +   *
            * 
            * Optional. Whether or not to enable Alias IPs in the GKE cluster.
            * If `true`, a VPC-native cluster is created.
            * 
        * * bool use_ip_aliases = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The useIpAliases. */ @java.lang.Override @@ -216,6 +253,8 @@ public boolean getUseIpAliases() { public static final int CLUSTER_SECONDARY_RANGE_NAME_FIELD_NUMBER = 2; /** + * + * *
            * Optional. The name of the GKE cluster's secondary range used to allocate
            * IP addresses to pods.
        @@ -223,12 +262,15 @@ public boolean getUseIpAliases() {
            * 
        * * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return Whether the clusterSecondaryRangeName field is set. */ public boolean hasClusterSecondaryRangeName() { return clusterIpAllocationCase_ == 2; } /** + * + * *
            * Optional. The name of the GKE cluster's secondary range used to allocate
            * IP addresses to pods.
        @@ -236,6 +278,7 @@ public boolean hasClusterSecondaryRangeName() {
            * 
        * * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The clusterSecondaryRangeName. */ public java.lang.String getClusterSecondaryRangeName() { @@ -246,8 +289,7 @@ public java.lang.String getClusterSecondaryRangeName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (clusterIpAllocationCase_ == 2) { clusterIpAllocation_ = s; @@ -256,6 +298,8 @@ public java.lang.String getClusterSecondaryRangeName() { } } /** + * + * *
            * Optional. The name of the GKE cluster's secondary range used to allocate
            * IP addresses to pods.
        @@ -263,18 +307,17 @@ public java.lang.String getClusterSecondaryRangeName() {
            * 
        * * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for clusterSecondaryRangeName. */ - public com.google.protobuf.ByteString - getClusterSecondaryRangeNameBytes() { + public com.google.protobuf.ByteString getClusterSecondaryRangeNameBytes() { java.lang.Object ref = ""; if (clusterIpAllocationCase_ == 2) { ref = clusterIpAllocation_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (clusterIpAllocationCase_ == 2) { clusterIpAllocation_ = b; } @@ -286,6 +329,8 @@ public java.lang.String getClusterSecondaryRangeName() { public static final int CLUSTER_IPV4_CIDR_BLOCK_FIELD_NUMBER = 4; /** + * + * *
            * Optional. The IP address range used to allocate IP addresses to pods in
            * the GKE cluster.
        @@ -301,12 +346,15 @@ public java.lang.String getClusterSecondaryRangeName() {
            * 
        * * string cluster_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return Whether the clusterIpv4CidrBlock field is set. */ public boolean hasClusterIpv4CidrBlock() { return clusterIpAllocationCase_ == 4; } /** + * + * *
            * Optional. The IP address range used to allocate IP addresses to pods in
            * the GKE cluster.
        @@ -322,6 +370,7 @@ public boolean hasClusterIpv4CidrBlock() {
            * 
        * * string cluster_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The clusterIpv4CidrBlock. */ public java.lang.String getClusterIpv4CidrBlock() { @@ -332,8 +381,7 @@ public java.lang.String getClusterIpv4CidrBlock() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (clusterIpAllocationCase_ == 4) { clusterIpAllocation_ = s; @@ -342,6 +390,8 @@ public java.lang.String getClusterIpv4CidrBlock() { } } /** + * + * *
            * Optional. The IP address range used to allocate IP addresses to pods in
            * the GKE cluster.
        @@ -357,18 +407,17 @@ public java.lang.String getClusterIpv4CidrBlock() {
            * 
        * * string cluster_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for clusterIpv4CidrBlock. */ - public com.google.protobuf.ByteString - getClusterIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString getClusterIpv4CidrBlockBytes() { java.lang.Object ref = ""; if (clusterIpAllocationCase_ == 4) { ref = clusterIpAllocation_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (clusterIpAllocationCase_ == 4) { clusterIpAllocation_ = b; } @@ -380,26 +429,34 @@ public java.lang.String getClusterIpv4CidrBlock() { public static final int SERVICES_SECONDARY_RANGE_NAME_FIELD_NUMBER = 3; /** + * + * *
            * Optional. The name of the services' secondary range used to allocate
            * IP addresses to the GKE cluster.
            * This field is applicable only when `use_ip_aliases` is true.
            * 
        * - * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; + * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the servicesSecondaryRangeName field is set. */ public boolean hasServicesSecondaryRangeName() { return servicesIpAllocationCase_ == 3; } /** + * + * *
            * Optional. The name of the services' secondary range used to allocate
            * IP addresses to the GKE cluster.
            * This field is applicable only when `use_ip_aliases` is true.
            * 
        * - * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; + * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The servicesSecondaryRangeName. */ public java.lang.String getServicesSecondaryRangeName() { @@ -410,8 +467,7 @@ public java.lang.String getServicesSecondaryRangeName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (servicesIpAllocationCase_ == 3) { servicesIpAllocation_ = s; @@ -420,25 +476,27 @@ public java.lang.String getServicesSecondaryRangeName() { } } /** + * + * *
            * Optional. The name of the services' secondary range used to allocate
            * IP addresses to the GKE cluster.
            * This field is applicable only when `use_ip_aliases` is true.
            * 
        * - * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; + * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The bytes for servicesSecondaryRangeName. */ - public com.google.protobuf.ByteString - getServicesSecondaryRangeNameBytes() { + public com.google.protobuf.ByteString getServicesSecondaryRangeNameBytes() { java.lang.Object ref = ""; if (servicesIpAllocationCase_ == 3) { ref = servicesIpAllocation_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (servicesIpAllocationCase_ == 3) { servicesIpAllocation_ = b; } @@ -450,6 +508,8 @@ public java.lang.String getServicesSecondaryRangeName() { public static final int SERVICES_IPV4_CIDR_BLOCK_FIELD_NUMBER = 5; /** + * + * *
            * Optional. The IP address range of the services IP addresses in this
            * GKE cluster.
        @@ -465,12 +525,15 @@ public java.lang.String getServicesSecondaryRangeName() {
            * 
        * * string services_ipv4_cidr_block = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return Whether the servicesIpv4CidrBlock field is set. */ public boolean hasServicesIpv4CidrBlock() { return servicesIpAllocationCase_ == 5; } /** + * + * *
            * Optional. The IP address range of the services IP addresses in this
            * GKE cluster.
        @@ -486,6 +549,7 @@ public boolean hasServicesIpv4CidrBlock() {
            * 
        * * string services_ipv4_cidr_block = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The servicesIpv4CidrBlock. */ public java.lang.String getServicesIpv4CidrBlock() { @@ -496,8 +560,7 @@ public java.lang.String getServicesIpv4CidrBlock() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (servicesIpAllocationCase_ == 5) { servicesIpAllocation_ = s; @@ -506,6 +569,8 @@ public java.lang.String getServicesIpv4CidrBlock() { } } /** + * + * *
            * Optional. The IP address range of the services IP addresses in this
            * GKE cluster.
        @@ -521,18 +586,17 @@ public java.lang.String getServicesIpv4CidrBlock() {
            * 
        * * string services_ipv4_cidr_block = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for servicesIpv4CidrBlock. */ - public com.google.protobuf.ByteString - getServicesIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString getServicesIpv4CidrBlockBytes() { java.lang.Object ref = ""; if (servicesIpAllocationCase_ == 5) { ref = servicesIpAllocation_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (servicesIpAllocationCase_ == 5) { servicesIpAllocation_ = b; } @@ -543,6 +607,7 @@ public java.lang.String getServicesIpv4CidrBlock() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -554,8 +619,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 (useIpAliases_ != false) { output.writeBool(1, useIpAliases_); } @@ -581,8 +645,7 @@ public int getSerializedSize() { size = 0; if (useIpAliases_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, useIpAliases_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, useIpAliases_); } if (clusterIpAllocationCase_ == 2) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, clusterIpAllocation_); @@ -604,24 +667,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.orchestration.airflow.service.v1.IPAllocationPolicy)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy other = (com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy) obj; + com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy other = + (com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy) obj; - if (getUseIpAliases() - != other.getUseIpAliases()) return false; + if (getUseIpAliases() != other.getUseIpAliases()) return false; if (!getClusterIpAllocationCase().equals(other.getClusterIpAllocationCase())) return false; switch (clusterIpAllocationCase_) { case 2: - if (!getClusterSecondaryRangeName() - .equals(other.getClusterSecondaryRangeName())) return false; + if (!getClusterSecondaryRangeName().equals(other.getClusterSecondaryRangeName())) + return false; break; case 4: - if (!getClusterIpv4CidrBlock() - .equals(other.getClusterIpv4CidrBlock())) return false; + if (!getClusterIpv4CidrBlock().equals(other.getClusterIpv4CidrBlock())) return false; break; case 0: default: @@ -629,12 +691,11 @@ public boolean equals(final java.lang.Object obj) { if (!getServicesIpAllocationCase().equals(other.getServicesIpAllocationCase())) return false; switch (servicesIpAllocationCase_) { case 3: - if (!getServicesSecondaryRangeName() - .equals(other.getServicesSecondaryRangeName())) return false; + if (!getServicesSecondaryRangeName().equals(other.getServicesSecondaryRangeName())) + return false; break; case 5: - if (!getServicesIpv4CidrBlock() - .equals(other.getServicesIpv4CidrBlock())) return false; + if (!getServicesIpv4CidrBlock().equals(other.getServicesIpv4CidrBlock())) return false; break; case 0: default: @@ -651,8 +712,7 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + USE_IP_ALIASES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getUseIpAliases()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUseIpAliases()); switch (clusterIpAllocationCase_) { case 2: hash = (37 * hash) + CLUSTER_SECONDARY_RANGE_NAME_FIELD_NUMBER; @@ -683,96 +743,105 @@ public int hashCode() { } public static com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy 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.orchestration.airflow.service.v1.IPAllocationPolicy parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy 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.orchestration.airflow.service.v1.IPAllocationPolicy + 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.orchestration.airflow.service.v1.IPAllocationPolicy parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy prototype) { + + public static Builder newBuilder( + com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
            * Configuration for controlling how IPs are allocated in the
            * GKE cluster running the Apache Airflow software.
        @@ -780,38 +849,40 @@ protected Builder newBuilderForType(
            *
            * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy}
            */
        -  public static final class Builder extends
        -      com.google.protobuf.GeneratedMessageV3.Builder implements
        +  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
        +      implements
               // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy)
               com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicyOrBuilder {
        -    public static final com.google.protobuf.Descriptors.Descriptor
        -        getDescriptor() {
        -      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_IPAllocationPolicy_descriptor;
        +    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        +      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
        +          .internal_static_google_cloud_orchestration_airflow_service_v1_IPAllocationPolicy_descriptor;
             }
         
             @java.lang.Override
             protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
                 internalGetFieldAccessorTable() {
        -      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_IPAllocationPolicy_fieldAccessorTable
        +      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
        +          .internal_static_google_cloud_orchestration_airflow_service_v1_IPAllocationPolicy_fieldAccessorTable
                   .ensureFieldAccessorsInitialized(
        -              com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.class, com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.Builder.class);
        +              com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.class,
        +              com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.Builder.class);
             }
         
        -    // Construct using com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.newBuilder()
        +    // Construct using
        +    // com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.newBuilder()
             private Builder() {
               maybeForceBuilderInitialization();
             }
         
        -    private Builder(
        -        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        +    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
               super(parent);
               maybeForceBuilderInitialization();
             }
        +
             private void maybeForceBuilderInitialization() {
        -      if (com.google.protobuf.GeneratedMessageV3
        -              .alwaysUseFieldBuilders) {
        -      }
        +      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
             }
        +
             @java.lang.Override
             public Builder clear() {
               super.clear();
        @@ -825,14 +896,16 @@ public Builder clear() {
             }
         
             @java.lang.Override
        -    public com.google.protobuf.Descriptors.Descriptor
        -        getDescriptorForType() {
        -      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_IPAllocationPolicy_descriptor;
        +    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
        +      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
        +          .internal_static_google_cloud_orchestration_airflow_service_v1_IPAllocationPolicy_descriptor;
             }
         
             @java.lang.Override
        -    public com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy getDefaultInstanceForType() {
        -      return com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.getDefaultInstance();
        +    public com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy
        +        getDefaultInstanceForType() {
        +      return com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy
        +          .getDefaultInstance();
             }
         
             @java.lang.Override
        @@ -846,7 +919,8 @@ public com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy buil
         
             @java.lang.Override
             public com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy buildPartial() {
        -      com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy result = new com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy(this);
        +      com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy result =
        +          new com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy(this);
               result.useIpAliases_ = useIpAliases_;
               if (clusterIpAllocationCase_ == 2) {
                 result.clusterIpAllocation_ = clusterIpAllocation_;
        @@ -870,82 +944,93 @@ public com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy buil
             public Builder clone() {
               return super.clone();
             }
        +
             @java.lang.Override
             public Builder setField(
        -        com.google.protobuf.Descriptors.FieldDescriptor field,
        -        java.lang.Object value) {
        +        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
               return super.setField(field, value);
             }
        +
             @java.lang.Override
        -    public Builder clearField(
        -        com.google.protobuf.Descriptors.FieldDescriptor field) {
        +    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
               return super.clearField(field);
             }
        +
             @java.lang.Override
        -    public Builder clearOneof(
        -        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        +    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
               return super.clearOneof(oneof);
             }
        +
             @java.lang.Override
             public Builder setRepeatedField(
        -        com.google.protobuf.Descriptors.FieldDescriptor field,
        -        int index, java.lang.Object value) {
        +        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
               return super.setRepeatedField(field, index, value);
             }
        +
             @java.lang.Override
             public Builder addRepeatedField(
        -        com.google.protobuf.Descriptors.FieldDescriptor field,
        -        java.lang.Object value) {
        +        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
               return super.addRepeatedField(field, value);
             }
        +
             @java.lang.Override
             public Builder mergeFrom(com.google.protobuf.Message other) {
               if (other instanceof com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy) {
        -        return mergeFrom((com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy)other);
        +        return mergeFrom(
        +            (com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy) other);
               } else {
                 super.mergeFrom(other);
                 return this;
               }
             }
         
        -    public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy other) {
        -      if (other == com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.getDefaultInstance()) return this;
        +    public Builder mergeFrom(
        +        com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy other) {
        +      if (other
        +          == com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy
        +              .getDefaultInstance()) return this;
               if (other.getUseIpAliases() != false) {
                 setUseIpAliases(other.getUseIpAliases());
               }
               switch (other.getClusterIpAllocationCase()) {
        -        case CLUSTER_SECONDARY_RANGE_NAME: {
        -          clusterIpAllocationCase_ = 2;
        -          clusterIpAllocation_ = other.clusterIpAllocation_;
        -          onChanged();
        -          break;
        -        }
        -        case CLUSTER_IPV4_CIDR_BLOCK: {
        -          clusterIpAllocationCase_ = 4;
        -          clusterIpAllocation_ = other.clusterIpAllocation_;
        -          onChanged();
        -          break;
        -        }
        -        case CLUSTERIPALLOCATION_NOT_SET: {
        -          break;
        -        }
        +        case CLUSTER_SECONDARY_RANGE_NAME:
        +          {
        +            clusterIpAllocationCase_ = 2;
        +            clusterIpAllocation_ = other.clusterIpAllocation_;
        +            onChanged();
        +            break;
        +          }
        +        case CLUSTER_IPV4_CIDR_BLOCK:
        +          {
        +            clusterIpAllocationCase_ = 4;
        +            clusterIpAllocation_ = other.clusterIpAllocation_;
        +            onChanged();
        +            break;
        +          }
        +        case CLUSTERIPALLOCATION_NOT_SET:
        +          {
        +            break;
        +          }
               }
               switch (other.getServicesIpAllocationCase()) {
        -        case SERVICES_SECONDARY_RANGE_NAME: {
        -          servicesIpAllocationCase_ = 3;
        -          servicesIpAllocation_ = other.servicesIpAllocation_;
        -          onChanged();
        -          break;
        -        }
        -        case SERVICES_IPV4_CIDR_BLOCK: {
        -          servicesIpAllocationCase_ = 5;
        -          servicesIpAllocation_ = other.servicesIpAllocation_;
        -          onChanged();
        -          break;
        -        }
        -        case SERVICESIPALLOCATION_NOT_SET: {
        -          break;
        -        }
        +        case SERVICES_SECONDARY_RANGE_NAME:
        +          {
        +            servicesIpAllocationCase_ = 3;
        +            servicesIpAllocation_ = other.servicesIpAllocation_;
        +            onChanged();
        +            break;
        +          }
        +        case SERVICES_IPV4_CIDR_BLOCK:
        +          {
        +            servicesIpAllocationCase_ = 5;
        +            servicesIpAllocation_ = other.servicesIpAllocation_;
        +            onChanged();
        +            break;
        +          }
        +        case SERVICESIPALLOCATION_NOT_SET:
        +          {
        +            break;
        +          }
               }
               this.mergeUnknownFields(other.unknownFields);
               onChanged();
        @@ -966,7 +1051,9 @@ public Builder mergeFrom(
               try {
                 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
               } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        -        parsedMessage = (com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy) e.getUnfinishedMessage();
        +        parsedMessage =
        +            (com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy)
        +                e.getUnfinishedMessage();
                 throw e.unwrapIOException();
               } finally {
                 if (parsedMessage != null) {
        @@ -975,12 +1062,12 @@ public Builder mergeFrom(
               }
               return this;
             }
        +
             private int clusterIpAllocationCase_ = 0;
             private java.lang.Object clusterIpAllocation_;
        -    public ClusterIpAllocationCase
        -        getClusterIpAllocationCase() {
        -      return ClusterIpAllocationCase.forNumber(
        -          clusterIpAllocationCase_);
        +
        +    public ClusterIpAllocationCase getClusterIpAllocationCase() {
        +      return ClusterIpAllocationCase.forNumber(clusterIpAllocationCase_);
             }
         
             public Builder clearClusterIpAllocation() {
        @@ -992,10 +1079,9 @@ public Builder clearClusterIpAllocation() {
         
             private int servicesIpAllocationCase_ = 0;
             private java.lang.Object servicesIpAllocation_;
        -    public ServicesIpAllocationCase
        -        getServicesIpAllocationCase() {
        -      return ServicesIpAllocationCase.forNumber(
        -          servicesIpAllocationCase_);
        +
        +    public ServicesIpAllocationCase getServicesIpAllocationCase() {
        +      return ServicesIpAllocationCase.forNumber(servicesIpAllocationCase_);
             }
         
             public Builder clearServicesIpAllocation() {
        @@ -1005,15 +1091,17 @@ public Builder clearServicesIpAllocation() {
               return this;
             }
         
        -
        -    private boolean useIpAliases_ ;
        +    private boolean useIpAliases_;
             /**
        +     *
        +     *
              * 
              * Optional. Whether or not to enable Alias IPs in the GKE cluster.
              * If `true`, a VPC-native cluster is created.
              * 
        * * bool use_ip_aliases = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The useIpAliases. */ @java.lang.Override @@ -1021,45 +1109,55 @@ public boolean getUseIpAliases() { return useIpAliases_; } /** + * + * *
              * Optional. Whether or not to enable Alias IPs in the GKE cluster.
              * If `true`, a VPC-native cluster is created.
              * 
        * * bool use_ip_aliases = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The useIpAliases to set. * @return This builder for chaining. */ public Builder setUseIpAliases(boolean value) { - + useIpAliases_ = value; onChanged(); return this; } /** + * + * *
              * Optional. Whether or not to enable Alias IPs in the GKE cluster.
              * If `true`, a VPC-native cluster is created.
              * 
        * * bool use_ip_aliases = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearUseIpAliases() { - + useIpAliases_ = false; onChanged(); return this; } /** + * + * *
              * Optional. The name of the GKE cluster's secondary range used to allocate
              * IP addresses to pods.
              * This field is applicable only when `use_ip_aliases` is true.
              * 
        * - * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the clusterSecondaryRangeName field is set. */ @java.lang.Override @@ -1067,13 +1165,17 @@ public boolean hasClusterSecondaryRangeName() { return clusterIpAllocationCase_ == 2; } /** + * + * *
              * Optional. The name of the GKE cluster's secondary range used to allocate
              * IP addresses to pods.
              * This field is applicable only when `use_ip_aliases` is true.
              * 
        * - * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The clusterSecondaryRangeName. */ @java.lang.Override @@ -1083,8 +1185,7 @@ public java.lang.String getClusterSecondaryRangeName() { ref = clusterIpAllocation_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (clusterIpAllocationCase_ == 2) { clusterIpAllocation_ = s; @@ -1095,26 +1196,28 @@ public java.lang.String getClusterSecondaryRangeName() { } } /** + * + * *
              * Optional. The name of the GKE cluster's secondary range used to allocate
              * IP addresses to pods.
              * This field is applicable only when `use_ip_aliases` is true.
              * 
        * - * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The bytes for clusterSecondaryRangeName. */ @java.lang.Override - public com.google.protobuf.ByteString - getClusterSecondaryRangeNameBytes() { + public com.google.protobuf.ByteString getClusterSecondaryRangeNameBytes() { java.lang.Object ref = ""; if (clusterIpAllocationCase_ == 2) { ref = clusterIpAllocation_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (clusterIpAllocationCase_ == 2) { clusterIpAllocation_ = b; } @@ -1124,34 +1227,41 @@ public java.lang.String getClusterSecondaryRangeName() { } } /** + * + * *
              * Optional. The name of the GKE cluster's secondary range used to allocate
              * IP addresses to pods.
              * This field is applicable only when `use_ip_aliases` is true.
              * 
        * - * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The clusterSecondaryRangeName to set. * @return This builder for chaining. */ - public Builder setClusterSecondaryRangeName( - java.lang.String value) { + public Builder setClusterSecondaryRangeName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - clusterIpAllocationCase_ = 2; + throw new NullPointerException(); + } + clusterIpAllocationCase_ = 2; clusterIpAllocation_ = value; onChanged(); return this; } /** + * + * *
              * Optional. The name of the GKE cluster's secondary range used to allocate
              * IP addresses to pods.
              * This field is applicable only when `use_ip_aliases` is true.
              * 
        * - * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearClusterSecondaryRangeName() { @@ -1163,22 +1273,25 @@ public Builder clearClusterSecondaryRangeName() { return this; } /** + * + * *
              * Optional. The name of the GKE cluster's secondary range used to allocate
              * IP addresses to pods.
              * This field is applicable only when `use_ip_aliases` is true.
              * 
        * - * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The bytes for clusterSecondaryRangeName to set. * @return This builder for chaining. */ - public Builder setClusterSecondaryRangeNameBytes( - com.google.protobuf.ByteString value) { + public Builder setClusterSecondaryRangeNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); clusterIpAllocationCase_ = 2; clusterIpAllocation_ = value; onChanged(); @@ -1186,6 +1299,8 @@ public Builder setClusterSecondaryRangeNameBytes( } /** + * + * *
              * Optional. The IP address range used to allocate IP addresses to pods in
              * the GKE cluster.
        @@ -1201,6 +1316,7 @@ public Builder setClusterSecondaryRangeNameBytes(
              * 
        * * string cluster_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return Whether the clusterIpv4CidrBlock field is set. */ @java.lang.Override @@ -1208,6 +1324,8 @@ public boolean hasClusterIpv4CidrBlock() { return clusterIpAllocationCase_ == 4; } /** + * + * *
              * Optional. The IP address range used to allocate IP addresses to pods in
              * the GKE cluster.
        @@ -1223,6 +1341,7 @@ public boolean hasClusterIpv4CidrBlock() {
              * 
        * * string cluster_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The clusterIpv4CidrBlock. */ @java.lang.Override @@ -1232,8 +1351,7 @@ public java.lang.String getClusterIpv4CidrBlock() { ref = clusterIpAllocation_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (clusterIpAllocationCase_ == 4) { clusterIpAllocation_ = s; @@ -1244,6 +1362,8 @@ public java.lang.String getClusterIpv4CidrBlock() { } } /** + * + * *
              * Optional. The IP address range used to allocate IP addresses to pods in
              * the GKE cluster.
        @@ -1259,19 +1379,18 @@ public java.lang.String getClusterIpv4CidrBlock() {
              * 
        * * string cluster_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for clusterIpv4CidrBlock. */ @java.lang.Override - public com.google.protobuf.ByteString - getClusterIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString getClusterIpv4CidrBlockBytes() { java.lang.Object ref = ""; if (clusterIpAllocationCase_ == 4) { ref = clusterIpAllocation_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (clusterIpAllocationCase_ == 4) { clusterIpAllocation_ = b; } @@ -1281,6 +1400,8 @@ public java.lang.String getClusterIpv4CidrBlock() { } } /** + * + * *
              * Optional. The IP address range used to allocate IP addresses to pods in
              * the GKE cluster.
        @@ -1296,20 +1417,22 @@ public java.lang.String getClusterIpv4CidrBlock() {
              * 
        * * string cluster_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The clusterIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setClusterIpv4CidrBlock( - java.lang.String value) { + public Builder setClusterIpv4CidrBlock(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - clusterIpAllocationCase_ = 4; + throw new NullPointerException(); + } + clusterIpAllocationCase_ = 4; clusterIpAllocation_ = value; onChanged(); return this; } /** + * + * *
              * Optional. The IP address range used to allocate IP addresses to pods in
              * the GKE cluster.
        @@ -1325,6 +1448,7 @@ public Builder setClusterIpv4CidrBlock(
              * 
        * * string cluster_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearClusterIpv4CidrBlock() { @@ -1336,6 +1460,8 @@ public Builder clearClusterIpv4CidrBlock() { return this; } /** + * + * *
              * Optional. The IP address range used to allocate IP addresses to pods in
              * the GKE cluster.
        @@ -1351,15 +1477,15 @@ public Builder clearClusterIpv4CidrBlock() {
              * 
        * * string cluster_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for clusterIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setClusterIpv4CidrBlockBytes( - com.google.protobuf.ByteString value) { + public Builder setClusterIpv4CidrBlockBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); clusterIpAllocationCase_ = 4; clusterIpAllocation_ = value; onChanged(); @@ -1367,13 +1493,17 @@ public Builder setClusterIpv4CidrBlockBytes( } /** + * + * *
              * Optional. The name of the services' secondary range used to allocate
              * IP addresses to the GKE cluster.
              * This field is applicable only when `use_ip_aliases` is true.
              * 
        * - * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; + * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the servicesSecondaryRangeName field is set. */ @java.lang.Override @@ -1381,13 +1511,17 @@ public boolean hasServicesSecondaryRangeName() { return servicesIpAllocationCase_ == 3; } /** + * + * *
              * Optional. The name of the services' secondary range used to allocate
              * IP addresses to the GKE cluster.
              * This field is applicable only when `use_ip_aliases` is true.
              * 
        * - * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; + * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The servicesSecondaryRangeName. */ @java.lang.Override @@ -1397,8 +1531,7 @@ public java.lang.String getServicesSecondaryRangeName() { ref = servicesIpAllocation_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (servicesIpAllocationCase_ == 3) { servicesIpAllocation_ = s; @@ -1409,26 +1542,28 @@ public java.lang.String getServicesSecondaryRangeName() { } } /** + * + * *
              * Optional. The name of the services' secondary range used to allocate
              * IP addresses to the GKE cluster.
              * This field is applicable only when `use_ip_aliases` is true.
              * 
        * - * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; + * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The bytes for servicesSecondaryRangeName. */ @java.lang.Override - public com.google.protobuf.ByteString - getServicesSecondaryRangeNameBytes() { + public com.google.protobuf.ByteString getServicesSecondaryRangeNameBytes() { java.lang.Object ref = ""; if (servicesIpAllocationCase_ == 3) { ref = servicesIpAllocation_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (servicesIpAllocationCase_ == 3) { servicesIpAllocation_ = b; } @@ -1438,34 +1573,41 @@ public java.lang.String getServicesSecondaryRangeName() { } } /** + * + * *
              * Optional. The name of the services' secondary range used to allocate
              * IP addresses to the GKE cluster.
              * This field is applicable only when `use_ip_aliases` is true.
              * 
        * - * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; + * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The servicesSecondaryRangeName to set. * @return This builder for chaining. */ - public Builder setServicesSecondaryRangeName( - java.lang.String value) { + public Builder setServicesSecondaryRangeName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - servicesIpAllocationCase_ = 3; + throw new NullPointerException(); + } + servicesIpAllocationCase_ = 3; servicesIpAllocation_ = value; onChanged(); return this; } /** + * + * *
              * Optional. The name of the services' secondary range used to allocate
              * IP addresses to the GKE cluster.
              * This field is applicable only when `use_ip_aliases` is true.
              * 
        * - * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; + * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearServicesSecondaryRangeName() { @@ -1477,22 +1619,25 @@ public Builder clearServicesSecondaryRangeName() { return this; } /** + * + * *
              * Optional. The name of the services' secondary range used to allocate
              * IP addresses to the GKE cluster.
              * This field is applicable only when `use_ip_aliases` is true.
              * 
        * - * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; + * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The bytes for servicesSecondaryRangeName to set. * @return This builder for chaining. */ - public Builder setServicesSecondaryRangeNameBytes( - com.google.protobuf.ByteString value) { + public Builder setServicesSecondaryRangeNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); servicesIpAllocationCase_ = 3; servicesIpAllocation_ = value; onChanged(); @@ -1500,6 +1645,8 @@ public Builder setServicesSecondaryRangeNameBytes( } /** + * + * *
              * Optional. The IP address range of the services IP addresses in this
              * GKE cluster.
        @@ -1515,6 +1662,7 @@ public Builder setServicesSecondaryRangeNameBytes(
              * 
        * * string services_ipv4_cidr_block = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return Whether the servicesIpv4CidrBlock field is set. */ @java.lang.Override @@ -1522,6 +1670,8 @@ public boolean hasServicesIpv4CidrBlock() { return servicesIpAllocationCase_ == 5; } /** + * + * *
              * Optional. The IP address range of the services IP addresses in this
              * GKE cluster.
        @@ -1537,6 +1687,7 @@ public boolean hasServicesIpv4CidrBlock() {
              * 
        * * string services_ipv4_cidr_block = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The servicesIpv4CidrBlock. */ @java.lang.Override @@ -1546,8 +1697,7 @@ public java.lang.String getServicesIpv4CidrBlock() { ref = servicesIpAllocation_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (servicesIpAllocationCase_ == 5) { servicesIpAllocation_ = s; @@ -1558,6 +1708,8 @@ public java.lang.String getServicesIpv4CidrBlock() { } } /** + * + * *
              * Optional. The IP address range of the services IP addresses in this
              * GKE cluster.
        @@ -1573,19 +1725,18 @@ public java.lang.String getServicesIpv4CidrBlock() {
              * 
        * * string services_ipv4_cidr_block = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for servicesIpv4CidrBlock. */ @java.lang.Override - public com.google.protobuf.ByteString - getServicesIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString getServicesIpv4CidrBlockBytes() { java.lang.Object ref = ""; if (servicesIpAllocationCase_ == 5) { ref = servicesIpAllocation_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (servicesIpAllocationCase_ == 5) { servicesIpAllocation_ = b; } @@ -1595,6 +1746,8 @@ public java.lang.String getServicesIpv4CidrBlock() { } } /** + * + * *
              * Optional. The IP address range of the services IP addresses in this
              * GKE cluster.
        @@ -1610,20 +1763,22 @@ public java.lang.String getServicesIpv4CidrBlock() {
              * 
        * * string services_ipv4_cidr_block = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The servicesIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setServicesIpv4CidrBlock( - java.lang.String value) { + public Builder setServicesIpv4CidrBlock(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - servicesIpAllocationCase_ = 5; + throw new NullPointerException(); + } + servicesIpAllocationCase_ = 5; servicesIpAllocation_ = value; onChanged(); return this; } /** + * + * *
              * Optional. The IP address range of the services IP addresses in this
              * GKE cluster.
        @@ -1639,6 +1794,7 @@ public Builder setServicesIpv4CidrBlock(
              * 
        * * string services_ipv4_cidr_block = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearServicesIpv4CidrBlock() { @@ -1650,6 +1806,8 @@ public Builder clearServicesIpv4CidrBlock() { return this; } /** + * + * *
              * Optional. The IP address range of the services IP addresses in this
              * GKE cluster.
        @@ -1665,23 +1823,23 @@ public Builder clearServicesIpv4CidrBlock() {
              * 
        * * string services_ipv4_cidr_block = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for servicesIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setServicesIpv4CidrBlockBytes( - com.google.protobuf.ByteString value) { + public Builder setServicesIpv4CidrBlockBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); servicesIpAllocationCase_ = 5; servicesIpAllocation_ = 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); } @@ -1691,30 +1849,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy) - private static final com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy DEFAULT_INSTANCE; + private static final com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy(); } - public static com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IPAllocationPolicy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new IPAllocationPolicy(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IPAllocationPolicy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IPAllocationPolicy(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1726,9 +1886,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/IPAllocationPolicyOrBuilder.java b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/IPAllocationPolicyOrBuilder.java similarity index 84% rename from owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/IPAllocationPolicyOrBuilder.java rename to proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/IPAllocationPolicyOrBuilder.java index 75cd3da5..95501b66 100644 --- a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/IPAllocationPolicyOrBuilder.java +++ b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/IPAllocationPolicyOrBuilder.java @@ -1,24 +1,45 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/orchestration/airflow/service/v1/environments.proto package com.google.cloud.orchestration.airflow.service.v1; -public interface IPAllocationPolicyOrBuilder extends +public interface IPAllocationPolicyOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy) com.google.protobuf.MessageOrBuilder { /** + * + * *
            * Optional. Whether or not to enable Alias IPs in the GKE cluster.
            * If `true`, a VPC-native cluster is created.
            * 
        * * bool use_ip_aliases = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The useIpAliases. */ boolean getUseIpAliases(); /** + * + * *
            * Optional. The name of the GKE cluster's secondary range used to allocate
            * IP addresses to pods.
        @@ -26,10 +47,13 @@ public interface IPAllocationPolicyOrBuilder extends
            * 
        * * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return Whether the clusterSecondaryRangeName field is set. */ boolean hasClusterSecondaryRangeName(); /** + * + * *
            * Optional. The name of the GKE cluster's secondary range used to allocate
            * IP addresses to pods.
        @@ -37,10 +61,13 @@ public interface IPAllocationPolicyOrBuilder extends
            * 
        * * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The clusterSecondaryRangeName. */ java.lang.String getClusterSecondaryRangeName(); /** + * + * *
            * Optional. The name of the GKE cluster's secondary range used to allocate
            * IP addresses to pods.
        @@ -48,12 +75,14 @@ public interface IPAllocationPolicyOrBuilder extends
            * 
        * * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for clusterSecondaryRangeName. */ - com.google.protobuf.ByteString - getClusterSecondaryRangeNameBytes(); + com.google.protobuf.ByteString getClusterSecondaryRangeNameBytes(); /** + * + * *
            * Optional. The IP address range used to allocate IP addresses to pods in
            * the GKE cluster.
        @@ -69,10 +98,13 @@ public interface IPAllocationPolicyOrBuilder extends
            * 
        * * string cluster_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return Whether the clusterIpv4CidrBlock field is set. */ boolean hasClusterIpv4CidrBlock(); /** + * + * *
            * Optional. The IP address range used to allocate IP addresses to pods in
            * the GKE cluster.
        @@ -88,10 +120,13 @@ public interface IPAllocationPolicyOrBuilder extends
            * 
        * * string cluster_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The clusterIpv4CidrBlock. */ java.lang.String getClusterIpv4CidrBlock(); /** + * + * *
            * Optional. The IP address range used to allocate IP addresses to pods in
            * the GKE cluster.
        @@ -107,47 +142,60 @@ public interface IPAllocationPolicyOrBuilder extends
            * 
        * * string cluster_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for clusterIpv4CidrBlock. */ - com.google.protobuf.ByteString - getClusterIpv4CidrBlockBytes(); + com.google.protobuf.ByteString getClusterIpv4CidrBlockBytes(); /** + * + * *
            * Optional. The name of the services' secondary range used to allocate
            * IP addresses to the GKE cluster.
            * This field is applicable only when `use_ip_aliases` is true.
            * 
        * - * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; + * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the servicesSecondaryRangeName field is set. */ boolean hasServicesSecondaryRangeName(); /** + * + * *
            * Optional. The name of the services' secondary range used to allocate
            * IP addresses to the GKE cluster.
            * This field is applicable only when `use_ip_aliases` is true.
            * 
        * - * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; + * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The servicesSecondaryRangeName. */ java.lang.String getServicesSecondaryRangeName(); /** + * + * *
            * Optional. The name of the services' secondary range used to allocate
            * IP addresses to the GKE cluster.
            * This field is applicable only when `use_ip_aliases` is true.
            * 
        * - * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; + * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The bytes for servicesSecondaryRangeName. */ - com.google.protobuf.ByteString - getServicesSecondaryRangeNameBytes(); + com.google.protobuf.ByteString getServicesSecondaryRangeNameBytes(); /** + * + * *
            * Optional. The IP address range of the services IP addresses in this
            * GKE cluster.
        @@ -163,10 +211,13 @@ public interface IPAllocationPolicyOrBuilder extends
            * 
        * * string services_ipv4_cidr_block = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return Whether the servicesIpv4CidrBlock field is set. */ boolean hasServicesIpv4CidrBlock(); /** + * + * *
            * Optional. The IP address range of the services IP addresses in this
            * GKE cluster.
        @@ -182,10 +233,13 @@ public interface IPAllocationPolicyOrBuilder extends
            * 
        * * string services_ipv4_cidr_block = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The servicesIpv4CidrBlock. */ java.lang.String getServicesIpv4CidrBlock(); /** + * + * *
            * Optional. The IP address range of the services IP addresses in this
            * GKE cluster.
        @@ -201,12 +255,16 @@ public interface IPAllocationPolicyOrBuilder extends
            * 
        * * string services_ipv4_cidr_block = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for servicesIpv4CidrBlock. */ - com.google.protobuf.ByteString - getServicesIpv4CidrBlockBytes(); + com.google.protobuf.ByteString getServicesIpv4CidrBlockBytes(); - public com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.ClusterIpAllocationCase getClusterIpAllocationCase(); + public com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy + .ClusterIpAllocationCase + getClusterIpAllocationCase(); - public com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.ServicesIpAllocationCase getServicesIpAllocationCase(); + public com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy + .ServicesIpAllocationCase + getServicesIpAllocationCase(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersion.java b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersion.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersion.java rename to proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersion.java index 4b292245..b111e06e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersion.java +++ b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersion.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/orchestration/airflow/service/v1/image_versions.proto package com.google.cloud.orchestration.airflow.service.v1; /** + * + * *
          * ImageVersion information
          * 
        * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.ImageVersion} */ -public final class ImageVersion extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImageVersion extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1.ImageVersion) ImageVersionOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImageVersion.newBuilder() to construct. private ImageVersion(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ImageVersion() { imageVersionId_ = ""; supportedPythonVersions_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -26,16 +44,15 @@ private ImageVersion() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImageVersion(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImageVersion( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,56 +72,59 @@ private ImageVersion( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - imageVersionId_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - isDefault_ = input.readBool(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - supportedPythonVersions_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + imageVersionId_ = s; + break; } - supportedPythonVersions_.add(s); - break; - } - case 34: { - com.google.type.Date.Builder subBuilder = null; - if (releaseDate_ != null) { - subBuilder = releaseDate_.toBuilder(); + case 16: + { + isDefault_ = input.readBool(); + break; } - releaseDate_ = input.readMessage(com.google.type.Date.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(releaseDate_); - releaseDate_ = subBuilder.buildPartial(); + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + supportedPythonVersions_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + supportedPythonVersions_.add(s); + break; } + case 34: + { + com.google.type.Date.Builder subBuilder = null; + if (releaseDate_ != null) { + subBuilder = releaseDate_.toBuilder(); + } + releaseDate_ = input.readMessage(com.google.type.Date.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(releaseDate_); + releaseDate_ = subBuilder.buildPartial(); + } - break; - } - case 40: { - - creationDisabled_ = input.readBool(); - break; - } - case 48: { - - upgradeDisabled_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + case 40: + { + creationDisabled_ = input.readBool(); + break; + } + case 48: + { + upgradeDisabled_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -112,8 +132,7 @@ private ImageVersion( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { supportedPythonVersions_ = supportedPythonVersions_.getUnmodifiableView(); @@ -122,28 +141,34 @@ private ImageVersion( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.ImageVersionsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_ImageVersion_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.ImageVersionsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_ImageVersion_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1.ImageVersionsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_ImageVersion_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1.ImageVersionsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_ImageVersion_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1.ImageVersion.class, com.google.cloud.orchestration.airflow.service.v1.ImageVersion.Builder.class); + com.google.cloud.orchestration.airflow.service.v1.ImageVersion.class, + com.google.cloud.orchestration.airflow.service.v1.ImageVersion.Builder.class); } public static final int IMAGE_VERSION_ID_FIELD_NUMBER = 1; private volatile java.lang.Object imageVersionId_; /** + * + * *
            * The string identifier of the ImageVersion, in the form:
            * "composer-x.y.z-airflow-a.b(.c)"
            * 
        * * string image_version_id = 1; + * * @return The imageVersionId. */ @java.lang.Override @@ -152,30 +177,30 @@ public java.lang.String getImageVersionId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageVersionId_ = s; return s; } } /** + * + * *
            * The string identifier of the ImageVersion, in the form:
            * "composer-x.y.z-airflow-a.b(.c)"
            * 
        * * string image_version_id = 1; + * * @return The bytes for imageVersionId. */ @java.lang.Override - public com.google.protobuf.ByteString - getImageVersionIdBytes() { + public com.google.protobuf.ByteString getImageVersionIdBytes() { java.lang.Object ref = imageVersionId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); imageVersionId_ = b; return b; } else { @@ -186,12 +211,15 @@ public java.lang.String getImageVersionId() { public static final int IS_DEFAULT_FIELD_NUMBER = 2; private boolean isDefault_; /** + * + * *
            * Whether this is the default ImageVersion used by Composer during
            * environment creation if no input ImageVersion is specified.
            * 
        * * bool is_default = 2; + * * @return The isDefault. */ @java.lang.Override @@ -202,34 +230,42 @@ public boolean getIsDefault() { public static final int SUPPORTED_PYTHON_VERSIONS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList supportedPythonVersions_; /** + * + * *
            * supported python versions
            * 
        * * repeated string supported_python_versions = 3; + * * @return A list containing the supportedPythonVersions. */ - public com.google.protobuf.ProtocolStringList - getSupportedPythonVersionsList() { + public com.google.protobuf.ProtocolStringList getSupportedPythonVersionsList() { return supportedPythonVersions_; } /** + * + * *
            * supported python versions
            * 
        * * repeated string supported_python_versions = 3; + * * @return The count of supportedPythonVersions. */ public int getSupportedPythonVersionsCount() { return supportedPythonVersions_.size(); } /** + * + * *
            * supported python versions
            * 
        * * repeated string supported_python_versions = 3; + * * @param index The index of the element to return. * @return The supportedPythonVersions at the given index. */ @@ -237,27 +273,32 @@ public java.lang.String getSupportedPythonVersions(int index) { return supportedPythonVersions_.get(index); } /** + * + * *
            * supported python versions
            * 
        * * repeated string supported_python_versions = 3; + * * @param index The index of the value to return. * @return The bytes of the supportedPythonVersions at the given index. */ - public com.google.protobuf.ByteString - getSupportedPythonVersionsBytes(int index) { + public com.google.protobuf.ByteString getSupportedPythonVersionsBytes(int index) { return supportedPythonVersions_.getByteString(index); } public static final int RELEASE_DATE_FIELD_NUMBER = 4; private com.google.type.Date releaseDate_; /** + * + * *
            * The date of the version release.
            * 
        * * .google.type.Date release_date = 4; + * * @return Whether the releaseDate field is set. */ @java.lang.Override @@ -265,11 +306,14 @@ public boolean hasReleaseDate() { return releaseDate_ != null; } /** + * + * *
            * The date of the version release.
            * 
        * * .google.type.Date release_date = 4; + * * @return The releaseDate. */ @java.lang.Override @@ -277,6 +321,8 @@ public com.google.type.Date getReleaseDate() { return releaseDate_ == null ? com.google.type.Date.getDefaultInstance() : releaseDate_; } /** + * + * *
            * The date of the version release.
            * 
        @@ -291,11 +337,14 @@ public com.google.type.DateOrBuilder getReleaseDateOrBuilder() { public static final int CREATION_DISABLED_FIELD_NUMBER = 5; private boolean creationDisabled_; /** + * + * *
            * Whether it is impossible to create an environment with the image version.
            * 
        * * bool creation_disabled = 5; + * * @return The creationDisabled. */ @java.lang.Override @@ -306,12 +355,15 @@ public boolean getCreationDisabled() { public static final int UPGRADE_DISABLED_FIELD_NUMBER = 6; private boolean upgradeDisabled_; /** + * + * *
            * Whether it is impossible to upgrade an environment running with the image
            * version.
            * 
        * * bool upgrade_disabled = 6; + * * @return The upgradeDisabled. */ @java.lang.Override @@ -320,6 +372,7 @@ public boolean getUpgradeDisabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -331,8 +384,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageVersionId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, imageVersionId_); } @@ -340,7 +392,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeBool(2, isDefault_); } for (int i = 0; i < supportedPythonVersions_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, supportedPythonVersions_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 3, supportedPythonVersions_.getRaw(i)); } if (releaseDate_ != null) { output.writeMessage(4, getReleaseDate()); @@ -364,8 +417,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, imageVersionId_); } if (isDefault_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, isDefault_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, isDefault_); } { int dataSize = 0; @@ -376,16 +428,13 @@ public int getSerializedSize() { size += 1 * getSupportedPythonVersionsList().size(); } if (releaseDate_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getReleaseDate()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getReleaseDate()); } if (creationDisabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, creationDisabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, creationDisabled_); } if (upgradeDisabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, upgradeDisabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, upgradeDisabled_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -395,28 +444,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.orchestration.airflow.service.v1.ImageVersion)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1.ImageVersion other = (com.google.cloud.orchestration.airflow.service.v1.ImageVersion) obj; + com.google.cloud.orchestration.airflow.service.v1.ImageVersion other = + (com.google.cloud.orchestration.airflow.service.v1.ImageVersion) obj; - if (!getImageVersionId() - .equals(other.getImageVersionId())) return false; - if (getIsDefault() - != other.getIsDefault()) return false; - if (!getSupportedPythonVersionsList() - .equals(other.getSupportedPythonVersionsList())) return false; + if (!getImageVersionId().equals(other.getImageVersionId())) return false; + if (getIsDefault() != other.getIsDefault()) return false; + if (!getSupportedPythonVersionsList().equals(other.getSupportedPythonVersionsList())) + return false; if (hasReleaseDate() != other.hasReleaseDate()) return false; if (hasReleaseDate()) { - if (!getReleaseDate() - .equals(other.getReleaseDate())) return false; + if (!getReleaseDate().equals(other.getReleaseDate())) return false; } - if (getCreationDisabled() - != other.getCreationDisabled()) return false; - if (getUpgradeDisabled() - != other.getUpgradeDisabled()) return false; + if (getCreationDisabled() != other.getCreationDisabled()) return false; + if (getUpgradeDisabled() != other.getUpgradeDisabled()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -431,8 +476,7 @@ public int hashCode() { hash = (37 * hash) + IMAGE_VERSION_ID_FIELD_NUMBER; hash = (53 * hash) + getImageVersionId().hashCode(); hash = (37 * hash) + IS_DEFAULT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getIsDefault()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsDefault()); if (getSupportedPythonVersionsCount() > 0) { hash = (37 * hash) + SUPPORTED_PYTHON_VERSIONS_FIELD_NUMBER; hash = (53 * hash) + getSupportedPythonVersionsList().hashCode(); @@ -442,128 +486,136 @@ public int hashCode() { hash = (53 * hash) + getReleaseDate().hashCode(); } hash = (37 * hash) + CREATION_DISABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getCreationDisabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCreationDisabled()); hash = (37 * hash) + UPGRADE_DISABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getUpgradeDisabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUpgradeDisabled()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.orchestration.airflow.service.v1.ImageVersion 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.orchestration.airflow.service.v1.ImageVersion parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.orchestration.airflow.service.v1.ImageVersion parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.orchestration.airflow.service.v1.ImageVersion parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.ImageVersion parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1.ImageVersion parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.orchestration.airflow.service.v1.ImageVersion parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.ImageVersion parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1.ImageVersion parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.orchestration.airflow.service.v1.ImageVersion parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.ImageVersion parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1.ImageVersion parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.orchestration.airflow.service.v1.ImageVersion parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.orchestration.airflow.service.v1.ImageVersion parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.orchestration.airflow.service.v1.ImageVersion parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1.ImageVersion prototype) { + + public static Builder newBuilder( + com.google.cloud.orchestration.airflow.service.v1.ImageVersion prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
            * ImageVersion information
            * 
        * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.ImageVersion} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1.ImageVersion) com.google.cloud.orchestration.airflow.service.v1.ImageVersionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.ImageVersionsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_ImageVersion_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.ImageVersionsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_ImageVersion_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1.ImageVersionsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_ImageVersion_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1.ImageVersionsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_ImageVersion_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1.ImageVersion.class, com.google.cloud.orchestration.airflow.service.v1.ImageVersion.Builder.class); + com.google.cloud.orchestration.airflow.service.v1.ImageVersion.class, + com.google.cloud.orchestration.airflow.service.v1.ImageVersion.Builder.class); } // Construct using com.google.cloud.orchestration.airflow.service.v1.ImageVersion.newBuilder() @@ -571,16 +623,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -604,13 +655,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1.ImageVersionsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_ImageVersion_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1.ImageVersionsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_ImageVersion_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.ImageVersion getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1.ImageVersion + getDefaultInstanceForType() { return com.google.cloud.orchestration.airflow.service.v1.ImageVersion.getDefaultInstance(); } @@ -625,7 +677,8 @@ public com.google.cloud.orchestration.airflow.service.v1.ImageVersion build() { @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1.ImageVersion buildPartial() { - com.google.cloud.orchestration.airflow.service.v1.ImageVersion result = new com.google.cloud.orchestration.airflow.service.v1.ImageVersion(this); + com.google.cloud.orchestration.airflow.service.v1.ImageVersion result = + new com.google.cloud.orchestration.airflow.service.v1.ImageVersion(this); int from_bitField0_ = bitField0_; result.imageVersionId_ = imageVersionId_; result.isDefault_ = isDefault_; @@ -649,38 +702,39 @@ public com.google.cloud.orchestration.airflow.service.v1.ImageVersion buildParti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.orchestration.airflow.service.v1.ImageVersion) { - return mergeFrom((com.google.cloud.orchestration.airflow.service.v1.ImageVersion)other); + return mergeFrom((com.google.cloud.orchestration.airflow.service.v1.ImageVersion) other); } else { super.mergeFrom(other); return this; @@ -688,7 +742,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1.ImageVersion other) { - if (other == com.google.cloud.orchestration.airflow.service.v1.ImageVersion.getDefaultInstance()) return this; + if (other + == com.google.cloud.orchestration.airflow.service.v1.ImageVersion.getDefaultInstance()) + return this; if (!other.getImageVersionId().isEmpty()) { imageVersionId_ = other.imageVersionId_; onChanged(); @@ -734,7 +790,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.orchestration.airflow.service.v1.ImageVersion) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.orchestration.airflow.service.v1.ImageVersion) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -743,23 +801,26 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object imageVersionId_ = ""; /** + * + * *
              * The string identifier of the ImageVersion, in the form:
              * "composer-x.y.z-airflow-a.b(.c)"
              * 
        * * string image_version_id = 1; + * * @return The imageVersionId. */ public java.lang.String getImageVersionId() { java.lang.Object ref = imageVersionId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageVersionId_ = s; return s; @@ -768,21 +829,22 @@ public java.lang.String getImageVersionId() { } } /** + * + * *
              * The string identifier of the ImageVersion, in the form:
              * "composer-x.y.z-airflow-a.b(.c)"
              * 
        * * string image_version_id = 1; + * * @return The bytes for imageVersionId. */ - public com.google.protobuf.ByteString - getImageVersionIdBytes() { + public com.google.protobuf.ByteString getImageVersionIdBytes() { java.lang.Object ref = imageVersionId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); imageVersionId_ = b; return b; } else { @@ -790,70 +852,80 @@ public java.lang.String getImageVersionId() { } } /** + * + * *
              * The string identifier of the ImageVersion, in the form:
              * "composer-x.y.z-airflow-a.b(.c)"
              * 
        * * string image_version_id = 1; + * * @param value The imageVersionId to set. * @return This builder for chaining. */ - public Builder setImageVersionId( - java.lang.String value) { + public Builder setImageVersionId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + imageVersionId_ = value; onChanged(); return this; } /** + * + * *
              * The string identifier of the ImageVersion, in the form:
              * "composer-x.y.z-airflow-a.b(.c)"
              * 
        * * string image_version_id = 1; + * * @return This builder for chaining. */ public Builder clearImageVersionId() { - + imageVersionId_ = getDefaultInstance().getImageVersionId(); onChanged(); return this; } /** + * + * *
              * The string identifier of the ImageVersion, in the form:
              * "composer-x.y.z-airflow-a.b(.c)"
              * 
        * * string image_version_id = 1; + * * @param value The bytes for imageVersionId to set. * @return This builder for chaining. */ - public Builder setImageVersionIdBytes( - com.google.protobuf.ByteString value) { + public Builder setImageVersionIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + imageVersionId_ = value; onChanged(); return this; } - private boolean isDefault_ ; + private boolean isDefault_; /** + * + * *
              * Whether this is the default ImageVersion used by Composer during
              * environment creation if no input ImageVersion is specified.
              * 
        * * bool is_default = 2; + * * @return The isDefault. */ @java.lang.Override @@ -861,73 +933,90 @@ public boolean getIsDefault() { return isDefault_; } /** + * + * *
              * Whether this is the default ImageVersion used by Composer during
              * environment creation if no input ImageVersion is specified.
              * 
        * * bool is_default = 2; + * * @param value The isDefault to set. * @return This builder for chaining. */ public Builder setIsDefault(boolean value) { - + isDefault_ = value; onChanged(); return this; } /** + * + * *
              * Whether this is the default ImageVersion used by Composer during
              * environment creation if no input ImageVersion is specified.
              * 
        * * bool is_default = 2; + * * @return This builder for chaining. */ public Builder clearIsDefault() { - + isDefault_ = false; onChanged(); return this; } - private com.google.protobuf.LazyStringList supportedPythonVersions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList supportedPythonVersions_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureSupportedPythonVersionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - supportedPythonVersions_ = new com.google.protobuf.LazyStringArrayList(supportedPythonVersions_); + supportedPythonVersions_ = + new com.google.protobuf.LazyStringArrayList(supportedPythonVersions_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
              * supported python versions
              * 
        * * repeated string supported_python_versions = 3; + * * @return A list containing the supportedPythonVersions. */ - public com.google.protobuf.ProtocolStringList - getSupportedPythonVersionsList() { + public com.google.protobuf.ProtocolStringList getSupportedPythonVersionsList() { return supportedPythonVersions_.getUnmodifiableView(); } /** + * + * *
              * supported python versions
              * 
        * * repeated string supported_python_versions = 3; + * * @return The count of supportedPythonVersions. */ public int getSupportedPythonVersionsCount() { return supportedPythonVersions_.size(); } /** + * + * *
              * supported python versions
              * 
        * * repeated string supported_python_versions = 3; + * * @param index The index of the element to return. * @return The supportedPythonVersions at the given index. */ @@ -935,80 +1024,90 @@ public java.lang.String getSupportedPythonVersions(int index) { return supportedPythonVersions_.get(index); } /** + * + * *
              * supported python versions
              * 
        * * repeated string supported_python_versions = 3; + * * @param index The index of the value to return. * @return The bytes of the supportedPythonVersions at the given index. */ - public com.google.protobuf.ByteString - getSupportedPythonVersionsBytes(int index) { + public com.google.protobuf.ByteString getSupportedPythonVersionsBytes(int index) { return supportedPythonVersions_.getByteString(index); } /** + * + * *
              * supported python versions
              * 
        * * repeated string supported_python_versions = 3; + * * @param index The index to set the value at. * @param value The supportedPythonVersions to set. * @return This builder for chaining. */ - public Builder setSupportedPythonVersions( - int index, java.lang.String value) { + public Builder setSupportedPythonVersions(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureSupportedPythonVersionsIsMutable(); + throw new NullPointerException(); + } + ensureSupportedPythonVersionsIsMutable(); supportedPythonVersions_.set(index, value); onChanged(); return this; } /** + * + * *
              * supported python versions
              * 
        * * repeated string supported_python_versions = 3; + * * @param value The supportedPythonVersions to add. * @return This builder for chaining. */ - public Builder addSupportedPythonVersions( - java.lang.String value) { + public Builder addSupportedPythonVersions(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureSupportedPythonVersionsIsMutable(); + throw new NullPointerException(); + } + ensureSupportedPythonVersionsIsMutable(); supportedPythonVersions_.add(value); onChanged(); return this; } /** + * + * *
              * supported python versions
              * 
        * * repeated string supported_python_versions = 3; + * * @param values The supportedPythonVersions to add. * @return This builder for chaining. */ - public Builder addAllSupportedPythonVersions( - java.lang.Iterable values) { + public Builder addAllSupportedPythonVersions(java.lang.Iterable values) { ensureSupportedPythonVersionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, supportedPythonVersions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, supportedPythonVersions_); onChanged(); return this; } /** + * + * *
              * supported python versions
              * 
        * * repeated string supported_python_versions = 3; + * * @return This builder for chaining. */ public Builder clearSupportedPythonVersions() { @@ -1018,20 +1117,22 @@ public Builder clearSupportedPythonVersions() { return this; } /** + * + * *
              * supported python versions
              * 
        * * repeated string supported_python_versions = 3; + * * @param value The bytes of the supportedPythonVersions to add. * @return This builder for chaining. */ - public Builder addSupportedPythonVersionsBytes( - com.google.protobuf.ByteString value) { + public Builder addSupportedPythonVersionsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureSupportedPythonVersionsIsMutable(); supportedPythonVersions_.add(value); onChanged(); @@ -1040,24 +1141,31 @@ public Builder addSupportedPythonVersionsBytes( private com.google.type.Date releaseDate_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> releaseDateBuilder_; + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> + releaseDateBuilder_; /** + * + * *
              * The date of the version release.
              * 
        * * .google.type.Date release_date = 4; + * * @return Whether the releaseDate field is set. */ public boolean hasReleaseDate() { return releaseDateBuilder_ != null || releaseDate_ != null; } /** + * + * *
              * The date of the version release.
              * 
        * * .google.type.Date release_date = 4; + * * @return The releaseDate. */ public com.google.type.Date getReleaseDate() { @@ -1068,6 +1176,8 @@ public com.google.type.Date getReleaseDate() { } } /** + * + * *
              * The date of the version release.
              * 
        @@ -1088,14 +1198,15 @@ public Builder setReleaseDate(com.google.type.Date value) { return this; } /** + * + * *
              * The date of the version release.
              * 
        * * .google.type.Date release_date = 4; */ - public Builder setReleaseDate( - com.google.type.Date.Builder builderForValue) { + public Builder setReleaseDate(com.google.type.Date.Builder builderForValue) { if (releaseDateBuilder_ == null) { releaseDate_ = builderForValue.build(); onChanged(); @@ -1106,6 +1217,8 @@ public Builder setReleaseDate( return this; } /** + * + * *
              * The date of the version release.
              * 
        @@ -1116,7 +1229,7 @@ public Builder mergeReleaseDate(com.google.type.Date value) { if (releaseDateBuilder_ == null) { if (releaseDate_ != null) { releaseDate_ = - com.google.type.Date.newBuilder(releaseDate_).mergeFrom(value).buildPartial(); + com.google.type.Date.newBuilder(releaseDate_).mergeFrom(value).buildPartial(); } else { releaseDate_ = value; } @@ -1128,6 +1241,8 @@ public Builder mergeReleaseDate(com.google.type.Date value) { return this; } /** + * + * *
              * The date of the version release.
              * 
        @@ -1146,6 +1261,8 @@ public Builder clearReleaseDate() { return this; } /** + * + * *
              * The date of the version release.
              * 
        @@ -1153,11 +1270,13 @@ public Builder clearReleaseDate() { * .google.type.Date release_date = 4; */ public com.google.type.Date.Builder getReleaseDateBuilder() { - + onChanged(); return getReleaseDateFieldBuilder().getBuilder(); } /** + * + * *
              * The date of the version release.
              * 
        @@ -1168,11 +1287,12 @@ public com.google.type.DateOrBuilder getReleaseDateOrBuilder() { if (releaseDateBuilder_ != null) { return releaseDateBuilder_.getMessageOrBuilder(); } else { - return releaseDate_ == null ? - com.google.type.Date.getDefaultInstance() : releaseDate_; + return releaseDate_ == null ? com.google.type.Date.getDefaultInstance() : releaseDate_; } } /** + * + * *
              * The date of the version release.
              * 
        @@ -1180,26 +1300,28 @@ public com.google.type.DateOrBuilder getReleaseDateOrBuilder() { * .google.type.Date release_date = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> getReleaseDateFieldBuilder() { if (releaseDateBuilder_ == null) { - releaseDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>( - getReleaseDate(), - getParentForChildren(), - isClean()); + releaseDateBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>( + getReleaseDate(), getParentForChildren(), isClean()); releaseDate_ = null; } return releaseDateBuilder_; } - private boolean creationDisabled_ ; + private boolean creationDisabled_; /** + * + * *
              * Whether it is impossible to create an environment with the image version.
              * 
        * * bool creation_disabled = 5; + * * @return The creationDisabled. */ @java.lang.Override @@ -1207,43 +1329,52 @@ public boolean getCreationDisabled() { return creationDisabled_; } /** + * + * *
              * Whether it is impossible to create an environment with the image version.
              * 
        * * bool creation_disabled = 5; + * * @param value The creationDisabled to set. * @return This builder for chaining. */ public Builder setCreationDisabled(boolean value) { - + creationDisabled_ = value; onChanged(); return this; } /** + * + * *
              * Whether it is impossible to create an environment with the image version.
              * 
        * * bool creation_disabled = 5; + * * @return This builder for chaining. */ public Builder clearCreationDisabled() { - + creationDisabled_ = false; onChanged(); return this; } - private boolean upgradeDisabled_ ; + private boolean upgradeDisabled_; /** + * + * *
              * Whether it is impossible to upgrade an environment running with the image
              * version.
              * 
        * * bool upgrade_disabled = 6; + * * @return The upgradeDisabled. */ @java.lang.Override @@ -1251,39 +1382,45 @@ public boolean getUpgradeDisabled() { return upgradeDisabled_; } /** + * + * *
              * Whether it is impossible to upgrade an environment running with the image
              * version.
              * 
        * * bool upgrade_disabled = 6; + * * @param value The upgradeDisabled to set. * @return This builder for chaining. */ public Builder setUpgradeDisabled(boolean value) { - + upgradeDisabled_ = value; onChanged(); return this; } /** + * + * *
              * Whether it is impossible to upgrade an environment running with the image
              * version.
              * 
        * * bool upgrade_disabled = 6; + * * @return This builder for chaining. */ public Builder clearUpgradeDisabled() { - + upgradeDisabled_ = 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); } @@ -1293,30 +1430,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1.ImageVersion) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1.ImageVersion) - private static final com.google.cloud.orchestration.airflow.service.v1.ImageVersion DEFAULT_INSTANCE; + private static final com.google.cloud.orchestration.airflow.service.v1.ImageVersion + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1.ImageVersion(); } - public static com.google.cloud.orchestration.airflow.service.v1.ImageVersion getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1.ImageVersion + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImageVersion parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImageVersion(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImageVersion parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImageVersion(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1328,9 +1467,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.ImageVersion getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1.ImageVersion + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionOrBuilder.java b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionOrBuilder.java similarity index 75% rename from owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionOrBuilder.java rename to proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionOrBuilder.java index eb983624..b978b4a5 100644 --- a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionOrBuilder.java +++ b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionOrBuilder.java @@ -1,105 +1,147 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/orchestration/airflow/service/v1/image_versions.proto package com.google.cloud.orchestration.airflow.service.v1; -public interface ImageVersionOrBuilder extends +public interface ImageVersionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1.ImageVersion) com.google.protobuf.MessageOrBuilder { /** + * + * *
            * The string identifier of the ImageVersion, in the form:
            * "composer-x.y.z-airflow-a.b(.c)"
            * 
        * * string image_version_id = 1; + * * @return The imageVersionId. */ java.lang.String getImageVersionId(); /** + * + * *
            * The string identifier of the ImageVersion, in the form:
            * "composer-x.y.z-airflow-a.b(.c)"
            * 
        * * string image_version_id = 1; + * * @return The bytes for imageVersionId. */ - com.google.protobuf.ByteString - getImageVersionIdBytes(); + com.google.protobuf.ByteString getImageVersionIdBytes(); /** + * + * *
            * Whether this is the default ImageVersion used by Composer during
            * environment creation if no input ImageVersion is specified.
            * 
        * * bool is_default = 2; + * * @return The isDefault. */ boolean getIsDefault(); /** + * + * *
            * supported python versions
            * 
        * * repeated string supported_python_versions = 3; + * * @return A list containing the supportedPythonVersions. */ - java.util.List - getSupportedPythonVersionsList(); + java.util.List getSupportedPythonVersionsList(); /** + * + * *
            * supported python versions
            * 
        * * repeated string supported_python_versions = 3; + * * @return The count of supportedPythonVersions. */ int getSupportedPythonVersionsCount(); /** + * + * *
            * supported python versions
            * 
        * * repeated string supported_python_versions = 3; + * * @param index The index of the element to return. * @return The supportedPythonVersions at the given index. */ java.lang.String getSupportedPythonVersions(int index); /** + * + * *
            * supported python versions
            * 
        * * repeated string supported_python_versions = 3; + * * @param index The index of the value to return. * @return The bytes of the supportedPythonVersions at the given index. */ - com.google.protobuf.ByteString - getSupportedPythonVersionsBytes(int index); + com.google.protobuf.ByteString getSupportedPythonVersionsBytes(int index); /** + * + * *
            * The date of the version release.
            * 
        * * .google.type.Date release_date = 4; + * * @return Whether the releaseDate field is set. */ boolean hasReleaseDate(); /** + * + * *
            * The date of the version release.
            * 
        * * .google.type.Date release_date = 4; + * * @return The releaseDate. */ com.google.type.Date getReleaseDate(); /** + * + * *
            * The date of the version release.
            * 
        @@ -109,22 +151,28 @@ public interface ImageVersionOrBuilder extends com.google.type.DateOrBuilder getReleaseDateOrBuilder(); /** + * + * *
            * Whether it is impossible to create an environment with the image version.
            * 
        * * bool creation_disabled = 5; + * * @return The creationDisabled. */ boolean getCreationDisabled(); /** + * + * *
            * Whether it is impossible to upgrade an environment running with the image
            * version.
            * 
        * * bool upgrade_disabled = 6; + * * @return The upgradeDisabled. */ boolean getUpgradeDisabled(); diff --git a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsOuterClass.java b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsOuterClass.java new file mode 100644 index 00000000..c12d0e1f --- /dev/null +++ b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsOuterClass.java @@ -0,0 +1,132 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/orchestration/airflow/service/v1/image_versions.proto + +package com.google.cloud.orchestration.airflow.service.v1; + +public final class ImageVersionsOuterClass { + private ImageVersionsOuterClass() {} + + 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_orchestration_airflow_service_v1_ListImageVersionsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_orchestration_airflow_service_v1_ImageVersion_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_orchestration_airflow_service_v1_ImageVersion_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\nBgoogle/cloud/orchestration/airflow/ser" + + "vice/v1/image_versions.proto\022-google.clo" + + "ud.orchestration.airflow.service.v1\032\034goo" + + "gle/api/annotations.proto\032\027google/api/cl" + + "ient.proto\032\026google/type/date.proto\"p\n\030Li" + + "stImageVersionsRequest\022\016\n\006parent\030\001 \001(\t\022\021" + + "\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\035\n" + + "\025include_past_releases\030\004 \001(\010\"\211\001\n\031ListIma" + + "geVersionsResponse\022S\n\016image_versions\030\001 \003" + + "(\0132;.google.cloud.orchestration.airflow." + + "service.v1.ImageVersion\022\027\n\017next_page_tok" + + "en\030\002 \001(\t\"\275\001\n\014ImageVersion\022\030\n\020image_versi" + + "on_id\030\001 \001(\t\022\022\n\nis_default\030\002 \001(\010\022!\n\031suppo" + + "rted_python_versions\030\003 \003(\t\022\'\n\014release_da" + + "te\030\004 \001(\0132\021.google.type.Date\022\031\n\021creation_" + + "disabled\030\005 \001(\010\022\030\n\020upgrade_disabled\030\006 \001(\010" + + "2\311\002\n\rImageVersions\022\352\001\n\021ListImageVersions" + + "\022G.google.cloud.orchestration.airflow.se" + + "rvice.v1.ListImageVersionsRequest\032H.goog" + + "le.cloud.orchestration.airflow.service.v" + + "1.ListImageVersionsResponse\"B\202\323\344\223\0023\0221/v1" + + "/{parent=projects/*/locations/*}/imageVe" + + "rsions\332A\006parent\032K\312A\027composer.googleapis." + + "com\322A.https://www.googleapis.com/auth/cl" + + "oud-platformB\213\001\n1com.google.cloud.orches" + + "tration.airflow.service.v1P\001ZTgoogle.gol" + + "ang.org/genproto/googleapis/cloud/orches" + + "tration/airflow/service/v1;serviceb\006prot" + + "o3" + }; + 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.type.DateProto.getDescriptor(), + }); + internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", "IncludePastReleases", + }); + internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsResponse_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsResponse_descriptor, + new java.lang.String[] { + "ImageVersions", "NextPageToken", + }); + internal_static_google_cloud_orchestration_airflow_service_v1_ImageVersion_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_orchestration_airflow_service_v1_ImageVersion_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_orchestration_airflow_service_v1_ImageVersion_descriptor, + new java.lang.String[] { + "ImageVersionId", + "IsDefault", + "SupportedPythonVersions", + "ReleaseDate", + "CreationDisabled", + "UpgradeDisabled", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.type.DateProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListEnvironmentsRequest.java b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListEnvironmentsRequest.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListEnvironmentsRequest.java rename to proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListEnvironmentsRequest.java index 717931bb..ba442c3f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListEnvironmentsRequest.java +++ b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListEnvironmentsRequest.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/orchestration/airflow/service/v1/environments.proto package com.google.cloud.orchestration.airflow.service.v1; /** + * + * *
          * List environments in a project and location.
          * 
        * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest} */ -public final class ListEnvironmentsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListEnvironmentsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest) ListEnvironmentsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListEnvironmentsRequest.newBuilder() to construct. private ListEnvironmentsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListEnvironmentsRequest() { parent_ = ""; pageToken_ = ""; @@ -26,16 +44,15 @@ private ListEnvironmentsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListEnvironmentsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListEnvironmentsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,30 +71,32 @@ private ListEnvironmentsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -85,35 +104,41 @@ private ListEnvironmentsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsRequest_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest.class, com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest.Builder.class); + com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest.class, + com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest.Builder + .class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
            * List environments in the given project and location, in the form:
            * "projects/{projectId}/locations/{locationId}"
            * 
        * * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -122,30 +147,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; } } /** + * + * *
            * List environments in the given project and location, in the form:
            * "projects/{projectId}/locations/{locationId}"
            * 
        * * 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 { @@ -156,11 +181,14 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
            * The maximum number of environments to return.
            * 
        * * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -171,11 +199,14 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
            * The next_page_token value returned from a previous List request, if any.
            * 
        * * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -184,29 +215,29 @@ 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 returned from a previous List request, if any.
            * 
        * * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -215,6 +246,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -226,8 +258,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -250,8 +281,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -264,19 +294,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.orchestration.airflow.service.v1.ListEnvironmentsRequest)) { + if (!(obj + instanceof com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest other = (com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest) obj; + com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest other = + (com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -300,134 +329,146 @@ public int hashCode() { } public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest 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.orchestration.airflow.service.v1.ListEnvironmentsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest 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.orchestration.airflow.service.v1.ListEnvironmentsRequest + 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.orchestration.airflow.service.v1.ListEnvironmentsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 environments in a project and location.
            * 
        * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest) com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsRequest_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest.class, com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest.Builder.class); + com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest.class, + com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest.Builder + .class); } - // Construct using com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest.newBuilder() + // Construct using + // com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -441,19 +482,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsRequest_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest.getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest + getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest build() { - com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest result = buildPartial(); + com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -461,8 +505,10 @@ public com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest buildPartial() { - com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest result = new com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest(this); + public com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest + buildPartial() { + com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest result = + new com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -474,46 +520,52 @@ public com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest) { - return mergeFrom((com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest)other); + if (other + instanceof com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest) { + return mergeFrom( + (com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest other) { - if (other == com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest other) { + if (other + == com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -540,11 +592,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest parsedMessage = null; + com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -556,19 +611,21 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
              * List environments in the given project and location, in the form:
              * "projects/{projectId}/locations/{locationId}"
              * 
        * * 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; @@ -577,21 +634,22 @@ public java.lang.String getParent() { } } /** + * + * *
              * List environments in the given project and location, in the form:
              * "projects/{projectId}/locations/{locationId}"
              * 
        * * 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 { @@ -599,69 +657,79 @@ public java.lang.String getParent() { } } /** + * + * *
              * List environments in the given project and location, in the form:
              * "projects/{projectId}/locations/{locationId}"
              * 
        * * 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; } /** + * + * *
              * List environments in the given project and location, in the form:
              * "projects/{projectId}/locations/{locationId}"
              * 
        * * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
              * List environments in the given project and location, in the form:
              * "projects/{projectId}/locations/{locationId}"
              * 
        * * 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 environments to return.
              * 
        * * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -669,30 +737,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
              * The maximum number of environments 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 environments to return.
              * 
        * * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -700,18 +774,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
              * The next_page_token value returned from a previous List request, if any.
              * 
        * * 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; @@ -720,20 +796,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
              * The next_page_token value returned from a previous List request, if any.
              * 
        * * 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 { @@ -741,61 +818,68 @@ public java.lang.String getPageToken() { } } /** + * + * *
              * The next_page_token value returned from a previous List request, if any.
              * 
        * * 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 returned from a previous List request, if any.
              * 
        * * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
              * The next_page_token value returned from a previous List request, if any.
              * 
        * * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -805,30 +889,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest) - private static final com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest(); } - public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListEnvironmentsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListEnvironmentsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListEnvironmentsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListEnvironmentsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -840,9 +927,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListEnvironmentsRequestOrBuilder.java b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListEnvironmentsRequestOrBuilder.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListEnvironmentsRequestOrBuilder.java rename to proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListEnvironmentsRequestOrBuilder.java index 30c7c78b..e937ef0e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListEnvironmentsRequestOrBuilder.java +++ b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListEnvironmentsRequestOrBuilder.java @@ -1,61 +1,90 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/orchestration/airflow/service/v1/environments.proto package com.google.cloud.orchestration.airflow.service.v1; -public interface ListEnvironmentsRequestOrBuilder extends +public interface ListEnvironmentsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
            * List environments in the given project and location, in the form:
            * "projects/{projectId}/locations/{locationId}"
            * 
        * * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
            * List environments in the given project and location, in the form:
            * "projects/{projectId}/locations/{locationId}"
            * 
        * * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
            * The maximum number of environments to return.
            * 
        * * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
            * The next_page_token value returned from a previous List request, if any.
            * 
        * * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
            * The next_page_token value returned from a previous List request, if any.
            * 
        * * 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/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListEnvironmentsResponse.java b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListEnvironmentsResponse.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListEnvironmentsResponse.java rename to proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListEnvironmentsResponse.java index 2b8c9e90..01df7e88 100644 --- a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListEnvironmentsResponse.java +++ b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListEnvironmentsResponse.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/orchestration/airflow/service/v1/environments.proto package com.google.cloud.orchestration.airflow.service.v1; /** + * + * *
          * The environments in a project and location.
          * 
        * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse} */ -public final class ListEnvironmentsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListEnvironmentsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse) ListEnvironmentsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListEnvironmentsResponse.newBuilder() to construct. private ListEnvironmentsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListEnvironmentsResponse() { environments_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListEnvironmentsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListEnvironmentsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListEnvironmentsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,34 @@ private ListEnvironmentsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - environments_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + environments_ = + new java.util.ArrayList< + com.google.cloud.orchestration.airflow.service.v1.Environment>(); + mutable_bitField0_ |= 0x00000001; + } + environments_.add( + input.readMessage( + com.google.cloud.orchestration.airflow.service.v1.Environment.parser(), + extensionRegistry)); + break; } - environments_.add( - input.readMessage(com.google.cloud.orchestration.airflow.service.v1.Environment.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +107,7 @@ private ListEnvironmentsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { environments_ = java.util.Collections.unmodifiableList(environments_); @@ -94,87 +116,112 @@ private ListEnvironmentsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsResponse_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse.class, com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse.Builder.class); + com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse.class, + com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse.Builder + .class); } public static final int ENVIRONMENTS_FIELD_NUMBER = 1; - private java.util.List environments_; + private java.util.List + environments_; /** + * + * *
            * The list of environments returned by a ListEnvironmentsRequest.
            * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; + * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; + * */ @java.lang.Override - public java.util.List getEnvironmentsList() { + public java.util.List + getEnvironmentsList() { return environments_; } /** + * + * *
            * The list of environments returned by a ListEnvironmentsRequest.
            * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; + * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder> getEnvironmentsOrBuilderList() { return environments_; } /** + * + * *
            * The list of environments returned by a ListEnvironmentsRequest.
            * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; + * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; + * */ @java.lang.Override public int getEnvironmentsCount() { return environments_.size(); } /** + * + * *
            * The list of environments returned by a ListEnvironmentsRequest.
            * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; + * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; + * */ @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1.Environment getEnvironments(int index) { return environments_.get(index); } /** + * + * *
            * The list of environments returned by a ListEnvironmentsRequest.
            * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; + * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; + * */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder getEnvironmentsOrBuilder( - int index) { + public com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder + getEnvironmentsOrBuilder(int index) { return environments_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
            * The page token used to query for the next page if one exists.
            * 
        * * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -183,29 +230,29 @@ 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; } } /** + * + * *
            * The page token used to query for the next page if one exists.
            * 
        * * 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 +261,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -225,8 +273,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < environments_.size(); i++) { output.writeMessage(1, environments_.get(i)); } @@ -243,8 +290,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < environments_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, environments_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, environments_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -257,17 +303,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.orchestration.airflow.service.v1.ListEnvironmentsResponse)) { + if (!(obj + instanceof com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse other = (com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse) obj; + com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse other = + (com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse) obj; - if (!getEnvironmentsList() - .equals(other.getEnvironmentsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getEnvironmentsList().equals(other.getEnvironmentsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -290,136 +336,154 @@ public int hashCode() { return hash; } - public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse 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.orchestration.airflow.service.v1.ListEnvironmentsResponse + 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.orchestration.airflow.service.v1.ListEnvironmentsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 environments in a project and location.
            * 
        * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse) com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsResponse_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse.class, com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse.Builder.class); + com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse.class, + com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse.Builder + .class); } - // Construct using com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse.newBuilder() + // Construct using + // com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse.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) { getEnvironmentsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -435,19 +499,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_ListEnvironmentsResponse_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse.getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse + getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse build() { - com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse result = buildPartial(); + com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -455,8 +522,10 @@ public com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRespons } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse buildPartial() { - com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse result = new com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse(this); + public com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse + buildPartial() { + com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse result = + new com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse(this); int from_bitField0_ = bitField0_; if (environmentsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -476,46 +545,52 @@ public com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRespons public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse) { - return mergeFrom((com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse)other); + if (other + instanceof com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse) { + return mergeFrom( + (com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse other) { - if (other == com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse other) { + if (other + == com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse + .getDefaultInstance()) return this; if (environmentsBuilder_ == null) { if (!other.environments_.isEmpty()) { if (environments_.isEmpty()) { @@ -534,9 +609,10 @@ public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1.ListE environmentsBuilder_ = null; environments_ = other.environments_; bitField0_ = (bitField0_ & ~0x00000001); - environmentsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getEnvironmentsFieldBuilder() : null; + environmentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getEnvironmentsFieldBuilder() + : null; } else { environmentsBuilder_.addAllMessages(other.environments_); } @@ -561,11 +637,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse parsedMessage = null; + com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -574,28 +653,39 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private java.util.List environments_ = - java.util.Collections.emptyList(); + private java.util.List + environments_ = java.util.Collections.emptyList(); + private void ensureEnvironmentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - environments_ = new java.util.ArrayList(environments_); + environments_ = + new java.util.ArrayList( + environments_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.Environment, com.google.cloud.orchestration.airflow.service.v1.Environment.Builder, com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder> environmentsBuilder_; + com.google.cloud.orchestration.airflow.service.v1.Environment, + com.google.cloud.orchestration.airflow.service.v1.Environment.Builder, + com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder> + environmentsBuilder_; /** + * + * *
              * The list of environments returned by a ListEnvironmentsRequest.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; + * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; + * */ - public java.util.List getEnvironmentsList() { + public java.util.List + getEnvironmentsList() { if (environmentsBuilder_ == null) { return java.util.Collections.unmodifiableList(environments_); } else { @@ -603,11 +693,14 @@ public java.util.List * The list of environments returned by a ListEnvironmentsRequest. *
        * - * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; + * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; + * */ public int getEnvironmentsCount() { if (environmentsBuilder_ == null) { @@ -617,13 +710,17 @@ public int getEnvironmentsCount() { } } /** + * + * *
              * The list of environments returned by a ListEnvironmentsRequest.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; + * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; + * */ - public com.google.cloud.orchestration.airflow.service.v1.Environment getEnvironments(int index) { + public com.google.cloud.orchestration.airflow.service.v1.Environment getEnvironments( + int index) { if (environmentsBuilder_ == null) { return environments_.get(index); } else { @@ -631,11 +728,14 @@ public com.google.cloud.orchestration.airflow.service.v1.Environment getEnvironm } } /** + * + * *
              * The list of environments returned by a ListEnvironmentsRequest.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; + * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; + * */ public Builder setEnvironments( int index, com.google.cloud.orchestration.airflow.service.v1.Environment value) { @@ -652,14 +752,18 @@ public Builder setEnvironments( return this; } /** + * + * *
              * The list of environments returned by a ListEnvironmentsRequest.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; + * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; + * */ public Builder setEnvironments( - int index, com.google.cloud.orchestration.airflow.service.v1.Environment.Builder builderForValue) { + int index, + com.google.cloud.orchestration.airflow.service.v1.Environment.Builder builderForValue) { if (environmentsBuilder_ == null) { ensureEnvironmentsIsMutable(); environments_.set(index, builderForValue.build()); @@ -670,13 +774,17 @@ public Builder setEnvironments( return this; } /** + * + * *
              * The list of environments returned by a ListEnvironmentsRequest.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; + * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; + * */ - public Builder addEnvironments(com.google.cloud.orchestration.airflow.service.v1.Environment value) { + public Builder addEnvironments( + com.google.cloud.orchestration.airflow.service.v1.Environment value) { if (environmentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -690,11 +798,14 @@ public Builder addEnvironments(com.google.cloud.orchestration.airflow.service.v1 return this; } /** + * + * *
              * The list of environments returned by a ListEnvironmentsRequest.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; + * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; + * */ public Builder addEnvironments( int index, com.google.cloud.orchestration.airflow.service.v1.Environment value) { @@ -711,11 +822,14 @@ public Builder addEnvironments( return this; } /** + * + * *
              * The list of environments returned by a ListEnvironmentsRequest.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; + * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; + * */ public Builder addEnvironments( com.google.cloud.orchestration.airflow.service.v1.Environment.Builder builderForValue) { @@ -729,14 +843,18 @@ public Builder addEnvironments( return this; } /** + * + * *
              * The list of environments returned by a ListEnvironmentsRequest.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; + * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; + * */ public Builder addEnvironments( - int index, com.google.cloud.orchestration.airflow.service.v1.Environment.Builder builderForValue) { + int index, + com.google.cloud.orchestration.airflow.service.v1.Environment.Builder builderForValue) { if (environmentsBuilder_ == null) { ensureEnvironmentsIsMutable(); environments_.add(index, builderForValue.build()); @@ -747,18 +865,21 @@ public Builder addEnvironments( return this; } /** + * + * *
              * The list of environments returned by a ListEnvironmentsRequest.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; + * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; + * */ public Builder addAllEnvironments( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (environmentsBuilder_ == null) { ensureEnvironmentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, environments_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, environments_); onChanged(); } else { environmentsBuilder_.addAllMessages(values); @@ -766,11 +887,14 @@ public Builder addAllEnvironments( return this; } /** + * + * *
              * The list of environments returned by a ListEnvironmentsRequest.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; + * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; + * */ public Builder clearEnvironments() { if (environmentsBuilder_ == null) { @@ -783,11 +907,14 @@ public Builder clearEnvironments() { return this; } /** + * + * *
              * The list of environments returned by a ListEnvironmentsRequest.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; + * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; + * */ public Builder removeEnvironments(int index) { if (environmentsBuilder_ == null) { @@ -800,39 +927,50 @@ public Builder removeEnvironments(int index) { return this; } /** + * + * *
              * The list of environments returned by a ListEnvironmentsRequest.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; + * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; + * */ - public com.google.cloud.orchestration.airflow.service.v1.Environment.Builder getEnvironmentsBuilder( - int index) { + public com.google.cloud.orchestration.airflow.service.v1.Environment.Builder + getEnvironmentsBuilder(int index) { return getEnvironmentsFieldBuilder().getBuilder(index); } /** + * + * *
              * The list of environments returned by a ListEnvironmentsRequest.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; + * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; + * */ - public com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder getEnvironmentsOrBuilder( - int index) { + public com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder + getEnvironmentsOrBuilder(int index) { if (environmentsBuilder_ == null) { - return environments_.get(index); } else { + return environments_.get(index); + } else { return environmentsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
              * The list of environments returned by a ListEnvironmentsRequest.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; + * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; + * */ - public java.util.List - getEnvironmentsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder> + getEnvironmentsOrBuilderList() { if (environmentsBuilder_ != null) { return environmentsBuilder_.getMessageOrBuilderList(); } else { @@ -840,49 +978,65 @@ public com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder ge } } /** + * + * *
              * The list of environments returned by a ListEnvironmentsRequest.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; + * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; + * */ - public com.google.cloud.orchestration.airflow.service.v1.Environment.Builder addEnvironmentsBuilder() { - return getEnvironmentsFieldBuilder().addBuilder( - com.google.cloud.orchestration.airflow.service.v1.Environment.getDefaultInstance()); + public com.google.cloud.orchestration.airflow.service.v1.Environment.Builder + addEnvironmentsBuilder() { + return getEnvironmentsFieldBuilder() + .addBuilder( + com.google.cloud.orchestration.airflow.service.v1.Environment.getDefaultInstance()); } /** + * + * *
              * The list of environments returned by a ListEnvironmentsRequest.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; + * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; + * */ - public com.google.cloud.orchestration.airflow.service.v1.Environment.Builder addEnvironmentsBuilder( - int index) { - return getEnvironmentsFieldBuilder().addBuilder( - index, com.google.cloud.orchestration.airflow.service.v1.Environment.getDefaultInstance()); + public com.google.cloud.orchestration.airflow.service.v1.Environment.Builder + addEnvironmentsBuilder(int index) { + return getEnvironmentsFieldBuilder() + .addBuilder( + index, + com.google.cloud.orchestration.airflow.service.v1.Environment.getDefaultInstance()); } /** + * + * *
              * The list of environments returned by a ListEnvironmentsRequest.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; + * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; + * */ - public java.util.List - getEnvironmentsBuilderList() { + public java.util.List + getEnvironmentsBuilderList() { return getEnvironmentsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.Environment, com.google.cloud.orchestration.airflow.service.v1.Environment.Builder, com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder> + com.google.cloud.orchestration.airflow.service.v1.Environment, + com.google.cloud.orchestration.airflow.service.v1.Environment.Builder, + com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder> getEnvironmentsFieldBuilder() { if (environmentsBuilder_ == null) { - environmentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.Environment, com.google.cloud.orchestration.airflow.service.v1.Environment.Builder, com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder>( - environments_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + environmentsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.orchestration.airflow.service.v1.Environment, + com.google.cloud.orchestration.airflow.service.v1.Environment.Builder, + com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder>( + environments_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); environments_ = null; } return environmentsBuilder_; @@ -890,18 +1044,20 @@ public com.google.cloud.orchestration.airflow.service.v1.Environment.Builder add private java.lang.Object nextPageToken_ = ""; /** + * + * *
              * The page token used to query for the next page if one exists.
              * 
        * * 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; @@ -910,20 +1066,21 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
              * The page token used to query for the next page if one exists.
              * 
        * * 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 { @@ -931,61 +1088,68 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
              * The page token used to query for the next page if one exists.
              * 
        * * 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; } /** + * + * *
              * The page token used to query for the next page if one exists.
              * 
        * * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
              * The page token used to query for the next page if one exists.
              * 
        * * 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); } @@ -995,30 +1159,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse) - private static final com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse(); + DEFAULT_INSTANCE = + new com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse(); } - public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListEnvironmentsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListEnvironmentsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListEnvironmentsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListEnvironmentsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1030,9 +1197,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListEnvironmentsResponseOrBuilder.java b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListEnvironmentsResponseOrBuilder.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListEnvironmentsResponseOrBuilder.java rename to proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListEnvironmentsResponseOrBuilder.java index b3fe0bf1..ec86ac5f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListEnvironmentsResponseOrBuilder.java +++ b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListEnvironmentsResponseOrBuilder.java @@ -1,73 +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/orchestration/airflow/service/v1/environments.proto package com.google.cloud.orchestration.airflow.service.v1; -public interface ListEnvironmentsResponseOrBuilder extends +public interface ListEnvironmentsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
            * The list of environments returned by a ListEnvironmentsRequest.
            * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; + * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; + * */ - java.util.List + java.util.List getEnvironmentsList(); /** + * + * *
            * The list of environments returned by a ListEnvironmentsRequest.
            * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; + * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; + * */ com.google.cloud.orchestration.airflow.service.v1.Environment getEnvironments(int index); /** + * + * *
            * The list of environments returned by a ListEnvironmentsRequest.
            * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; + * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; + * */ int getEnvironmentsCount(); /** + * + * *
            * The list of environments returned by a ListEnvironmentsRequest.
            * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; + * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; + * */ - java.util.List + java.util.List getEnvironmentsOrBuilderList(); /** + * + * *
            * The list of environments returned by a ListEnvironmentsRequest.
            * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; + * repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1; + * */ com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder getEnvironmentsOrBuilder( int index); /** + * + * *
            * The page token used to query for the next page if one exists.
            * 
        * * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
            * The page token used to query for the next page if one exists.
            * 
        * * 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-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListImageVersionsRequest.java b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListImageVersionsRequest.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListImageVersionsRequest.java rename to proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListImageVersionsRequest.java index afc796ca..521cc457 100644 --- a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListImageVersionsRequest.java +++ b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListImageVersionsRequest.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/orchestration/airflow/service/v1/image_versions.proto package com.google.cloud.orchestration.airflow.service.v1; /** + * + * *
          * List ImageVersions in a project and location.
          * 
        * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest} */ -public final class ListImageVersionsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListImageVersionsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest) ListImageVersionsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListImageVersionsRequest.newBuilder() to construct. private ListImageVersionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListImageVersionsRequest() { parent_ = ""; pageToken_ = ""; @@ -26,16 +44,15 @@ private ListImageVersionsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListImageVersionsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListImageVersionsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,35 +71,37 @@ private ListImageVersionsRequest( 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(); - includePastReleases_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + case 32: + { + includePastReleases_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -90,35 +109,41 @@ private ListImageVersionsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.ImageVersionsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.ImageVersionsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1.ImageVersionsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsRequest_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1.ImageVersionsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest.class, com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest.Builder.class); + com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest.class, + com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest.Builder + .class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
            * List ImageVersions in the given project and location, in the form:
            * "projects/{projectId}/locations/{locationId}"
            * 
        * * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -127,30 +152,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; } } /** + * + * *
            * List ImageVersions in the given project and location, in the form:
            * "projects/{projectId}/locations/{locationId}"
            * 
        * * 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 { @@ -161,11 +186,14 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
            * The maximum number of image_versions to return.
            * 
        * * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -176,11 +204,14 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
            * The next_page_token value returned from a previous List request, if any.
            * 
        * * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -189,29 +220,29 @@ 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 returned from a previous List request, if any.
            * 
        * * 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,11 +253,14 @@ public java.lang.String getPageToken() { public static final int INCLUDE_PAST_RELEASES_FIELD_NUMBER = 4; private boolean includePastReleases_; /** + * + * *
            * Whether or not image versions from old releases should be included.
            * 
        * * bool include_past_releases = 4; + * * @return The includePastReleases. */ @java.lang.Override @@ -235,6 +269,7 @@ public boolean getIncludePastReleases() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -246,8 +281,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -273,15 +307,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } if (includePastReleases_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, includePastReleases_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, includePastReleases_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -291,21 +323,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.orchestration.airflow.service.v1.ListImageVersionsRequest)) { + if (!(obj + instanceof com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest other = (com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest) obj; + com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest other = + (com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (getIncludePastReleases() - != other.getIncludePastReleases()) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (getIncludePastReleases() != other.getIncludePastReleases()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -324,142 +354,158 @@ public int hashCode() { hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getPageToken().hashCode(); hash = (37 * hash) + INCLUDE_PAST_RELEASES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getIncludePastReleases()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIncludePastReleases()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest 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.orchestration.airflow.service.v1.ListImageVersionsRequest + 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.orchestration.airflow.service.v1.ListImageVersionsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 ImageVersions in a project and location.
            * 
        * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest) com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.ImageVersionsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.ImageVersionsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1.ImageVersionsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsRequest_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1.ImageVersionsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest.class, com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest.Builder.class); + com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest.class, + com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest.Builder + .class); } - // Construct using com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest.newBuilder() + // Construct using + // com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -475,19 +521,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1.ImageVersionsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1.ImageVersionsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsRequest_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest.getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest + getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest build() { - com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest result = buildPartial(); + com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -495,8 +544,10 @@ public com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsReques } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest buildPartial() { - com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest result = new com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest(this); + public com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest + buildPartial() { + com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest result = + new com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -509,46 +560,52 @@ public com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsReques public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest) { - return mergeFrom((com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest)other); + if (other + instanceof com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest) { + return mergeFrom( + (com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest other) { - if (other == com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest other) { + if (other + == com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -578,11 +635,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest parsedMessage = null; + com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -594,19 +654,21 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
              * List ImageVersions in the given project and location, in the form:
              * "projects/{projectId}/locations/{locationId}"
              * 
        * * 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; @@ -615,21 +677,22 @@ public java.lang.String getParent() { } } /** + * + * *
              * List ImageVersions in the given project and location, in the form:
              * "projects/{projectId}/locations/{locationId}"
              * 
        * * 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 { @@ -637,69 +700,79 @@ public java.lang.String getParent() { } } /** + * + * *
              * List ImageVersions in the given project and location, in the form:
              * "projects/{projectId}/locations/{locationId}"
              * 
        * * 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; } /** + * + * *
              * List ImageVersions in the given project and location, in the form:
              * "projects/{projectId}/locations/{locationId}"
              * 
        * * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
              * List ImageVersions in the given project and location, in the form:
              * "projects/{projectId}/locations/{locationId}"
              * 
        * * 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 image_versions to return.
              * 
        * * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -707,30 +780,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
              * The maximum number of image_versions 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 image_versions to return.
              * 
        * * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -738,18 +817,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
              * The next_page_token value returned from a previous List request, if any.
              * 
        * * 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; @@ -758,20 +839,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
              * The next_page_token value returned from a previous List request, if any.
              * 
        * * 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 { @@ -779,66 +861,76 @@ public java.lang.String getPageToken() { } } /** + * + * *
              * The next_page_token value returned from a previous List request, if any.
              * 
        * * 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 returned from a previous List request, if any.
              * 
        * * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
              * The next_page_token value returned from a previous List request, if any.
              * 
        * * 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 includePastReleases_ ; + private boolean includePastReleases_; /** + * + * *
              * Whether or not image versions from old releases should be included.
              * 
        * * bool include_past_releases = 4; + * * @return The includePastReleases. */ @java.lang.Override @@ -846,37 +938,43 @@ public boolean getIncludePastReleases() { return includePastReleases_; } /** + * + * *
              * Whether or not image versions from old releases should be included.
              * 
        * * bool include_past_releases = 4; + * * @param value The includePastReleases to set. * @return This builder for chaining. */ public Builder setIncludePastReleases(boolean value) { - + includePastReleases_ = value; onChanged(); return this; } /** + * + * *
              * Whether or not image versions from old releases should be included.
              * 
        * * bool include_past_releases = 4; + * * @return This builder for chaining. */ public Builder clearIncludePastReleases() { - + includePastReleases_ = 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); } @@ -886,30 +984,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest) - private static final com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest(); } - public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListImageVersionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListImageVersionsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListImageVersionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListImageVersionsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -921,9 +1022,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListImageVersionsRequestOrBuilder.java b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListImageVersionsRequestOrBuilder.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListImageVersionsRequestOrBuilder.java rename to proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListImageVersionsRequestOrBuilder.java index 52938646..5b65b32b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListImageVersionsRequestOrBuilder.java +++ b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListImageVersionsRequestOrBuilder.java @@ -1,70 +1,102 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/orchestration/airflow/service/v1/image_versions.proto package com.google.cloud.orchestration.airflow.service.v1; -public interface ListImageVersionsRequestOrBuilder extends +public interface ListImageVersionsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
            * List ImageVersions in the given project and location, in the form:
            * "projects/{projectId}/locations/{locationId}"
            * 
        * * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
            * List ImageVersions in the given project and location, in the form:
            * "projects/{projectId}/locations/{locationId}"
            * 
        * * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
            * The maximum number of image_versions to return.
            * 
        * * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
            * The next_page_token value returned from a previous List request, if any.
            * 
        * * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
            * The next_page_token value returned from a previous List request, if any.
            * 
        * * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
            * Whether or not image versions from old releases should be included.
            * 
        * * bool include_past_releases = 4; + * * @return The includePastReleases. */ boolean getIncludePastReleases(); diff --git a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListImageVersionsResponse.java b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListImageVersionsResponse.java similarity index 60% rename from owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListImageVersionsResponse.java rename to proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListImageVersionsResponse.java index d40d6245..346a41b4 100644 --- a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListImageVersionsResponse.java +++ b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListImageVersionsResponse.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/orchestration/airflow/service/v1/image_versions.proto package com.google.cloud.orchestration.airflow.service.v1; /** + * + * *
          * The ImageVersions in a project and location.
          * 
        * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse} */ -public final class ListImageVersionsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListImageVersionsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse) ListImageVersionsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListImageVersionsResponse.newBuilder() to construct. private ListImageVersionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListImageVersionsResponse() { imageVersions_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListImageVersionsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListImageVersionsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListImageVersionsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,34 @@ private ListImageVersionsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - imageVersions_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + imageVersions_ = + new java.util.ArrayList< + com.google.cloud.orchestration.airflow.service.v1.ImageVersion>(); + mutable_bitField0_ |= 0x00000001; + } + imageVersions_.add( + input.readMessage( + com.google.cloud.orchestration.airflow.service.v1.ImageVersion.parser(), + extensionRegistry)); + break; } - imageVersions_.add( - input.readMessage(com.google.cloud.orchestration.airflow.service.v1.ImageVersion.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +107,7 @@ private ListImageVersionsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { imageVersions_ = java.util.Collections.unmodifiableList(imageVersions_); @@ -94,87 +116,113 @@ private ListImageVersionsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.ImageVersionsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.ImageVersionsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1.ImageVersionsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsResponse_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1.ImageVersionsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse.class, com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse.Builder.class); + com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse.class, + com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse.Builder + .class); } public static final int IMAGE_VERSIONS_FIELD_NUMBER = 1; - private java.util.List imageVersions_; + private java.util.List + imageVersions_; /** + * + * *
            * The list of supported ImageVersions in a location.
            * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; + * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; + * */ @java.lang.Override - public java.util.List getImageVersionsList() { + public java.util.List + getImageVersionsList() { return imageVersions_; } /** + * + * *
            * The list of supported ImageVersions in a location.
            * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; + * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.orchestration.airflow.service.v1.ImageVersionOrBuilder> getImageVersionsOrBuilderList() { return imageVersions_; } /** + * + * *
            * The list of supported ImageVersions in a location.
            * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; + * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; + * */ @java.lang.Override public int getImageVersionsCount() { return imageVersions_.size(); } /** + * + * *
            * The list of supported ImageVersions in a location.
            * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; + * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; + * */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.ImageVersion getImageVersions(int index) { + public com.google.cloud.orchestration.airflow.service.v1.ImageVersion getImageVersions( + int index) { return imageVersions_.get(index); } /** + * + * *
            * The list of supported ImageVersions in a location.
            * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; + * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; + * */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.ImageVersionOrBuilder getImageVersionsOrBuilder( - int index) { + public com.google.cloud.orchestration.airflow.service.v1.ImageVersionOrBuilder + getImageVersionsOrBuilder(int index) { return imageVersions_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
            * The page token used to query for the next page if one exists.
            * 
        * * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -183,29 +231,29 @@ 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; } } /** + * + * *
            * The page token used to query for the next page if one exists.
            * 
        * * 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 +262,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -225,8 +274,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < imageVersions_.size(); i++) { output.writeMessage(1, imageVersions_.get(i)); } @@ -243,8 +291,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < imageVersions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, imageVersions_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, imageVersions_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -257,17 +304,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.orchestration.airflow.service.v1.ListImageVersionsResponse)) { + if (!(obj + instanceof com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse other = (com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse) obj; + com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse other = + (com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse) obj; - if (!getImageVersionsList() - .equals(other.getImageVersionsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getImageVersionsList().equals(other.getImageVersionsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -290,136 +337,154 @@ public int hashCode() { return hash; } - public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse 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.orchestration.airflow.service.v1.ListImageVersionsResponse + 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.orchestration.airflow.service.v1.ListImageVersionsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 ImageVersions in a project and location.
            * 
        * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse) com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.ImageVersionsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.ImageVersionsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1.ImageVersionsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsResponse_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1.ImageVersionsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse.class, com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse.Builder.class); + com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse.class, + com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse.Builder + .class); } - // Construct using com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse.newBuilder() + // Construct using + // com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse.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) { getImageVersionsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -435,19 +500,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1.ImageVersionsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1.ImageVersionsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_ListImageVersionsResponse_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse.getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse + getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse build() { - com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse result = buildPartial(); + com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -455,8 +523,10 @@ public com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRespon } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse buildPartial() { - com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse result = new com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse(this); + public com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse + buildPartial() { + com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse result = + new com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse(this); int from_bitField0_ = bitField0_; if (imageVersionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -476,46 +546,52 @@ public com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRespon public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse) { - return mergeFrom((com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse)other); + if (other + instanceof com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse) { + return mergeFrom( + (com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse other) { - if (other == com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse other) { + if (other + == com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse + .getDefaultInstance()) return this; if (imageVersionsBuilder_ == null) { if (!other.imageVersions_.isEmpty()) { if (imageVersions_.isEmpty()) { @@ -534,9 +610,10 @@ public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1.ListI imageVersionsBuilder_ = null; imageVersions_ = other.imageVersions_; bitField0_ = (bitField0_ & ~0x00000001); - imageVersionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getImageVersionsFieldBuilder() : null; + imageVersionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getImageVersionsFieldBuilder() + : null; } else { imageVersionsBuilder_.addAllMessages(other.imageVersions_); } @@ -561,11 +638,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse parsedMessage = null; + com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -574,28 +654,40 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private java.util.List imageVersions_ = - java.util.Collections.emptyList(); + private java.util.List + imageVersions_ = java.util.Collections.emptyList(); + private void ensureImageVersionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - imageVersions_ = new java.util.ArrayList(imageVersions_); + imageVersions_ = + new java.util.ArrayList( + imageVersions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.ImageVersion, com.google.cloud.orchestration.airflow.service.v1.ImageVersion.Builder, com.google.cloud.orchestration.airflow.service.v1.ImageVersionOrBuilder> imageVersionsBuilder_; + com.google.cloud.orchestration.airflow.service.v1.ImageVersion, + com.google.cloud.orchestration.airflow.service.v1.ImageVersion.Builder, + com.google.cloud.orchestration.airflow.service.v1.ImageVersionOrBuilder> + imageVersionsBuilder_; /** + * + * *
              * The list of supported ImageVersions in a location.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; + * */ - public java.util.List getImageVersionsList() { + public java.util.List + getImageVersionsList() { if (imageVersionsBuilder_ == null) { return java.util.Collections.unmodifiableList(imageVersions_); } else { @@ -603,11 +695,15 @@ public java.util.List * The list of supported ImageVersions in a location. *
        * - * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; + * */ public int getImageVersionsCount() { if (imageVersionsBuilder_ == null) { @@ -617,13 +713,18 @@ public int getImageVersionsCount() { } } /** + * + * *
              * The list of supported ImageVersions in a location.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; + * */ - public com.google.cloud.orchestration.airflow.service.v1.ImageVersion getImageVersions(int index) { + public com.google.cloud.orchestration.airflow.service.v1.ImageVersion getImageVersions( + int index) { if (imageVersionsBuilder_ == null) { return imageVersions_.get(index); } else { @@ -631,11 +732,15 @@ public com.google.cloud.orchestration.airflow.service.v1.ImageVersion getImageVe } } /** + * + * *
              * The list of supported ImageVersions in a location.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; + * */ public Builder setImageVersions( int index, com.google.cloud.orchestration.airflow.service.v1.ImageVersion value) { @@ -652,14 +757,19 @@ public Builder setImageVersions( return this; } /** + * + * *
              * The list of supported ImageVersions in a location.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; + * */ public Builder setImageVersions( - int index, com.google.cloud.orchestration.airflow.service.v1.ImageVersion.Builder builderForValue) { + int index, + com.google.cloud.orchestration.airflow.service.v1.ImageVersion.Builder builderForValue) { if (imageVersionsBuilder_ == null) { ensureImageVersionsIsMutable(); imageVersions_.set(index, builderForValue.build()); @@ -670,13 +780,18 @@ public Builder setImageVersions( return this; } /** + * + * *
              * The list of supported ImageVersions in a location.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; + * */ - public Builder addImageVersions(com.google.cloud.orchestration.airflow.service.v1.ImageVersion value) { + public Builder addImageVersions( + com.google.cloud.orchestration.airflow.service.v1.ImageVersion value) { if (imageVersionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -690,11 +805,15 @@ public Builder addImageVersions(com.google.cloud.orchestration.airflow.service.v return this; } /** + * + * *
              * The list of supported ImageVersions in a location.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; + * */ public Builder addImageVersions( int index, com.google.cloud.orchestration.airflow.service.v1.ImageVersion value) { @@ -711,11 +830,15 @@ public Builder addImageVersions( return this; } /** + * + * *
              * The list of supported ImageVersions in a location.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; + * */ public Builder addImageVersions( com.google.cloud.orchestration.airflow.service.v1.ImageVersion.Builder builderForValue) { @@ -729,14 +852,19 @@ public Builder addImageVersions( return this; } /** + * + * *
              * The list of supported ImageVersions in a location.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; + * */ public Builder addImageVersions( - int index, com.google.cloud.orchestration.airflow.service.v1.ImageVersion.Builder builderForValue) { + int index, + com.google.cloud.orchestration.airflow.service.v1.ImageVersion.Builder builderForValue) { if (imageVersionsBuilder_ == null) { ensureImageVersionsIsMutable(); imageVersions_.add(index, builderForValue.build()); @@ -747,18 +875,22 @@ public Builder addImageVersions( return this; } /** + * + * *
              * The list of supported ImageVersions in a location.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; + * */ public Builder addAllImageVersions( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (imageVersionsBuilder_ == null) { ensureImageVersionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, imageVersions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, imageVersions_); onChanged(); } else { imageVersionsBuilder_.addAllMessages(values); @@ -766,11 +898,15 @@ public Builder addAllImageVersions( return this; } /** + * + * *
              * The list of supported ImageVersions in a location.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; + * */ public Builder clearImageVersions() { if (imageVersionsBuilder_ == null) { @@ -783,11 +919,15 @@ public Builder clearImageVersions() { return this; } /** + * + * *
              * The list of supported ImageVersions in a location.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; + * */ public Builder removeImageVersions(int index) { if (imageVersionsBuilder_ == null) { @@ -800,39 +940,53 @@ public Builder removeImageVersions(int index) { return this; } /** + * + * *
              * The list of supported ImageVersions in a location.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; + * */ - public com.google.cloud.orchestration.airflow.service.v1.ImageVersion.Builder getImageVersionsBuilder( - int index) { + public com.google.cloud.orchestration.airflow.service.v1.ImageVersion.Builder + getImageVersionsBuilder(int index) { return getImageVersionsFieldBuilder().getBuilder(index); } /** + * + * *
              * The list of supported ImageVersions in a location.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; + * */ - public com.google.cloud.orchestration.airflow.service.v1.ImageVersionOrBuilder getImageVersionsOrBuilder( - int index) { + public com.google.cloud.orchestration.airflow.service.v1.ImageVersionOrBuilder + getImageVersionsOrBuilder(int index) { if (imageVersionsBuilder_ == null) { - return imageVersions_.get(index); } else { + return imageVersions_.get(index); + } else { return imageVersionsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
              * The list of supported ImageVersions in a location.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; + * */ - public java.util.List - getImageVersionsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.orchestration.airflow.service.v1.ImageVersionOrBuilder> + getImageVersionsOrBuilderList() { if (imageVersionsBuilder_ != null) { return imageVersionsBuilder_.getMessageOrBuilderList(); } else { @@ -840,45 +994,67 @@ public com.google.cloud.orchestration.airflow.service.v1.ImageVersionOrBuilder g } } /** + * + * *
              * The list of supported ImageVersions in a location.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; + * */ - public com.google.cloud.orchestration.airflow.service.v1.ImageVersion.Builder addImageVersionsBuilder() { - return getImageVersionsFieldBuilder().addBuilder( - com.google.cloud.orchestration.airflow.service.v1.ImageVersion.getDefaultInstance()); + public com.google.cloud.orchestration.airflow.service.v1.ImageVersion.Builder + addImageVersionsBuilder() { + return getImageVersionsFieldBuilder() + .addBuilder( + com.google.cloud.orchestration.airflow.service.v1.ImageVersion.getDefaultInstance()); } /** + * + * *
              * The list of supported ImageVersions in a location.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; + * */ - public com.google.cloud.orchestration.airflow.service.v1.ImageVersion.Builder addImageVersionsBuilder( - int index) { - return getImageVersionsFieldBuilder().addBuilder( - index, com.google.cloud.orchestration.airflow.service.v1.ImageVersion.getDefaultInstance()); + public com.google.cloud.orchestration.airflow.service.v1.ImageVersion.Builder + addImageVersionsBuilder(int index) { + return getImageVersionsFieldBuilder() + .addBuilder( + index, + com.google.cloud.orchestration.airflow.service.v1.ImageVersion.getDefaultInstance()); } /** + * + * *
              * The list of supported ImageVersions in a location.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; + * */ - public java.util.List - getImageVersionsBuilderList() { + public java.util.List + getImageVersionsBuilderList() { return getImageVersionsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.ImageVersion, com.google.cloud.orchestration.airflow.service.v1.ImageVersion.Builder, com.google.cloud.orchestration.airflow.service.v1.ImageVersionOrBuilder> + com.google.cloud.orchestration.airflow.service.v1.ImageVersion, + com.google.cloud.orchestration.airflow.service.v1.ImageVersion.Builder, + com.google.cloud.orchestration.airflow.service.v1.ImageVersionOrBuilder> getImageVersionsFieldBuilder() { if (imageVersionsBuilder_ == null) { - imageVersionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.ImageVersion, com.google.cloud.orchestration.airflow.service.v1.ImageVersion.Builder, com.google.cloud.orchestration.airflow.service.v1.ImageVersionOrBuilder>( + imageVersionsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.orchestration.airflow.service.v1.ImageVersion, + com.google.cloud.orchestration.airflow.service.v1.ImageVersion.Builder, + com.google.cloud.orchestration.airflow.service.v1.ImageVersionOrBuilder>( imageVersions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -890,18 +1066,20 @@ public com.google.cloud.orchestration.airflow.service.v1.ImageVersion.Builder ad private java.lang.Object nextPageToken_ = ""; /** + * + * *
              * The page token used to query for the next page if one exists.
              * 
        * * 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; @@ -910,20 +1088,21 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
              * The page token used to query for the next page if one exists.
              * 
        * * 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 { @@ -931,61 +1110,68 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
              * The page token used to query for the next page if one exists.
              * 
        * * 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; } /** + * + * *
              * The page token used to query for the next page if one exists.
              * 
        * * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
              * The page token used to query for the next page if one exists.
              * 
        * * 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); } @@ -995,30 +1181,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse) - private static final com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse(); + DEFAULT_INSTANCE = + new com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse(); } - public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListImageVersionsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListImageVersionsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListImageVersionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListImageVersionsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1030,9 +1219,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListImageVersionsResponseOrBuilder.java b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListImageVersionsResponseOrBuilder.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListImageVersionsResponseOrBuilder.java rename to proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListImageVersionsResponseOrBuilder.java index 6f79e02d..6e1c1557 100644 --- a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListImageVersionsResponseOrBuilder.java +++ b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ListImageVersionsResponseOrBuilder.java @@ -1,73 +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/orchestration/airflow/service/v1/image_versions.proto package com.google.cloud.orchestration.airflow.service.v1; -public interface ListImageVersionsResponseOrBuilder extends +public interface ListImageVersionsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
            * The list of supported ImageVersions in a location.
            * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; + * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; + * */ - java.util.List + java.util.List getImageVersionsList(); /** + * + * *
            * The list of supported ImageVersions in a location.
            * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; + * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; + * */ com.google.cloud.orchestration.airflow.service.v1.ImageVersion getImageVersions(int index); /** + * + * *
            * The list of supported ImageVersions in a location.
            * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; + * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; + * */ int getImageVersionsCount(); /** + * + * *
            * The list of supported ImageVersions in a location.
            * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; + * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; + * */ - java.util.List + java.util.List getImageVersionsOrBuilderList(); /** + * + * *
            * The list of supported ImageVersions in a location.
            * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; + * repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1; + * */ com.google.cloud.orchestration.airflow.service.v1.ImageVersionOrBuilder getImageVersionsOrBuilder( int index); /** + * + * *
            * The page token used to query for the next page if one exists.
            * 
        * * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
            * The page token used to query for the next page if one exists.
            * 
        * * 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-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/NodeConfig.java b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/NodeConfig.java similarity index 78% rename from owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/NodeConfig.java rename to proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/NodeConfig.java index 48d0bd25..9d0a6dca 100644 --- a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/NodeConfig.java +++ b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/NodeConfig.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/orchestration/airflow/service/v1/environments.proto package com.google.cloud.orchestration.airflow.service.v1; /** + * + * *
          * The configuration information for the Kubernetes Engine nodes running
          * the Apache Airflow software.
        @@ -11,15 +28,16 @@
          *
          * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.NodeConfig}
          */
        -public final class NodeConfig extends
        -    com.google.protobuf.GeneratedMessageV3 implements
        +public final class NodeConfig extends com.google.protobuf.GeneratedMessageV3
        +    implements
             // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1.NodeConfig)
             NodeConfigOrBuilder {
        -private static final long serialVersionUID = 0L;
        +  private static final long serialVersionUID = 0L;
           // Use NodeConfig.newBuilder() to construct.
           private NodeConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
             super(builder);
           }
        +
           private NodeConfig() {
             location_ = "";
             machineType_ = "";
        @@ -32,16 +50,15 @@ private NodeConfig() {
         
           @java.lang.Override
           @SuppressWarnings({"unused"})
        -  protected java.lang.Object newInstance(
        -      UnusedPrivateParameter unused) {
        +  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
             return new NodeConfig();
           }
         
           @java.lang.Override
        -  public final com.google.protobuf.UnknownFieldSet
        -  getUnknownFields() {
        +  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
             return this.unknownFields;
           }
        +
           private NodeConfig(
               com.google.protobuf.CodedInputStream input,
               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        @@ -61,79 +78,91 @@ private NodeConfig(
                   case 0:
                     done = true;
                     break;
        -          case 10: {
        -            java.lang.String s = input.readStringRequireUtf8();
        -
        -            location_ = s;
        -            break;
        -          }
        -          case 18: {
        -            java.lang.String s = input.readStringRequireUtf8();
        -
        -            machineType_ = s;
        -            break;
        -          }
        -          case 26: {
        -            java.lang.String s = input.readStringRequireUtf8();
        +          case 10:
        +            {
        +              java.lang.String s = input.readStringRequireUtf8();
         
        -            network_ = s;
        -            break;
        -          }
        -          case 34: {
        -            java.lang.String s = input.readStringRequireUtf8();
        +              location_ = s;
        +              break;
        +            }
        +          case 18:
        +            {
        +              java.lang.String s = input.readStringRequireUtf8();
         
        -            subnetwork_ = s;
        -            break;
        -          }
        -          case 40: {
        +              machineType_ = s;
        +              break;
        +            }
        +          case 26:
        +            {
        +              java.lang.String s = input.readStringRequireUtf8();
         
        -            diskSizeGb_ = input.readInt32();
        -            break;
        -          }
        -          case 50: {
        -            java.lang.String s = input.readStringRequireUtf8();
        -            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
        -              oauthScopes_ = new com.google.protobuf.LazyStringArrayList();
        -              mutable_bitField0_ |= 0x00000001;
        +              network_ = s;
        +              break;
                     }
        -            oauthScopes_.add(s);
        -            break;
        -          }
        -          case 58: {
        -            java.lang.String s = input.readStringRequireUtf8();
        +          case 34:
        +            {
        +              java.lang.String s = input.readStringRequireUtf8();
         
        -            serviceAccount_ = s;
        -            break;
        -          }
        -          case 66: {
        -            java.lang.String s = input.readStringRequireUtf8();
        -            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
        -              tags_ = new com.google.protobuf.LazyStringArrayList();
        -              mutable_bitField0_ |= 0x00000002;
        +              subnetwork_ = s;
        +              break;
                     }
        -            tags_.add(s);
        -            break;
        -          }
        -          case 74: {
        -            com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.Builder subBuilder = null;
        -            if (ipAllocationPolicy_ != null) {
        -              subBuilder = ipAllocationPolicy_.toBuilder();
        +          case 40:
        +            {
        +              diskSizeGb_ = input.readInt32();
        +              break;
                     }
        -            ipAllocationPolicy_ = input.readMessage(com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.parser(), extensionRegistry);
        -            if (subBuilder != null) {
        -              subBuilder.mergeFrom(ipAllocationPolicy_);
        -              ipAllocationPolicy_ = subBuilder.buildPartial();
        +          case 50:
        +            {
        +              java.lang.String s = input.readStringRequireUtf8();
        +              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
        +                oauthScopes_ = new com.google.protobuf.LazyStringArrayList();
        +                mutable_bitField0_ |= 0x00000001;
        +              }
        +              oauthScopes_.add(s);
        +              break;
                     }
        +          case 58:
        +            {
        +              java.lang.String s = input.readStringRequireUtf8();
         
        -            break;
        -          }
        -          default: {
        -            if (!parseUnknownField(
        -                input, unknownFields, extensionRegistry, tag)) {
        -              done = true;
        +              serviceAccount_ = s;
        +              break;
        +            }
        +          case 66:
        +            {
        +              java.lang.String s = input.readStringRequireUtf8();
        +              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
        +                tags_ = new com.google.protobuf.LazyStringArrayList();
        +                mutable_bitField0_ |= 0x00000002;
        +              }
        +              tags_.add(s);
        +              break;
        +            }
        +          case 74:
        +            {
        +              com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.Builder
        +                  subBuilder = null;
        +              if (ipAllocationPolicy_ != null) {
        +                subBuilder = ipAllocationPolicy_.toBuilder();
        +              }
        +              ipAllocationPolicy_ =
        +                  input.readMessage(
        +                      com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.parser(),
        +                      extensionRegistry);
        +              if (subBuilder != null) {
        +                subBuilder.mergeFrom(ipAllocationPolicy_);
        +                ipAllocationPolicy_ = subBuilder.buildPartial();
        +              }
        +
        +              break;
        +            }
        +          default:
        +            {
        +              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
        +                done = true;
        +              }
        +              break;
                     }
        -            break;
        -          }
                 }
               }
             } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        @@ -141,8 +170,7 @@ private NodeConfig(
             } catch (com.google.protobuf.UninitializedMessageException e) {
               throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
             } catch (java.io.IOException e) {
        -      throw new com.google.protobuf.InvalidProtocolBufferException(
        -          e).setUnfinishedMessage(this);
        +      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
             } finally {
               if (((mutable_bitField0_ & 0x00000001) != 0)) {
                 oauthScopes_ = oauthScopes_.getUnmodifiableView();
        @@ -154,22 +182,27 @@ private NodeConfig(
               makeExtensionsImmutable();
             }
           }
        -  public static final com.google.protobuf.Descriptors.Descriptor
        -      getDescriptor() {
        -    return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_NodeConfig_descriptor;
        +
        +  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        +    return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
        +        .internal_static_google_cloud_orchestration_airflow_service_v1_NodeConfig_descriptor;
           }
         
           @java.lang.Override
           protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
               internalGetFieldAccessorTable() {
        -    return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_NodeConfig_fieldAccessorTable
        +    return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
        +        .internal_static_google_cloud_orchestration_airflow_service_v1_NodeConfig_fieldAccessorTable
                 .ensureFieldAccessorsInitialized(
        -            com.google.cloud.orchestration.airflow.service.v1.NodeConfig.class, com.google.cloud.orchestration.airflow.service.v1.NodeConfig.Builder.class);
        +            com.google.cloud.orchestration.airflow.service.v1.NodeConfig.class,
        +            com.google.cloud.orchestration.airflow.service.v1.NodeConfig.Builder.class);
           }
         
           public static final int LOCATION_FIELD_NUMBER = 1;
           private volatile java.lang.Object location_;
           /**
        +   *
        +   *
            * 
            * Optional. The Compute Engine [zone](/compute/docs/regions-zones) in which
            * to deploy the VMs used to run the Apache Airflow software, specified as a
        @@ -187,6 +220,7 @@ private NodeConfig(
            * 
        * * string location = 1; + * * @return The location. */ @java.lang.Override @@ -195,14 +229,15 @@ public java.lang.String getLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; } } /** + * + * *
            * Optional. The Compute Engine [zone](/compute/docs/regions-zones) in which
            * to deploy the VMs used to run the Apache Airflow software, specified as a
        @@ -220,16 +255,15 @@ public java.lang.String getLocation() {
            * 
        * * string location = 1; + * * @return The bytes for location. */ @java.lang.Override - public com.google.protobuf.ByteString - getLocationBytes() { + public com.google.protobuf.ByteString getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); location_ = b; return b; } else { @@ -240,6 +274,8 @@ public java.lang.String getLocation() { public static final int MACHINE_TYPE_FIELD_NUMBER = 2; private volatile java.lang.Object machineType_; /** + * + * *
            * Optional. The Compute Engine
            * [machine type](/compute/docs/machine-types) used for cluster instances,
        @@ -262,6 +298,7 @@ public java.lang.String getLocation() {
            * 
        * * string machine_type = 2; + * * @return The machineType. */ @java.lang.Override @@ -270,14 +307,15 @@ public java.lang.String getMachineType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); machineType_ = s; return s; } } /** + * + * *
            * Optional. The Compute Engine
            * [machine type](/compute/docs/machine-types) used for cluster instances,
        @@ -300,16 +338,15 @@ public java.lang.String getMachineType() {
            * 
        * * string machine_type = 2; + * * @return The bytes for machineType. */ @java.lang.Override - public com.google.protobuf.ByteString - getMachineTypeBytes() { + public com.google.protobuf.ByteString getMachineTypeBytes() { java.lang.Object ref = machineType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); machineType_ = b; return b; } else { @@ -320,6 +357,8 @@ public java.lang.String getMachineType() { public static final int NETWORK_FIELD_NUMBER = 3; private volatile java.lang.Object network_; /** + * + * *
            * Optional. The Compute Engine network to be used for machine
            * communications, specified as a
        @@ -334,6 +373,7 @@ public java.lang.String getMachineType() {
            * 
        * * string network = 3; + * * @return The network. */ @java.lang.Override @@ -342,14 +382,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; } } /** + * + * *
            * Optional. The Compute Engine network to be used for machine
            * communications, specified as a
        @@ -364,16 +405,15 @@ public java.lang.String getNetwork() {
            * 
        * * string network = 3; + * * @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 { @@ -384,6 +424,8 @@ public java.lang.String getNetwork() { public static final int SUBNETWORK_FIELD_NUMBER = 4; private volatile java.lang.Object subnetwork_; /** + * + * *
            * Optional. The Compute Engine subnetwork to be used for machine
            * communications, specified as a
        @@ -396,6 +438,7 @@ public java.lang.String getNetwork() {
            * 
        * * string subnetwork = 4; + * * @return The subnetwork. */ @java.lang.Override @@ -404,14 +447,15 @@ public java.lang.String getSubnetwork() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subnetwork_ = s; return s; } } /** + * + * *
            * Optional. The Compute Engine subnetwork to be used for machine
            * communications, specified as a
        @@ -424,16 +468,15 @@ public java.lang.String getSubnetwork() {
            * 
        * * string subnetwork = 4; + * * @return The bytes for subnetwork. */ @java.lang.Override - public com.google.protobuf.ByteString - getSubnetworkBytes() { + public com.google.protobuf.ByteString getSubnetworkBytes() { java.lang.Object ref = subnetwork_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); subnetwork_ = b; return b; } else { @@ -444,12 +487,15 @@ public java.lang.String getSubnetwork() { public static final int DISK_SIZE_GB_FIELD_NUMBER = 5; private int diskSizeGb_; /** + * + * *
            * Optional. The disk size in GB used for node VMs. Minimum size is 20GB.
            * If unspecified, defaults to 100GB. Cannot be updated.
            * 
        * * int32 disk_size_gb = 5; + * * @return The diskSizeGb. */ @java.lang.Override @@ -460,6 +506,8 @@ public int getDiskSizeGb() { public static final int OAUTH_SCOPES_FIELD_NUMBER = 6; private com.google.protobuf.LazyStringList oauthScopes_; /** + * + * *
            * Optional. The set of Google API scopes to be made available on all
            * node VMs. If `oauth_scopes` is empty, defaults to
        @@ -467,13 +515,15 @@ public int getDiskSizeGb() {
            * 
        * * repeated string oauth_scopes = 6; + * * @return A list containing the oauthScopes. */ - public com.google.protobuf.ProtocolStringList - getOauthScopesList() { + public com.google.protobuf.ProtocolStringList getOauthScopesList() { return oauthScopes_; } /** + * + * *
            * Optional. The set of Google API scopes to be made available on all
            * node VMs. If `oauth_scopes` is empty, defaults to
        @@ -481,12 +531,15 @@ public int getDiskSizeGb() {
            * 
        * * repeated string oauth_scopes = 6; + * * @return The count of oauthScopes. */ public int getOauthScopesCount() { return oauthScopes_.size(); } /** + * + * *
            * Optional. The set of Google API scopes to be made available on all
            * node VMs. If `oauth_scopes` is empty, defaults to
        @@ -494,6 +547,7 @@ public int getOauthScopesCount() {
            * 
        * * repeated string oauth_scopes = 6; + * * @param index The index of the element to return. * @return The oauthScopes at the given index. */ @@ -501,6 +555,8 @@ public java.lang.String getOauthScopes(int index) { return oauthScopes_.get(index); } /** + * + * *
            * Optional. The set of Google API scopes to be made available on all
            * node VMs. If `oauth_scopes` is empty, defaults to
        @@ -508,17 +564,19 @@ public java.lang.String getOauthScopes(int index) {
            * 
        * * repeated string oauth_scopes = 6; + * * @param index The index of the value to return. * @return The bytes of the oauthScopes at the given index. */ - public com.google.protobuf.ByteString - getOauthScopesBytes(int index) { + public com.google.protobuf.ByteString getOauthScopesBytes(int index) { return oauthScopes_.getByteString(index); } public static final int SERVICE_ACCOUNT_FIELD_NUMBER = 7; private volatile java.lang.Object serviceAccount_; /** + * + * *
            * Optional. The Google Cloud Platform Service Account to be used by the node
            * VMs. If a service account is not specified, the "default" Compute Engine
        @@ -526,6 +584,7 @@ public java.lang.String getOauthScopes(int index) {
            * 
        * * string service_account = 7; + * * @return The serviceAccount. */ @java.lang.Override @@ -534,14 +593,15 @@ public java.lang.String getServiceAccount() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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; } } /** + * + * *
            * Optional. The Google Cloud Platform Service Account to be used by the node
            * VMs. If a service account is not specified, the "default" Compute Engine
        @@ -549,16 +609,15 @@ public java.lang.String getServiceAccount() {
            * 
        * * string service_account = 7; + * * @return The bytes for serviceAccount. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceAccountBytes() { + 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 { @@ -569,6 +628,8 @@ public java.lang.String getServiceAccount() { public static final int TAGS_FIELD_NUMBER = 8; private com.google.protobuf.LazyStringList tags_; /** + * + * *
            * Optional. The list of instance tags applied to all node VMs. Tags are used
            * to identify valid sources or targets for network firewalls. Each tag within
        @@ -577,13 +638,15 @@ public java.lang.String getServiceAccount() {
            * 
        * * repeated string tags = 8; + * * @return A list containing the tags. */ - public com.google.protobuf.ProtocolStringList - getTagsList() { + public com.google.protobuf.ProtocolStringList getTagsList() { return tags_; } /** + * + * *
            * Optional. The list of instance tags applied to all node VMs. Tags are used
            * to identify valid sources or targets for network firewalls. Each tag within
        @@ -592,12 +655,15 @@ public java.lang.String getServiceAccount() {
            * 
        * * repeated string tags = 8; + * * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** + * + * *
            * Optional. The list of instance tags applied to all node VMs. Tags are used
            * to identify valid sources or targets for network firewalls. Each tag within
        @@ -606,6 +672,7 @@ public int getTagsCount() {
            * 
        * * repeated string tags = 8; + * * @param index The index of the element to return. * @return The tags at the given index. */ @@ -613,6 +680,8 @@ public java.lang.String getTags(int index) { return tags_.get(index); } /** + * + * *
            * Optional. The list of instance tags applied to all node VMs. Tags are used
            * to identify valid sources or targets for network firewalls. Each tag within
        @@ -621,22 +690,27 @@ public java.lang.String getTags(int index) {
            * 
        * * repeated string tags = 8; + * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - public com.google.protobuf.ByteString - getTagsBytes(int index) { + public com.google.protobuf.ByteString getTagsBytes(int index) { return tags_.getByteString(index); } public static final int IP_ALLOCATION_POLICY_FIELD_NUMBER = 9; private com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ipAllocationPolicy_; /** + * + * *
            * Optional. The configuration for controlling how IPs are allocated in the GKE cluster.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the ipAllocationPolicy field is set. */ @java.lang.Override @@ -644,30 +718,44 @@ public boolean hasIpAllocationPolicy() { return ipAllocationPolicy_ != null; } /** + * + * *
            * Optional. The configuration for controlling how IPs are allocated in the GKE cluster.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The ipAllocationPolicy. */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy getIpAllocationPolicy() { - return ipAllocationPolicy_ == null ? com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.getDefaultInstance() : ipAllocationPolicy_; + public com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy + getIpAllocationPolicy() { + return ipAllocationPolicy_ == null + ? com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.getDefaultInstance() + : ipAllocationPolicy_; } /** + * + * *
            * Optional. The configuration for controlling how IPs are allocated in the GKE cluster.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicyOrBuilder getIpAllocationPolicyOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicyOrBuilder + getIpAllocationPolicyOrBuilder() { return getIpAllocationPolicy(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -679,8 +767,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(location_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, location_); } @@ -730,8 +817,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, subnetwork_); } if (diskSizeGb_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(5, diskSizeGb_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, diskSizeGb_); } { int dataSize = 0; @@ -753,8 +839,7 @@ public int getSerializedSize() { size += 1 * getTagsList().size(); } if (ipAllocationPolicy_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getIpAllocationPolicy()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getIpAllocationPolicy()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -764,33 +849,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.orchestration.airflow.service.v1.NodeConfig)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1.NodeConfig other = (com.google.cloud.orchestration.airflow.service.v1.NodeConfig) obj; - - if (!getLocation() - .equals(other.getLocation())) return false; - if (!getMachineType() - .equals(other.getMachineType())) return false; - if (!getNetwork() - .equals(other.getNetwork())) return false; - if (!getSubnetwork() - .equals(other.getSubnetwork())) return false; - if (getDiskSizeGb() - != other.getDiskSizeGb()) return false; - if (!getOauthScopesList() - .equals(other.getOauthScopesList())) return false; - if (!getServiceAccount() - .equals(other.getServiceAccount())) return false; - if (!getTagsList() - .equals(other.getTagsList())) return false; + com.google.cloud.orchestration.airflow.service.v1.NodeConfig other = + (com.google.cloud.orchestration.airflow.service.v1.NodeConfig) obj; + + if (!getLocation().equals(other.getLocation())) return false; + if (!getMachineType().equals(other.getMachineType())) return false; + if (!getNetwork().equals(other.getNetwork())) return false; + if (!getSubnetwork().equals(other.getSubnetwork())) return false; + if (getDiskSizeGb() != other.getDiskSizeGb()) return false; + if (!getOauthScopesList().equals(other.getOauthScopesList())) return false; + if (!getServiceAccount().equals(other.getServiceAccount())) return false; + if (!getTagsList().equals(other.getTagsList())) return false; if (hasIpAllocationPolicy() != other.hasIpAllocationPolicy()) return false; if (hasIpAllocationPolicy()) { - if (!getIpAllocationPolicy() - .equals(other.getIpAllocationPolicy())) return false; + if (!getIpAllocationPolicy().equals(other.getIpAllocationPolicy())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -833,96 +910,104 @@ public int hashCode() { } public static com.google.cloud.orchestration.airflow.service.v1.NodeConfig 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.orchestration.airflow.service.v1.NodeConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.orchestration.airflow.service.v1.NodeConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.orchestration.airflow.service.v1.NodeConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.orchestration.airflow.service.v1.NodeConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.orchestration.airflow.service.v1.NodeConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.NodeConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1.NodeConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.orchestration.airflow.service.v1.NodeConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.NodeConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1.NodeConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.orchestration.airflow.service.v1.NodeConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.orchestration.airflow.service.v1.NodeConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.orchestration.airflow.service.v1.NodeConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1.NodeConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.orchestration.airflow.service.v1.NodeConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 configuration information for the Kubernetes Engine nodes running
            * the Apache Airflow software.
        @@ -930,21 +1015,23 @@ protected Builder newBuilderForType(
            *
            * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.NodeConfig}
            */
        -  public static final class Builder extends
        -      com.google.protobuf.GeneratedMessageV3.Builder implements
        +  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
        +      implements
               // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1.NodeConfig)
               com.google.cloud.orchestration.airflow.service.v1.NodeConfigOrBuilder {
        -    public static final com.google.protobuf.Descriptors.Descriptor
        -        getDescriptor() {
        -      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_NodeConfig_descriptor;
        +    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        +      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
        +          .internal_static_google_cloud_orchestration_airflow_service_v1_NodeConfig_descriptor;
             }
         
             @java.lang.Override
             protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
                 internalGetFieldAccessorTable() {
        -      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_NodeConfig_fieldAccessorTable
        +      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
        +          .internal_static_google_cloud_orchestration_airflow_service_v1_NodeConfig_fieldAccessorTable
                   .ensureFieldAccessorsInitialized(
        -              com.google.cloud.orchestration.airflow.service.v1.NodeConfig.class, com.google.cloud.orchestration.airflow.service.v1.NodeConfig.Builder.class);
        +              com.google.cloud.orchestration.airflow.service.v1.NodeConfig.class,
        +              com.google.cloud.orchestration.airflow.service.v1.NodeConfig.Builder.class);
             }
         
             // Construct using com.google.cloud.orchestration.airflow.service.v1.NodeConfig.newBuilder()
        @@ -952,16 +1039,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();
        @@ -991,13 +1077,14 @@ public Builder clear() {
             }
         
             @java.lang.Override
        -    public com.google.protobuf.Descriptors.Descriptor
        -        getDescriptorForType() {
        -      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_NodeConfig_descriptor;
        +    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
        +      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
        +          .internal_static_google_cloud_orchestration_airflow_service_v1_NodeConfig_descriptor;
             }
         
             @java.lang.Override
        -    public com.google.cloud.orchestration.airflow.service.v1.NodeConfig getDefaultInstanceForType() {
        +    public com.google.cloud.orchestration.airflow.service.v1.NodeConfig
        +        getDefaultInstanceForType() {
               return com.google.cloud.orchestration.airflow.service.v1.NodeConfig.getDefaultInstance();
             }
         
        @@ -1012,7 +1099,8 @@ public com.google.cloud.orchestration.airflow.service.v1.NodeConfig build() {
         
             @java.lang.Override
             public com.google.cloud.orchestration.airflow.service.v1.NodeConfig buildPartial() {
        -      com.google.cloud.orchestration.airflow.service.v1.NodeConfig result = new com.google.cloud.orchestration.airflow.service.v1.NodeConfig(this);
        +      com.google.cloud.orchestration.airflow.service.v1.NodeConfig result =
        +          new com.google.cloud.orchestration.airflow.service.v1.NodeConfig(this);
               int from_bitField0_ = bitField0_;
               result.location_ = location_;
               result.machineType_ = machineType_;
        @@ -1043,38 +1131,39 @@ public com.google.cloud.orchestration.airflow.service.v1.NodeConfig 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.orchestration.airflow.service.v1.NodeConfig) {
        -        return mergeFrom((com.google.cloud.orchestration.airflow.service.v1.NodeConfig)other);
        +        return mergeFrom((com.google.cloud.orchestration.airflow.service.v1.NodeConfig) other);
               } else {
                 super.mergeFrom(other);
                 return this;
        @@ -1082,7 +1171,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
             }
         
             public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1.NodeConfig other) {
        -      if (other == com.google.cloud.orchestration.airflow.service.v1.NodeConfig.getDefaultInstance()) return this;
        +      if (other
        +          == com.google.cloud.orchestration.airflow.service.v1.NodeConfig.getDefaultInstance())
        +        return this;
               if (!other.getLocation().isEmpty()) {
                 location_ = other.location_;
                 onChanged();
        @@ -1148,7 +1239,8 @@ public Builder mergeFrom(
               try {
                 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
               } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        -        parsedMessage = (com.google.cloud.orchestration.airflow.service.v1.NodeConfig) e.getUnfinishedMessage();
        +        parsedMessage =
        +            (com.google.cloud.orchestration.airflow.service.v1.NodeConfig) e.getUnfinishedMessage();
                 throw e.unwrapIOException();
               } finally {
                 if (parsedMessage != null) {
        @@ -1157,10 +1249,13 @@ public Builder mergeFrom(
               }
               return this;
             }
        +
             private int bitField0_;
         
             private java.lang.Object location_ = "";
             /**
        +     *
        +     *
              * 
              * Optional. The Compute Engine [zone](/compute/docs/regions-zones) in which
              * to deploy the VMs used to run the Apache Airflow software, specified as a
        @@ -1178,13 +1273,13 @@ public Builder mergeFrom(
              * 
        * * string location = 1; + * * @return The location. */ public java.lang.String getLocation() { java.lang.Object ref = location_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; @@ -1193,6 +1288,8 @@ public java.lang.String getLocation() { } } /** + * + * *
              * Optional. The Compute Engine [zone](/compute/docs/regions-zones) in which
              * to deploy the VMs used to run the Apache Airflow software, specified as a
        @@ -1210,15 +1307,14 @@ public java.lang.String getLocation() {
              * 
        * * string location = 1; + * * @return The bytes for location. */ - public com.google.protobuf.ByteString - getLocationBytes() { + public com.google.protobuf.ByteString getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); location_ = b; return b; } else { @@ -1226,6 +1322,8 @@ public java.lang.String getLocation() { } } /** + * + * *
              * Optional. The Compute Engine [zone](/compute/docs/regions-zones) in which
              * to deploy the VMs used to run the Apache Airflow software, specified as a
        @@ -1243,20 +1341,22 @@ public java.lang.String getLocation() {
              * 
        * * string location = 1; + * * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation( - java.lang.String value) { + public Builder setLocation(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + location_ = value; onChanged(); return this; } /** + * + * *
              * Optional. The Compute Engine [zone](/compute/docs/regions-zones) in which
              * to deploy the VMs used to run the Apache Airflow software, specified as a
        @@ -1274,15 +1374,18 @@ public Builder setLocation(
              * 
        * * string location = 1; + * * @return This builder for chaining. */ public Builder clearLocation() { - + location_ = getDefaultInstance().getLocation(); onChanged(); return this; } /** + * + * *
              * Optional. The Compute Engine [zone](/compute/docs/regions-zones) in which
              * to deploy the VMs used to run the Apache Airflow software, specified as a
        @@ -1300,16 +1403,16 @@ public Builder clearLocation() {
              * 
        * * string location = 1; + * * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes( - com.google.protobuf.ByteString value) { + public Builder setLocationBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + location_ = value; onChanged(); return this; @@ -1317,6 +1420,8 @@ public Builder setLocationBytes( private java.lang.Object machineType_ = ""; /** + * + * *
              * Optional. The Compute Engine
              * [machine type](/compute/docs/machine-types) used for cluster instances,
        @@ -1339,13 +1444,13 @@ public Builder setLocationBytes(
              * 
        * * string machine_type = 2; + * * @return The machineType. */ public java.lang.String getMachineType() { java.lang.Object ref = machineType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); machineType_ = s; return s; @@ -1354,6 +1459,8 @@ public java.lang.String getMachineType() { } } /** + * + * *
              * Optional. The Compute Engine
              * [machine type](/compute/docs/machine-types) used for cluster instances,
        @@ -1376,15 +1483,14 @@ public java.lang.String getMachineType() {
              * 
        * * string machine_type = 2; + * * @return The bytes for machineType. */ - public com.google.protobuf.ByteString - getMachineTypeBytes() { + public com.google.protobuf.ByteString getMachineTypeBytes() { java.lang.Object ref = machineType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); machineType_ = b; return b; } else { @@ -1392,6 +1498,8 @@ public java.lang.String getMachineType() { } } /** + * + * *
              * Optional. The Compute Engine
              * [machine type](/compute/docs/machine-types) used for cluster instances,
        @@ -1414,20 +1522,22 @@ public java.lang.String getMachineType() {
              * 
        * * string machine_type = 2; + * * @param value The machineType to set. * @return This builder for chaining. */ - public Builder setMachineType( - java.lang.String value) { + public Builder setMachineType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + machineType_ = value; onChanged(); return this; } /** + * + * *
              * Optional. The Compute Engine
              * [machine type](/compute/docs/machine-types) used for cluster instances,
        @@ -1450,15 +1560,18 @@ public Builder setMachineType(
              * 
        * * string machine_type = 2; + * * @return This builder for chaining. */ public Builder clearMachineType() { - + machineType_ = getDefaultInstance().getMachineType(); onChanged(); return this; } /** + * + * *
              * Optional. The Compute Engine
              * [machine type](/compute/docs/machine-types) used for cluster instances,
        @@ -1481,16 +1594,16 @@ public Builder clearMachineType() {
              * 
        * * string machine_type = 2; + * * @param value The bytes for machineType to set. * @return This builder for chaining. */ - public Builder setMachineTypeBytes( - com.google.protobuf.ByteString value) { + public Builder setMachineTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + machineType_ = value; onChanged(); return this; @@ -1498,6 +1611,8 @@ public Builder setMachineTypeBytes( private java.lang.Object network_ = ""; /** + * + * *
              * Optional. The Compute Engine network to be used for machine
              * communications, specified as a
        @@ -1512,13 +1627,13 @@ public Builder setMachineTypeBytes(
              * 
        * * string network = 3; + * * @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; @@ -1527,6 +1642,8 @@ public java.lang.String getNetwork() { } } /** + * + * *
              * Optional. The Compute Engine network to be used for machine
              * communications, specified as a
        @@ -1541,15 +1658,14 @@ public java.lang.String getNetwork() {
              * 
        * * string network = 3; + * * @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 { @@ -1557,6 +1673,8 @@ public java.lang.String getNetwork() { } } /** + * + * *
              * Optional. The Compute Engine network to be used for machine
              * communications, specified as a
        @@ -1571,20 +1689,22 @@ public java.lang.String getNetwork() {
              * 
        * * string network = 3; + * * @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; } /** + * + * *
              * Optional. The Compute Engine network to be used for machine
              * communications, specified as a
        @@ -1599,15 +1719,18 @@ public Builder setNetwork(
              * 
        * * string network = 3; + * * @return This builder for chaining. */ public Builder clearNetwork() { - + network_ = getDefaultInstance().getNetwork(); onChanged(); return this; } /** + * + * *
              * Optional. The Compute Engine network to be used for machine
              * communications, specified as a
        @@ -1622,16 +1745,16 @@ public Builder clearNetwork() {
              * 
        * * string network = 3; + * * @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; @@ -1639,6 +1762,8 @@ public Builder setNetworkBytes( private java.lang.Object subnetwork_ = ""; /** + * + * *
              * Optional. The Compute Engine subnetwork to be used for machine
              * communications, specified as a
        @@ -1651,13 +1776,13 @@ public Builder setNetworkBytes(
              * 
        * * string subnetwork = 4; + * * @return The subnetwork. */ public java.lang.String getSubnetwork() { java.lang.Object ref = subnetwork_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subnetwork_ = s; return s; @@ -1666,6 +1791,8 @@ public java.lang.String getSubnetwork() { } } /** + * + * *
              * Optional. The Compute Engine subnetwork to be used for machine
              * communications, specified as a
        @@ -1678,15 +1805,14 @@ public java.lang.String getSubnetwork() {
              * 
        * * string subnetwork = 4; + * * @return The bytes for subnetwork. */ - public com.google.protobuf.ByteString - getSubnetworkBytes() { + public com.google.protobuf.ByteString getSubnetworkBytes() { java.lang.Object ref = subnetwork_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); subnetwork_ = b; return b; } else { @@ -1694,6 +1820,8 @@ public java.lang.String getSubnetwork() { } } /** + * + * *
              * Optional. The Compute Engine subnetwork to be used for machine
              * communications, specified as a
        @@ -1706,20 +1834,22 @@ public java.lang.String getSubnetwork() {
              * 
        * * string subnetwork = 4; + * * @param value The subnetwork to set. * @return This builder for chaining. */ - public Builder setSubnetwork( - java.lang.String value) { + public Builder setSubnetwork(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + subnetwork_ = value; onChanged(); return this; } /** + * + * *
              * Optional. The Compute Engine subnetwork to be used for machine
              * communications, specified as a
        @@ -1732,15 +1862,18 @@ public Builder setSubnetwork(
              * 
        * * string subnetwork = 4; + * * @return This builder for chaining. */ public Builder clearSubnetwork() { - + subnetwork_ = getDefaultInstance().getSubnetwork(); onChanged(); return this; } /** + * + * *
              * Optional. The Compute Engine subnetwork to be used for machine
              * communications, specified as a
        @@ -1753,29 +1886,32 @@ public Builder clearSubnetwork() {
              * 
        * * string subnetwork = 4; + * * @param value The bytes for subnetwork to set. * @return This builder for chaining. */ - public Builder setSubnetworkBytes( - com.google.protobuf.ByteString value) { + public Builder setSubnetworkBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + subnetwork_ = value; onChanged(); return this; } - private int diskSizeGb_ ; + private int diskSizeGb_; /** + * + * *
              * Optional. The disk size in GB used for node VMs. Minimum size is 20GB.
              * If unspecified, defaults to 100GB. Cannot be updated.
              * 
        * * int32 disk_size_gb = 5; + * * @return The diskSizeGb. */ @java.lang.Override @@ -1783,45 +1919,55 @@ public int getDiskSizeGb() { return diskSizeGb_; } /** + * + * *
              * Optional. The disk size in GB used for node VMs. Minimum size is 20GB.
              * If unspecified, defaults to 100GB. Cannot be updated.
              * 
        * * int32 disk_size_gb = 5; + * * @param value The diskSizeGb to set. * @return This builder for chaining. */ public Builder setDiskSizeGb(int value) { - + diskSizeGb_ = value; onChanged(); return this; } /** + * + * *
              * Optional. The disk size in GB used for node VMs. Minimum size is 20GB.
              * If unspecified, defaults to 100GB. Cannot be updated.
              * 
        * * int32 disk_size_gb = 5; + * * @return This builder for chaining. */ public Builder clearDiskSizeGb() { - + diskSizeGb_ = 0; onChanged(); return this; } - private com.google.protobuf.LazyStringList oauthScopes_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList oauthScopes_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureOauthScopesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { oauthScopes_ = new com.google.protobuf.LazyStringArrayList(oauthScopes_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
              * Optional. The set of Google API scopes to be made available on all
              * node VMs. If `oauth_scopes` is empty, defaults to
        @@ -1829,13 +1975,15 @@ private void ensureOauthScopesIsMutable() {
              * 
        * * repeated string oauth_scopes = 6; + * * @return A list containing the oauthScopes. */ - public com.google.protobuf.ProtocolStringList - getOauthScopesList() { + public com.google.protobuf.ProtocolStringList getOauthScopesList() { return oauthScopes_.getUnmodifiableView(); } /** + * + * *
              * Optional. The set of Google API scopes to be made available on all
              * node VMs. If `oauth_scopes` is empty, defaults to
        @@ -1843,12 +1991,15 @@ private void ensureOauthScopesIsMutable() {
              * 
        * * repeated string oauth_scopes = 6; + * * @return The count of oauthScopes. */ public int getOauthScopesCount() { return oauthScopes_.size(); } /** + * + * *
              * Optional. The set of Google API scopes to be made available on all
              * node VMs. If `oauth_scopes` is empty, defaults to
        @@ -1856,6 +2007,7 @@ public int getOauthScopesCount() {
              * 
        * * repeated string oauth_scopes = 6; + * * @param index The index of the element to return. * @return The oauthScopes at the given index. */ @@ -1863,6 +2015,8 @@ public java.lang.String getOauthScopes(int index) { return oauthScopes_.get(index); } /** + * + * *
              * Optional. The set of Google API scopes to be made available on all
              * node VMs. If `oauth_scopes` is empty, defaults to
        @@ -1870,14 +2024,16 @@ public java.lang.String getOauthScopes(int index) {
              * 
        * * repeated string oauth_scopes = 6; + * * @param index The index of the value to return. * @return The bytes of the oauthScopes at the given index. */ - public com.google.protobuf.ByteString - getOauthScopesBytes(int index) { + public com.google.protobuf.ByteString getOauthScopesBytes(int index) { return oauthScopes_.getByteString(index); } /** + * + * *
              * Optional. The set of Google API scopes to be made available on all
              * node VMs. If `oauth_scopes` is empty, defaults to
        @@ -1885,21 +2041,23 @@ public java.lang.String getOauthScopes(int index) {
              * 
        * * repeated string oauth_scopes = 6; + * * @param index The index to set the value at. * @param value The oauthScopes to set. * @return This builder for chaining. */ - public Builder setOauthScopes( - int index, java.lang.String value) { + public Builder setOauthScopes(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureOauthScopesIsMutable(); + throw new NullPointerException(); + } + ensureOauthScopesIsMutable(); oauthScopes_.set(index, value); onChanged(); return this; } /** + * + * *
              * Optional. The set of Google API scopes to be made available on all
              * node VMs. If `oauth_scopes` is empty, defaults to
        @@ -1907,20 +2065,22 @@ public Builder setOauthScopes(
              * 
        * * repeated string oauth_scopes = 6; + * * @param value The oauthScopes to add. * @return This builder for chaining. */ - public Builder addOauthScopes( - java.lang.String value) { + public Builder addOauthScopes(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureOauthScopesIsMutable(); + throw new NullPointerException(); + } + ensureOauthScopesIsMutable(); oauthScopes_.add(value); onChanged(); return this; } /** + * + * *
              * Optional. The set of Google API scopes to be made available on all
              * node VMs. If `oauth_scopes` is empty, defaults to
        @@ -1928,18 +2088,19 @@ public Builder addOauthScopes(
              * 
        * * repeated string oauth_scopes = 6; + * * @param values The oauthScopes to add. * @return This builder for chaining. */ - public Builder addAllOauthScopes( - java.lang.Iterable values) { + public Builder addAllOauthScopes(java.lang.Iterable values) { ensureOauthScopesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, oauthScopes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, oauthScopes_); onChanged(); return this; } /** + * + * *
              * Optional. The set of Google API scopes to be made available on all
              * node VMs. If `oauth_scopes` is empty, defaults to
        @@ -1947,6 +2108,7 @@ public Builder addAllOauthScopes(
              * 
        * * repeated string oauth_scopes = 6; + * * @return This builder for chaining. */ public Builder clearOauthScopes() { @@ -1956,6 +2118,8 @@ public Builder clearOauthScopes() { return this; } /** + * + * *
              * Optional. The set of Google API scopes to be made available on all
              * node VMs. If `oauth_scopes` is empty, defaults to
        @@ -1963,15 +2127,15 @@ public Builder clearOauthScopes() {
              * 
        * * repeated string oauth_scopes = 6; + * * @param value The bytes of the oauthScopes to add. * @return This builder for chaining. */ - public Builder addOauthScopesBytes( - com.google.protobuf.ByteString value) { + public Builder addOauthScopesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureOauthScopesIsMutable(); oauthScopes_.add(value); onChanged(); @@ -1980,6 +2144,8 @@ public Builder addOauthScopesBytes( private java.lang.Object serviceAccount_ = ""; /** + * + * *
              * Optional. The Google Cloud Platform Service Account to be used by the node
              * VMs. If a service account is not specified, the "default" Compute Engine
        @@ -1987,13 +2153,13 @@ public Builder addOauthScopesBytes(
              * 
        * * string service_account = 7; + * * @return The serviceAccount. */ 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; @@ -2002,6 +2168,8 @@ public java.lang.String getServiceAccount() { } } /** + * + * *
              * Optional. The Google Cloud Platform Service Account to be used by the node
              * VMs. If a service account is not specified, the "default" Compute Engine
        @@ -2009,15 +2177,14 @@ public java.lang.String getServiceAccount() {
              * 
        * * string service_account = 7; + * * @return The bytes for serviceAccount. */ - public com.google.protobuf.ByteString - getServiceAccountBytes() { + 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 { @@ -2025,6 +2192,8 @@ public java.lang.String getServiceAccount() { } } /** + * + * *
              * Optional. The Google Cloud Platform Service Account to be used by the node
              * VMs. If a service account is not specified, the "default" Compute Engine
        @@ -2032,20 +2201,22 @@ public java.lang.String getServiceAccount() {
              * 
        * * string service_account = 7; + * * @param value The serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccount( - java.lang.String value) { + public Builder setServiceAccount(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceAccount_ = value; onChanged(); return this; } /** + * + * *
              * Optional. The Google Cloud Platform Service Account to be used by the node
              * VMs. If a service account is not specified, the "default" Compute Engine
        @@ -2053,15 +2224,18 @@ public Builder setServiceAccount(
              * 
        * * string service_account = 7; + * * @return This builder for chaining. */ public Builder clearServiceAccount() { - + serviceAccount_ = getDefaultInstance().getServiceAccount(); onChanged(); return this; } /** + * + * *
              * Optional. The Google Cloud Platform Service Account to be used by the node
              * VMs. If a service account is not specified, the "default" Compute Engine
        @@ -2069,29 +2243,33 @@ public Builder clearServiceAccount() {
              * 
        * * string service_account = 7; + * * @param value The bytes for serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccountBytes( - com.google.protobuf.ByteString value) { + 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; } - private com.google.protobuf.LazyStringList tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList tags_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureTagsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { tags_ = new com.google.protobuf.LazyStringArrayList(tags_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
              * Optional. The list of instance tags applied to all node VMs. Tags are used
              * to identify valid sources or targets for network firewalls. Each tag within
        @@ -2100,13 +2278,15 @@ private void ensureTagsIsMutable() {
              * 
        * * repeated string tags = 8; + * * @return A list containing the tags. */ - public com.google.protobuf.ProtocolStringList - getTagsList() { + public com.google.protobuf.ProtocolStringList getTagsList() { return tags_.getUnmodifiableView(); } /** + * + * *
              * Optional. The list of instance tags applied to all node VMs. Tags are used
              * to identify valid sources or targets for network firewalls. Each tag within
        @@ -2115,12 +2295,15 @@ private void ensureTagsIsMutable() {
              * 
        * * repeated string tags = 8; + * * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** + * + * *
              * Optional. The list of instance tags applied to all node VMs. Tags are used
              * to identify valid sources or targets for network firewalls. Each tag within
        @@ -2129,6 +2312,7 @@ public int getTagsCount() {
              * 
        * * repeated string tags = 8; + * * @param index The index of the element to return. * @return The tags at the given index. */ @@ -2136,6 +2320,8 @@ public java.lang.String getTags(int index) { return tags_.get(index); } /** + * + * *
              * Optional. The list of instance tags applied to all node VMs. Tags are used
              * to identify valid sources or targets for network firewalls. Each tag within
        @@ -2144,14 +2330,16 @@ public java.lang.String getTags(int index) {
              * 
        * * repeated string tags = 8; + * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - public com.google.protobuf.ByteString - getTagsBytes(int index) { + public com.google.protobuf.ByteString getTagsBytes(int index) { return tags_.getByteString(index); } /** + * + * *
              * Optional. The list of instance tags applied to all node VMs. Tags are used
              * to identify valid sources or targets for network firewalls. Each tag within
        @@ -2160,21 +2348,23 @@ public java.lang.String getTags(int index) {
              * 
        * * repeated string tags = 8; + * * @param index The index to set the value at. * @param value The tags to set. * @return This builder for chaining. */ - public Builder setTags( - int index, java.lang.String value) { + public Builder setTags(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); + throw new NullPointerException(); + } + ensureTagsIsMutable(); tags_.set(index, value); onChanged(); return this; } /** + * + * *
              * Optional. The list of instance tags applied to all node VMs. Tags are used
              * to identify valid sources or targets for network firewalls. Each tag within
        @@ -2183,20 +2373,22 @@ public Builder setTags(
              * 
        * * repeated string tags = 8; + * * @param value The tags to add. * @return This builder for chaining. */ - public Builder addTags( - java.lang.String value) { + public Builder addTags(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); + throw new NullPointerException(); + } + ensureTagsIsMutable(); tags_.add(value); onChanged(); return this; } /** + * + * *
              * Optional. The list of instance tags applied to all node VMs. Tags are used
              * to identify valid sources or targets for network firewalls. Each tag within
        @@ -2205,18 +2397,19 @@ public Builder addTags(
              * 
        * * repeated string tags = 8; + * * @param values The tags to add. * @return This builder for chaining. */ - public Builder addAllTags( - java.lang.Iterable values) { + public Builder addAllTags(java.lang.Iterable values) { ensureTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, tags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tags_); onChanged(); return this; } /** + * + * *
              * Optional. The list of instance tags applied to all node VMs. Tags are used
              * to identify valid sources or targets for network firewalls. Each tag within
        @@ -2225,6 +2418,7 @@ public Builder addAllTags(
              * 
        * * repeated string tags = 8; + * * @return This builder for chaining. */ public Builder clearTags() { @@ -2234,6 +2428,8 @@ public Builder clearTags() { return this; } /** + * + * *
              * Optional. The list of instance tags applied to all node VMs. Tags are used
              * to identify valid sources or targets for network firewalls. Each tag within
        @@ -2242,58 +2438,81 @@ public Builder clearTags() {
              * 
        * * repeated string tags = 8; + * * @param value The bytes of the tags to add. * @return This builder for chaining. */ - public Builder addTagsBytes( - com.google.protobuf.ByteString value) { + public Builder addTagsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureTagsIsMutable(); tags_.add(value); onChanged(); return this; } - private com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ipAllocationPolicy_; + private com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy + ipAllocationPolicy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy, com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.Builder, com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicyOrBuilder> ipAllocationPolicyBuilder_; + com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy, + com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.Builder, + com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicyOrBuilder> + ipAllocationPolicyBuilder_; /** + * + * *
              * Optional. The configuration for controlling how IPs are allocated in the GKE cluster.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the ipAllocationPolicy field is set. */ public boolean hasIpAllocationPolicy() { return ipAllocationPolicyBuilder_ != null || ipAllocationPolicy_ != null; } /** + * + * *
              * Optional. The configuration for controlling how IPs are allocated in the GKE cluster.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The ipAllocationPolicy. */ - public com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy getIpAllocationPolicy() { + public com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy + getIpAllocationPolicy() { if (ipAllocationPolicyBuilder_ == null) { - return ipAllocationPolicy_ == null ? com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.getDefaultInstance() : ipAllocationPolicy_; + return ipAllocationPolicy_ == null + ? com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy + .getDefaultInstance() + : ipAllocationPolicy_; } else { return ipAllocationPolicyBuilder_.getMessage(); } } /** + * + * *
              * Optional. The configuration for controlling how IPs are allocated in the GKE cluster.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setIpAllocationPolicy(com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy value) { + public Builder setIpAllocationPolicy( + com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy value) { if (ipAllocationPolicyBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2307,14 +2526,19 @@ public Builder setIpAllocationPolicy(com.google.cloud.orchestration.airflow.serv return this; } /** + * + * *
              * Optional. The configuration for controlling how IPs are allocated in the GKE cluster.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setIpAllocationPolicy( - com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.Builder builderForValue) { + com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.Builder + builderForValue) { if (ipAllocationPolicyBuilder_ == null) { ipAllocationPolicy_ = builderForValue.build(); onChanged(); @@ -2325,17 +2549,25 @@ public Builder setIpAllocationPolicy( return this; } /** + * + * *
              * Optional. The configuration for controlling how IPs are allocated in the GKE cluster.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeIpAllocationPolicy(com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy value) { + public Builder mergeIpAllocationPolicy( + com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy value) { if (ipAllocationPolicyBuilder_ == null) { if (ipAllocationPolicy_ != null) { ipAllocationPolicy_ = - com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.newBuilder(ipAllocationPolicy_).mergeFrom(value).buildPartial(); + com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.newBuilder( + ipAllocationPolicy_) + .mergeFrom(value) + .buildPartial(); } else { ipAllocationPolicy_ = value; } @@ -2347,11 +2579,15 @@ public Builder mergeIpAllocationPolicy(com.google.cloud.orchestration.airflow.se return this; } /** + * + * *
              * Optional. The configuration for controlling how IPs are allocated in the GKE cluster.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearIpAllocationPolicy() { if (ipAllocationPolicyBuilder_ == null) { @@ -2365,55 +2601,74 @@ public Builder clearIpAllocationPolicy() { return this; } /** + * + * *
              * Optional. The configuration for controlling how IPs are allocated in the GKE cluster.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.Builder getIpAllocationPolicyBuilder() { - + public com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.Builder + getIpAllocationPolicyBuilder() { + onChanged(); return getIpAllocationPolicyFieldBuilder().getBuilder(); } /** + * + * *
              * Optional. The configuration for controlling how IPs are allocated in the GKE cluster.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicyOrBuilder getIpAllocationPolicyOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicyOrBuilder + getIpAllocationPolicyOrBuilder() { if (ipAllocationPolicyBuilder_ != null) { return ipAllocationPolicyBuilder_.getMessageOrBuilder(); } else { - return ipAllocationPolicy_ == null ? - com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.getDefaultInstance() : ipAllocationPolicy_; + return ipAllocationPolicy_ == null + ? com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy + .getDefaultInstance() + : ipAllocationPolicy_; } } /** + * + * *
              * Optional. The configuration for controlling how IPs are allocated in the GKE cluster.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy, com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.Builder, com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicyOrBuilder> + com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy, + com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.Builder, + com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicyOrBuilder> getIpAllocationPolicyFieldBuilder() { if (ipAllocationPolicyBuilder_ == null) { - ipAllocationPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy, com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.Builder, com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicyOrBuilder>( - getIpAllocationPolicy(), - getParentForChildren(), - isClean()); + ipAllocationPolicyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy, + com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy.Builder, + com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicyOrBuilder>( + getIpAllocationPolicy(), getParentForChildren(), isClean()); ipAllocationPolicy_ = null; } return ipAllocationPolicyBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2423,12 +2678,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1.NodeConfig) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1.NodeConfig) - private static final com.google.cloud.orchestration.airflow.service.v1.NodeConfig DEFAULT_INSTANCE; + private static final com.google.cloud.orchestration.airflow.service.v1.NodeConfig + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1.NodeConfig(); } @@ -2437,16 +2693,16 @@ public static com.google.cloud.orchestration.airflow.service.v1.NodeConfig getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodeConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NodeConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NodeConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new NodeConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2461,6 +2717,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.orchestration.airflow.service.v1.NodeConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/NodeConfigOrBuilder.java b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/NodeConfigOrBuilder.java similarity index 85% rename from owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/NodeConfigOrBuilder.java rename to proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/NodeConfigOrBuilder.java index 75c713c3..3837419c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/NodeConfigOrBuilder.java +++ b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/NodeConfigOrBuilder.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/orchestration/airflow/service/v1/environments.proto package com.google.cloud.orchestration.airflow.service.v1; -public interface NodeConfigOrBuilder extends +public interface NodeConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1.NodeConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
            * Optional. The Compute Engine [zone](/compute/docs/regions-zones) in which
            * to deploy the VMs used to run the Apache Airflow software, specified as a
        @@ -25,10 +43,13 @@ public interface NodeConfigOrBuilder extends
            * 
        * * string location = 1; + * * @return The location. */ java.lang.String getLocation(); /** + * + * *
            * Optional. The Compute Engine [zone](/compute/docs/regions-zones) in which
            * to deploy the VMs used to run the Apache Airflow software, specified as a
        @@ -46,12 +67,14 @@ public interface NodeConfigOrBuilder extends
            * 
        * * string location = 1; + * * @return The bytes for location. */ - com.google.protobuf.ByteString - getLocationBytes(); + com.google.protobuf.ByteString getLocationBytes(); /** + * + * *
            * Optional. The Compute Engine
            * [machine type](/compute/docs/machine-types) used for cluster instances,
        @@ -74,10 +97,13 @@ public interface NodeConfigOrBuilder extends
            * 
        * * string machine_type = 2; + * * @return The machineType. */ java.lang.String getMachineType(); /** + * + * *
            * Optional. The Compute Engine
            * [machine type](/compute/docs/machine-types) used for cluster instances,
        @@ -100,12 +126,14 @@ public interface NodeConfigOrBuilder extends
            * 
        * * string machine_type = 2; + * * @return The bytes for machineType. */ - com.google.protobuf.ByteString - getMachineTypeBytes(); + com.google.protobuf.ByteString getMachineTypeBytes(); /** + * + * *
            * Optional. The Compute Engine network to be used for machine
            * communications, specified as a
        @@ -120,10 +148,13 @@ public interface NodeConfigOrBuilder extends
            * 
        * * string network = 3; + * * @return The network. */ java.lang.String getNetwork(); /** + * + * *
            * Optional. The Compute Engine network to be used for machine
            * communications, specified as a
        @@ -138,12 +169,14 @@ public interface NodeConfigOrBuilder extends
            * 
        * * string network = 3; + * * @return The bytes for network. */ - com.google.protobuf.ByteString - getNetworkBytes(); + com.google.protobuf.ByteString getNetworkBytes(); /** + * + * *
            * Optional. The Compute Engine subnetwork to be used for machine
            * communications, specified as a
        @@ -156,10 +189,13 @@ public interface NodeConfigOrBuilder extends
            * 
        * * string subnetwork = 4; + * * @return The subnetwork. */ java.lang.String getSubnetwork(); /** + * + * *
            * Optional. The Compute Engine subnetwork to be used for machine
            * communications, specified as a
        @@ -172,23 +208,28 @@ public interface NodeConfigOrBuilder extends
            * 
        * * string subnetwork = 4; + * * @return The bytes for subnetwork. */ - com.google.protobuf.ByteString - getSubnetworkBytes(); + com.google.protobuf.ByteString getSubnetworkBytes(); /** + * + * *
            * Optional. The disk size in GB used for node VMs. Minimum size is 20GB.
            * If unspecified, defaults to 100GB. Cannot be updated.
            * 
        * * int32 disk_size_gb = 5; + * * @return The diskSizeGb. */ int getDiskSizeGb(); /** + * + * *
            * Optional. The set of Google API scopes to be made available on all
            * node VMs. If `oauth_scopes` is empty, defaults to
        @@ -196,11 +237,13 @@ public interface NodeConfigOrBuilder extends
            * 
        * * repeated string oauth_scopes = 6; + * * @return A list containing the oauthScopes. */ - java.util.List - getOauthScopesList(); + java.util.List getOauthScopesList(); /** + * + * *
            * Optional. The set of Google API scopes to be made available on all
            * node VMs. If `oauth_scopes` is empty, defaults to
        @@ -208,10 +251,13 @@ public interface NodeConfigOrBuilder extends
            * 
        * * repeated string oauth_scopes = 6; + * * @return The count of oauthScopes. */ int getOauthScopesCount(); /** + * + * *
            * Optional. The set of Google API scopes to be made available on all
            * node VMs. If `oauth_scopes` is empty, defaults to
        @@ -219,11 +265,14 @@ public interface NodeConfigOrBuilder extends
            * 
        * * repeated string oauth_scopes = 6; + * * @param index The index of the element to return. * @return The oauthScopes at the given index. */ java.lang.String getOauthScopes(int index); /** + * + * *
            * Optional. The set of Google API scopes to be made available on all
            * node VMs. If `oauth_scopes` is empty, defaults to
        @@ -231,13 +280,15 @@ public interface NodeConfigOrBuilder extends
            * 
        * * repeated string oauth_scopes = 6; + * * @param index The index of the value to return. * @return The bytes of the oauthScopes at the given index. */ - com.google.protobuf.ByteString - getOauthScopesBytes(int index); + com.google.protobuf.ByteString getOauthScopesBytes(int index); /** + * + * *
            * Optional. The Google Cloud Platform Service Account to be used by the node
            * VMs. If a service account is not specified, the "default" Compute Engine
        @@ -245,10 +296,13 @@ public interface NodeConfigOrBuilder extends
            * 
        * * string service_account = 7; + * * @return The serviceAccount. */ java.lang.String getServiceAccount(); /** + * + * *
            * Optional. The Google Cloud Platform Service Account to be used by the node
            * VMs. If a service account is not specified, the "default" Compute Engine
        @@ -256,12 +310,14 @@ public interface NodeConfigOrBuilder extends
            * 
        * * string service_account = 7; + * * @return The bytes for serviceAccount. */ - com.google.protobuf.ByteString - getServiceAccountBytes(); + com.google.protobuf.ByteString getServiceAccountBytes(); /** + * + * *
            * Optional. The list of instance tags applied to all node VMs. Tags are used
            * to identify valid sources or targets for network firewalls. Each tag within
        @@ -270,11 +326,13 @@ public interface NodeConfigOrBuilder extends
            * 
        * * repeated string tags = 8; + * * @return A list containing the tags. */ - java.util.List - getTagsList(); + java.util.List getTagsList(); /** + * + * *
            * Optional. The list of instance tags applied to all node VMs. Tags are used
            * to identify valid sources or targets for network firewalls. Each tag within
        @@ -283,10 +341,13 @@ public interface NodeConfigOrBuilder extends
            * 
        * * repeated string tags = 8; + * * @return The count of tags. */ int getTagsCount(); /** + * + * *
            * Optional. The list of instance tags applied to all node VMs. Tags are used
            * to identify valid sources or targets for network firewalls. Each tag within
        @@ -295,11 +356,14 @@ public interface NodeConfigOrBuilder extends
            * 
        * * repeated string tags = 8; + * * @param index The index of the element to return. * @return The tags at the given index. */ java.lang.String getTags(int index); /** + * + * *
            * Optional. The list of instance tags applied to all node VMs. Tags are used
            * to identify valid sources or targets for network firewalls. Each tag within
        @@ -308,36 +372,51 @@ public interface NodeConfigOrBuilder extends
            * 
        * * repeated string tags = 8; + * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - com.google.protobuf.ByteString - getTagsBytes(int index); + com.google.protobuf.ByteString getTagsBytes(int index); /** + * + * *
            * Optional. The configuration for controlling how IPs are allocated in the GKE cluster.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the ipAllocationPolicy field is set. */ boolean hasIpAllocationPolicy(); /** + * + * *
            * Optional. The configuration for controlling how IPs are allocated in the GKE cluster.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The ipAllocationPolicy. */ com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy getIpAllocationPolicy(); /** + * + * *
            * Optional. The configuration for controlling how IPs are allocated in the GKE cluster.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicyOrBuilder getIpAllocationPolicyOrBuilder(); + com.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicyOrBuilder + getIpAllocationPolicyOrBuilder(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/OperationMetadata.java b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/OperationMetadata.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/OperationMetadata.java rename to proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/OperationMetadata.java index 1942544b..e27f0dcb 100644 --- a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/OperationMetadata.java +++ b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/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/orchestration/airflow/service/v1/operations.proto package com.google.cloud.orchestration.airflow.service.v1; /** + * + * *
          * Metadata describing an operation.
          * 
        * * Protobuf type {@code google.cloud.orchestration.airflow.service.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.orchestration.airflow.service.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() { state_ = 0; operationType_ = 0; @@ -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,63 +73,71 @@ private OperationMetadata( case 0: done = true; break; - case 8: { - int rawValue = input.readEnum(); - - state_ = rawValue; - break; - } - case 16: { - int rawValue = input.readEnum(); + case 8: + { + int rawValue = input.readEnum(); - operationType_ = rawValue; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - resource_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + state_ = rawValue; + break; + } + case 16: + { + int rawValue = input.readEnum(); - resourceUuid_ = s; - break; - } - case 42: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); + operationType_ = rawValue; + 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(); + + resource_ = s; + break; } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 50: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); + resourceUuid_ = s; + break; } - endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); + case 42: + { + 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; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 50: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); + } + endTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,36 +145,41 @@ private OperationMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.OperationsProto.internal_static_google_cloud_orchestration_airflow_service_v1_OperationMetadata_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.OperationsProto + .internal_static_google_cloud_orchestration_airflow_service_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1.OperationsProto.internal_static_google_cloud_orchestration_airflow_service_v1_OperationMetadata_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1.OperationsProto + .internal_static_google_cloud_orchestration_airflow_service_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.class, com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.Builder.class); + com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.class, + com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.Builder.class); } /** + * + * *
            * An enum describing the overall state of an operation.
            * 
        * * Protobuf enum {@code google.cloud.orchestration.airflow.service.v1.OperationMetadata.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
              * Unused.
              * 
        @@ -158,6 +188,8 @@ public enum State */ STATE_UNSPECIFIED(0, 0), /** + * + * *
              * The operation has been created but is not yet started.
              * 
        @@ -166,6 +198,8 @@ public enum State */ PENDING(1, 1), /** + * + * *
              * The operation is underway.
              * 
        @@ -174,6 +208,8 @@ public enum State */ RUNNING(2, 2), /** + * + * *
              * The operation completed successfully.
              * 
        @@ -182,6 +218,8 @@ public enum State */ SUCCEEDED(3, 3), /** + * + * *
              * The operation is no longer running but did not succeed.
              * 
        @@ -192,11 +230,11 @@ public enum State UNRECOGNIZED(-1, -1), ; - /** - * SUCCESSFUL = 3; - */ + /** SUCCESSFUL = 3; */ public static final State SUCCESSFUL = SUCCEEDED; /** + * + * *
              * Unused.
              * 
        @@ -205,6 +243,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
              * The operation has been created but is not yet started.
              * 
        @@ -213,6 +253,8 @@ public enum State */ public static final int PENDING_VALUE = 1; /** + * + * *
              * The operation is underway.
              * 
        @@ -221,6 +263,8 @@ public enum State */ public static final int RUNNING_VALUE = 2; /** + * + * *
              * The operation completed successfully.
              * 
        @@ -228,11 +272,11 @@ public enum State * SUCCEEDED = 3; */ public static final int SUCCEEDED_VALUE = 3; - /** - * SUCCESSFUL = 3; - */ + /** SUCCESSFUL = 3; */ public static final int SUCCESSFUL_VALUE = 3; /** + * + * *
              * The operation is no longer running but did not succeed.
              * 
        @@ -241,7 +285,6 @@ public enum State */ public static final int FAILED_VALUE = 4; - public final int getNumber() { if (index == -1) { throw new java.lang.IllegalArgumentException( @@ -266,55 +309,61 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: return STATE_UNSPECIFIED; - case 1: return PENDING; - case 2: return RUNNING; - case 3: return SUCCEEDED; - case 4: return FAILED; - default: return null; + case 0: + return STATE_UNSPECIFIED; + case 1: + return PENDING; + case 2: + return RUNNING; + case 3: + return SUCCEEDED; + case 4: + return FAILED; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - State> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public State findValueByNumber(int number) { - return State.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (index == -1) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(index); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.getDescriptor() + .getEnumTypes() + .get(0); } private static final State[] VALUES = getStaticValuesArray(); + private static State[] getStaticValuesArray() { return new State[] { - STATE_UNSPECIFIED, PENDING, RUNNING, SUCCEEDED, SUCCESSFUL, FAILED, + STATE_UNSPECIFIED, PENDING, RUNNING, SUCCEEDED, SUCCESSFUL, FAILED, }; } - 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; @@ -334,15 +383,18 @@ private State(int index, int value) { } /** + * + * *
            * Type of longrunning operation.
            * 
        * * Protobuf enum {@code google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type} */ - public enum Type - implements com.google.protobuf.ProtocolMessageEnum { + public enum Type implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
              * Unused.
              * 
        @@ -351,6 +403,8 @@ public enum Type */ TYPE_UNSPECIFIED(0), /** + * + * *
              * A resource creation operation.
              * 
        @@ -359,6 +413,8 @@ public enum Type */ CREATE(1), /** + * + * *
              * A resource deletion operation.
              * 
        @@ -367,6 +423,8 @@ public enum Type */ DELETE(2), /** + * + * *
              * A resource update operation.
              * 
        @@ -375,6 +433,8 @@ public enum Type */ UPDATE(3), /** + * + * *
              * A resource check operation.
              * 
        @@ -386,6 +446,8 @@ public enum Type ; /** + * + * *
              * Unused.
              * 
        @@ -394,6 +456,8 @@ public enum Type */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
              * A resource creation operation.
              * 
        @@ -402,6 +466,8 @@ public enum Type */ public static final int CREATE_VALUE = 1; /** + * + * *
              * A resource deletion operation.
              * 
        @@ -410,6 +476,8 @@ public enum Type */ public static final int DELETE_VALUE = 2; /** + * + * *
              * A resource update operation.
              * 
        @@ -418,6 +486,8 @@ public enum Type */ public static final int UPDATE_VALUE = 3; /** + * + * *
              * A resource check operation.
              * 
        @@ -426,7 +496,6 @@ public enum Type */ public static final int CHECK_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -451,51 +520,55 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: return TYPE_UNSPECIFIED; - case 1: return CREATE; - case 2: return DELETE; - case 3: return UPDATE; - case 4: return CHECK; - default: return null; + case 0: + return TYPE_UNSPECIFIED; + case 1: + return CREATE; + case 2: + return DELETE; + case 3: + return UPDATE; + case 4: + return CHECK; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Type> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Type findValueByNumber(int number) { - return Type.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Type findValueByNumber(int number) { + return Type.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.getDescriptor().getEnumTypes().get(1); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.getDescriptor() + .getEnumTypes() + .get(1); } 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; @@ -515,66 +588,95 @@ private Type(int value) { public static final int STATE_FIELD_NUMBER = 1; private int state_; /** + * + * *
            * Output only. The current operation state.
            * 
        * * .google.cloud.orchestration.airflow.service.v1.OperationMetadata.State state = 1; + * * @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 operation state.
            * 
        * * .google.cloud.orchestration.airflow.service.v1.OperationMetadata.State state = 1; + * * @return The state. */ - @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.State getState() { + @java.lang.Override + public com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.State result = com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.State.valueOf(state_); - return result == null ? com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.State.UNRECOGNIZED : result; + com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.State result = + com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.State.valueOf(state_); + return result == null + ? com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.State.UNRECOGNIZED + : result; } public static final int OPERATION_TYPE_FIELD_NUMBER = 2; private int operationType_; /** + * + * *
            * Output only. The type of operation being performed.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type operation_type = 2; + * .google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type operation_type = 2; + * + * * @return The enum numeric value on the wire for operationType. */ - @java.lang.Override public int getOperationTypeValue() { + @java.lang.Override + public int getOperationTypeValue() { return operationType_; } /** + * + * *
            * Output only. The type of operation being performed.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type operation_type = 2; + * .google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type operation_type = 2; + * + * * @return The operationType. */ - @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type getOperationType() { + @java.lang.Override + public com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type + getOperationType() { @SuppressWarnings("deprecation") - com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type result = com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type.valueOf(operationType_); - return result == null ? com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type.UNRECOGNIZED : result; + com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type result = + com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type.valueOf( + operationType_); + return result == null + ? com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type.UNRECOGNIZED + : result; } public static final int RESOURCE_FIELD_NUMBER = 3; private volatile java.lang.Object resource_; /** + * + * *
            * Output only. The resource being operated on, as a [relative resource name](
            * /apis/design/resource_names#relative_resource_name).
            * 
        * * string resource = 3; + * * @return The resource. */ @java.lang.Override @@ -583,30 +685,30 @@ 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; } } /** + * + * *
            * Output only. The resource being operated on, as a [relative resource name](
            * /apis/design/resource_names#relative_resource_name).
            * 
        * * string resource = 3; + * * @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 { @@ -617,11 +719,14 @@ public java.lang.String getResource() { public static final int RESOURCE_UUID_FIELD_NUMBER = 4; private volatile java.lang.Object resourceUuid_; /** + * + * *
            * Output only. The UUID of the resource being operated on.
            * 
        * * string resource_uuid = 4; + * * @return The resourceUuid. */ @java.lang.Override @@ -630,29 +735,29 @@ public java.lang.String getResourceUuid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceUuid_ = s; return s; } } /** + * + * *
            * Output only. The UUID of the resource being operated on.
            * 
        * * string resource_uuid = 4; + * * @return The bytes for resourceUuid. */ @java.lang.Override - public com.google.protobuf.ByteString - getResourceUuidBytes() { + public com.google.protobuf.ByteString getResourceUuidBytes() { java.lang.Object ref = resourceUuid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resourceUuid_ = b; return b; } else { @@ -663,11 +768,14 @@ public java.lang.String getResourceUuid() { public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** + * + * *
            * Output only. The time the operation was submitted to the server.
            * 
        * * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -675,11 +783,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
            * Output only. The time the operation was submitted to the server.
            * 
        * * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ @java.lang.Override @@ -687,6 +798,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
            * Output only. The time the operation was submitted to the server.
            * 
        @@ -701,12 +814,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp endTime_; /** + * + * *
            * Output only. The time when the operation terminated, regardless of its success.
            * This field is unset if the operation is still ongoing.
            * 
        * * .google.protobuf.Timestamp end_time = 6; + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -714,12 +830,15 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
            * Output only. The time when the operation terminated, regardless of its success.
            * This field is unset if the operation is still ongoing.
            * 
        * * .google.protobuf.Timestamp end_time = 6; + * * @return The endTime. */ @java.lang.Override @@ -727,6 +846,8 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
            * Output only. The time when the operation terminated, regardless of its success.
            * This field is unset if the operation is still ongoing.
        @@ -740,6 +861,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
           }
         
           private byte memoizedIsInitialized = -1;
        +
           @java.lang.Override
           public final boolean isInitialized() {
             byte isInitialized = memoizedIsInitialized;
        @@ -751,12 +873,16 @@ public final boolean isInitialized() {
           }
         
           @java.lang.Override
        -  public void writeTo(com.google.protobuf.CodedOutputStream output)
        -                      throws java.io.IOException {
        -    if (state_ != com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.State.STATE_UNSPECIFIED.getNumber()) {
        +  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
        +    if (state_
        +        != com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.State
        +            .STATE_UNSPECIFIED
        +            .getNumber()) {
               output.writeEnum(1, state_);
             }
        -    if (operationType_ != com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type.TYPE_UNSPECIFIED.getNumber()) {
        +    if (operationType_
        +        != com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type.TYPE_UNSPECIFIED
        +            .getNumber()) {
               output.writeEnum(2, operationType_);
             }
             if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resource_)) {
        @@ -780,13 +906,16 @@ public int getSerializedSize() {
             if (size != -1) return size;
         
             size = 0;
        -    if (state_ != com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.State.STATE_UNSPECIFIED.getNumber()) {
        -      size += com.google.protobuf.CodedOutputStream
        -        .computeEnumSize(1, state_);
        +    if (state_
        +        != com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.State
        +            .STATE_UNSPECIFIED
        +            .getNumber()) {
        +      size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, state_);
             }
        -    if (operationType_ != com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type.TYPE_UNSPECIFIED.getNumber()) {
        -      size += com.google.protobuf.CodedOutputStream
        -        .computeEnumSize(2, operationType_);
        +    if (operationType_
        +        != com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type.TYPE_UNSPECIFIED
        +            .getNumber()) {
        +      size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, operationType_);
             }
             if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resource_)) {
               size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, resource_);
        @@ -795,12 +924,10 @@ public int getSerializedSize() {
               size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, resourceUuid_);
             }
             if (createTime_ != null) {
        -      size += com.google.protobuf.CodedOutputStream
        -        .computeMessageSize(5, getCreateTime());
        +      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime());
             }
             if (endTime_ != null) {
        -      size += com.google.protobuf.CodedOutputStream
        -        .computeMessageSize(6, getEndTime());
        +      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getEndTime());
             }
             size += unknownFields.getSerializedSize();
             memoizedSize = size;
        @@ -810,28 +937,25 @@ public int getSerializedSize() {
           @java.lang.Override
           public boolean equals(final java.lang.Object obj) {
             if (obj == this) {
        -     return true;
        +      return true;
             }
             if (!(obj instanceof com.google.cloud.orchestration.airflow.service.v1.OperationMetadata)) {
               return super.equals(obj);
             }
        -    com.google.cloud.orchestration.airflow.service.v1.OperationMetadata other = (com.google.cloud.orchestration.airflow.service.v1.OperationMetadata) obj;
        +    com.google.cloud.orchestration.airflow.service.v1.OperationMetadata other =
        +        (com.google.cloud.orchestration.airflow.service.v1.OperationMetadata) obj;
         
             if (state_ != other.state_) return false;
             if (operationType_ != other.operationType_) return false;
        -    if (!getResource()
        -        .equals(other.getResource())) return false;
        -    if (!getResourceUuid()
        -        .equals(other.getResourceUuid())) return false;
        +    if (!getResource().equals(other.getResource())) return false;
        +    if (!getResourceUuid().equals(other.getResourceUuid())) 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 (hasEndTime() != other.hasEndTime()) return false;
             if (hasEndTime()) {
        -      if (!getEndTime()
        -          .equals(other.getEndTime())) return false;
        +      if (!getEndTime().equals(other.getEndTime())) return false;
             }
             if (!unknownFields.equals(other.unknownFields)) return false;
             return true;
        @@ -866,134 +990,145 @@ public int hashCode() {
           }
         
           public static com.google.cloud.orchestration.airflow.service.v1.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.orchestration.airflow.service.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.orchestration.airflow.service.v1.OperationMetadata parseFrom(
               com.google.protobuf.ByteString data)
               throws com.google.protobuf.InvalidProtocolBufferException {
             return PARSER.parseFrom(data);
           }
        +
           public static com.google.cloud.orchestration.airflow.service.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.orchestration.airflow.service.v1.OperationMetadata parseFrom(byte[] data)
        -      throws com.google.protobuf.InvalidProtocolBufferException {
        +
        +  public static com.google.cloud.orchestration.airflow.service.v1.OperationMetadata parseFrom(
        +      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
             return PARSER.parseFrom(data);
           }
        +
           public static com.google.cloud.orchestration.airflow.service.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.orchestration.airflow.service.v1.OperationMetadata parseFrom(java.io.InputStream input)
        -      throws java.io.IOException {
        -    return com.google.protobuf.GeneratedMessageV3
        -        .parseWithIOException(PARSER, input);
        +
        +  public static com.google.cloud.orchestration.airflow.service.v1.OperationMetadata parseFrom(
        +      java.io.InputStream input) throws java.io.IOException {
        +    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
           }
        +
           public static com.google.cloud.orchestration.airflow.service.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.orchestration.airflow.service.v1.OperationMetadata parseDelimitedFrom(java.io.InputStream input)
        -      throws java.io.IOException {
        -    return com.google.protobuf.GeneratedMessageV3
        -        .parseDelimitedWithIOException(PARSER, input);
        +
        +  public static com.google.cloud.orchestration.airflow.service.v1.OperationMetadata
        +      parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
        +    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
           }
        -  public static com.google.cloud.orchestration.airflow.service.v1.OperationMetadata 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.orchestration.airflow.service.v1.OperationMetadata
        +      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.orchestration.airflow.service.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.orchestration.airflow.service.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.orchestration.airflow.service.v1.OperationMetadata prototype) {
        +
        +  public static Builder newBuilder(
        +      com.google.cloud.orchestration.airflow.service.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;
           }
           /**
        +   *
        +   *
            * 
            * Metadata describing an operation.
            * 
        * * Protobuf type {@code google.cloud.orchestration.airflow.service.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.orchestration.airflow.service.v1.OperationMetadata) com.google.cloud.orchestration.airflow.service.v1.OperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.OperationsProto.internal_static_google_cloud_orchestration_airflow_service_v1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.OperationsProto + .internal_static_google_cloud_orchestration_airflow_service_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1.OperationsProto.internal_static_google_cloud_orchestration_airflow_service_v1_OperationMetadata_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1.OperationsProto + .internal_static_google_cloud_orchestration_airflow_service_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.class, com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.Builder.class); + com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.class, + com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.Builder.class); } - // Construct using com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.newBuilder() + // Construct using + // com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1021,14 +1156,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1.OperationsProto.internal_static_google_cloud_orchestration_airflow_service_v1_OperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1.OperationsProto + .internal_static_google_cloud_orchestration_airflow_service_v1_OperationMetadata_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.OperationMetadata getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1.OperationMetadata + getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1.OperationMetadata + .getDefaultInstance(); } @java.lang.Override @@ -1042,7 +1179,8 @@ public com.google.cloud.orchestration.airflow.service.v1.OperationMetadata build @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1.OperationMetadata buildPartial() { - com.google.cloud.orchestration.airflow.service.v1.OperationMetadata result = new com.google.cloud.orchestration.airflow.service.v1.OperationMetadata(this); + com.google.cloud.orchestration.airflow.service.v1.OperationMetadata result = + new com.google.cloud.orchestration.airflow.service.v1.OperationMetadata(this); result.state_ = state_; result.operationType_ = operationType_; result.resource_ = resource_; @@ -1065,46 +1203,51 @@ public com.google.cloud.orchestration.airflow.service.v1.OperationMetadata build public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.orchestration.airflow.service.v1.OperationMetadata) { - return mergeFrom((com.google.cloud.orchestration.airflow.service.v1.OperationMetadata)other); + return mergeFrom( + (com.google.cloud.orchestration.airflow.service.v1.OperationMetadata) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1.OperationMetadata other) { - if (other == com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.orchestration.airflow.service.v1.OperationMetadata other) { + if (other + == com.google.cloud.orchestration.airflow.service.v1.OperationMetadata + .getDefaultInstance()) return this; if (other.state_ != 0) { setStateValue(other.getStateValue()); } @@ -1144,7 +1287,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.orchestration.airflow.service.v1.OperationMetadata) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.orchestration.airflow.service.v1.OperationMetadata) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1156,73 +1301,98 @@ public Builder mergeFrom( private int state_ = 0; /** + * + * *
              * Output only. The current operation state.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.OperationMetadata.State state = 1; + * .google.cloud.orchestration.airflow.service.v1.OperationMetadata.State state = 1; + * + * * @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 operation state.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.OperationMetadata.State state = 1; + * .google.cloud.orchestration.airflow.service.v1.OperationMetadata.State state = 1; + * + * * @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 operation state.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.OperationMetadata.State state = 1; + * .google.cloud.orchestration.airflow.service.v1.OperationMetadata.State state = 1; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.State result = com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.State.valueOf(state_); - return result == null ? com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.State.UNRECOGNIZED : result; + com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.State result = + com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.State.valueOf(state_); + return result == null + ? com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.State.UNRECOGNIZED + : result; } /** + * + * *
              * Output only. The current operation state.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.OperationMetadata.State state = 1; + * .google.cloud.orchestration.airflow.service.v1.OperationMetadata.State state = 1; + * + * * @param value The state to set. * @return This builder for chaining. */ - public Builder setState(com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.State value) { + public Builder setState( + com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
              * Output only. The current operation state.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.OperationMetadata.State state = 1; + * .google.cloud.orchestration.airflow.service.v1.OperationMetadata.State state = 1; + * + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -1230,73 +1400,105 @@ public Builder clearState() { private int operationType_ = 0; /** + * + * *
              * Output only. The type of operation being performed.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type operation_type = 2; + * + * .google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type operation_type = 2; + * + * * @return The enum numeric value on the wire for operationType. */ - @java.lang.Override public int getOperationTypeValue() { + @java.lang.Override + public int getOperationTypeValue() { return operationType_; } /** + * + * *
              * Output only. The type of operation being performed.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type operation_type = 2; + * + * .google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type operation_type = 2; + * + * * @param value The enum numeric value on the wire for operationType to set. * @return This builder for chaining. */ public Builder setOperationTypeValue(int value) { - + operationType_ = value; onChanged(); return this; } /** + * + * *
              * Output only. The type of operation being performed.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type operation_type = 2; + * + * .google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type operation_type = 2; + * + * * @return The operationType. */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type getOperationType() { + public com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type + getOperationType() { @SuppressWarnings("deprecation") - com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type result = com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type.valueOf(operationType_); - return result == null ? com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type.UNRECOGNIZED : result; + com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type result = + com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type.valueOf( + operationType_); + return result == null + ? com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type.UNRECOGNIZED + : result; } /** + * + * *
              * Output only. The type of operation being performed.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type operation_type = 2; + * + * .google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type operation_type = 2; + * + * * @param value The operationType to set. * @return This builder for chaining. */ - public Builder setOperationType(com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type value) { + public Builder setOperationType( + com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type value) { if (value == null) { throw new NullPointerException(); } - + operationType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
              * Output only. The type of operation being performed.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type operation_type = 2; + * + * .google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type operation_type = 2; + * + * * @return This builder for chaining. */ public Builder clearOperationType() { - + operationType_ = 0; onChanged(); return this; @@ -1304,19 +1506,21 @@ public Builder clearOperationType() { private java.lang.Object resource_ = ""; /** + * + * *
              * Output only. The resource being operated on, as a [relative resource name](
              * /apis/design/resource_names#relative_resource_name).
              * 
        * * string resource = 3; + * * @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; @@ -1325,21 +1529,22 @@ public java.lang.String getResource() { } } /** + * + * *
              * Output only. The resource being operated on, as a [relative resource name](
              * /apis/design/resource_names#relative_resource_name).
              * 
        * * string resource = 3; + * * @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 { @@ -1347,57 +1552,64 @@ public java.lang.String getResource() { } } /** + * + * *
              * Output only. The resource being operated on, as a [relative resource name](
              * /apis/design/resource_names#relative_resource_name).
              * 
        * * string resource = 3; + * * @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; } /** + * + * *
              * Output only. The resource being operated on, as a [relative resource name](
              * /apis/design/resource_names#relative_resource_name).
              * 
        * * string resource = 3; + * * @return This builder for chaining. */ public Builder clearResource() { - + resource_ = getDefaultInstance().getResource(); onChanged(); return this; } /** + * + * *
              * Output only. The resource being operated on, as a [relative resource name](
              * /apis/design/resource_names#relative_resource_name).
              * 
        * * string resource = 3; + * * @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; @@ -1405,18 +1617,20 @@ public Builder setResourceBytes( private java.lang.Object resourceUuid_ = ""; /** + * + * *
              * Output only. The UUID of the resource being operated on.
              * 
        * * string resource_uuid = 4; + * * @return The resourceUuid. */ public java.lang.String getResourceUuid() { java.lang.Object ref = resourceUuid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceUuid_ = s; return s; @@ -1425,20 +1639,21 @@ public java.lang.String getResourceUuid() { } } /** + * + * *
              * Output only. The UUID of the resource being operated on.
              * 
        * * string resource_uuid = 4; + * * @return The bytes for resourceUuid. */ - public com.google.protobuf.ByteString - getResourceUuidBytes() { + public com.google.protobuf.ByteString getResourceUuidBytes() { java.lang.Object ref = resourceUuid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resourceUuid_ = b; return b; } else { @@ -1446,54 +1661,61 @@ public java.lang.String getResourceUuid() { } } /** + * + * *
              * Output only. The UUID of the resource being operated on.
              * 
        * * string resource_uuid = 4; + * * @param value The resourceUuid to set. * @return This builder for chaining. */ - public Builder setResourceUuid( - java.lang.String value) { + public Builder setResourceUuid(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + resourceUuid_ = value; onChanged(); return this; } /** + * + * *
              * Output only. The UUID of the resource being operated on.
              * 
        * * string resource_uuid = 4; + * * @return This builder for chaining. */ public Builder clearResourceUuid() { - + resourceUuid_ = getDefaultInstance().getResourceUuid(); onChanged(); return this; } /** + * + * *
              * Output only. The UUID of the resource being operated on.
              * 
        * * string resource_uuid = 4; + * * @param value The bytes for resourceUuid to set. * @return This builder for chaining. */ - public Builder setResourceUuidBytes( - com.google.protobuf.ByteString value) { + public Builder setResourceUuidBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resourceUuid_ = value; onChanged(); return this; @@ -1501,34 +1723,47 @@ public Builder setResourceUuidBytes( 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 operation was submitted to the server.
              * 
        * * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
              * Output only. The time the operation was submitted to the server.
              * 
        * * .google.protobuf.Timestamp create_time = 5; + * * @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 operation was submitted to the server.
              * 
        @@ -1549,14 +1784,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
              * Output only. The time the operation was submitted to the server.
              * 
        * * .google.protobuf.Timestamp create_time = 5; */ - 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(); @@ -1567,6 +1803,8 @@ public Builder setCreateTime( return this; } /** + * + * *
              * Output only. The time the operation was submitted to the server.
              * 
        @@ -1577,7 +1815,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; } @@ -1589,6 +1827,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
              * Output only. The time the operation was submitted to the server.
              * 
        @@ -1607,6 +1847,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
              * Output only. The time the operation was submitted to the server.
              * 
        @@ -1614,11 +1856,13 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
              * Output only. The time the operation was submitted to the server.
              * 
        @@ -1629,11 +1873,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_; } } /** + * + * *
              * Output only. The time the operation was submitted to the server.
              * 
        @@ -1641,14 +1888,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> 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_; @@ -1656,26 +1906,35 @@ 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_; /** + * + * *
              * Output only. The time when the operation terminated, regardless of its success.
              * This field is unset if the operation is still ongoing.
              * 
        * * .google.protobuf.Timestamp end_time = 6; + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** + * + * *
              * Output only. The time when the operation terminated, regardless of its success.
              * This field is unset if the operation is still ongoing.
              * 
        * * .google.protobuf.Timestamp end_time = 6; + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1686,6 +1945,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
              * Output only. The time when the operation terminated, regardless of its success.
              * This field is unset if the operation is still ongoing.
        @@ -1707,6 +1968,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
               return this;
             }
             /**
        +     *
        +     *
              * 
              * Output only. The time when the operation terminated, regardless of its success.
              * This field is unset if the operation is still ongoing.
        @@ -1714,8 +1977,7 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
              *
              * .google.protobuf.Timestamp end_time = 6;
              */
        -    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();
        @@ -1726,6 +1988,8 @@ public Builder setEndTime(
               return this;
             }
             /**
        +     *
        +     *
              * 
              * Output only. The time when the operation terminated, regardless of its success.
              * This field is unset if the operation is still ongoing.
        @@ -1737,7 +2001,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;
                 }
        @@ -1749,6 +2013,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
               return this;
             }
             /**
        +     *
        +     *
              * 
              * Output only. The time when the operation terminated, regardless of its success.
              * This field is unset if the operation is still ongoing.
        @@ -1768,6 +2034,8 @@ public Builder clearEndTime() {
               return this;
             }
             /**
        +     *
        +     *
              * 
              * Output only. The time when the operation terminated, regardless of its success.
              * This field is unset if the operation is still ongoing.
        @@ -1776,11 +2044,13 @@ public Builder clearEndTime() {
              * .google.protobuf.Timestamp end_time = 6;
              */
             public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
        -      
        +
               onChanged();
               return getEndTimeFieldBuilder().getBuilder();
             }
             /**
        +     *
        +     *
              * 
              * Output only. The time when the operation terminated, regardless of its success.
              * This field is unset if the operation is still ongoing.
        @@ -1792,11 +2062,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_;
               }
             }
             /**
        +     *
        +     *
              * 
              * Output only. The time when the operation terminated, regardless of its success.
              * This field is unset if the operation is still ongoing.
        @@ -1805,21 +2076,24 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
              * .google.protobuf.Timestamp end_time = 6;
              */
             private com.google.protobuf.SingleFieldBuilderV3<
        -        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
        +            com.google.protobuf.Timestamp,
        +            com.google.protobuf.Timestamp.Builder,
        +            com.google.protobuf.TimestampOrBuilder>
                 getEndTimeFieldBuilder() {
               if (endTimeBuilder_ == null) {
        -        endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
        -            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
        -                getEndTime(),
        -                getParentForChildren(),
        -                isClean());
        +        endTimeBuilder_ =
        +            new com.google.protobuf.SingleFieldBuilderV3<
        +                com.google.protobuf.Timestamp,
        +                com.google.protobuf.Timestamp.Builder,
        +                com.google.protobuf.TimestampOrBuilder>(
        +                getEndTime(), getParentForChildren(), isClean());
                 endTime_ = null;
               }
               return endTimeBuilder_;
             }
        +
             @java.lang.Override
        -    public final Builder setUnknownFields(
        -        final com.google.protobuf.UnknownFieldSet unknownFields) {
        +    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
               return super.setUnknownFields(unknownFields);
             }
         
        @@ -1829,30 +2103,32 @@ public final Builder mergeUnknownFields(
               return super.mergeUnknownFields(unknownFields);
             }
         
        -
             // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1.OperationMetadata)
           }
         
           // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1.OperationMetadata)
        -  private static final com.google.cloud.orchestration.airflow.service.v1.OperationMetadata DEFAULT_INSTANCE;
        +  private static final com.google.cloud.orchestration.airflow.service.v1.OperationMetadata
        +      DEFAULT_INSTANCE;
        +
           static {
             DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1.OperationMetadata();
           }
         
        -  public static com.google.cloud.orchestration.airflow.service.v1.OperationMetadata getDefaultInstance() {
        +  public static com.google.cloud.orchestration.airflow.service.v1.OperationMetadata
        +      getDefaultInstance() {
             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;
        @@ -1864,9 +2140,8 @@ public com.google.protobuf.Parser getParserForType() {
           }
         
           @java.lang.Override
        -  public com.google.cloud.orchestration.airflow.service.v1.OperationMetadata getDefaultInstanceForType() {
        +  public com.google.cloud.orchestration.airflow.service.v1.OperationMetadata
        +      getDefaultInstanceForType() {
             return DEFAULT_INSTANCE;
           }
        -
         }
        -
        diff --git a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/OperationMetadataOrBuilder.java b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/OperationMetadataOrBuilder.java
        similarity index 79%
        rename from owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/OperationMetadataOrBuilder.java
        rename to proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/OperationMetadataOrBuilder.java
        index 1cb1f64d..d2a36466 100644
        --- a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/OperationMetadataOrBuilder.java
        +++ b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/OperationMetadataOrBuilder.java
        @@ -1,111 +1,159 @@
        +/*
        + * Copyright 2020 Google LLC
        + *
        + * Licensed under the Apache License, Version 2.0 (the "License");
        + * you may not use this file except in compliance with the License.
        + * You may obtain a copy of the License at
        + *
        + *     https://www.apache.org/licenses/LICENSE-2.0
        + *
        + * Unless required by applicable law or agreed to in writing, software
        + * distributed under the License is distributed on an "AS IS" BASIS,
        + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
        + * See the License for the specific language governing permissions and
        + * limitations under the License.
        + */
         // Generated by the protocol buffer compiler.  DO NOT EDIT!
         // source: google/cloud/orchestration/airflow/service/v1/operations.proto
         
         package com.google.cloud.orchestration.airflow.service.v1;
         
        -public interface OperationMetadataOrBuilder extends
        +public interface OperationMetadataOrBuilder
        +    extends
             // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1.OperationMetadata)
             com.google.protobuf.MessageOrBuilder {
         
           /**
        +   *
        +   *
            * 
            * Output only. The current operation state.
            * 
        * * .google.cloud.orchestration.airflow.service.v1.OperationMetadata.State state = 1; + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
            * Output only. The current operation state.
            * 
        * * .google.cloud.orchestration.airflow.service.v1.OperationMetadata.State state = 1; + * * @return The state. */ com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.State getState(); /** + * + * *
            * Output only. The type of operation being performed.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type operation_type = 2; + * .google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type operation_type = 2; + * + * * @return The enum numeric value on the wire for operationType. */ int getOperationTypeValue(); /** + * + * *
            * Output only. The type of operation being performed.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type operation_type = 2; + * .google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type operation_type = 2; + * + * * @return The operationType. */ com.google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type getOperationType(); /** + * + * *
            * Output only. The resource being operated on, as a [relative resource name](
            * /apis/design/resource_names#relative_resource_name).
            * 
        * * string resource = 3; + * * @return The resource. */ java.lang.String getResource(); /** + * + * *
            * Output only. The resource being operated on, as a [relative resource name](
            * /apis/design/resource_names#relative_resource_name).
            * 
        * * string resource = 3; + * * @return The bytes for resource. */ - com.google.protobuf.ByteString - getResourceBytes(); + com.google.protobuf.ByteString getResourceBytes(); /** + * + * *
            * Output only. The UUID of the resource being operated on.
            * 
        * * string resource_uuid = 4; + * * @return The resourceUuid. */ java.lang.String getResourceUuid(); /** + * + * *
            * Output only. The UUID of the resource being operated on.
            * 
        * * string resource_uuid = 4; + * * @return The bytes for resourceUuid. */ - com.google.protobuf.ByteString - getResourceUuidBytes(); + com.google.protobuf.ByteString getResourceUuidBytes(); /** + * + * *
            * Output only. The time the operation was submitted to the server.
            * 
        * * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
            * Output only. The time the operation was submitted to the server.
            * 
        * * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
            * Output only. The time the operation was submitted to the server.
            * 
        @@ -115,26 +163,34 @@ public interface OperationMetadataOrBuilder extends com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
            * Output only. The time when the operation terminated, regardless of its success.
            * This field is unset if the operation is still ongoing.
            * 
        * * .google.protobuf.Timestamp end_time = 6; + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
            * Output only. The time when the operation terminated, regardless of its success.
            * This field is unset if the operation is still ongoing.
            * 
        * * .google.protobuf.Timestamp end_time = 6; + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
            * Output only. The time when the operation terminated, regardless of its success.
            * This field is unset if the operation is still ongoing.
        diff --git a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/OperationsProto.java b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/OperationsProto.java
        new file mode 100644
        index 00000000..c7b38a4a
        --- /dev/null
        +++ b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/OperationsProto.java
        @@ -0,0 +1,86 @@
        +/*
        + * Copyright 2020 Google LLC
        + *
        + * Licensed under the Apache License, Version 2.0 (the "License");
        + * you may not use this file except in compliance with the License.
        + * You may obtain a copy of the License at
        + *
        + *     https://www.apache.org/licenses/LICENSE-2.0
        + *
        + * Unless required by applicable law or agreed to in writing, software
        + * distributed under the License is distributed on an "AS IS" BASIS,
        + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
        + * See the License for the specific language governing permissions and
        + * limitations under the License.
        + */
        +// Generated by the protocol buffer compiler.  DO NOT EDIT!
        +// source: google/cloud/orchestration/airflow/service/v1/operations.proto
        +
        +package com.google.cloud.orchestration.airflow.service.v1;
        +
        +public final class OperationsProto {
        +  private OperationsProto() {}
        +
        +  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_orchestration_airflow_service_v1_OperationMetadata_descriptor;
        +  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        +      internal_static_google_cloud_orchestration_airflow_service_v1_OperationMetadata_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/orchestration/airflow/ser"
        +          + "vice/v1/operations.proto\022-google.cloud.o"
        +          + "rchestration.airflow.service.v1\032\037google/"
        +          + "protobuf/timestamp.proto\032\034google/api/ann"
        +          + "otations.proto\"\207\004\n\021OperationMetadata\022U\n\005"
        +          + "state\030\001 \001(\0162F.google.cloud.orchestration"
        +          + ".airflow.service.v1.OperationMetadata.St"
        +          + "ate\022]\n\016operation_type\030\002 \001(\0162E.google.clo"
        +          + "ud.orchestration.airflow.service.v1.Oper"
        +          + "ationMetadata.Type\022\020\n\010resource\030\003 \001(\t\022\025\n\r"
        +          + "resource_uuid\030\004 \001(\t\022/\n\013create_time\030\005 \001(\013"
        +          + "2\032.google.protobuf.Timestamp\022,\n\010end_time"
        +          + "\030\006 \001(\0132\032.google.protobuf.Timestamp\"g\n\005St"
        +          + "ate\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007PENDING\020\001\022"
        +          + "\013\n\007RUNNING\020\002\022\r\n\tSUCCEEDED\020\003\022\016\n\nSUCCESSFU"
        +          + "L\020\003\022\n\n\006FAILED\020\004\032\002\020\001\"K\n\004Type\022\024\n\020TYPE_UNSP"
        +          + "ECIFIED\020\000\022\n\n\006CREATE\020\001\022\n\n\006DELETE\020\002\022\n\n\006UPD"
        +          + "ATE\020\003\022\t\n\005CHECK\020\004B\234\001\n1com.google.cloud.or"
        +          + "chestration.airflow.service.v1B\017Operatio"
        +          + "nsProtoP\001ZTgoogle.golang.org/genproto/go"
        +          + "ogleapis/cloud/orchestration/airflow/ser"
        +          + "vice/v1;serviceb\006proto3"
        +    };
        +    descriptor =
        +        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
        +            descriptorData,
        +            new com.google.protobuf.Descriptors.FileDescriptor[] {
        +              com.google.protobuf.TimestampProto.getDescriptor(),
        +              com.google.api.AnnotationsProto.getDescriptor(),
        +            });
        +    internal_static_google_cloud_orchestration_airflow_service_v1_OperationMetadata_descriptor =
        +        getDescriptor().getMessageTypes().get(0);
        +    internal_static_google_cloud_orchestration_airflow_service_v1_OperationMetadata_fieldAccessorTable =
        +        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        +            internal_static_google_cloud_orchestration_airflow_service_v1_OperationMetadata_descriptor,
        +            new java.lang.String[] {
        +              "State", "OperationType", "Resource", "ResourceUuid", "CreateTime", "EndTime",
        +            });
        +    com.google.protobuf.TimestampProto.getDescriptor();
        +    com.google.api.AnnotationsProto.getDescriptor();
        +  }
        +
        +  // @@protoc_insertion_point(outer_class_scope)
        +}
        diff --git a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateClusterConfig.java b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateClusterConfig.java
        similarity index 71%
        rename from owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateClusterConfig.java
        rename to proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateClusterConfig.java
        index e73f9b21..1c3c35e8 100644
        --- a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateClusterConfig.java
        +++ b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateClusterConfig.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/orchestration/airflow/service/v1/environments.proto
         
         package com.google.cloud.orchestration.airflow.service.v1;
         
         /**
        + *
        + *
          * 
          * Configuration options for the private GKE cluster in a Cloud Composer
          * environment.
        @@ -11,15 +28,16 @@
          *
          * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig}
          */
        -public final class PrivateClusterConfig extends
        -    com.google.protobuf.GeneratedMessageV3 implements
        +public final class PrivateClusterConfig extends com.google.protobuf.GeneratedMessageV3
        +    implements
             // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig)
             PrivateClusterConfigOrBuilder {
        -private static final long serialVersionUID = 0L;
        +  private static final long serialVersionUID = 0L;
           // Use PrivateClusterConfig.newBuilder() to construct.
           private PrivateClusterConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
             super(builder);
           }
        +
           private PrivateClusterConfig() {
             masterIpv4CidrBlock_ = "";
             masterIpv4ReservedRange_ = "";
        @@ -27,16 +45,15 @@ private PrivateClusterConfig() {
         
           @java.lang.Override
           @SuppressWarnings({"unused"})
        -  protected java.lang.Object newInstance(
        -      UnusedPrivateParameter unused) {
        +  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
             return new PrivateClusterConfig();
           }
         
           @java.lang.Override
        -  public final com.google.protobuf.UnknownFieldSet
        -  getUnknownFields() {
        +  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
             return this.unknownFields;
           }
        +
           private PrivateClusterConfig(
               com.google.protobuf.CodedInputStream input,
               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        @@ -55,30 +72,32 @@ private PrivateClusterConfig(
                   case 0:
                     done = true;
                     break;
        -          case 8: {
        -
        -            enablePrivateEndpoint_ = input.readBool();
        -            break;
        -          }
        -          case 18: {
        -            java.lang.String s = input.readStringRequireUtf8();
        +          case 8:
        +            {
        +              enablePrivateEndpoint_ = input.readBool();
        +              break;
        +            }
        +          case 18:
        +            {
        +              java.lang.String s = input.readStringRequireUtf8();
         
        -            masterIpv4CidrBlock_ = s;
        -            break;
        -          }
        -          case 26: {
        -            java.lang.String s = input.readStringRequireUtf8();
        +              masterIpv4CidrBlock_ = s;
        +              break;
        +            }
        +          case 26:
        +            {
        +              java.lang.String s = input.readStringRequireUtf8();
         
        -            masterIpv4ReservedRange_ = s;
        -            break;
        -          }
        -          default: {
        -            if (!parseUnknownField(
        -                input, unknownFields, extensionRegistry, tag)) {
        -              done = true;
        +              masterIpv4ReservedRange_ = s;
        +              break;
        +            }
        +          default:
        +            {
        +              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
        +                done = true;
        +              }
        +              break;
                     }
        -            break;
        -          }
                 }
               }
             } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        @@ -86,35 +105,40 @@ private PrivateClusterConfig(
             } catch (com.google.protobuf.UninitializedMessageException e) {
               throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
             } catch (java.io.IOException e) {
        -      throw new com.google.protobuf.InvalidProtocolBufferException(
        -          e).setUnfinishedMessage(this);
        +      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
             } finally {
               this.unknownFields = unknownFields.build();
               makeExtensionsImmutable();
             }
           }
        -  public static final com.google.protobuf.Descriptors.Descriptor
        -      getDescriptor() {
        -    return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_PrivateClusterConfig_descriptor;
        +
        +  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        +    return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
        +        .internal_static_google_cloud_orchestration_airflow_service_v1_PrivateClusterConfig_descriptor;
           }
         
           @java.lang.Override
           protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
               internalGetFieldAccessorTable() {
        -    return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_PrivateClusterConfig_fieldAccessorTable
        +    return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
        +        .internal_static_google_cloud_orchestration_airflow_service_v1_PrivateClusterConfig_fieldAccessorTable
                 .ensureFieldAccessorsInitialized(
        -            com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig.class, com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig.Builder.class);
        +            com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig.class,
        +            com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig.Builder.class);
           }
         
           public static final int ENABLE_PRIVATE_ENDPOINT_FIELD_NUMBER = 1;
           private boolean enablePrivateEndpoint_;
           /**
        +   *
        +   *
            * 
            * Optional. If `true`, access to the public endpoint of the GKE cluster is
            * denied.
            * 
        * * bool enable_private_endpoint = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The enablePrivateEndpoint. */ @java.lang.Override @@ -125,12 +149,15 @@ public boolean getEnablePrivateEndpoint() { public static final int MASTER_IPV4_CIDR_BLOCK_FIELD_NUMBER = 2; private volatile java.lang.Object masterIpv4CidrBlock_; /** + * + * *
            * Optional. The CIDR block from which IPv4 range for GKE master will be reserved. If
            * left blank, the default value of '172.16.0.0/23' is used.
            * 
        * * string master_ipv4_cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The masterIpv4CidrBlock. */ @java.lang.Override @@ -139,30 +166,30 @@ public java.lang.String getMasterIpv4CidrBlock() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); masterIpv4CidrBlock_ = s; return s; } } /** + * + * *
            * Optional. The CIDR block from which IPv4 range for GKE master will be reserved. If
            * left blank, the default value of '172.16.0.0/23' is used.
            * 
        * * string master_ipv4_cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for masterIpv4CidrBlock. */ @java.lang.Override - public com.google.protobuf.ByteString - getMasterIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString getMasterIpv4CidrBlockBytes() { java.lang.Object ref = masterIpv4CidrBlock_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); masterIpv4CidrBlock_ = b; return b; } else { @@ -173,6 +200,8 @@ public java.lang.String getMasterIpv4CidrBlock() { public static final int MASTER_IPV4_RESERVED_RANGE_FIELD_NUMBER = 3; private volatile java.lang.Object masterIpv4ReservedRange_; /** + * + * *
            * Output only. The IP range in CIDR notation to use for the hosted master network. This
            * range is used for assigning internal IP addresses to the GKE cluster
        @@ -181,7 +210,9 @@ public java.lang.String getMasterIpv4CidrBlock() {
            * within the cluster's network.
            * 
        * - * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The masterIpv4ReservedRange. */ @java.lang.Override @@ -190,14 +221,15 @@ public java.lang.String getMasterIpv4ReservedRange() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); masterIpv4ReservedRange_ = s; return s; } } /** + * + * *
            * Output only. The IP range in CIDR notation to use for the hosted master network. This
            * range is used for assigning internal IP addresses to the GKE cluster
        @@ -206,17 +238,17 @@ public java.lang.String getMasterIpv4ReservedRange() {
            * within the cluster's network.
            * 
        * - * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bytes for masterIpv4ReservedRange. */ @java.lang.Override - public com.google.protobuf.ByteString - getMasterIpv4ReservedRangeBytes() { + public com.google.protobuf.ByteString getMasterIpv4ReservedRangeBytes() { java.lang.Object ref = masterIpv4ReservedRange_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); masterIpv4ReservedRange_ = b; return b; } else { @@ -225,6 +257,7 @@ public java.lang.String getMasterIpv4ReservedRange() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -236,8 +269,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 (enablePrivateEndpoint_ != false) { output.writeBool(1, enablePrivateEndpoint_); } @@ -257,8 +289,7 @@ public int getSerializedSize() { size = 0; if (enablePrivateEndpoint_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enablePrivateEndpoint_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enablePrivateEndpoint_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(masterIpv4CidrBlock_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, masterIpv4CidrBlock_); @@ -274,19 +305,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.orchestration.airflow.service.v1.PrivateClusterConfig)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig other = (com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig) obj; + com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig other = + (com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig) obj; - if (getEnablePrivateEndpoint() - != other.getEnablePrivateEndpoint()) return false; - if (!getMasterIpv4CidrBlock() - .equals(other.getMasterIpv4CidrBlock())) return false; - if (!getMasterIpv4ReservedRange() - .equals(other.getMasterIpv4ReservedRange())) return false; + if (getEnablePrivateEndpoint() != other.getEnablePrivateEndpoint()) return false; + if (!getMasterIpv4CidrBlock().equals(other.getMasterIpv4CidrBlock())) return false; + if (!getMasterIpv4ReservedRange().equals(other.getMasterIpv4ReservedRange())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -299,8 +328,7 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLE_PRIVATE_ENDPOINT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnablePrivateEndpoint()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnablePrivateEndpoint()); hash = (37 * hash) + MASTER_IPV4_CIDR_BLOCK_FIELD_NUMBER; hash = (53 * hash) + getMasterIpv4CidrBlock().hashCode(); hash = (37 * hash) + MASTER_IPV4_RESERVED_RANGE_FIELD_NUMBER; @@ -311,96 +339,105 @@ public int hashCode() { } public static com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig 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.orchestration.airflow.service.v1.PrivateClusterConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig 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.orchestration.airflow.service.v1.PrivateClusterConfig + 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.orchestration.airflow.service.v1.PrivateClusterConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
            * Configuration options for the private GKE cluster in a Cloud Composer
            * environment.
        @@ -408,38 +445,40 @@ protected Builder newBuilderForType(
            *
            * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig}
            */
        -  public static final class Builder extends
        -      com.google.protobuf.GeneratedMessageV3.Builder implements
        +  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
        +      implements
               // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig)
               com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfigOrBuilder {
        -    public static final com.google.protobuf.Descriptors.Descriptor
        -        getDescriptor() {
        -      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_PrivateClusterConfig_descriptor;
        +    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        +      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
        +          .internal_static_google_cloud_orchestration_airflow_service_v1_PrivateClusterConfig_descriptor;
             }
         
             @java.lang.Override
             protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
                 internalGetFieldAccessorTable() {
        -      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_PrivateClusterConfig_fieldAccessorTable
        +      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
        +          .internal_static_google_cloud_orchestration_airflow_service_v1_PrivateClusterConfig_fieldAccessorTable
                   .ensureFieldAccessorsInitialized(
        -              com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig.class, com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig.Builder.class);
        +              com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig.class,
        +              com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig.Builder.class);
             }
         
        -    // Construct using com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig.newBuilder()
        +    // Construct using
        +    // com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig.newBuilder()
             private Builder() {
               maybeForceBuilderInitialization();
             }
         
        -    private Builder(
        -        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        +    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
               super(parent);
               maybeForceBuilderInitialization();
             }
        +
             private void maybeForceBuilderInitialization() {
        -      if (com.google.protobuf.GeneratedMessageV3
        -              .alwaysUseFieldBuilders) {
        -      }
        +      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
             }
        +
             @java.lang.Override
             public Builder clear() {
               super.clear();
        @@ -453,19 +492,22 @@ public Builder clear() {
             }
         
             @java.lang.Override
        -    public com.google.protobuf.Descriptors.Descriptor
        -        getDescriptorForType() {
        -      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_PrivateClusterConfig_descriptor;
        +    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
        +      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
        +          .internal_static_google_cloud_orchestration_airflow_service_v1_PrivateClusterConfig_descriptor;
             }
         
             @java.lang.Override
        -    public com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig getDefaultInstanceForType() {
        -      return com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig.getDefaultInstance();
        +    public com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig
        +        getDefaultInstanceForType() {
        +      return com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig
        +          .getDefaultInstance();
             }
         
             @java.lang.Override
             public com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig build() {
        -      com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig result = buildPartial();
        +      com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig result =
        +          buildPartial();
               if (!result.isInitialized()) {
                 throw newUninitializedMessageException(result);
               }
        @@ -474,7 +516,8 @@ public com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig bu
         
             @java.lang.Override
             public com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig buildPartial() {
        -      com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig result = new com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig(this);
        +      com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig result =
        +          new com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig(this);
               result.enablePrivateEndpoint_ = enablePrivateEndpoint_;
               result.masterIpv4CidrBlock_ = masterIpv4CidrBlock_;
               result.masterIpv4ReservedRange_ = masterIpv4ReservedRange_;
        @@ -486,46 +529,51 @@ public com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig bu
             public Builder clone() {
               return super.clone();
             }
        +
             @java.lang.Override
             public Builder setField(
        -        com.google.protobuf.Descriptors.FieldDescriptor field,
        -        java.lang.Object value) {
        +        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
               return super.setField(field, value);
             }
        +
             @java.lang.Override
        -    public Builder clearField(
        -        com.google.protobuf.Descriptors.FieldDescriptor field) {
        +    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
               return super.clearField(field);
             }
        +
             @java.lang.Override
        -    public Builder clearOneof(
        -        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        +    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
               return super.clearOneof(oneof);
             }
        +
             @java.lang.Override
             public Builder setRepeatedField(
        -        com.google.protobuf.Descriptors.FieldDescriptor field,
        -        int index, java.lang.Object value) {
        +        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
               return super.setRepeatedField(field, index, value);
             }
        +
             @java.lang.Override
             public Builder addRepeatedField(
        -        com.google.protobuf.Descriptors.FieldDescriptor field,
        -        java.lang.Object value) {
        +        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
               return super.addRepeatedField(field, value);
             }
        +
             @java.lang.Override
             public Builder mergeFrom(com.google.protobuf.Message other) {
               if (other instanceof com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig) {
        -        return mergeFrom((com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig)other);
        +        return mergeFrom(
        +            (com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig) other);
               } else {
                 super.mergeFrom(other);
                 return this;
               }
             }
         
        -    public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig other) {
        -      if (other == com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig.getDefaultInstance()) return this;
        +    public Builder mergeFrom(
        +        com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig other) {
        +      if (other
        +          == com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig
        +              .getDefaultInstance()) return this;
               if (other.getEnablePrivateEndpoint() != false) {
                 setEnablePrivateEndpoint(other.getEnablePrivateEndpoint());
               }
        @@ -556,7 +604,9 @@ public Builder mergeFrom(
               try {
                 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
               } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        -        parsedMessage = (com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig) e.getUnfinishedMessage();
        +        parsedMessage =
        +            (com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig)
        +                e.getUnfinishedMessage();
                 throw e.unwrapIOException();
               } finally {
                 if (parsedMessage != null) {
        @@ -566,14 +616,17 @@ public Builder mergeFrom(
               return this;
             }
         
        -    private boolean enablePrivateEndpoint_ ;
        +    private boolean enablePrivateEndpoint_;
             /**
        +     *
        +     *
              * 
              * Optional. If `true`, access to the public endpoint of the GKE cluster is
              * denied.
              * 
        * * bool enable_private_endpoint = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The enablePrivateEndpoint. */ @java.lang.Override @@ -581,32 +634,38 @@ public boolean getEnablePrivateEndpoint() { return enablePrivateEndpoint_; } /** + * + * *
              * Optional. If `true`, access to the public endpoint of the GKE cluster is
              * denied.
              * 
        * * bool enable_private_endpoint = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The enablePrivateEndpoint to set. * @return This builder for chaining. */ public Builder setEnablePrivateEndpoint(boolean value) { - + enablePrivateEndpoint_ = value; onChanged(); return this; } /** + * + * *
              * Optional. If `true`, access to the public endpoint of the GKE cluster is
              * denied.
              * 
        * * bool enable_private_endpoint = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearEnablePrivateEndpoint() { - + enablePrivateEndpoint_ = false; onChanged(); return this; @@ -614,19 +673,21 @@ public Builder clearEnablePrivateEndpoint() { private java.lang.Object masterIpv4CidrBlock_ = ""; /** + * + * *
              * Optional. The CIDR block from which IPv4 range for GKE master will be reserved. If
              * left blank, the default value of '172.16.0.0/23' is used.
              * 
        * * string master_ipv4_cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The masterIpv4CidrBlock. */ public java.lang.String getMasterIpv4CidrBlock() { java.lang.Object ref = masterIpv4CidrBlock_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); masterIpv4CidrBlock_ = s; return s; @@ -635,21 +696,22 @@ public java.lang.String getMasterIpv4CidrBlock() { } } /** + * + * *
              * Optional. The CIDR block from which IPv4 range for GKE master will be reserved. If
              * left blank, the default value of '172.16.0.0/23' is used.
              * 
        * * string master_ipv4_cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for masterIpv4CidrBlock. */ - public com.google.protobuf.ByteString - getMasterIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString getMasterIpv4CidrBlockBytes() { java.lang.Object ref = masterIpv4CidrBlock_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); masterIpv4CidrBlock_ = b; return b; } else { @@ -657,57 +719,64 @@ public java.lang.String getMasterIpv4CidrBlock() { } } /** + * + * *
              * Optional. The CIDR block from which IPv4 range for GKE master will be reserved. If
              * left blank, the default value of '172.16.0.0/23' is used.
              * 
        * * string master_ipv4_cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The masterIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setMasterIpv4CidrBlock( - java.lang.String value) { + public Builder setMasterIpv4CidrBlock(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + masterIpv4CidrBlock_ = value; onChanged(); return this; } /** + * + * *
              * Optional. The CIDR block from which IPv4 range for GKE master will be reserved. If
              * left blank, the default value of '172.16.0.0/23' is used.
              * 
        * * string master_ipv4_cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearMasterIpv4CidrBlock() { - + masterIpv4CidrBlock_ = getDefaultInstance().getMasterIpv4CidrBlock(); onChanged(); return this; } /** + * + * *
              * Optional. The CIDR block from which IPv4 range for GKE master will be reserved. If
              * left blank, the default value of '172.16.0.0/23' is used.
              * 
        * * string master_ipv4_cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for masterIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setMasterIpv4CidrBlockBytes( - com.google.protobuf.ByteString value) { + public Builder setMasterIpv4CidrBlockBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + masterIpv4CidrBlock_ = value; onChanged(); return this; @@ -715,6 +784,8 @@ public Builder setMasterIpv4CidrBlockBytes( private java.lang.Object masterIpv4ReservedRange_ = ""; /** + * + * *
              * Output only. The IP range in CIDR notation to use for the hosted master network. This
              * range is used for assigning internal IP addresses to the GKE cluster
        @@ -723,14 +794,15 @@ public Builder setMasterIpv4CidrBlockBytes(
              * within the cluster's network.
              * 
        * - * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The masterIpv4ReservedRange. */ public java.lang.String getMasterIpv4ReservedRange() { java.lang.Object ref = masterIpv4ReservedRange_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); masterIpv4ReservedRange_ = s; return s; @@ -739,6 +811,8 @@ public java.lang.String getMasterIpv4ReservedRange() { } } /** + * + * *
              * Output only. The IP range in CIDR notation to use for the hosted master network. This
              * range is used for assigning internal IP addresses to the GKE cluster
        @@ -747,16 +821,16 @@ public java.lang.String getMasterIpv4ReservedRange() {
              * within the cluster's network.
              * 
        * - * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bytes for masterIpv4ReservedRange. */ - public com.google.protobuf.ByteString - getMasterIpv4ReservedRangeBytes() { + public com.google.protobuf.ByteString getMasterIpv4ReservedRangeBytes() { java.lang.Object ref = masterIpv4ReservedRange_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); masterIpv4ReservedRange_ = b; return b; } else { @@ -764,6 +838,8 @@ public java.lang.String getMasterIpv4ReservedRange() { } } /** + * + * *
              * Output only. The IP range in CIDR notation to use for the hosted master network. This
              * range is used for assigning internal IP addresses to the GKE cluster
        @@ -772,21 +848,24 @@ public java.lang.String getMasterIpv4ReservedRange() {
              * within the cluster's network.
              * 
        * - * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The masterIpv4ReservedRange to set. * @return This builder for chaining. */ - public Builder setMasterIpv4ReservedRange( - java.lang.String value) { + public Builder setMasterIpv4ReservedRange(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + masterIpv4ReservedRange_ = value; onChanged(); return this; } /** + * + * *
              * Output only. The IP range in CIDR notation to use for the hosted master network. This
              * range is used for assigning internal IP addresses to the GKE cluster
        @@ -795,16 +874,20 @@ public Builder setMasterIpv4ReservedRange(
              * within the cluster's network.
              * 
        * - * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearMasterIpv4ReservedRange() { - + masterIpv4ReservedRange_ = getDefaultInstance().getMasterIpv4ReservedRange(); onChanged(); return this; } /** + * + * *
              * Output only. The IP range in CIDR notation to use for the hosted master network. This
              * range is used for assigning internal IP addresses to the GKE cluster
        @@ -813,24 +896,25 @@ public Builder clearMasterIpv4ReservedRange() {
              * within the cluster's network.
              * 
        * - * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The bytes for masterIpv4ReservedRange to set. * @return This builder for chaining. */ - public Builder setMasterIpv4ReservedRangeBytes( - com.google.protobuf.ByteString value) { + public Builder setMasterIpv4ReservedRangeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + masterIpv4ReservedRange_ = 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); } @@ -840,30 +924,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig) - private static final com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig DEFAULT_INSTANCE; + private static final com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig(); } - public static com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PrivateClusterConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PrivateClusterConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PrivateClusterConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PrivateClusterConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -875,9 +961,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateClusterConfigOrBuilder.java b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateClusterConfigOrBuilder.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateClusterConfigOrBuilder.java rename to proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateClusterConfigOrBuilder.java index 7dcebf7d..c6865b4e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateClusterConfigOrBuilder.java +++ b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateClusterConfigOrBuilder.java @@ -1,46 +1,72 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/orchestration/airflow/service/v1/environments.proto package com.google.cloud.orchestration.airflow.service.v1; -public interface PrivateClusterConfigOrBuilder extends +public interface PrivateClusterConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
            * Optional. If `true`, access to the public endpoint of the GKE cluster is
            * denied.
            * 
        * * bool enable_private_endpoint = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The enablePrivateEndpoint. */ boolean getEnablePrivateEndpoint(); /** + * + * *
            * Optional. The CIDR block from which IPv4 range for GKE master will be reserved. If
            * left blank, the default value of '172.16.0.0/23' is used.
            * 
        * * string master_ipv4_cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The masterIpv4CidrBlock. */ java.lang.String getMasterIpv4CidrBlock(); /** + * + * *
            * Optional. The CIDR block from which IPv4 range for GKE master will be reserved. If
            * left blank, the default value of '172.16.0.0/23' is used.
            * 
        * * string master_ipv4_cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for masterIpv4CidrBlock. */ - com.google.protobuf.ByteString - getMasterIpv4CidrBlockBytes(); + com.google.protobuf.ByteString getMasterIpv4CidrBlockBytes(); /** + * + * *
            * Output only. The IP range in CIDR notation to use for the hosted master network. This
            * range is used for assigning internal IP addresses to the GKE cluster
        @@ -49,11 +75,15 @@ public interface PrivateClusterConfigOrBuilder extends
            * within the cluster's network.
            * 
        * - * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The masterIpv4ReservedRange. */ java.lang.String getMasterIpv4ReservedRange(); /** + * + * *
            * Output only. The IP range in CIDR notation to use for the hosted master network. This
            * range is used for assigning internal IP addresses to the GKE cluster
        @@ -62,9 +92,10 @@ public interface PrivateClusterConfigOrBuilder extends
            * within the cluster's network.
            * 
        * - * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bytes for masterIpv4ReservedRange. */ - com.google.protobuf.ByteString - getMasterIpv4ReservedRangeBytes(); + com.google.protobuf.ByteString getMasterIpv4ReservedRangeBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateEnvironmentConfig.java b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateEnvironmentConfig.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateEnvironmentConfig.java rename to proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateEnvironmentConfig.java index 57b4d16c..b4f2de0a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateEnvironmentConfig.java +++ b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateEnvironmentConfig.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/orchestration/airflow/service/v1/environments.proto package com.google.cloud.orchestration.airflow.service.v1; /** + * + * *
          * The configuration information for configuring a Private IP Cloud Composer
          * environment.
        @@ -11,15 +28,16 @@
          *
          * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig}
          */
        -public final class PrivateEnvironmentConfig extends
        -    com.google.protobuf.GeneratedMessageV3 implements
        +public final class PrivateEnvironmentConfig extends com.google.protobuf.GeneratedMessageV3
        +    implements
             // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig)
             PrivateEnvironmentConfigOrBuilder {
        -private static final long serialVersionUID = 0L;
        +  private static final long serialVersionUID = 0L;
           // Use PrivateEnvironmentConfig.newBuilder() to construct.
           private PrivateEnvironmentConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
             super(builder);
           }
        +
           private PrivateEnvironmentConfig() {
             webServerIpv4CidrBlock_ = "";
             cloudSqlIpv4CidrBlock_ = "";
        @@ -28,16 +46,15 @@ private PrivateEnvironmentConfig() {
         
           @java.lang.Override
           @SuppressWarnings({"unused"})
        -  protected java.lang.Object newInstance(
        -      UnusedPrivateParameter unused) {
        +  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
             return new PrivateEnvironmentConfig();
           }
         
           @java.lang.Override
        -  public final com.google.protobuf.UnknownFieldSet
        -  getUnknownFields() {
        +  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
             return this.unknownFields;
           }
        +
           private PrivateEnvironmentConfig(
               com.google.protobuf.CodedInputStream input,
               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        @@ -56,49 +73,58 @@ private PrivateEnvironmentConfig(
                   case 0:
                     done = true;
                     break;
        -          case 8: {
        -
        -            enablePrivateEnvironment_ = input.readBool();
        -            break;
        -          }
        -          case 18: {
        -            com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig.Builder subBuilder = null;
        -            if (privateClusterConfig_ != null) {
        -              subBuilder = privateClusterConfig_.toBuilder();
        -            }
        -            privateClusterConfig_ = input.readMessage(com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig.parser(), extensionRegistry);
        -            if (subBuilder != null) {
        -              subBuilder.mergeFrom(privateClusterConfig_);
        -              privateClusterConfig_ = subBuilder.buildPartial();
        +          case 8:
        +            {
        +              enablePrivateEnvironment_ = input.readBool();
        +              break;
                     }
        +          case 18:
        +            {
        +              com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig.Builder
        +                  subBuilder = null;
        +              if (privateClusterConfig_ != null) {
        +                subBuilder = privateClusterConfig_.toBuilder();
        +              }
        +              privateClusterConfig_ =
        +                  input.readMessage(
        +                      com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig
        +                          .parser(),
        +                      extensionRegistry);
        +              if (subBuilder != null) {
        +                subBuilder.mergeFrom(privateClusterConfig_);
        +                privateClusterConfig_ = subBuilder.buildPartial();
        +              }
         
        -            break;
        -          }
        -          case 26: {
        -            java.lang.String s = input.readStringRequireUtf8();
        +              break;
        +            }
        +          case 26:
        +            {
        +              java.lang.String s = input.readStringRequireUtf8();
         
        -            webServerIpv4CidrBlock_ = s;
        -            break;
        -          }
        -          case 34: {
        -            java.lang.String s = input.readStringRequireUtf8();
        +              webServerIpv4CidrBlock_ = s;
        +              break;
        +            }
        +          case 34:
        +            {
        +              java.lang.String s = input.readStringRequireUtf8();
         
        -            cloudSqlIpv4CidrBlock_ = s;
        -            break;
        -          }
        -          case 42: {
        -            java.lang.String s = input.readStringRequireUtf8();
        +              cloudSqlIpv4CidrBlock_ = s;
        +              break;
        +            }
        +          case 42:
        +            {
        +              java.lang.String s = input.readStringRequireUtf8();
         
        -            webServerIpv4ReservedRange_ = s;
        -            break;
        -          }
        -          default: {
        -            if (!parseUnknownField(
        -                input, unknownFields, extensionRegistry, tag)) {
        -              done = true;
        +              webServerIpv4ReservedRange_ = s;
        +              break;
        +            }
        +          default:
        +            {
        +              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
        +                done = true;
        +              }
        +              break;
                     }
        -            break;
        -          }
                 }
               }
             } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        @@ -106,29 +132,34 @@ private PrivateEnvironmentConfig(
             } catch (com.google.protobuf.UninitializedMessageException e) {
               throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
             } catch (java.io.IOException e) {
        -      throw new com.google.protobuf.InvalidProtocolBufferException(
        -          e).setUnfinishedMessage(this);
        +      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
             } finally {
               this.unknownFields = unknownFields.build();
               makeExtensionsImmutable();
             }
           }
        -  public static final com.google.protobuf.Descriptors.Descriptor
        -      getDescriptor() {
        -    return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_PrivateEnvironmentConfig_descriptor;
        +
        +  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        +    return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
        +        .internal_static_google_cloud_orchestration_airflow_service_v1_PrivateEnvironmentConfig_descriptor;
           }
         
           @java.lang.Override
           protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
               internalGetFieldAccessorTable() {
        -    return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_PrivateEnvironmentConfig_fieldAccessorTable
        +    return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
        +        .internal_static_google_cloud_orchestration_airflow_service_v1_PrivateEnvironmentConfig_fieldAccessorTable
                 .ensureFieldAccessorsInitialized(
        -            com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig.class, com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig.Builder.class);
        +            com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig.class,
        +            com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig.Builder
        +                .class);
           }
         
           public static final int ENABLE_PRIVATE_ENVIRONMENT_FIELD_NUMBER = 1;
           private boolean enablePrivateEnvironment_;
           /**
        +   *
        +   *
            * 
            * Optional. If `true`, a Private IP Cloud Composer environment is created.
            * If this field is set to true, `IPAllocationPolicy.use_ip_aliases` must be
        @@ -136,6 +167,7 @@ private PrivateEnvironmentConfig(
            * 
        * * bool enable_private_environment = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The enablePrivateEnvironment. */ @java.lang.Override @@ -144,14 +176,20 @@ public boolean getEnablePrivateEnvironment() { } public static final int PRIVATE_CLUSTER_CONFIG_FIELD_NUMBER = 2; - private com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig privateClusterConfig_; + private com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig + privateClusterConfig_; /** + * + * *
            * Optional. Configuration for the private GKE cluster for a Private IP
            * Cloud Composer environment.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the privateClusterConfig field is set. */ @java.lang.Override @@ -159,34 +197,50 @@ public boolean hasPrivateClusterConfig() { return privateClusterConfig_ != null; } /** + * + * *
            * Optional. Configuration for the private GKE cluster for a Private IP
            * Cloud Composer environment.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The privateClusterConfig. */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig getPrivateClusterConfig() { - return privateClusterConfig_ == null ? com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig.getDefaultInstance() : privateClusterConfig_; + public com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig + getPrivateClusterConfig() { + return privateClusterConfig_ == null + ? com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig + .getDefaultInstance() + : privateClusterConfig_; } /** + * + * *
            * Optional. Configuration for the private GKE cluster for a Private IP
            * Cloud Composer environment.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfigOrBuilder getPrivateClusterConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfigOrBuilder + getPrivateClusterConfigOrBuilder() { return getPrivateClusterConfig(); } public static final int WEB_SERVER_IPV4_CIDR_BLOCK_FIELD_NUMBER = 3; private volatile java.lang.Object webServerIpv4CidrBlock_; /** + * + * *
            * Optional. The CIDR block from which IP range for web server will be reserved. Needs
            * to be disjoint from `private_cluster_config.master_ipv4_cidr_block` and
        @@ -194,6 +248,7 @@ public com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfigOrB
            * 
        * * string web_server_ipv4_cidr_block = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The webServerIpv4CidrBlock. */ @java.lang.Override @@ -202,14 +257,15 @@ public java.lang.String getWebServerIpv4CidrBlock() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); webServerIpv4CidrBlock_ = s; return s; } } /** + * + * *
            * Optional. The CIDR block from which IP range for web server will be reserved. Needs
            * to be disjoint from `private_cluster_config.master_ipv4_cidr_block` and
        @@ -217,16 +273,15 @@ public java.lang.String getWebServerIpv4CidrBlock() {
            * 
        * * string web_server_ipv4_cidr_block = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for webServerIpv4CidrBlock. */ @java.lang.Override - public com.google.protobuf.ByteString - getWebServerIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString getWebServerIpv4CidrBlockBytes() { java.lang.Object ref = webServerIpv4CidrBlock_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); webServerIpv4CidrBlock_ = b; return b; } else { @@ -237,12 +292,15 @@ public java.lang.String getWebServerIpv4CidrBlock() { public static final int CLOUD_SQL_IPV4_CIDR_BLOCK_FIELD_NUMBER = 4; private volatile java.lang.Object cloudSqlIpv4CidrBlock_; /** + * + * *
            * Optional. The CIDR block from which IP range in tenant project will be reserved for
            * Cloud SQL. Needs to be disjoint from `web_server_ipv4_cidr_block`.
            * 
        * * string cloud_sql_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The cloudSqlIpv4CidrBlock. */ @java.lang.Override @@ -251,30 +309,30 @@ public java.lang.String getCloudSqlIpv4CidrBlock() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cloudSqlIpv4CidrBlock_ = s; return s; } } /** + * + * *
            * Optional. The CIDR block from which IP range in tenant project will be reserved for
            * Cloud SQL. Needs to be disjoint from `web_server_ipv4_cidr_block`.
            * 
        * * string cloud_sql_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for cloudSqlIpv4CidrBlock. */ @java.lang.Override - public com.google.protobuf.ByteString - getCloudSqlIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString getCloudSqlIpv4CidrBlockBytes() { java.lang.Object ref = cloudSqlIpv4CidrBlock_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); cloudSqlIpv4CidrBlock_ = b; return b; } else { @@ -285,11 +343,15 @@ public java.lang.String getCloudSqlIpv4CidrBlock() { public static final int WEB_SERVER_IPV4_RESERVED_RANGE_FIELD_NUMBER = 5; private volatile java.lang.Object webServerIpv4ReservedRange_; /** + * + * *
            * Output only. The IP range reserved for the tenant project's App Engine VMs.
            * 
        * - * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The webServerIpv4ReservedRange. */ @java.lang.Override @@ -298,29 +360,30 @@ public java.lang.String getWebServerIpv4ReservedRange() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); webServerIpv4ReservedRange_ = s; return s; } } /** + * + * *
            * Output only. The IP range reserved for the tenant project's App Engine VMs.
            * 
        * - * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bytes for webServerIpv4ReservedRange. */ @java.lang.Override - public com.google.protobuf.ByteString - getWebServerIpv4ReservedRangeBytes() { + public com.google.protobuf.ByteString getWebServerIpv4ReservedRangeBytes() { java.lang.Object ref = webServerIpv4ReservedRange_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); webServerIpv4ReservedRange_ = b; return b; } else { @@ -329,6 +392,7 @@ public java.lang.String getWebServerIpv4ReservedRange() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -340,8 +404,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enablePrivateEnvironment_ != false) { output.writeBool(1, enablePrivateEnvironment_); } @@ -367,12 +430,11 @@ public int getSerializedSize() { size = 0; if (enablePrivateEnvironment_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enablePrivateEnvironment_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enablePrivateEnvironment_); } if (privateClusterConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getPrivateClusterConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(2, getPrivateClusterConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(webServerIpv4CidrBlock_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, webServerIpv4CidrBlock_); @@ -381,7 +443,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, cloudSqlIpv4CidrBlock_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(webServerIpv4ReservedRange_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, webServerIpv4ReservedRange_); + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize(5, webServerIpv4ReservedRange_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -391,26 +454,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig)) { + if (!(obj + instanceof com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig other = (com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig) obj; + com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig other = + (com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig) obj; - if (getEnablePrivateEnvironment() - != other.getEnablePrivateEnvironment()) return false; + if (getEnablePrivateEnvironment() != other.getEnablePrivateEnvironment()) return false; if (hasPrivateClusterConfig() != other.hasPrivateClusterConfig()) return false; if (hasPrivateClusterConfig()) { - if (!getPrivateClusterConfig() - .equals(other.getPrivateClusterConfig())) return false; - } - if (!getWebServerIpv4CidrBlock() - .equals(other.getWebServerIpv4CidrBlock())) return false; - if (!getCloudSqlIpv4CidrBlock() - .equals(other.getCloudSqlIpv4CidrBlock())) return false; - if (!getWebServerIpv4ReservedRange() - .equals(other.getWebServerIpv4ReservedRange())) return false; + if (!getPrivateClusterConfig().equals(other.getPrivateClusterConfig())) return false; + } + if (!getWebServerIpv4CidrBlock().equals(other.getWebServerIpv4CidrBlock())) return false; + if (!getCloudSqlIpv4CidrBlock().equals(other.getCloudSqlIpv4CidrBlock())) return false; + if (!getWebServerIpv4ReservedRange().equals(other.getWebServerIpv4ReservedRange())) + return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -423,8 +484,7 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLE_PRIVATE_ENVIRONMENT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnablePrivateEnvironment()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnablePrivateEnvironment()); if (hasPrivateClusterConfig()) { hash = (37 * hash) + PRIVATE_CLUSTER_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getPrivateClusterConfig().hashCode(); @@ -440,97 +500,111 @@ public int hashCode() { return hash; } - public static com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig 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.orchestration.airflow.service.v1.PrivateEnvironmentConfig + 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.orchestration.airflow.service.v1.PrivateEnvironmentConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 configuration information for configuring a Private IP Cloud Composer
            * environment.
        @@ -538,38 +612,41 @@ protected Builder newBuilderForType(
            *
            * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig}
            */
        -  public static final class Builder extends
        -      com.google.protobuf.GeneratedMessageV3.Builder implements
        +  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
        +      implements
               // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig)
               com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfigOrBuilder {
        -    public static final com.google.protobuf.Descriptors.Descriptor
        -        getDescriptor() {
        -      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_PrivateEnvironmentConfig_descriptor;
        +    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        +      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
        +          .internal_static_google_cloud_orchestration_airflow_service_v1_PrivateEnvironmentConfig_descriptor;
             }
         
             @java.lang.Override
             protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
                 internalGetFieldAccessorTable() {
        -      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_PrivateEnvironmentConfig_fieldAccessorTable
        +      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
        +          .internal_static_google_cloud_orchestration_airflow_service_v1_PrivateEnvironmentConfig_fieldAccessorTable
                   .ensureFieldAccessorsInitialized(
        -              com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig.class, com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig.Builder.class);
        +              com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig.class,
        +              com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig.Builder
        +                  .class);
             }
         
        -    // Construct using com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig.newBuilder()
        +    // Construct using
        +    // com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig.newBuilder()
             private Builder() {
               maybeForceBuilderInitialization();
             }
         
        -    private Builder(
        -        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        +    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
               super(parent);
               maybeForceBuilderInitialization();
             }
        +
             private void maybeForceBuilderInitialization() {
        -      if (com.google.protobuf.GeneratedMessageV3
        -              .alwaysUseFieldBuilders) {
        -      }
        +      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
             }
        +
             @java.lang.Override
             public Builder clear() {
               super.clear();
        @@ -591,19 +668,22 @@ public Builder clear() {
             }
         
             @java.lang.Override
        -    public com.google.protobuf.Descriptors.Descriptor
        -        getDescriptorForType() {
        -      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_PrivateEnvironmentConfig_descriptor;
        +    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
        +      return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
        +          .internal_static_google_cloud_orchestration_airflow_service_v1_PrivateEnvironmentConfig_descriptor;
             }
         
             @java.lang.Override
        -    public com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig getDefaultInstanceForType() {
        -      return com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig.getDefaultInstance();
        +    public com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig
        +        getDefaultInstanceForType() {
        +      return com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig
        +          .getDefaultInstance();
             }
         
             @java.lang.Override
             public com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig build() {
        -      com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig result = buildPartial();
        +      com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig result =
        +          buildPartial();
               if (!result.isInitialized()) {
                 throw newUninitializedMessageException(result);
               }
        @@ -611,8 +691,10 @@ public com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfi
             }
         
             @java.lang.Override
        -    public com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig buildPartial() {
        -      com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig result = new com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig(this);
        +    public com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig
        +        buildPartial() {
        +      com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig result =
        +          new com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig(this);
               result.enablePrivateEnvironment_ = enablePrivateEnvironment_;
               if (privateClusterConfigBuilder_ == null) {
                 result.privateClusterConfig_ = privateClusterConfig_;
        @@ -630,46 +712,52 @@ public com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfi
             public Builder clone() {
               return super.clone();
             }
        +
             @java.lang.Override
             public Builder setField(
        -        com.google.protobuf.Descriptors.FieldDescriptor field,
        -        java.lang.Object value) {
        +        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
               return super.setField(field, value);
             }
        +
             @java.lang.Override
        -    public Builder clearField(
        -        com.google.protobuf.Descriptors.FieldDescriptor field) {
        +    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
               return super.clearField(field);
             }
        +
             @java.lang.Override
        -    public Builder clearOneof(
        -        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        +    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
               return super.clearOneof(oneof);
             }
        +
             @java.lang.Override
             public Builder setRepeatedField(
        -        com.google.protobuf.Descriptors.FieldDescriptor field,
        -        int index, java.lang.Object value) {
        +        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
               return super.setRepeatedField(field, index, value);
             }
        +
             @java.lang.Override
             public Builder addRepeatedField(
        -        com.google.protobuf.Descriptors.FieldDescriptor field,
        -        java.lang.Object value) {
        +        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
               return super.addRepeatedField(field, value);
             }
        +
             @java.lang.Override
             public Builder mergeFrom(com.google.protobuf.Message other) {
        -      if (other instanceof com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig) {
        -        return mergeFrom((com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig)other);
        +      if (other
        +          instanceof com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig) {
        +        return mergeFrom(
        +            (com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig) other);
               } else {
                 super.mergeFrom(other);
                 return this;
               }
             }
         
        -    public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig other) {
        -      if (other == com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig.getDefaultInstance()) return this;
        +    public Builder mergeFrom(
        +        com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig other) {
        +      if (other
        +          == com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig
        +              .getDefaultInstance()) return this;
               if (other.getEnablePrivateEnvironment() != false) {
                 setEnablePrivateEnvironment(other.getEnablePrivateEnvironment());
               }
        @@ -703,11 +791,14 @@ public Builder mergeFrom(
                 com.google.protobuf.CodedInputStream input,
                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                 throws java.io.IOException {
        -      com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig parsedMessage = null;
        +      com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig parsedMessage =
        +          null;
               try {
                 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
               } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        -        parsedMessage = (com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig) e.getUnfinishedMessage();
        +        parsedMessage =
        +            (com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig)
        +                e.getUnfinishedMessage();
                 throw e.unwrapIOException();
               } finally {
                 if (parsedMessage != null) {
        @@ -717,8 +808,10 @@ public Builder mergeFrom(
               return this;
             }
         
        -    private boolean enablePrivateEnvironment_ ;
        +    private boolean enablePrivateEnvironment_;
             /**
        +     *
        +     *
              * 
              * Optional. If `true`, a Private IP Cloud Composer environment is created.
              * If this field is set to true, `IPAllocationPolicy.use_ip_aliases` must be
        @@ -726,6 +819,7 @@ public Builder mergeFrom(
              * 
        * * bool enable_private_environment = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The enablePrivateEnvironment. */ @java.lang.Override @@ -733,6 +827,8 @@ public boolean getEnablePrivateEnvironment() { return enablePrivateEnvironment_; } /** + * + * *
              * Optional. If `true`, a Private IP Cloud Composer environment is created.
              * If this field is set to true, `IPAllocationPolicy.use_ip_aliases` must be
        @@ -740,16 +836,19 @@ public boolean getEnablePrivateEnvironment() {
              * 
        * * bool enable_private_environment = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The enablePrivateEnvironment to set. * @return This builder for chaining. */ public Builder setEnablePrivateEnvironment(boolean value) { - + enablePrivateEnvironment_ = value; onChanged(); return this; } /** + * + * *
              * Optional. If `true`, a Private IP Cloud Composer environment is created.
              * If this field is set to true, `IPAllocationPolicy.use_ip_aliases` must be
        @@ -757,55 +856,79 @@ public Builder setEnablePrivateEnvironment(boolean value) {
              * 
        * * bool enable_private_environment = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearEnablePrivateEnvironment() { - + enablePrivateEnvironment_ = false; onChanged(); return this; } - private com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig privateClusterConfig_; + private com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig + privateClusterConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig, com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig.Builder, com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfigOrBuilder> privateClusterConfigBuilder_; + com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig, + com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig.Builder, + com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfigOrBuilder> + privateClusterConfigBuilder_; /** + * + * *
              * Optional. Configuration for the private GKE cluster for a Private IP
              * Cloud Composer environment.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the privateClusterConfig field is set. */ public boolean hasPrivateClusterConfig() { return privateClusterConfigBuilder_ != null || privateClusterConfig_ != null; } /** + * + * *
              * Optional. Configuration for the private GKE cluster for a Private IP
              * Cloud Composer environment.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The privateClusterConfig. */ - public com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig getPrivateClusterConfig() { + public com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig + getPrivateClusterConfig() { if (privateClusterConfigBuilder_ == null) { - return privateClusterConfig_ == null ? com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig.getDefaultInstance() : privateClusterConfig_; + return privateClusterConfig_ == null + ? com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig + .getDefaultInstance() + : privateClusterConfig_; } else { return privateClusterConfigBuilder_.getMessage(); } } /** + * + * *
              * Optional. Configuration for the private GKE cluster for a Private IP
              * Cloud Composer environment.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setPrivateClusterConfig(com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig value) { + public Builder setPrivateClusterConfig( + com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig value) { if (privateClusterConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -819,15 +942,20 @@ public Builder setPrivateClusterConfig(com.google.cloud.orchestration.airflow.se return this; } /** + * + * *
              * Optional. Configuration for the private GKE cluster for a Private IP
              * Cloud Composer environment.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setPrivateClusterConfig( - com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig.Builder builderForValue) { + com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig.Builder + builderForValue) { if (privateClusterConfigBuilder_ == null) { privateClusterConfig_ = builderForValue.build(); onChanged(); @@ -838,18 +966,26 @@ public Builder setPrivateClusterConfig( return this; } /** + * + * *
              * Optional. Configuration for the private GKE cluster for a Private IP
              * Cloud Composer environment.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergePrivateClusterConfig(com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig value) { + public Builder mergePrivateClusterConfig( + com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig value) { if (privateClusterConfigBuilder_ == null) { if (privateClusterConfig_ != null) { privateClusterConfig_ = - com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig.newBuilder(privateClusterConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig.newBuilder( + privateClusterConfig_) + .mergeFrom(value) + .buildPartial(); } else { privateClusterConfig_ = value; } @@ -861,12 +997,16 @@ public Builder mergePrivateClusterConfig(com.google.cloud.orchestration.airflow. return this; } /** + * + * *
              * Optional. Configuration for the private GKE cluster for a Private IP
              * Cloud Composer environment.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearPrivateClusterConfig() { if (privateClusterConfigBuilder_ == null) { @@ -880,51 +1020,70 @@ public Builder clearPrivateClusterConfig() { return this; } /** + * + * *
              * Optional. Configuration for the private GKE cluster for a Private IP
              * Cloud Composer environment.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig.Builder getPrivateClusterConfigBuilder() { - + public com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig.Builder + getPrivateClusterConfigBuilder() { + onChanged(); return getPrivateClusterConfigFieldBuilder().getBuilder(); } /** + * + * *
              * Optional. Configuration for the private GKE cluster for a Private IP
              * Cloud Composer environment.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfigOrBuilder getPrivateClusterConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfigOrBuilder + getPrivateClusterConfigOrBuilder() { if (privateClusterConfigBuilder_ != null) { return privateClusterConfigBuilder_.getMessageOrBuilder(); } else { - return privateClusterConfig_ == null ? - com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig.getDefaultInstance() : privateClusterConfig_; + return privateClusterConfig_ == null + ? com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig + .getDefaultInstance() + : privateClusterConfig_; } } /** + * + * *
              * Optional. Configuration for the private GKE cluster for a Private IP
              * Cloud Composer environment.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig, com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig.Builder, com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfigOrBuilder> + com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig, + com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig.Builder, + com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfigOrBuilder> getPrivateClusterConfigFieldBuilder() { if (privateClusterConfigBuilder_ == null) { - privateClusterConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig, com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig.Builder, com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfigOrBuilder>( - getPrivateClusterConfig(), - getParentForChildren(), - isClean()); + privateClusterConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig, + com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig.Builder, + com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfigOrBuilder>( + getPrivateClusterConfig(), getParentForChildren(), isClean()); privateClusterConfig_ = null; } return privateClusterConfigBuilder_; @@ -932,6 +1091,8 @@ public com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfigOrB private java.lang.Object webServerIpv4CidrBlock_ = ""; /** + * + * *
              * Optional. The CIDR block from which IP range for web server will be reserved. Needs
              * to be disjoint from `private_cluster_config.master_ipv4_cidr_block` and
        @@ -939,13 +1100,13 @@ public com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfigOrB
              * 
        * * string web_server_ipv4_cidr_block = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The webServerIpv4CidrBlock. */ public java.lang.String getWebServerIpv4CidrBlock() { java.lang.Object ref = webServerIpv4CidrBlock_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); webServerIpv4CidrBlock_ = s; return s; @@ -954,6 +1115,8 @@ public java.lang.String getWebServerIpv4CidrBlock() { } } /** + * + * *
              * Optional. The CIDR block from which IP range for web server will be reserved. Needs
              * to be disjoint from `private_cluster_config.master_ipv4_cidr_block` and
        @@ -961,15 +1124,14 @@ public java.lang.String getWebServerIpv4CidrBlock() {
              * 
        * * string web_server_ipv4_cidr_block = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for webServerIpv4CidrBlock. */ - public com.google.protobuf.ByteString - getWebServerIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString getWebServerIpv4CidrBlockBytes() { java.lang.Object ref = webServerIpv4CidrBlock_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); webServerIpv4CidrBlock_ = b; return b; } else { @@ -977,6 +1139,8 @@ public java.lang.String getWebServerIpv4CidrBlock() { } } /** + * + * *
              * Optional. The CIDR block from which IP range for web server will be reserved. Needs
              * to be disjoint from `private_cluster_config.master_ipv4_cidr_block` and
        @@ -984,20 +1148,22 @@ public java.lang.String getWebServerIpv4CidrBlock() {
              * 
        * * string web_server_ipv4_cidr_block = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The webServerIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setWebServerIpv4CidrBlock( - java.lang.String value) { + public Builder setWebServerIpv4CidrBlock(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + webServerIpv4CidrBlock_ = value; onChanged(); return this; } /** + * + * *
              * Optional. The CIDR block from which IP range for web server will be reserved. Needs
              * to be disjoint from `private_cluster_config.master_ipv4_cidr_block` and
        @@ -1005,15 +1171,18 @@ public Builder setWebServerIpv4CidrBlock(
              * 
        * * string web_server_ipv4_cidr_block = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearWebServerIpv4CidrBlock() { - + webServerIpv4CidrBlock_ = getDefaultInstance().getWebServerIpv4CidrBlock(); onChanged(); return this; } /** + * + * *
              * Optional. The CIDR block from which IP range for web server will be reserved. Needs
              * to be disjoint from `private_cluster_config.master_ipv4_cidr_block` and
        @@ -1021,16 +1190,16 @@ public Builder clearWebServerIpv4CidrBlock() {
              * 
        * * string web_server_ipv4_cidr_block = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for webServerIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setWebServerIpv4CidrBlockBytes( - com.google.protobuf.ByteString value) { + public Builder setWebServerIpv4CidrBlockBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + webServerIpv4CidrBlock_ = value; onChanged(); return this; @@ -1038,19 +1207,21 @@ public Builder setWebServerIpv4CidrBlockBytes( private java.lang.Object cloudSqlIpv4CidrBlock_ = ""; /** + * + * *
              * Optional. The CIDR block from which IP range in tenant project will be reserved for
              * Cloud SQL. Needs to be disjoint from `web_server_ipv4_cidr_block`.
              * 
        * * string cloud_sql_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The cloudSqlIpv4CidrBlock. */ public java.lang.String getCloudSqlIpv4CidrBlock() { java.lang.Object ref = cloudSqlIpv4CidrBlock_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cloudSqlIpv4CidrBlock_ = s; return s; @@ -1059,21 +1230,22 @@ public java.lang.String getCloudSqlIpv4CidrBlock() { } } /** + * + * *
              * Optional. The CIDR block from which IP range in tenant project will be reserved for
              * Cloud SQL. Needs to be disjoint from `web_server_ipv4_cidr_block`.
              * 
        * * string cloud_sql_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for cloudSqlIpv4CidrBlock. */ - public com.google.protobuf.ByteString - getCloudSqlIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString getCloudSqlIpv4CidrBlockBytes() { java.lang.Object ref = cloudSqlIpv4CidrBlock_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); cloudSqlIpv4CidrBlock_ = b; return b; } else { @@ -1081,57 +1253,64 @@ public java.lang.String getCloudSqlIpv4CidrBlock() { } } /** + * + * *
              * Optional. The CIDR block from which IP range in tenant project will be reserved for
              * Cloud SQL. Needs to be disjoint from `web_server_ipv4_cidr_block`.
              * 
        * * string cloud_sql_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The cloudSqlIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setCloudSqlIpv4CidrBlock( - java.lang.String value) { + public Builder setCloudSqlIpv4CidrBlock(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + cloudSqlIpv4CidrBlock_ = value; onChanged(); return this; } /** + * + * *
              * Optional. The CIDR block from which IP range in tenant project will be reserved for
              * Cloud SQL. Needs to be disjoint from `web_server_ipv4_cidr_block`.
              * 
        * * string cloud_sql_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearCloudSqlIpv4CidrBlock() { - + cloudSqlIpv4CidrBlock_ = getDefaultInstance().getCloudSqlIpv4CidrBlock(); onChanged(); return this; } /** + * + * *
              * Optional. The CIDR block from which IP range in tenant project will be reserved for
              * Cloud SQL. Needs to be disjoint from `web_server_ipv4_cidr_block`.
              * 
        * * string cloud_sql_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for cloudSqlIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setCloudSqlIpv4CidrBlockBytes( - com.google.protobuf.ByteString value) { + public Builder setCloudSqlIpv4CidrBlockBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + cloudSqlIpv4CidrBlock_ = value; onChanged(); return this; @@ -1139,18 +1318,21 @@ public Builder setCloudSqlIpv4CidrBlockBytes( private java.lang.Object webServerIpv4ReservedRange_ = ""; /** + * + * *
              * Output only. The IP range reserved for the tenant project's App Engine VMs.
              * 
        * - * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The webServerIpv4ReservedRange. */ public java.lang.String getWebServerIpv4ReservedRange() { java.lang.Object ref = webServerIpv4ReservedRange_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); webServerIpv4ReservedRange_ = s; return s; @@ -1159,20 +1341,22 @@ public java.lang.String getWebServerIpv4ReservedRange() { } } /** + * + * *
              * Output only. The IP range reserved for the tenant project's App Engine VMs.
              * 
        * - * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bytes for webServerIpv4ReservedRange. */ - public com.google.protobuf.ByteString - getWebServerIpv4ReservedRangeBytes() { + public com.google.protobuf.ByteString getWebServerIpv4ReservedRangeBytes() { java.lang.Object ref = webServerIpv4ReservedRange_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); webServerIpv4ReservedRange_ = b; return b; } else { @@ -1180,61 +1364,71 @@ public java.lang.String getWebServerIpv4ReservedRange() { } } /** + * + * *
              * Output only. The IP range reserved for the tenant project's App Engine VMs.
              * 
        * - * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The webServerIpv4ReservedRange to set. * @return This builder for chaining. */ - public Builder setWebServerIpv4ReservedRange( - java.lang.String value) { + public Builder setWebServerIpv4ReservedRange(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + webServerIpv4ReservedRange_ = value; onChanged(); return this; } /** + * + * *
              * Output only. The IP range reserved for the tenant project's App Engine VMs.
              * 
        * - * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearWebServerIpv4ReservedRange() { - + webServerIpv4ReservedRange_ = getDefaultInstance().getWebServerIpv4ReservedRange(); onChanged(); return this; } /** + * + * *
              * Output only. The IP range reserved for the tenant project's App Engine VMs.
              * 
        * - * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The bytes for webServerIpv4ReservedRange to set. * @return This builder for chaining. */ - public Builder setWebServerIpv4ReservedRangeBytes( - com.google.protobuf.ByteString value) { + public Builder setWebServerIpv4ReservedRangeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + webServerIpv4ReservedRange_ = 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,30 +1438,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig) - private static final com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig DEFAULT_INSTANCE; + private static final com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig(); + DEFAULT_INSTANCE = + new com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig(); } - public static com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PrivateEnvironmentConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PrivateEnvironmentConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PrivateEnvironmentConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PrivateEnvironmentConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1279,9 +1476,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateEnvironmentConfigOrBuilder.java b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateEnvironmentConfigOrBuilder.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateEnvironmentConfigOrBuilder.java rename to proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateEnvironmentConfigOrBuilder.java index ac9702cb..b68d8c17 100644 --- a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateEnvironmentConfigOrBuilder.java +++ b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateEnvironmentConfigOrBuilder.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/orchestration/airflow/service/v1/environments.proto package com.google.cloud.orchestration.airflow.service.v1; -public interface PrivateEnvironmentConfigOrBuilder extends +public interface PrivateEnvironmentConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
            * Optional. If `true`, a Private IP Cloud Composer environment is created.
            * If this field is set to true, `IPAllocationPolicy.use_ip_aliases` must be
        @@ -15,41 +33,59 @@ public interface PrivateEnvironmentConfigOrBuilder extends
            * 
        * * bool enable_private_environment = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The enablePrivateEnvironment. */ boolean getEnablePrivateEnvironment(); /** + * + * *
            * Optional. Configuration for the private GKE cluster for a Private IP
            * Cloud Composer environment.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the privateClusterConfig field is set. */ boolean hasPrivateClusterConfig(); /** + * + * *
            * Optional. Configuration for the private GKE cluster for a Private IP
            * Cloud Composer environment.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The privateClusterConfig. */ com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig getPrivateClusterConfig(); /** + * + * *
            * Optional. Configuration for the private GKE cluster for a Private IP
            * Cloud Composer environment.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfigOrBuilder getPrivateClusterConfigOrBuilder(); + com.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfigOrBuilder + getPrivateClusterConfigOrBuilder(); /** + * + * *
            * Optional. The CIDR block from which IP range for web server will be reserved. Needs
            * to be disjoint from `private_cluster_config.master_ipv4_cidr_block` and
        @@ -57,10 +93,13 @@ public interface PrivateEnvironmentConfigOrBuilder extends
            * 
        * * string web_server_ipv4_cidr_block = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The webServerIpv4CidrBlock. */ java.lang.String getWebServerIpv4CidrBlock(); /** + * + * *
            * Optional. The CIDR block from which IP range for web server will be reserved. Needs
            * to be disjoint from `private_cluster_config.master_ipv4_cidr_block` and
        @@ -68,50 +107,62 @@ public interface PrivateEnvironmentConfigOrBuilder extends
            * 
        * * string web_server_ipv4_cidr_block = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for webServerIpv4CidrBlock. */ - com.google.protobuf.ByteString - getWebServerIpv4CidrBlockBytes(); + com.google.protobuf.ByteString getWebServerIpv4CidrBlockBytes(); /** + * + * *
            * Optional. The CIDR block from which IP range in tenant project will be reserved for
            * Cloud SQL. Needs to be disjoint from `web_server_ipv4_cidr_block`.
            * 
        * * string cloud_sql_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The cloudSqlIpv4CidrBlock. */ java.lang.String getCloudSqlIpv4CidrBlock(); /** + * + * *
            * Optional. The CIDR block from which IP range in tenant project will be reserved for
            * Cloud SQL. Needs to be disjoint from `web_server_ipv4_cidr_block`.
            * 
        * * string cloud_sql_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for cloudSqlIpv4CidrBlock. */ - com.google.protobuf.ByteString - getCloudSqlIpv4CidrBlockBytes(); + com.google.protobuf.ByteString getCloudSqlIpv4CidrBlockBytes(); /** + * + * *
            * Output only. The IP range reserved for the tenant project's App Engine VMs.
            * 
        * - * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The webServerIpv4ReservedRange. */ java.lang.String getWebServerIpv4ReservedRange(); /** + * + * *
            * Output only. The IP range reserved for the tenant project's App Engine VMs.
            * 
        * - * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bytes for webServerIpv4ReservedRange. */ - com.google.protobuf.ByteString - getWebServerIpv4ReservedRangeBytes(); + com.google.protobuf.ByteString getWebServerIpv4ReservedRangeBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/SoftwareConfig.java b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/SoftwareConfig.java similarity index 74% rename from owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/SoftwareConfig.java rename to proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/SoftwareConfig.java index 201f5d45..56450abe 100644 --- a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/SoftwareConfig.java +++ b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/SoftwareConfig.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/orchestration/airflow/service/v1/environments.proto package com.google.cloud.orchestration.airflow.service.v1; /** + * + * *
          * Specifies the selection and configuration of software inside the environment.
          * 
        * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.SoftwareConfig} */ -public final class SoftwareConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SoftwareConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1.SoftwareConfig) SoftwareConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SoftwareConfig.newBuilder() to construct. private SoftwareConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SoftwareConfig() { imageVersion_ = ""; pythonVersion_ = ""; @@ -26,16 +44,15 @@ private SoftwareConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SoftwareConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private SoftwareConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,64 +72,75 @@ private SoftwareConfig( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - imageVersion_ = s; - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - airflowConfigOverrides_ = com.google.protobuf.MapField.newMapField( - AirflowConfigOverridesDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; + imageVersion_ = s; + break; } - com.google.protobuf.MapEntry - airflowConfigOverrides__ = input.readMessage( - AirflowConfigOverridesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - airflowConfigOverrides_.getMutableMap().put( - airflowConfigOverrides__.getKey(), airflowConfigOverrides__.getValue()); - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - pypiPackages_ = com.google.protobuf.MapField.newMapField( - PypiPackagesDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000002; + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + airflowConfigOverrides_ = + com.google.protobuf.MapField.newMapField( + AirflowConfigOverridesDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; + } + com.google.protobuf.MapEntry + airflowConfigOverrides__ = + input.readMessage( + AirflowConfigOverridesDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + airflowConfigOverrides_ + .getMutableMap() + .put(airflowConfigOverrides__.getKey(), airflowConfigOverrides__.getValue()); + break; } - com.google.protobuf.MapEntry - pypiPackages__ = input.readMessage( - PypiPackagesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - pypiPackages_.getMutableMap().put( - pypiPackages__.getKey(), pypiPackages__.getValue()); - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - envVariables_ = com.google.protobuf.MapField.newMapField( - EnvVariablesDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000004; + case 26: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + pypiPackages_ = + com.google.protobuf.MapField.newMapField( + PypiPackagesDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000002; + } + com.google.protobuf.MapEntry pypiPackages__ = + input.readMessage( + PypiPackagesDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + pypiPackages_.getMutableMap().put(pypiPackages__.getKey(), pypiPackages__.getValue()); + break; } - com.google.protobuf.MapEntry - envVariables__ = input.readMessage( - EnvVariablesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - envVariables_.getMutableMap().put( - envVariables__.getKey(), envVariables__.getValue()); - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); + case 34: + { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + envVariables_ = + com.google.protobuf.MapField.newMapField( + EnvVariablesDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000004; + } + com.google.protobuf.MapEntry envVariables__ = + input.readMessage( + EnvVariablesDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + envVariables_.getMutableMap().put(envVariables__.getKey(), envVariables__.getValue()); + break; + } + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); - pythonVersion_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pythonVersion_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,22 +148,21 @@ private SoftwareConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 2: return internalGetAirflowConfigOverrides(); @@ -144,21 +171,25 @@ protected com.google.protobuf.MapField internalGetMapField( case 4: return internalGetEnvVariables(); 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.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.class, com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.Builder.class); + com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.class, + com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.Builder.class); } public static final int IMAGE_VERSION_FIELD_NUMBER = 1; private volatile java.lang.Object imageVersion_; /** + * + * *
            * The version of the software running in the environment.
            * This encapsulates both the version of Cloud Composer functionality and the
        @@ -180,6 +211,7 @@ protected com.google.protobuf.MapField internalGetMapField(
            * 
        * * string image_version = 1; + * * @return The imageVersion. */ @java.lang.Override @@ -188,14 +220,15 @@ public java.lang.String getImageVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageVersion_ = s; return s; } } /** + * + * *
            * The version of the software running in the environment.
            * This encapsulates both the version of Cloud Composer functionality and the
        @@ -217,16 +250,15 @@ public java.lang.String getImageVersion() {
            * 
        * * string image_version = 1; + * * @return The bytes for imageVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getImageVersionBytes() { + public com.google.protobuf.ByteString getImageVersionBytes() { java.lang.Object ref = imageVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); imageVersion_ = b; return b; } else { @@ -235,21 +267,22 @@ public java.lang.String getImageVersion() { } public static final int AIRFLOW_CONFIG_OVERRIDES_FIELD_NUMBER = 2; + private static final class AirflowConfigOverridesDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_AirflowConfigOverridesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> airflowConfigOverrides_; + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_AirflowConfigOverridesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + + private com.google.protobuf.MapField airflowConfigOverrides_; + private com.google.protobuf.MapField - internalGetAirflowConfigOverrides() { + internalGetAirflowConfigOverrides() { if (airflowConfigOverrides_ == null) { return com.google.protobuf.MapField.emptyMapField( AirflowConfigOverridesDefaultEntryHolder.defaultEntry); @@ -261,6 +294,8 @@ public int getAirflowConfigOverridesCount() { return internalGetAirflowConfigOverrides().getMap().size(); } /** + * + * *
            * Optional. Apache Airflow configuration properties to override.
            * Property keys contain the section and property names, separated by a
        @@ -279,22 +314,22 @@ public int getAirflowConfigOverridesCount() {
            *
            * map<string, string> airflow_config_overrides = 2;
            */
        -
           @java.lang.Override
        -  public boolean containsAirflowConfigOverrides(
        -      java.lang.String key) {
        -    if (key == null) { throw new NullPointerException("map key"); }
        +  public boolean containsAirflowConfigOverrides(java.lang.String key) {
        +    if (key == null) {
        +      throw new NullPointerException("map key");
        +    }
             return internalGetAirflowConfigOverrides().getMap().containsKey(key);
           }
        -  /**
        -   * Use {@link #getAirflowConfigOverridesMap()} instead.
        -   */
        +  /** Use {@link #getAirflowConfigOverridesMap()} instead. */
           @java.lang.Override
           @java.lang.Deprecated
           public java.util.Map getAirflowConfigOverrides() {
             return getAirflowConfigOverridesMap();
           }
           /**
        +   *
        +   *
            * 
            * Optional. Apache Airflow configuration properties to override.
            * Property keys contain the section and property names, separated by a
        @@ -314,11 +349,12 @@ public java.util.Map getAirflowConfigOverrid
            * map<string, string> airflow_config_overrides = 2;
            */
           @java.lang.Override
        -
           public java.util.Map getAirflowConfigOverridesMap() {
             return internalGetAirflowConfigOverrides().getMap();
           }
           /**
        +   *
        +   *
            * 
            * Optional. Apache Airflow configuration properties to override.
            * Property keys contain the section and property names, separated by a
        @@ -338,16 +374,18 @@ public java.util.Map getAirflowConfigOverrid
            * map<string, string> airflow_config_overrides = 2;
            */
           @java.lang.Override
        -
           public java.lang.String getAirflowConfigOverridesOrDefault(
        -      java.lang.String key,
        -      java.lang.String defaultValue) {
        -    if (key == null) { throw new NullPointerException("map key"); }
        +      java.lang.String key, java.lang.String defaultValue) {
        +    if (key == null) {
        +      throw new NullPointerException("map key");
        +    }
             java.util.Map map =
                 internalGetAirflowConfigOverrides().getMap();
             return map.containsKey(key) ? map.get(key) : defaultValue;
           }
           /**
        +   *
        +   *
            * 
            * Optional. Apache Airflow configuration properties to override.
            * Property keys contain the section and property names, separated by a
        @@ -367,10 +405,10 @@ public java.lang.String getAirflowConfigOverridesOrDefault(
            * map<string, string> airflow_config_overrides = 2;
            */
           @java.lang.Override
        -
        -  public java.lang.String getAirflowConfigOverridesOrThrow(
        -      java.lang.String key) {
        -    if (key == null) { throw new NullPointerException("map key"); }
        +  public java.lang.String getAirflowConfigOverridesOrThrow(java.lang.String key) {
        +    if (key == null) {
        +      throw new NullPointerException("map key");
        +    }
             java.util.Map map =
                 internalGetAirflowConfigOverrides().getMap();
             if (!map.containsKey(key)) {
        @@ -380,21 +418,22 @@ public java.lang.String getAirflowConfigOverridesOrThrow(
           }
         
           public static final int PYPI_PACKAGES_FIELD_NUMBER = 3;
        +
           private static final class PypiPackagesDefaultEntryHolder {
        -    static final com.google.protobuf.MapEntry<
        -        java.lang.String, java.lang.String> defaultEntry =
        -            com.google.protobuf.MapEntry
        -            .newDefaultInstance(
        -                com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_PypiPackagesEntry_descriptor, 
        -                com.google.protobuf.WireFormat.FieldType.STRING,
        -                "",
        -                com.google.protobuf.WireFormat.FieldType.STRING,
        -                "");
        -  }
        -  private com.google.protobuf.MapField<
        -      java.lang.String, java.lang.String> pypiPackages_;
        +    static final com.google.protobuf.MapEntry defaultEntry =
        +        com.google.protobuf.MapEntry.newDefaultInstance(
        +            com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
        +                .internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_PypiPackagesEntry_descriptor,
        +            com.google.protobuf.WireFormat.FieldType.STRING,
        +            "",
        +            com.google.protobuf.WireFormat.FieldType.STRING,
        +            "");
        +  }
        +
        +  private com.google.protobuf.MapField pypiPackages_;
        +
           private com.google.protobuf.MapField
        -  internalGetPypiPackages() {
        +      internalGetPypiPackages() {
             if (pypiPackages_ == null) {
               return com.google.protobuf.MapField.emptyMapField(
                   PypiPackagesDefaultEntryHolder.defaultEntry);
        @@ -406,6 +445,8 @@ public int getPypiPackagesCount() {
             return internalGetPypiPackages().getMap().size();
           }
           /**
        +   *
        +   *
            * 
            * Optional. Custom Python Package Index (PyPI) packages to be installed in
            * the environment.
        @@ -418,22 +459,22 @@ public int getPypiPackagesCount() {
            *
            * map<string, string> pypi_packages = 3;
            */
        -
           @java.lang.Override
        -  public boolean containsPypiPackages(
        -      java.lang.String key) {
        -    if (key == null) { throw new NullPointerException("map key"); }
        +  public boolean containsPypiPackages(java.lang.String key) {
        +    if (key == null) {
        +      throw new NullPointerException("map key");
        +    }
             return internalGetPypiPackages().getMap().containsKey(key);
           }
        -  /**
        -   * Use {@link #getPypiPackagesMap()} instead.
        -   */
        +  /** Use {@link #getPypiPackagesMap()} instead. */
           @java.lang.Override
           @java.lang.Deprecated
           public java.util.Map getPypiPackages() {
             return getPypiPackagesMap();
           }
           /**
        +   *
        +   *
            * 
            * Optional. Custom Python Package Index (PyPI) packages to be installed in
            * the environment.
        @@ -447,11 +488,12 @@ public java.util.Map getPypiPackages() {
            * map<string, string> pypi_packages = 3;
            */
           @java.lang.Override
        -
           public java.util.Map getPypiPackagesMap() {
             return internalGetPypiPackages().getMap();
           }
           /**
        +   *
        +   *
            * 
            * Optional. Custom Python Package Index (PyPI) packages to be installed in
            * the environment.
        @@ -465,16 +507,17 @@ public java.util.Map getPypiPackagesMap() {
            * map<string, string> pypi_packages = 3;
            */
           @java.lang.Override
        -
           public java.lang.String getPypiPackagesOrDefault(
        -      java.lang.String key,
        -      java.lang.String defaultValue) {
        -    if (key == null) { throw new NullPointerException("map key"); }
        -    java.util.Map map =
        -        internalGetPypiPackages().getMap();
        +      java.lang.String key, java.lang.String defaultValue) {
        +    if (key == null) {
        +      throw new NullPointerException("map key");
        +    }
        +    java.util.Map map = internalGetPypiPackages().getMap();
             return map.containsKey(key) ? map.get(key) : defaultValue;
           }
           /**
        +   *
        +   *
            * 
            * Optional. Custom Python Package Index (PyPI) packages to be installed in
            * the environment.
        @@ -488,12 +531,11 @@ public java.lang.String getPypiPackagesOrDefault(
            * map<string, string> pypi_packages = 3;
            */
           @java.lang.Override
        -
        -  public java.lang.String getPypiPackagesOrThrow(
        -      java.lang.String key) {
        -    if (key == null) { throw new NullPointerException("map key"); }
        -    java.util.Map map =
        -        internalGetPypiPackages().getMap();
        +  public java.lang.String getPypiPackagesOrThrow(java.lang.String key) {
        +    if (key == null) {
        +      throw new NullPointerException("map key");
        +    }
        +    java.util.Map map = internalGetPypiPackages().getMap();
             if (!map.containsKey(key)) {
               throw new java.lang.IllegalArgumentException();
             }
        @@ -501,21 +543,22 @@ public java.lang.String getPypiPackagesOrThrow(
           }
         
           public static final int ENV_VARIABLES_FIELD_NUMBER = 4;
        +
           private static final class EnvVariablesDefaultEntryHolder {
        -    static final com.google.protobuf.MapEntry<
        -        java.lang.String, java.lang.String> defaultEntry =
        -            com.google.protobuf.MapEntry
        -            .newDefaultInstance(
        -                com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_EnvVariablesEntry_descriptor, 
        -                com.google.protobuf.WireFormat.FieldType.STRING,
        -                "",
        -                com.google.protobuf.WireFormat.FieldType.STRING,
        -                "");
        -  }
        -  private com.google.protobuf.MapField<
        -      java.lang.String, java.lang.String> envVariables_;
        +    static final com.google.protobuf.MapEntry defaultEntry =
        +        com.google.protobuf.MapEntry.newDefaultInstance(
        +            com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
        +                .internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_EnvVariablesEntry_descriptor,
        +            com.google.protobuf.WireFormat.FieldType.STRING,
        +            "",
        +            com.google.protobuf.WireFormat.FieldType.STRING,
        +            "");
        +  }
        +
        +  private com.google.protobuf.MapField envVariables_;
        +
           private com.google.protobuf.MapField
        -  internalGetEnvVariables() {
        +      internalGetEnvVariables() {
             if (envVariables_ == null) {
               return com.google.protobuf.MapField.emptyMapField(
                   EnvVariablesDefaultEntryHolder.defaultEntry);
        @@ -527,6 +570,8 @@ public int getEnvVariablesCount() {
             return internalGetEnvVariables().getMap().size();
           }
           /**
        +   *
        +   *
            * 
            * Optional. Additional environment variables to provide to the Apache Airflow
            * scheduler, worker, and webserver processes.
        @@ -552,22 +597,22 @@ public int getEnvVariablesCount() {
            *
            * map<string, string> env_variables = 4;
            */
        -
           @java.lang.Override
        -  public boolean containsEnvVariables(
        -      java.lang.String key) {
        -    if (key == null) { throw new NullPointerException("map key"); }
        +  public boolean containsEnvVariables(java.lang.String key) {
        +    if (key == null) {
        +      throw new NullPointerException("map key");
        +    }
             return internalGetEnvVariables().getMap().containsKey(key);
           }
        -  /**
        -   * Use {@link #getEnvVariablesMap()} instead.
        -   */
        +  /** Use {@link #getEnvVariablesMap()} instead. */
           @java.lang.Override
           @java.lang.Deprecated
           public java.util.Map getEnvVariables() {
             return getEnvVariablesMap();
           }
           /**
        +   *
        +   *
            * 
            * Optional. Additional environment variables to provide to the Apache Airflow
            * scheduler, worker, and webserver processes.
        @@ -594,11 +639,12 @@ public java.util.Map getEnvVariables() {
            * map<string, string> env_variables = 4;
            */
           @java.lang.Override
        -
           public java.util.Map getEnvVariablesMap() {
             return internalGetEnvVariables().getMap();
           }
           /**
        +   *
        +   *
            * 
            * Optional. Additional environment variables to provide to the Apache Airflow
            * scheduler, worker, and webserver processes.
        @@ -625,16 +671,17 @@ public java.util.Map getEnvVariablesMap() {
            * map<string, string> env_variables = 4;
            */
           @java.lang.Override
        -
           public java.lang.String getEnvVariablesOrDefault(
        -      java.lang.String key,
        -      java.lang.String defaultValue) {
        -    if (key == null) { throw new NullPointerException("map key"); }
        -    java.util.Map map =
        -        internalGetEnvVariables().getMap();
        +      java.lang.String key, java.lang.String defaultValue) {
        +    if (key == null) {
        +      throw new NullPointerException("map key");
        +    }
        +    java.util.Map map = internalGetEnvVariables().getMap();
             return map.containsKey(key) ? map.get(key) : defaultValue;
           }
           /**
        +   *
        +   *
            * 
            * Optional. Additional environment variables to provide to the Apache Airflow
            * scheduler, worker, and webserver processes.
        @@ -661,12 +708,11 @@ public java.lang.String getEnvVariablesOrDefault(
            * map<string, string> env_variables = 4;
            */
           @java.lang.Override
        -
        -  public java.lang.String getEnvVariablesOrThrow(
        -      java.lang.String key) {
        -    if (key == null) { throw new NullPointerException("map key"); }
        -    java.util.Map map =
        -        internalGetEnvVariables().getMap();
        +  public java.lang.String getEnvVariablesOrThrow(java.lang.String key) {
        +    if (key == null) {
        +      throw new NullPointerException("map key");
        +    }
        +    java.util.Map map = internalGetEnvVariables().getMap();
             if (!map.containsKey(key)) {
               throw new java.lang.IllegalArgumentException();
             }
        @@ -676,6 +722,8 @@ public java.lang.String getEnvVariablesOrThrow(
           public static final int PYTHON_VERSION_FIELD_NUMBER = 6;
           private volatile java.lang.Object pythonVersion_;
           /**
        +   *
        +   *
            * 
            * Optional. The major version of Python used to run the Apache Airflow
            * scheduler, worker, and webserver processes.
        @@ -684,6 +732,7 @@ public java.lang.String getEnvVariablesOrThrow(
            * 
        * * string python_version = 6; + * * @return The pythonVersion. */ @java.lang.Override @@ -692,14 +741,15 @@ public java.lang.String getPythonVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pythonVersion_ = s; return s; } } /** + * + * *
            * Optional. The major version of Python used to run the Apache Airflow
            * scheduler, worker, and webserver processes.
        @@ -708,16 +758,15 @@ public java.lang.String getPythonVersion() {
            * 
        * * string python_version = 6; + * * @return The bytes for pythonVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getPythonVersionBytes() { + public com.google.protobuf.ByteString getPythonVersionBytes() { java.lang.Object ref = pythonVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pythonVersion_ = b; return b; } else { @@ -726,6 +775,7 @@ public java.lang.String getPythonVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -737,29 +787,19 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageVersion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, imageVersion_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( output, internalGetAirflowConfigOverrides(), AirflowConfigOverridesDefaultEntryHolder.defaultEntry, 2); - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetPypiPackages(), - PypiPackagesDefaultEntryHolder.defaultEntry, - 3); - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetEnvVariables(), - EnvVariablesDefaultEntryHolder.defaultEntry, - 4); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetPypiPackages(), PypiPackagesDefaultEntryHolder.defaultEntry, 3); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetEnvVariables(), EnvVariablesDefaultEntryHolder.defaultEntry, 4); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pythonVersion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, pythonVersion_); } @@ -775,35 +815,35 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, imageVersion_); } - for (java.util.Map.Entry entry - : internalGetAirflowConfigOverrides().getMap().entrySet()) { - com.google.protobuf.MapEntry - airflowConfigOverrides__ = AirflowConfigOverridesDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, airflowConfigOverrides__); - } - for (java.util.Map.Entry entry - : internalGetPypiPackages().getMap().entrySet()) { - com.google.protobuf.MapEntry - pypiPackages__ = PypiPackagesDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, pypiPackages__); - } - for (java.util.Map.Entry entry - : internalGetEnvVariables().getMap().entrySet()) { - com.google.protobuf.MapEntry - envVariables__ = EnvVariablesDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, envVariables__); + for (java.util.Map.Entry entry : + internalGetAirflowConfigOverrides().getMap().entrySet()) { + com.google.protobuf.MapEntry airflowConfigOverrides__ = + AirflowConfigOverridesDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, airflowConfigOverrides__); + } + for (java.util.Map.Entry entry : + internalGetPypiPackages().getMap().entrySet()) { + com.google.protobuf.MapEntry pypiPackages__ = + PypiPackagesDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, pypiPackages__); + } + for (java.util.Map.Entry entry : + internalGetEnvVariables().getMap().entrySet()) { + com.google.protobuf.MapEntry envVariables__ = + EnvVariablesDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, envVariables__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pythonVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, pythonVersion_); @@ -816,23 +856,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig other = (com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig) obj; - - if (!getImageVersion() - .equals(other.getImageVersion())) return false; - if (!internalGetAirflowConfigOverrides().equals( - other.internalGetAirflowConfigOverrides())) return false; - if (!internalGetPypiPackages().equals( - other.internalGetPypiPackages())) return false; - if (!internalGetEnvVariables().equals( - other.internalGetEnvVariables())) return false; - if (!getPythonVersion() - .equals(other.getPythonVersion())) return false; + com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig other = + (com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig) obj; + + if (!getImageVersion().equals(other.getImageVersion())) return false; + if (!internalGetAirflowConfigOverrides().equals(other.internalGetAirflowConfigOverrides())) + return false; + if (!internalGetPypiPackages().equals(other.internalGetPypiPackages())) return false; + if (!internalGetEnvVariables().equals(other.internalGetEnvVariables())) return false; + if (!getPythonVersion().equals(other.getPythonVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -866,114 +903,121 @@ public int hashCode() { } public static com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig 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.orchestration.airflow.service.v1.SoftwareConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
            * Specifies the selection and configuration of software inside the environment.
            * 
        * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.SoftwareConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1.SoftwareConfig) com.google.cloud.orchestration.airflow.service.v1.SoftwareConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 2: return internalGetAirflowConfigOverrides(); @@ -982,13 +1026,12 @@ protected com.google.protobuf.MapField internalGetMapField( case 4: return internalGetEnvVariables(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { case 2: return internalGetMutableAirflowConfigOverrides(); @@ -997,16 +1040,18 @@ protected com.google.protobuf.MapField internalGetMutableMapField( case 4: return internalGetMutableEnvVariables(); 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.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.class, com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.Builder.class); + com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.class, + com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.Builder.class); } // Construct using com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.newBuilder() @@ -1014,16 +1059,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(); @@ -1038,13 +1082,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_SoftwareConfig_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig + getDefaultInstanceForType() { return com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.getDefaultInstance(); } @@ -1059,7 +1104,8 @@ public com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig build() @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig buildPartial() { - com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig result = new com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig(this); + com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig result = + new com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig(this); int from_bitField0_ = bitField0_; result.imageVersion_ = imageVersion_; result.airflowConfigOverrides_ = internalGetAirflowConfigOverrides(); @@ -1077,56 +1123,58 @@ public com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig 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.orchestration.airflow.service.v1.SoftwareConfig) { - return mergeFrom((com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig)other); + return mergeFrom((com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig other) { - if (other == com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig other) { + if (other + == com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.getDefaultInstance()) + return this; if (!other.getImageVersion().isEmpty()) { imageVersion_ = other.imageVersion_; onChanged(); } - internalGetMutableAirflowConfigOverrides().mergeFrom( - other.internalGetAirflowConfigOverrides()); - internalGetMutablePypiPackages().mergeFrom( - other.internalGetPypiPackages()); - internalGetMutableEnvVariables().mergeFrom( - other.internalGetEnvVariables()); + internalGetMutableAirflowConfigOverrides() + .mergeFrom(other.internalGetAirflowConfigOverrides()); + internalGetMutablePypiPackages().mergeFrom(other.internalGetPypiPackages()); + internalGetMutableEnvVariables().mergeFrom(other.internalGetEnvVariables()); if (!other.getPythonVersion().isEmpty()) { pythonVersion_ = other.pythonVersion_; onChanged(); @@ -1150,7 +1198,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1159,10 +1209,13 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object imageVersion_ = ""; /** + * + * *
              * The version of the software running in the environment.
              * This encapsulates both the version of Cloud Composer functionality and the
        @@ -1184,13 +1237,13 @@ public Builder mergeFrom(
              * 
        * * string image_version = 1; + * * @return The imageVersion. */ public java.lang.String getImageVersion() { java.lang.Object ref = imageVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageVersion_ = s; return s; @@ -1199,6 +1252,8 @@ public java.lang.String getImageVersion() { } } /** + * + * *
              * The version of the software running in the environment.
              * This encapsulates both the version of Cloud Composer functionality and the
        @@ -1220,15 +1275,14 @@ public java.lang.String getImageVersion() {
              * 
        * * string image_version = 1; + * * @return The bytes for imageVersion. */ - public com.google.protobuf.ByteString - getImageVersionBytes() { + public com.google.protobuf.ByteString getImageVersionBytes() { java.lang.Object ref = imageVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); imageVersion_ = b; return b; } else { @@ -1236,6 +1290,8 @@ public java.lang.String getImageVersion() { } } /** + * + * *
              * The version of the software running in the environment.
              * This encapsulates both the version of Cloud Composer functionality and the
        @@ -1257,20 +1313,22 @@ public java.lang.String getImageVersion() {
              * 
        * * string image_version = 1; + * * @param value The imageVersion to set. * @return This builder for chaining. */ - public Builder setImageVersion( - java.lang.String value) { + public Builder setImageVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + imageVersion_ = value; onChanged(); return this; } /** + * + * *
              * The version of the software running in the environment.
              * This encapsulates both the version of Cloud Composer functionality and the
        @@ -1292,15 +1350,18 @@ public Builder setImageVersion(
              * 
        * * string image_version = 1; + * * @return This builder for chaining. */ public Builder clearImageVersion() { - + imageVersion_ = getDefaultInstance().getImageVersion(); onChanged(); return this; } /** + * + * *
              * The version of the software running in the environment.
              * This encapsulates both the version of Cloud Composer functionality and the
        @@ -1322,37 +1383,41 @@ public Builder clearImageVersion() {
              * 
        * * string image_version = 1; + * * @param value The bytes for imageVersion to set. * @return This builder for chaining. */ - public Builder setImageVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setImageVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + imageVersion_ = value; onChanged(); return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> airflowConfigOverrides_; private com.google.protobuf.MapField - internalGetAirflowConfigOverrides() { + airflowConfigOverrides_; + + private com.google.protobuf.MapField + internalGetAirflowConfigOverrides() { if (airflowConfigOverrides_ == null) { return com.google.protobuf.MapField.emptyMapField( AirflowConfigOverridesDefaultEntryHolder.defaultEntry); } return airflowConfigOverrides_; } + private com.google.protobuf.MapField - internalGetMutableAirflowConfigOverrides() { - onChanged();; + internalGetMutableAirflowConfigOverrides() { + onChanged(); + ; if (airflowConfigOverrides_ == null) { - airflowConfigOverrides_ = com.google.protobuf.MapField.newMapField( - AirflowConfigOverridesDefaultEntryHolder.defaultEntry); + airflowConfigOverrides_ = + com.google.protobuf.MapField.newMapField( + AirflowConfigOverridesDefaultEntryHolder.defaultEntry); } if (!airflowConfigOverrides_.isMutable()) { airflowConfigOverrides_ = airflowConfigOverrides_.copy(); @@ -1364,6 +1429,8 @@ public int getAirflowConfigOverridesCount() { return internalGetAirflowConfigOverrides().getMap().size(); } /** + * + * *
              * Optional. Apache Airflow configuration properties to override.
              * Property keys contain the section and property names, separated by a
        @@ -1382,22 +1449,22 @@ public int getAirflowConfigOverridesCount() {
              *
              * map<string, string> airflow_config_overrides = 2;
              */
        -
             @java.lang.Override
        -    public boolean containsAirflowConfigOverrides(
        -        java.lang.String key) {
        -      if (key == null) { throw new NullPointerException("map key"); }
        +    public boolean containsAirflowConfigOverrides(java.lang.String key) {
        +      if (key == null) {
        +        throw new NullPointerException("map key");
        +      }
               return internalGetAirflowConfigOverrides().getMap().containsKey(key);
             }
        -    /**
        -     * Use {@link #getAirflowConfigOverridesMap()} instead.
        -     */
        +    /** Use {@link #getAirflowConfigOverridesMap()} instead. */
             @java.lang.Override
             @java.lang.Deprecated
             public java.util.Map getAirflowConfigOverrides() {
               return getAirflowConfigOverridesMap();
             }
             /**
        +     *
        +     *
              * 
              * Optional. Apache Airflow configuration properties to override.
              * Property keys contain the section and property names, separated by a
        @@ -1417,11 +1484,12 @@ public java.util.Map getAirflowConfigOverrid
              * map<string, string> airflow_config_overrides = 2;
              */
             @java.lang.Override
        -
             public java.util.Map getAirflowConfigOverridesMap() {
               return internalGetAirflowConfigOverrides().getMap();
             }
             /**
        +     *
        +     *
              * 
              * Optional. Apache Airflow configuration properties to override.
              * Property keys contain the section and property names, separated by a
        @@ -1441,16 +1509,18 @@ public java.util.Map getAirflowConfigOverrid
              * map<string, string> airflow_config_overrides = 2;
              */
             @java.lang.Override
        -
             public java.lang.String getAirflowConfigOverridesOrDefault(
        -        java.lang.String key,
        -        java.lang.String defaultValue) {
        -      if (key == null) { throw new NullPointerException("map key"); }
        +        java.lang.String key, java.lang.String defaultValue) {
        +      if (key == null) {
        +        throw new NullPointerException("map key");
        +      }
               java.util.Map map =
                   internalGetAirflowConfigOverrides().getMap();
               return map.containsKey(key) ? map.get(key) : defaultValue;
             }
             /**
        +     *
        +     *
              * 
              * Optional. Apache Airflow configuration properties to override.
              * Property keys contain the section and property names, separated by a
        @@ -1470,10 +1540,10 @@ public java.lang.String getAirflowConfigOverridesOrDefault(
              * map<string, string> airflow_config_overrides = 2;
              */
             @java.lang.Override
        -
        -    public java.lang.String getAirflowConfigOverridesOrThrow(
        -        java.lang.String key) {
        -      if (key == null) { throw new NullPointerException("map key"); }
        +    public java.lang.String getAirflowConfigOverridesOrThrow(java.lang.String key) {
        +      if (key == null) {
        +        throw new NullPointerException("map key");
        +      }
               java.util.Map map =
                   internalGetAirflowConfigOverrides().getMap();
               if (!map.containsKey(key)) {
        @@ -1483,11 +1553,12 @@ public java.lang.String getAirflowConfigOverridesOrThrow(
             }
         
             public Builder clearAirflowConfigOverrides() {
        -      internalGetMutableAirflowConfigOverrides().getMutableMap()
        -          .clear();
        +      internalGetMutableAirflowConfigOverrides().getMutableMap().clear();
               return this;
             }
             /**
        +     *
        +     *
              * 
              * Optional. Apache Airflow configuration properties to override.
              * Property keys contain the section and property names, separated by a
        @@ -1506,23 +1577,21 @@ public Builder clearAirflowConfigOverrides() {
              *
              * map<string, string> airflow_config_overrides = 2;
              */
        -
        -    public Builder removeAirflowConfigOverrides(
        -        java.lang.String key) {
        -      if (key == null) { throw new NullPointerException("map key"); }
        -      internalGetMutableAirflowConfigOverrides().getMutableMap()
        -          .remove(key);
        +    public Builder removeAirflowConfigOverrides(java.lang.String key) {
        +      if (key == null) {
        +        throw new NullPointerException("map key");
        +      }
        +      internalGetMutableAirflowConfigOverrides().getMutableMap().remove(key);
               return this;
             }
        -    /**
        -     * Use alternate mutation accessors instead.
        -     */
        +    /** Use alternate mutation accessors instead. */
             @java.lang.Deprecated
        -    public java.util.Map
        -    getMutableAirflowConfigOverrides() {
        +    public java.util.Map getMutableAirflowConfigOverrides() {
               return internalGetMutableAirflowConfigOverrides().getMutableMap();
             }
             /**
        +     *
        +     *
              * 
              * Optional. Apache Airflow configuration properties to override.
              * Property keys contain the section and property names, separated by a
        @@ -1541,19 +1610,20 @@ public Builder removeAirflowConfigOverrides(
              *
              * map<string, string> airflow_config_overrides = 2;
              */
        -    public Builder putAirflowConfigOverrides(
        -        java.lang.String key,
        -        java.lang.String value) {
        -      if (key == null) { throw new NullPointerException("map key"); }
        +    public Builder putAirflowConfigOverrides(java.lang.String key, java.lang.String value) {
        +      if (key == null) {
        +        throw new NullPointerException("map key");
        +      }
               if (value == null) {
        -  throw new NullPointerException("map value");
        -}
        +        throw new NullPointerException("map value");
        +      }
         
        -      internalGetMutableAirflowConfigOverrides().getMutableMap()
        -          .put(key, value);
        +      internalGetMutableAirflowConfigOverrides().getMutableMap().put(key, value);
               return this;
             }
             /**
        +     *
        +     *
              * 
              * Optional. Apache Airflow configuration properties to override.
              * Property keys contain the section and property names, separated by a
        @@ -1572,30 +1642,30 @@ public Builder putAirflowConfigOverrides(
              *
              * map<string, string> airflow_config_overrides = 2;
              */
        -
             public Builder putAllAirflowConfigOverrides(
                 java.util.Map values) {
        -      internalGetMutableAirflowConfigOverrides().getMutableMap()
        -          .putAll(values);
        +      internalGetMutableAirflowConfigOverrides().getMutableMap().putAll(values);
               return this;
             }
         
        -    private com.google.protobuf.MapField<
        -        java.lang.String, java.lang.String> pypiPackages_;
        +    private com.google.protobuf.MapField pypiPackages_;
        +
             private com.google.protobuf.MapField
        -    internalGetPypiPackages() {
        +        internalGetPypiPackages() {
               if (pypiPackages_ == null) {
                 return com.google.protobuf.MapField.emptyMapField(
                     PypiPackagesDefaultEntryHolder.defaultEntry);
               }
               return pypiPackages_;
             }
        +
             private com.google.protobuf.MapField
        -    internalGetMutablePypiPackages() {
        -      onChanged();;
        +        internalGetMutablePypiPackages() {
        +      onChanged();
        +      ;
               if (pypiPackages_ == null) {
        -        pypiPackages_ = com.google.protobuf.MapField.newMapField(
        -            PypiPackagesDefaultEntryHolder.defaultEntry);
        +        pypiPackages_ =
        +            com.google.protobuf.MapField.newMapField(PypiPackagesDefaultEntryHolder.defaultEntry);
               }
               if (!pypiPackages_.isMutable()) {
                 pypiPackages_ = pypiPackages_.copy();
        @@ -1607,6 +1677,8 @@ public int getPypiPackagesCount() {
               return internalGetPypiPackages().getMap().size();
             }
             /**
        +     *
        +     *
              * 
              * Optional. Custom Python Package Index (PyPI) packages to be installed in
              * the environment.
        @@ -1619,22 +1691,22 @@ public int getPypiPackagesCount() {
              *
              * map<string, string> pypi_packages = 3;
              */
        -
             @java.lang.Override
        -    public boolean containsPypiPackages(
        -        java.lang.String key) {
        -      if (key == null) { throw new NullPointerException("map key"); }
        +    public boolean containsPypiPackages(java.lang.String key) {
        +      if (key == null) {
        +        throw new NullPointerException("map key");
        +      }
               return internalGetPypiPackages().getMap().containsKey(key);
             }
        -    /**
        -     * Use {@link #getPypiPackagesMap()} instead.
        -     */
        +    /** Use {@link #getPypiPackagesMap()} instead. */
             @java.lang.Override
             @java.lang.Deprecated
             public java.util.Map getPypiPackages() {
               return getPypiPackagesMap();
             }
             /**
        +     *
        +     *
              * 
              * Optional. Custom Python Package Index (PyPI) packages to be installed in
              * the environment.
        @@ -1648,11 +1720,12 @@ public java.util.Map getPypiPackages() {
              * map<string, string> pypi_packages = 3;
              */
             @java.lang.Override
        -
             public java.util.Map getPypiPackagesMap() {
               return internalGetPypiPackages().getMap();
             }
             /**
        +     *
        +     *
              * 
              * Optional. Custom Python Package Index (PyPI) packages to be installed in
              * the environment.
        @@ -1666,16 +1739,17 @@ public java.util.Map getPypiPackagesMap() {
              * map<string, string> pypi_packages = 3;
              */
             @java.lang.Override
        -
             public java.lang.String getPypiPackagesOrDefault(
        -        java.lang.String key,
        -        java.lang.String defaultValue) {
        -      if (key == null) { throw new NullPointerException("map key"); }
        -      java.util.Map map =
        -          internalGetPypiPackages().getMap();
        +        java.lang.String key, java.lang.String defaultValue) {
        +      if (key == null) {
        +        throw new NullPointerException("map key");
        +      }
        +      java.util.Map map = internalGetPypiPackages().getMap();
               return map.containsKey(key) ? map.get(key) : defaultValue;
             }
             /**
        +     *
        +     *
              * 
              * Optional. Custom Python Package Index (PyPI) packages to be installed in
              * the environment.
        @@ -1689,12 +1763,11 @@ public java.lang.String getPypiPackagesOrDefault(
              * map<string, string> pypi_packages = 3;
              */
             @java.lang.Override
        -
        -    public java.lang.String getPypiPackagesOrThrow(
        -        java.lang.String key) {
        -      if (key == null) { throw new NullPointerException("map key"); }
        -      java.util.Map map =
        -          internalGetPypiPackages().getMap();
        +    public java.lang.String getPypiPackagesOrThrow(java.lang.String key) {
        +      if (key == null) {
        +        throw new NullPointerException("map key");
        +      }
        +      java.util.Map map = internalGetPypiPackages().getMap();
               if (!map.containsKey(key)) {
                 throw new java.lang.IllegalArgumentException();
               }
        @@ -1702,11 +1775,12 @@ public java.lang.String getPypiPackagesOrThrow(
             }
         
             public Builder clearPypiPackages() {
        -      internalGetMutablePypiPackages().getMutableMap()
        -          .clear();
        +      internalGetMutablePypiPackages().getMutableMap().clear();
               return this;
             }
             /**
        +     *
        +     *
              * 
              * Optional. Custom Python Package Index (PyPI) packages to be installed in
              * the environment.
        @@ -1719,23 +1793,21 @@ public Builder clearPypiPackages() {
              *
              * map<string, string> pypi_packages = 3;
              */
        -
        -    public Builder removePypiPackages(
        -        java.lang.String key) {
        -      if (key == null) { throw new NullPointerException("map key"); }
        -      internalGetMutablePypiPackages().getMutableMap()
        -          .remove(key);
        +    public Builder removePypiPackages(java.lang.String key) {
        +      if (key == null) {
        +        throw new NullPointerException("map key");
        +      }
        +      internalGetMutablePypiPackages().getMutableMap().remove(key);
               return this;
             }
        -    /**
        -     * Use alternate mutation accessors instead.
        -     */
        +    /** Use alternate mutation accessors instead. */
             @java.lang.Deprecated
        -    public java.util.Map
        -    getMutablePypiPackages() {
        +    public java.util.Map getMutablePypiPackages() {
               return internalGetMutablePypiPackages().getMutableMap();
             }
             /**
        +     *
        +     *
              * 
              * Optional. Custom Python Package Index (PyPI) packages to be installed in
              * the environment.
        @@ -1748,19 +1820,20 @@ public Builder removePypiPackages(
              *
              * map<string, string> pypi_packages = 3;
              */
        -    public Builder putPypiPackages(
        -        java.lang.String key,
        -        java.lang.String value) {
        -      if (key == null) { throw new NullPointerException("map key"); }
        +    public Builder putPypiPackages(java.lang.String key, java.lang.String value) {
        +      if (key == null) {
        +        throw new NullPointerException("map key");
        +      }
               if (value == null) {
        -  throw new NullPointerException("map value");
        -}
        +        throw new NullPointerException("map value");
        +      }
         
        -      internalGetMutablePypiPackages().getMutableMap()
        -          .put(key, value);
        +      internalGetMutablePypiPackages().getMutableMap().put(key, value);
               return this;
             }
             /**
        +     *
        +     *
              * 
              * Optional. Custom Python Package Index (PyPI) packages to be installed in
              * the environment.
        @@ -1773,30 +1846,29 @@ public Builder putPypiPackages(
              *
              * map<string, string> pypi_packages = 3;
              */
        -
        -    public Builder putAllPypiPackages(
        -        java.util.Map values) {
        -      internalGetMutablePypiPackages().getMutableMap()
        -          .putAll(values);
        +    public Builder putAllPypiPackages(java.util.Map values) {
        +      internalGetMutablePypiPackages().getMutableMap().putAll(values);
               return this;
             }
         
        -    private com.google.protobuf.MapField<
        -        java.lang.String, java.lang.String> envVariables_;
        +    private com.google.protobuf.MapField envVariables_;
        +
             private com.google.protobuf.MapField
        -    internalGetEnvVariables() {
        +        internalGetEnvVariables() {
               if (envVariables_ == null) {
                 return com.google.protobuf.MapField.emptyMapField(
                     EnvVariablesDefaultEntryHolder.defaultEntry);
               }
               return envVariables_;
             }
        +
             private com.google.protobuf.MapField
        -    internalGetMutableEnvVariables() {
        -      onChanged();;
        +        internalGetMutableEnvVariables() {
        +      onChanged();
        +      ;
               if (envVariables_ == null) {
        -        envVariables_ = com.google.protobuf.MapField.newMapField(
        -            EnvVariablesDefaultEntryHolder.defaultEntry);
        +        envVariables_ =
        +            com.google.protobuf.MapField.newMapField(EnvVariablesDefaultEntryHolder.defaultEntry);
               }
               if (!envVariables_.isMutable()) {
                 envVariables_ = envVariables_.copy();
        @@ -1808,6 +1880,8 @@ public int getEnvVariablesCount() {
               return internalGetEnvVariables().getMap().size();
             }
             /**
        +     *
        +     *
              * 
              * Optional. Additional environment variables to provide to the Apache Airflow
              * scheduler, worker, and webserver processes.
        @@ -1833,22 +1907,22 @@ public int getEnvVariablesCount() {
              *
              * map<string, string> env_variables = 4;
              */
        -
             @java.lang.Override
        -    public boolean containsEnvVariables(
        -        java.lang.String key) {
        -      if (key == null) { throw new NullPointerException("map key"); }
        +    public boolean containsEnvVariables(java.lang.String key) {
        +      if (key == null) {
        +        throw new NullPointerException("map key");
        +      }
               return internalGetEnvVariables().getMap().containsKey(key);
             }
        -    /**
        -     * Use {@link #getEnvVariablesMap()} instead.
        -     */
        +    /** Use {@link #getEnvVariablesMap()} instead. */
             @java.lang.Override
             @java.lang.Deprecated
             public java.util.Map getEnvVariables() {
               return getEnvVariablesMap();
             }
             /**
        +     *
        +     *
              * 
              * Optional. Additional environment variables to provide to the Apache Airflow
              * scheduler, worker, and webserver processes.
        @@ -1875,11 +1949,12 @@ public java.util.Map getEnvVariables() {
              * map<string, string> env_variables = 4;
              */
             @java.lang.Override
        -
             public java.util.Map getEnvVariablesMap() {
               return internalGetEnvVariables().getMap();
             }
             /**
        +     *
        +     *
              * 
              * Optional. Additional environment variables to provide to the Apache Airflow
              * scheduler, worker, and webserver processes.
        @@ -1906,16 +1981,17 @@ public java.util.Map getEnvVariablesMap() {
              * map<string, string> env_variables = 4;
              */
             @java.lang.Override
        -
             public java.lang.String getEnvVariablesOrDefault(
        -        java.lang.String key,
        -        java.lang.String defaultValue) {
        -      if (key == null) { throw new NullPointerException("map key"); }
        -      java.util.Map map =
        -          internalGetEnvVariables().getMap();
        +        java.lang.String key, java.lang.String defaultValue) {
        +      if (key == null) {
        +        throw new NullPointerException("map key");
        +      }
        +      java.util.Map map = internalGetEnvVariables().getMap();
               return map.containsKey(key) ? map.get(key) : defaultValue;
             }
             /**
        +     *
        +     *
              * 
              * Optional. Additional environment variables to provide to the Apache Airflow
              * scheduler, worker, and webserver processes.
        @@ -1942,12 +2018,11 @@ public java.lang.String getEnvVariablesOrDefault(
              * map<string, string> env_variables = 4;
              */
             @java.lang.Override
        -
        -    public java.lang.String getEnvVariablesOrThrow(
        -        java.lang.String key) {
        -      if (key == null) { throw new NullPointerException("map key"); }
        -      java.util.Map map =
        -          internalGetEnvVariables().getMap();
        +    public java.lang.String getEnvVariablesOrThrow(java.lang.String key) {
        +      if (key == null) {
        +        throw new NullPointerException("map key");
        +      }
        +      java.util.Map map = internalGetEnvVariables().getMap();
               if (!map.containsKey(key)) {
                 throw new java.lang.IllegalArgumentException();
               }
        @@ -1955,11 +2030,12 @@ public java.lang.String getEnvVariablesOrThrow(
             }
         
             public Builder clearEnvVariables() {
        -      internalGetMutableEnvVariables().getMutableMap()
        -          .clear();
        +      internalGetMutableEnvVariables().getMutableMap().clear();
               return this;
             }
             /**
        +     *
        +     *
              * 
              * Optional. Additional environment variables to provide to the Apache Airflow
              * scheduler, worker, and webserver processes.
        @@ -1985,23 +2061,21 @@ public Builder clearEnvVariables() {
              *
              * map<string, string> env_variables = 4;
              */
        -
        -    public Builder removeEnvVariables(
        -        java.lang.String key) {
        -      if (key == null) { throw new NullPointerException("map key"); }
        -      internalGetMutableEnvVariables().getMutableMap()
        -          .remove(key);
        +    public Builder removeEnvVariables(java.lang.String key) {
        +      if (key == null) {
        +        throw new NullPointerException("map key");
        +      }
        +      internalGetMutableEnvVariables().getMutableMap().remove(key);
               return this;
             }
        -    /**
        -     * Use alternate mutation accessors instead.
        -     */
        +    /** Use alternate mutation accessors instead. */
             @java.lang.Deprecated
        -    public java.util.Map
        -    getMutableEnvVariables() {
        +    public java.util.Map getMutableEnvVariables() {
               return internalGetMutableEnvVariables().getMutableMap();
             }
             /**
        +     *
        +     *
              * 
              * Optional. Additional environment variables to provide to the Apache Airflow
              * scheduler, worker, and webserver processes.
        @@ -2027,19 +2101,20 @@ public Builder removeEnvVariables(
              *
              * map<string, string> env_variables = 4;
              */
        -    public Builder putEnvVariables(
        -        java.lang.String key,
        -        java.lang.String value) {
        -      if (key == null) { throw new NullPointerException("map key"); }
        +    public Builder putEnvVariables(java.lang.String key, java.lang.String value) {
        +      if (key == null) {
        +        throw new NullPointerException("map key");
        +      }
               if (value == null) {
        -  throw new NullPointerException("map value");
        -}
        +        throw new NullPointerException("map value");
        +      }
         
        -      internalGetMutableEnvVariables().getMutableMap()
        -          .put(key, value);
        +      internalGetMutableEnvVariables().getMutableMap().put(key, value);
               return this;
             }
             /**
        +     *
        +     *
              * 
              * Optional. Additional environment variables to provide to the Apache Airflow
              * scheduler, worker, and webserver processes.
        @@ -2065,16 +2140,15 @@ public Builder putEnvVariables(
              *
              * map<string, string> env_variables = 4;
              */
        -
        -    public Builder putAllEnvVariables(
        -        java.util.Map values) {
        -      internalGetMutableEnvVariables().getMutableMap()
        -          .putAll(values);
        +    public Builder putAllEnvVariables(java.util.Map values) {
        +      internalGetMutableEnvVariables().getMutableMap().putAll(values);
               return this;
             }
         
             private java.lang.Object pythonVersion_ = "";
             /**
        +     *
        +     *
              * 
              * Optional. The major version of Python used to run the Apache Airflow
              * scheduler, worker, and webserver processes.
        @@ -2083,13 +2157,13 @@ public Builder putAllEnvVariables(
              * 
        * * string python_version = 6; + * * @return The pythonVersion. */ public java.lang.String getPythonVersion() { java.lang.Object ref = pythonVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pythonVersion_ = s; return s; @@ -2098,6 +2172,8 @@ public java.lang.String getPythonVersion() { } } /** + * + * *
              * Optional. The major version of Python used to run the Apache Airflow
              * scheduler, worker, and webserver processes.
        @@ -2106,15 +2182,14 @@ public java.lang.String getPythonVersion() {
              * 
        * * string python_version = 6; + * * @return The bytes for pythonVersion. */ - public com.google.protobuf.ByteString - getPythonVersionBytes() { + public com.google.protobuf.ByteString getPythonVersionBytes() { java.lang.Object ref = pythonVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pythonVersion_ = b; return b; } else { @@ -2122,6 +2197,8 @@ public java.lang.String getPythonVersion() { } } /** + * + * *
              * Optional. The major version of Python used to run the Apache Airflow
              * scheduler, worker, and webserver processes.
        @@ -2130,20 +2207,22 @@ public java.lang.String getPythonVersion() {
              * 
        * * string python_version = 6; + * * @param value The pythonVersion to set. * @return This builder for chaining. */ - public Builder setPythonVersion( - java.lang.String value) { + public Builder setPythonVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pythonVersion_ = value; onChanged(); return this; } /** + * + * *
              * Optional. The major version of Python used to run the Apache Airflow
              * scheduler, worker, and webserver processes.
        @@ -2152,15 +2231,18 @@ public Builder setPythonVersion(
              * 
        * * string python_version = 6; + * * @return This builder for chaining. */ public Builder clearPythonVersion() { - + pythonVersion_ = getDefaultInstance().getPythonVersion(); onChanged(); return this; } /** + * + * *
              * Optional. The major version of Python used to run the Apache Airflow
              * scheduler, worker, and webserver processes.
        @@ -2169,23 +2251,23 @@ public Builder clearPythonVersion() {
              * 
        * * string python_version = 6; + * * @param value The bytes for pythonVersion to set. * @return This builder for chaining. */ - public Builder setPythonVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setPythonVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pythonVersion_ = 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); } @@ -2195,30 +2277,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1.SoftwareConfig) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1.SoftwareConfig) - private static final com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig DEFAULT_INSTANCE; + private static final com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig(); } - public static com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SoftwareConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SoftwareConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SoftwareConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SoftwareConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2230,9 +2314,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/SoftwareConfigOrBuilder.java b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/SoftwareConfigOrBuilder.java similarity index 87% rename from owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/SoftwareConfigOrBuilder.java rename to proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/SoftwareConfigOrBuilder.java index 82e6af12..e5ccf909 100644 --- a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/SoftwareConfigOrBuilder.java +++ b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/SoftwareConfigOrBuilder.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/orchestration/airflow/service/v1/environments.proto package com.google.cloud.orchestration.airflow.service.v1; -public interface SoftwareConfigOrBuilder extends +public interface SoftwareConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1.SoftwareConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
            * The version of the software running in the environment.
            * This encapsulates both the version of Cloud Composer functionality and the
        @@ -29,10 +47,13 @@ public interface SoftwareConfigOrBuilder extends
            * 
        * * string image_version = 1; + * * @return The imageVersion. */ java.lang.String getImageVersion(); /** + * + * *
            * The version of the software running in the environment.
            * This encapsulates both the version of Cloud Composer functionality and the
        @@ -54,12 +75,14 @@ public interface SoftwareConfigOrBuilder extends
            * 
        * * string image_version = 1; + * * @return The bytes for imageVersion. */ - com.google.protobuf.ByteString - getImageVersionBytes(); + com.google.protobuf.ByteString getImageVersionBytes(); /** + * + * *
            * Optional. Apache Airflow configuration properties to override.
            * Property keys contain the section and property names, separated by a
        @@ -80,6 +103,8 @@ public interface SoftwareConfigOrBuilder extends
            */
           int getAirflowConfigOverridesCount();
           /**
        +   *
        +   *
            * 
            * Optional. Apache Airflow configuration properties to override.
            * Property keys contain the section and property names, separated by a
        @@ -98,15 +123,13 @@ public interface SoftwareConfigOrBuilder extends
            *
            * map<string, string> airflow_config_overrides = 2;
            */
        -  boolean containsAirflowConfigOverrides(
        -      java.lang.String key);
        -  /**
        -   * Use {@link #getAirflowConfigOverridesMap()} instead.
        -   */
        +  boolean containsAirflowConfigOverrides(java.lang.String key);
        +  /** Use {@link #getAirflowConfigOverridesMap()} instead. */
           @java.lang.Deprecated
        -  java.util.Map
        -  getAirflowConfigOverrides();
        +  java.util.Map getAirflowConfigOverrides();
           /**
        +   *
        +   *
            * 
            * Optional. Apache Airflow configuration properties to override.
            * Property keys contain the section and property names, separated by a
        @@ -125,9 +148,10 @@ boolean containsAirflowConfigOverrides(
            *
            * map<string, string> airflow_config_overrides = 2;
            */
        -  java.util.Map
        -  getAirflowConfigOverridesMap();
        +  java.util.Map getAirflowConfigOverridesMap();
           /**
        +   *
        +   *
            * 
            * Optional. Apache Airflow configuration properties to override.
            * Property keys contain the section and property names, separated by a
        @@ -148,11 +172,13 @@ boolean containsAirflowConfigOverrides(
            */
         
           /* nullable */
        -java.lang.String getAirflowConfigOverridesOrDefault(
        +  java.lang.String getAirflowConfigOverridesOrDefault(
               java.lang.String key,
               /* nullable */
        -java.lang.String defaultValue);
        +      java.lang.String defaultValue);
           /**
        +   *
        +   *
            * 
            * Optional. Apache Airflow configuration properties to override.
            * Property keys contain the section and property names, separated by a
        @@ -171,11 +197,11 @@ java.lang.String getAirflowConfigOverridesOrDefault(
            *
            * map<string, string> airflow_config_overrides = 2;
            */
        -
        -  java.lang.String getAirflowConfigOverridesOrThrow(
        -      java.lang.String key);
        +  java.lang.String getAirflowConfigOverridesOrThrow(java.lang.String key);
         
           /**
        +   *
        +   *
            * 
            * Optional. Custom Python Package Index (PyPI) packages to be installed in
            * the environment.
        @@ -190,6 +216,8 @@ java.lang.String getAirflowConfigOverridesOrThrow(
            */
           int getPypiPackagesCount();
           /**
        +   *
        +   *
            * 
            * Optional. Custom Python Package Index (PyPI) packages to be installed in
            * the environment.
        @@ -202,15 +230,13 @@ java.lang.String getAirflowConfigOverridesOrThrow(
            *
            * map<string, string> pypi_packages = 3;
            */
        -  boolean containsPypiPackages(
        -      java.lang.String key);
        -  /**
        -   * Use {@link #getPypiPackagesMap()} instead.
        -   */
        +  boolean containsPypiPackages(java.lang.String key);
        +  /** Use {@link #getPypiPackagesMap()} instead. */
           @java.lang.Deprecated
        -  java.util.Map
        -  getPypiPackages();
        +  java.util.Map getPypiPackages();
           /**
        +   *
        +   *
            * 
            * Optional. Custom Python Package Index (PyPI) packages to be installed in
            * the environment.
        @@ -223,9 +249,10 @@ boolean containsPypiPackages(
            *
            * map<string, string> pypi_packages = 3;
            */
        -  java.util.Map
        -  getPypiPackagesMap();
        +  java.util.Map getPypiPackagesMap();
           /**
        +   *
        +   *
            * 
            * Optional. Custom Python Package Index (PyPI) packages to be installed in
            * the environment.
        @@ -240,11 +267,13 @@ boolean containsPypiPackages(
            */
         
           /* nullable */
        -java.lang.String getPypiPackagesOrDefault(
        +  java.lang.String getPypiPackagesOrDefault(
               java.lang.String key,
               /* nullable */
        -java.lang.String defaultValue);
        +      java.lang.String defaultValue);
           /**
        +   *
        +   *
            * 
            * Optional. Custom Python Package Index (PyPI) packages to be installed in
            * the environment.
        @@ -257,11 +286,11 @@ java.lang.String getPypiPackagesOrDefault(
            *
            * map<string, string> pypi_packages = 3;
            */
        -
        -  java.lang.String getPypiPackagesOrThrow(
        -      java.lang.String key);
        +  java.lang.String getPypiPackagesOrThrow(java.lang.String key);
         
           /**
        +   *
        +   *
            * 
            * Optional. Additional environment variables to provide to the Apache Airflow
            * scheduler, worker, and webserver processes.
        @@ -289,6 +318,8 @@ java.lang.String getPypiPackagesOrThrow(
            */
           int getEnvVariablesCount();
           /**
        +   *
        +   *
            * 
            * Optional. Additional environment variables to provide to the Apache Airflow
            * scheduler, worker, and webserver processes.
        @@ -314,15 +345,13 @@ java.lang.String getPypiPackagesOrThrow(
            *
            * map<string, string> env_variables = 4;
            */
        -  boolean containsEnvVariables(
        -      java.lang.String key);
        -  /**
        -   * Use {@link #getEnvVariablesMap()} instead.
        -   */
        +  boolean containsEnvVariables(java.lang.String key);
        +  /** Use {@link #getEnvVariablesMap()} instead. */
           @java.lang.Deprecated
        -  java.util.Map
        -  getEnvVariables();
        +  java.util.Map getEnvVariables();
           /**
        +   *
        +   *
            * 
            * Optional. Additional environment variables to provide to the Apache Airflow
            * scheduler, worker, and webserver processes.
        @@ -348,9 +377,10 @@ boolean containsEnvVariables(
            *
            * map<string, string> env_variables = 4;
            */
        -  java.util.Map
        -  getEnvVariablesMap();
        +  java.util.Map getEnvVariablesMap();
           /**
        +   *
        +   *
            * 
            * Optional. Additional environment variables to provide to the Apache Airflow
            * scheduler, worker, and webserver processes.
        @@ -378,11 +408,13 @@ boolean containsEnvVariables(
            */
         
           /* nullable */
        -java.lang.String getEnvVariablesOrDefault(
        +  java.lang.String getEnvVariablesOrDefault(
               java.lang.String key,
               /* nullable */
        -java.lang.String defaultValue);
        +      java.lang.String defaultValue);
           /**
        +   *
        +   *
            * 
            * Optional. Additional environment variables to provide to the Apache Airflow
            * scheduler, worker, and webserver processes.
        @@ -408,11 +440,11 @@ java.lang.String getEnvVariablesOrDefault(
            *
            * map<string, string> env_variables = 4;
            */
        -
        -  java.lang.String getEnvVariablesOrThrow(
        -      java.lang.String key);
        +  java.lang.String getEnvVariablesOrThrow(java.lang.String key);
         
           /**
        +   *
        +   *
            * 
            * Optional. The major version of Python used to run the Apache Airflow
            * scheduler, worker, and webserver processes.
        @@ -421,10 +453,13 @@ java.lang.String getEnvVariablesOrThrow(
            * 
        * * string python_version = 6; + * * @return The pythonVersion. */ java.lang.String getPythonVersion(); /** + * + * *
            * Optional. The major version of Python used to run the Apache Airflow
            * scheduler, worker, and webserver processes.
        @@ -433,8 +468,8 @@ java.lang.String getEnvVariablesOrThrow(
            * 
        * * string python_version = 6; + * * @return The bytes for pythonVersion. */ - com.google.protobuf.ByteString - getPythonVersionBytes(); + com.google.protobuf.ByteString getPythonVersionBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/UpdateEnvironmentRequest.java b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/UpdateEnvironmentRequest.java similarity index 87% rename from owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/UpdateEnvironmentRequest.java rename to proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/UpdateEnvironmentRequest.java index 3454a0af..711c46b1 100644 --- a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/UpdateEnvironmentRequest.java +++ b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/UpdateEnvironmentRequest.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/orchestration/airflow/service/v1/environments.proto package com.google.cloud.orchestration.airflow.service.v1; /** + * + * *
          * Update an environment.
          * 
        * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest} */ -public final class UpdateEnvironmentRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateEnvironmentRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest) UpdateEnvironmentRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateEnvironmentRequest.newBuilder() to construct. private UpdateEnvironmentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private UpdateEnvironmentRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateEnvironmentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateEnvironmentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,45 +70,53 @@ private UpdateEnvironmentRequest( case 0: done = true; break; - case 10: { - com.google.cloud.orchestration.airflow.service.v1.Environment.Builder subBuilder = null; - if (environment_ != null) { - subBuilder = environment_.toBuilder(); - } - environment_ = input.readMessage(com.google.cloud.orchestration.airflow.service.v1.Environment.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(environment_); - environment_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + com.google.cloud.orchestration.airflow.service.v1.Environment.Builder subBuilder = + null; + if (environment_ != null) { + subBuilder = environment_.toBuilder(); + } + environment_ = + input.readMessage( + com.google.cloud.orchestration.airflow.service.v1.Environment.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(environment_); + environment_ = subBuilder.buildPartial(); + } - name_ = s; - break; - } - case 26: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); + break; } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; } + case 26: + { + 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) { @@ -99,35 +124,41 @@ private UpdateEnvironmentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_UpdateEnvironmentRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_UpdateEnvironmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_UpdateEnvironmentRequest_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_UpdateEnvironmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest.class, com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest.Builder.class); + com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest.class, + com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest.Builder + .class); } public static final int NAME_FIELD_NUMBER = 2; private volatile java.lang.Object name_; /** + * + * *
            * The relative resource name of the environment to update, in the form:
            * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
            * 
        * * string name = 2; + * * @return The name. */ @java.lang.Override @@ -136,30 +167,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 relative resource name of the environment to update, in the form:
            * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
            * 
        * * string name = 2; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -170,12 +201,15 @@ public java.lang.String getName() { public static final int ENVIRONMENT_FIELD_NUMBER = 1; private com.google.cloud.orchestration.airflow.service.v1.Environment environment_; /** + * + * *
            * A patch environment. Fields specified by the `updateMask` will be copied
            * from the patch environment into the environment under update.
            * 
        * * .google.cloud.orchestration.airflow.service.v1.Environment environment = 1; + * * @return Whether the environment field is set. */ @java.lang.Override @@ -183,19 +217,26 @@ public boolean hasEnvironment() { return environment_ != null; } /** + * + * *
            * A patch environment. Fields specified by the `updateMask` will be copied
            * from the patch environment into the environment under update.
            * 
        * * .google.cloud.orchestration.airflow.service.v1.Environment environment = 1; + * * @return The environment. */ @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1.Environment getEnvironment() { - return environment_ == null ? com.google.cloud.orchestration.airflow.service.v1.Environment.getDefaultInstance() : environment_; + return environment_ == null + ? com.google.cloud.orchestration.airflow.service.v1.Environment.getDefaultInstance() + : environment_; } /** + * + * *
            * A patch environment. Fields specified by the `updateMask` will be copied
            * from the patch environment into the environment under update.
        @@ -204,13 +245,16 @@ public com.google.cloud.orchestration.airflow.service.v1.Environment getEnvironm
            * .google.cloud.orchestration.airflow.service.v1.Environment environment = 1;
            */
           @java.lang.Override
        -  public com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder getEnvironmentOrBuilder() {
        +  public com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder
        +      getEnvironmentOrBuilder() {
             return getEnvironment();
           }
         
           public static final int UPDATE_MASK_FIELD_NUMBER = 3;
           private com.google.protobuf.FieldMask updateMask_;
           /**
        +   *
        +   *
            * 
            * Required. A comma-separated list of paths, relative to `Environment`, of
            * fields to update.
        @@ -319,6 +363,7 @@ public com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder ge
            * 
        * * .google.protobuf.FieldMask update_mask = 3; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -326,6 +371,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
            * Required. A comma-separated list of paths, relative to `Environment`, of
            * fields to update.
        @@ -434,6 +481,7 @@ public boolean hasUpdateMask() {
            * 
        * * .google.protobuf.FieldMask update_mask = 3; + * * @return The updateMask. */ @java.lang.Override @@ -441,6 +489,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
            * Required. A comma-separated list of paths, relative to `Environment`, of
            * fields to update.
        @@ -556,6 +606,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
           }
         
           private byte memoizedIsInitialized = -1;
        +
           @java.lang.Override
           public final boolean isInitialized() {
             byte isInitialized = memoizedIsInitialized;
        @@ -567,8 +618,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 (environment_ != null) {
               output.writeMessage(1, getEnvironment());
             }
        @@ -588,15 +638,13 @@ public int getSerializedSize() {
         
             size = 0;
             if (environment_ != null) {
        -      size += com.google.protobuf.CodedOutputStream
        -        .computeMessageSize(1, getEnvironment());
        +      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEnvironment());
             }
             if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
               size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_);
             }
             if (updateMask_ != null) {
        -      size += com.google.protobuf.CodedOutputStream
        -        .computeMessageSize(3, getUpdateMask());
        +      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask());
             }
             size += unknownFields.getSerializedSize();
             memoizedSize = size;
        @@ -606,24 +654,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.orchestration.airflow.service.v1.UpdateEnvironmentRequest)) {
        +    if (!(obj
        +        instanceof com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest)) {
               return super.equals(obj);
             }
        -    com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest other = (com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest) obj;
        +    com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest other =
        +        (com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest) obj;
         
        -    if (!getName()
        -        .equals(other.getName())) return false;
        +    if (!getName().equals(other.getName())) return false;
             if (hasEnvironment() != other.hasEnvironment()) return false;
             if (hasEnvironment()) {
        -      if (!getEnvironment()
        -          .equals(other.getEnvironment())) return false;
        +      if (!getEnvironment().equals(other.getEnvironment())) 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;
        @@ -651,135 +698,152 @@ public int hashCode() {
             return hash;
           }
         
        -  public static com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest parseFrom(
        -      java.nio.ByteBuffer data)
        -      throws com.google.protobuf.InvalidProtocolBufferException {
        +  public static com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest
        +      parseFrom(java.nio.ByteBuffer data)
        +          throws com.google.protobuf.InvalidProtocolBufferException {
             return PARSER.parseFrom(data);
           }
        -  public static com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest parseFrom(
        -      java.nio.ByteBuffer data,
        -      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        -      throws com.google.protobuf.InvalidProtocolBufferException {
        +
        +  public static com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest
        +      parseFrom(
        +          java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        +          throws com.google.protobuf.InvalidProtocolBufferException {
             return PARSER.parseFrom(data, extensionRegistry);
           }
        -  public static com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest parseFrom(
        -      com.google.protobuf.ByteString data)
        -      throws com.google.protobuf.InvalidProtocolBufferException {
        +
        +  public static com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest
        +      parseFrom(com.google.protobuf.ByteString data)
        +          throws com.google.protobuf.InvalidProtocolBufferException {
             return PARSER.parseFrom(data);
           }
        -  public static com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest parseFrom(
        -      com.google.protobuf.ByteString data,
        -      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        -      throws com.google.protobuf.InvalidProtocolBufferException {
        +
        +  public static com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest
        +      parseFrom(
        +          com.google.protobuf.ByteString data,
        +          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        +          throws com.google.protobuf.InvalidProtocolBufferException {
             return PARSER.parseFrom(data, extensionRegistry);
           }
        -  public static com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest parseFrom(byte[] data)
        -      throws com.google.protobuf.InvalidProtocolBufferException {
        +
        +  public static com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest
        +      parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
             return PARSER.parseFrom(data);
           }
        -  public static com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest parseFrom(
        -      byte[] data,
        -      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        -      throws com.google.protobuf.InvalidProtocolBufferException {
        +
        +  public static com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest
        +      parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        +          throws com.google.protobuf.InvalidProtocolBufferException {
             return PARSER.parseFrom(data, extensionRegistry);
           }
        -  public static com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest parseFrom(java.io.InputStream input)
        -      throws java.io.IOException {
        -    return com.google.protobuf.GeneratedMessageV3
        -        .parseWithIOException(PARSER, input);
        +
        +  public static com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest
        +      parseFrom(java.io.InputStream input) throws java.io.IOException {
        +    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
           }
        -  public static com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest parseFrom(
        -      java.io.InputStream input,
        -      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        -      throws java.io.IOException {
        -    return com.google.protobuf.GeneratedMessageV3
        -        .parseWithIOException(PARSER, input, extensionRegistry);
        +
        +  public static com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest
        +      parseFrom(
        +          java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        +          throws java.io.IOException {
        +    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
        +        PARSER, input, extensionRegistry);
           }
        -  public static com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest parseDelimitedFrom(java.io.InputStream input)
        -      throws java.io.IOException {
        -    return com.google.protobuf.GeneratedMessageV3
        -        .parseDelimitedWithIOException(PARSER, input);
        +
        +  public static com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest
        +      parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
        +    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
           }
        -  public static com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest 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.orchestration.airflow.service.v1.UpdateEnvironmentRequest
        +      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.orchestration.airflow.service.v1.UpdateEnvironmentRequest parseFrom(
        -      com.google.protobuf.CodedInputStream input)
        -      throws java.io.IOException {
        -    return com.google.protobuf.GeneratedMessageV3
        -        .parseWithIOException(PARSER, input);
        +
        +  public static com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest
        +      parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
        +    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
           }
        -  public static com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest parseFrom(
        -      com.google.protobuf.CodedInputStream input,
        -      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        -      throws java.io.IOException {
        -    return com.google.protobuf.GeneratedMessageV3
        -        .parseWithIOException(PARSER, input, extensionRegistry);
        +
        +  public static com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest
        +      parseFrom(
        +          com.google.protobuf.CodedInputStream input,
        +          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        +          throws java.io.IOException {
        +    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
        +        PARSER, input, extensionRegistry);
           }
         
           @java.lang.Override
        -  public Builder newBuilderForType() { return newBuilder(); }
        +  public Builder newBuilderForType() {
        +    return newBuilder();
        +  }
        +
           public static Builder newBuilder() {
             return DEFAULT_INSTANCE.toBuilder();
           }
        -  public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest prototype) {
        +
        +  public static Builder newBuilder(
        +      com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest prototype) {
             return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
           }
        +
           @java.lang.Override
           public Builder toBuilder() {
        -    return this == DEFAULT_INSTANCE
        -        ? new Builder() : new Builder().mergeFrom(this);
        +    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
           }
         
           @java.lang.Override
        -  protected Builder newBuilderForType(
        -      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        +  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
             Builder builder = new Builder(parent);
             return builder;
           }
           /**
        +   *
        +   *
            * 
            * Update an environment.
            * 
        * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest) com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_UpdateEnvironmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_UpdateEnvironmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_UpdateEnvironmentRequest_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_UpdateEnvironmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest.class, com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest.Builder.class); + com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest.class, + com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest.Builder + .class); } - // Construct using com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest.newBuilder() + // Construct using + // com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -801,19 +865,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_UpdateEnvironmentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_UpdateEnvironmentRequest_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest.getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest + getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest build() { - com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest result = buildPartial(); + com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -821,8 +888,10 @@ public com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentReques } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest buildPartial() { - com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest result = new com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest(this); + public com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest + buildPartial() { + com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest result = + new com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest(this); result.name_ = name_; if (environmentBuilder_ == null) { result.environment_ = environment_; @@ -842,46 +911,52 @@ public com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentReques public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest) { - return mergeFrom((com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest)other); + if (other + instanceof com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest) { + return mergeFrom( + (com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest other) { - if (other == com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest other) { + if (other + == com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -907,11 +982,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest parsedMessage = null; + com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -923,19 +1001,21 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
              * The relative resource name of the environment to update, in the form:
              * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
              * 
        * * string name = 2; + * * @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; @@ -944,21 +1024,22 @@ public java.lang.String getName() { } } /** + * + * *
              * The relative resource name of the environment to update, in the form:
              * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
              * 
        * * string name = 2; + * * @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 { @@ -966,57 +1047,64 @@ public java.lang.String getName() { } } /** + * + * *
              * The relative resource name of the environment to update, in the form:
              * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
              * 
        * * string name = 2; + * * @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 relative resource name of the environment to update, in the form:
              * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
              * 
        * * string name = 2; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
              * The relative resource name of the environment to update, in the form:
              * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
              * 
        * * string name = 2; + * * @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; @@ -1024,36 +1112,49 @@ public Builder setNameBytes( private com.google.cloud.orchestration.airflow.service.v1.Environment environment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.Environment, com.google.cloud.orchestration.airflow.service.v1.Environment.Builder, com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder> environmentBuilder_; + com.google.cloud.orchestration.airflow.service.v1.Environment, + com.google.cloud.orchestration.airflow.service.v1.Environment.Builder, + com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder> + environmentBuilder_; /** + * + * *
              * A patch environment. Fields specified by the `updateMask` will be copied
              * from the patch environment into the environment under update.
              * 
        * * .google.cloud.orchestration.airflow.service.v1.Environment environment = 1; + * * @return Whether the environment field is set. */ public boolean hasEnvironment() { return environmentBuilder_ != null || environment_ != null; } /** + * + * *
              * A patch environment. Fields specified by the `updateMask` will be copied
              * from the patch environment into the environment under update.
              * 
        * * .google.cloud.orchestration.airflow.service.v1.Environment environment = 1; + * * @return The environment. */ public com.google.cloud.orchestration.airflow.service.v1.Environment getEnvironment() { if (environmentBuilder_ == null) { - return environment_ == null ? com.google.cloud.orchestration.airflow.service.v1.Environment.getDefaultInstance() : environment_; + return environment_ == null + ? com.google.cloud.orchestration.airflow.service.v1.Environment.getDefaultInstance() + : environment_; } else { return environmentBuilder_.getMessage(); } } /** + * + * *
              * A patch environment. Fields specified by the `updateMask` will be copied
              * from the patch environment into the environment under update.
        @@ -1061,7 +1162,8 @@ public com.google.cloud.orchestration.airflow.service.v1.Environment getEnvironm
              *
              * .google.cloud.orchestration.airflow.service.v1.Environment environment = 1;
              */
        -    public Builder setEnvironment(com.google.cloud.orchestration.airflow.service.v1.Environment value) {
        +    public Builder setEnvironment(
        +        com.google.cloud.orchestration.airflow.service.v1.Environment value) {
               if (environmentBuilder_ == null) {
                 if (value == null) {
                   throw new NullPointerException();
        @@ -1075,6 +1177,8 @@ public Builder setEnvironment(com.google.cloud.orchestration.airflow.service.v1.
               return this;
             }
             /**
        +     *
        +     *
              * 
              * A patch environment. Fields specified by the `updateMask` will be copied
              * from the patch environment into the environment under update.
        @@ -1094,6 +1198,8 @@ public Builder setEnvironment(
               return this;
             }
             /**
        +     *
        +     *
              * 
              * A patch environment. Fields specified by the `updateMask` will be copied
              * from the patch environment into the environment under update.
        @@ -1101,11 +1207,14 @@ public Builder setEnvironment(
              *
              * .google.cloud.orchestration.airflow.service.v1.Environment environment = 1;
              */
        -    public Builder mergeEnvironment(com.google.cloud.orchestration.airflow.service.v1.Environment value) {
        +    public Builder mergeEnvironment(
        +        com.google.cloud.orchestration.airflow.service.v1.Environment value) {
               if (environmentBuilder_ == null) {
                 if (environment_ != null) {
                   environment_ =
        -            com.google.cloud.orchestration.airflow.service.v1.Environment.newBuilder(environment_).mergeFrom(value).buildPartial();
        +              com.google.cloud.orchestration.airflow.service.v1.Environment.newBuilder(environment_)
        +                  .mergeFrom(value)
        +                  .buildPartial();
                 } else {
                   environment_ = value;
                 }
        @@ -1117,6 +1226,8 @@ public Builder mergeEnvironment(com.google.cloud.orchestration.airflow.service.v
               return this;
             }
             /**
        +     *
        +     *
              * 
              * A patch environment. Fields specified by the `updateMask` will be copied
              * from the patch environment into the environment under update.
        @@ -1136,6 +1247,8 @@ public Builder clearEnvironment() {
               return this;
             }
             /**
        +     *
        +     *
              * 
              * A patch environment. Fields specified by the `updateMask` will be copied
              * from the patch environment into the environment under update.
        @@ -1143,12 +1256,15 @@ public Builder clearEnvironment() {
              *
              * .google.cloud.orchestration.airflow.service.v1.Environment environment = 1;
              */
        -    public com.google.cloud.orchestration.airflow.service.v1.Environment.Builder getEnvironmentBuilder() {
        -      
        +    public com.google.cloud.orchestration.airflow.service.v1.Environment.Builder
        +        getEnvironmentBuilder() {
        +
               onChanged();
               return getEnvironmentFieldBuilder().getBuilder();
             }
             /**
        +     *
        +     *
              * 
              * A patch environment. Fields specified by the `updateMask` will be copied
              * from the patch environment into the environment under update.
        @@ -1156,15 +1272,19 @@ public com.google.cloud.orchestration.airflow.service.v1.Environment.Builder get
              *
              * .google.cloud.orchestration.airflow.service.v1.Environment environment = 1;
              */
        -    public com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder getEnvironmentOrBuilder() {
        +    public com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder
        +        getEnvironmentOrBuilder() {
               if (environmentBuilder_ != null) {
                 return environmentBuilder_.getMessageOrBuilder();
               } else {
        -        return environment_ == null ?
        -            com.google.cloud.orchestration.airflow.service.v1.Environment.getDefaultInstance() : environment_;
        +        return environment_ == null
        +            ? com.google.cloud.orchestration.airflow.service.v1.Environment.getDefaultInstance()
        +            : environment_;
               }
             }
             /**
        +     *
        +     *
              * 
              * A patch environment. Fields specified by the `updateMask` will be copied
              * from the patch environment into the environment under update.
        @@ -1173,14 +1293,17 @@ public com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder ge
              * .google.cloud.orchestration.airflow.service.v1.Environment environment = 1;
              */
             private com.google.protobuf.SingleFieldBuilderV3<
        -        com.google.cloud.orchestration.airflow.service.v1.Environment, com.google.cloud.orchestration.airflow.service.v1.Environment.Builder, com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder> 
        +            com.google.cloud.orchestration.airflow.service.v1.Environment,
        +            com.google.cloud.orchestration.airflow.service.v1.Environment.Builder,
        +            com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder>
                 getEnvironmentFieldBuilder() {
               if (environmentBuilder_ == null) {
        -        environmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
        -            com.google.cloud.orchestration.airflow.service.v1.Environment, com.google.cloud.orchestration.airflow.service.v1.Environment.Builder, com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder>(
        -                getEnvironment(),
        -                getParentForChildren(),
        -                isClean());
        +        environmentBuilder_ =
        +            new com.google.protobuf.SingleFieldBuilderV3<
        +                com.google.cloud.orchestration.airflow.service.v1.Environment,
        +                com.google.cloud.orchestration.airflow.service.v1.Environment.Builder,
        +                com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder>(
        +                getEnvironment(), getParentForChildren(), isClean());
                 environment_ = null;
               }
               return environmentBuilder_;
        @@ -1188,8 +1311,13 @@ public com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder ge
         
             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_;
             /**
        +     *
        +     *
              * 
              * Required. A comma-separated list of paths, relative to `Environment`, of
              * fields to update.
        @@ -1298,12 +1426,15 @@ public com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder ge
              * 
        * * .google.protobuf.FieldMask update_mask = 3; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
              * Required. A comma-separated list of paths, relative to `Environment`, of
              * fields to update.
        @@ -1412,16 +1543,21 @@ public boolean hasUpdateMask() {
              * 
        * * .google.protobuf.FieldMask update_mask = 3; + * * @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(); } } /** + * + * *
              * Required. A comma-separated list of paths, relative to `Environment`, of
              * fields to update.
        @@ -1545,6 +1681,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
               return this;
             }
             /**
        +     *
        +     *
              * 
              * Required. A comma-separated list of paths, relative to `Environment`, of
              * fields to update.
        @@ -1654,8 +1792,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
              *
              * .google.protobuf.FieldMask update_mask = 3;
              */
        -    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();
        @@ -1666,6 +1803,8 @@ public Builder setUpdateMask(
               return this;
             }
             /**
        +     *
        +     *
              * 
              * Required. A comma-separated list of paths, relative to `Environment`, of
              * fields to update.
        @@ -1779,7 +1918,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;
                 }
        @@ -1791,6 +1930,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
               return this;
             }
             /**
        +     *
        +     *
              * 
              * Required. A comma-separated list of paths, relative to `Environment`, of
              * fields to update.
        @@ -1912,6 +2053,8 @@ public Builder clearUpdateMask() {
               return this;
             }
             /**
        +     *
        +     *
              * 
              * Required. A comma-separated list of paths, relative to `Environment`, of
              * fields to update.
        @@ -2022,11 +2165,13 @@ public Builder clearUpdateMask() {
              * .google.protobuf.FieldMask update_mask = 3;
              */
             public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
        -      
        +
               onChanged();
               return getUpdateMaskFieldBuilder().getBuilder();
             }
             /**
        +     *
        +     *
              * 
              * Required. A comma-separated list of paths, relative to `Environment`, of
              * fields to update.
        @@ -2140,11 +2285,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_;
               }
             }
             /**
        +     *
        +     *
              * 
              * Required. A comma-separated list of paths, relative to `Environment`, of
              * fields to update.
        @@ -2255,21 +2403,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
              * .google.protobuf.FieldMask update_mask = 3;
              */
             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);
             }
         
        @@ -2279,30 +2430,33 @@ public final Builder mergeUnknownFields(
               return super.mergeUnknownFields(unknownFields);
             }
         
        -
             // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest)
           }
         
           // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest)
        -  private static final com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest DEFAULT_INSTANCE;
        +  private static final com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest
        +      DEFAULT_INSTANCE;
        +
           static {
        -    DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest();
        +    DEFAULT_INSTANCE =
        +        new com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest();
           }
         
        -  public static com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest getDefaultInstance() {
        +  public static com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest
        +      getDefaultInstance() {
             return DEFAULT_INSTANCE;
           }
         
        -  private static final com.google.protobuf.Parser
        -      PARSER = new com.google.protobuf.AbstractParser() {
        -    @java.lang.Override
        -    public UpdateEnvironmentRequest parsePartialFrom(
        -        com.google.protobuf.CodedInputStream input,
        -        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        -        throws com.google.protobuf.InvalidProtocolBufferException {
        -      return new UpdateEnvironmentRequest(input, extensionRegistry);
        -    }
        -  };
        +  private static final com.google.protobuf.Parser PARSER =
        +      new com.google.protobuf.AbstractParser() {
        +        @java.lang.Override
        +        public UpdateEnvironmentRequest parsePartialFrom(
        +            com.google.protobuf.CodedInputStream input,
        +            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        +            throws com.google.protobuf.InvalidProtocolBufferException {
        +          return new UpdateEnvironmentRequest(input, extensionRegistry);
        +        }
        +      };
         
           public static com.google.protobuf.Parser parser() {
             return PARSER;
        @@ -2314,9 +2468,8 @@ public com.google.protobuf.Parser getParserForType() {
           }
         
           @java.lang.Override
        -  public com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest getDefaultInstanceForType() {
        +  public com.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest
        +      getDefaultInstanceForType() {
             return DEFAULT_INSTANCE;
           }
        -
         }
        -
        diff --git a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/UpdateEnvironmentRequestOrBuilder.java b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/UpdateEnvironmentRequestOrBuilder.java
        similarity index 95%
        rename from owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/UpdateEnvironmentRequestOrBuilder.java
        rename to proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/UpdateEnvironmentRequestOrBuilder.java
        index 39848b75..944fecf6 100644
        --- a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/UpdateEnvironmentRequestOrBuilder.java
        +++ b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/UpdateEnvironmentRequestOrBuilder.java
        @@ -1,55 +1,84 @@
        +/*
        + * Copyright 2020 Google LLC
        + *
        + * Licensed under the Apache License, Version 2.0 (the "License");
        + * you may not use this file except in compliance with the License.
        + * You may obtain a copy of the License at
        + *
        + *     https://www.apache.org/licenses/LICENSE-2.0
        + *
        + * Unless required by applicable law or agreed to in writing, software
        + * distributed under the License is distributed on an "AS IS" BASIS,
        + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
        + * See the License for the specific language governing permissions and
        + * limitations under the License.
        + */
         // Generated by the protocol buffer compiler.  DO NOT EDIT!
         // source: google/cloud/orchestration/airflow/service/v1/environments.proto
         
         package com.google.cloud.orchestration.airflow.service.v1;
         
        -public interface UpdateEnvironmentRequestOrBuilder extends
        +public interface UpdateEnvironmentRequestOrBuilder
        +    extends
             // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest)
             com.google.protobuf.MessageOrBuilder {
         
           /**
        +   *
        +   *
            * 
            * The relative resource name of the environment to update, in the form:
            * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
            * 
        * * string name = 2; + * * @return The name. */ java.lang.String getName(); /** + * + * *
            * The relative resource name of the environment to update, in the form:
            * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
            * 
        * * string name = 2; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
            * A patch environment. Fields specified by the `updateMask` will be copied
            * from the patch environment into the environment under update.
            * 
        * * .google.cloud.orchestration.airflow.service.v1.Environment environment = 1; + * * @return Whether the environment field is set. */ boolean hasEnvironment(); /** + * + * *
            * A patch environment. Fields specified by the `updateMask` will be copied
            * from the patch environment into the environment under update.
            * 
        * * .google.cloud.orchestration.airflow.service.v1.Environment environment = 1; + * * @return The environment. */ com.google.cloud.orchestration.airflow.service.v1.Environment getEnvironment(); /** + * + * *
            * A patch environment. Fields specified by the `updateMask` will be copied
            * from the patch environment into the environment under update.
        @@ -60,6 +89,8 @@ public interface UpdateEnvironmentRequestOrBuilder extends
           com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder getEnvironmentOrBuilder();
         
           /**
        +   *
        +   *
            * 
            * Required. A comma-separated list of paths, relative to `Environment`, of
            * fields to update.
        @@ -168,10 +199,13 @@ public interface UpdateEnvironmentRequestOrBuilder extends
            * 
        * * .google.protobuf.FieldMask update_mask = 3; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
            * Required. A comma-separated list of paths, relative to `Environment`, of
            * fields to update.
        @@ -280,10 +314,13 @@ public interface UpdateEnvironmentRequestOrBuilder extends
            * 
        * * .google.protobuf.FieldMask update_mask = 3; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
            * Required. A comma-separated list of paths, relative to `Environment`, of
            * fields to update.
        diff --git a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/WebServerConfig.java b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/WebServerConfig.java
        similarity index 69%
        rename from owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/WebServerConfig.java
        rename to proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/WebServerConfig.java
        index ef1bd7e6..edb64025 100644
        --- a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/WebServerConfig.java
        +++ b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/WebServerConfig.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/orchestration/airflow/service/v1/environments.proto
         
         package com.google.cloud.orchestration.airflow.service.v1;
         
         /**
        + *
        + *
          * 
          * The configuration settings for the Airflow web server App Engine instance.
          * 
        * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.WebServerConfig} */ -public final class WebServerConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class WebServerConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1.WebServerConfig) WebServerConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use WebServerConfig.newBuilder() to construct. private WebServerConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private WebServerConfig() { machineType_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new WebServerConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private WebServerConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private WebServerConfig( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - machineType_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + machineType_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,29 +91,33 @@ private WebServerConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_WebServerConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_WebServerConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_WebServerConfig_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_WebServerConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.class, com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.Builder.class); + com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.class, + com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.Builder.class); } public static final int MACHINE_TYPE_FIELD_NUMBER = 1; private volatile java.lang.Object machineType_; /** + * + * *
            * Optional. Machine type on which Airflow web server is running.
            * It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or
        @@ -106,6 +128,7 @@ private WebServerConfig(
            * 
        * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The machineType. */ @java.lang.Override @@ -114,14 +137,15 @@ public java.lang.String getMachineType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); machineType_ = s; return s; } } /** + * + * *
            * Optional. Machine type on which Airflow web server is running.
            * It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or
        @@ -132,16 +156,15 @@ public java.lang.String getMachineType() {
            * 
        * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for machineType. */ @java.lang.Override - public com.google.protobuf.ByteString - getMachineTypeBytes() { + public com.google.protobuf.ByteString getMachineTypeBytes() { java.lang.Object ref = machineType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); machineType_ = b; return b; } else { @@ -150,6 +173,7 @@ public java.lang.String getMachineType() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -161,8 +185,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(machineType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, machineType_); } @@ -186,15 +209,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.orchestration.airflow.service.v1.WebServerConfig)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1.WebServerConfig other = (com.google.cloud.orchestration.airflow.service.v1.WebServerConfig) obj; + com.google.cloud.orchestration.airflow.service.v1.WebServerConfig other = + (com.google.cloud.orchestration.airflow.service.v1.WebServerConfig) obj; - if (!getMachineType() - .equals(other.getMachineType())) return false; + if (!getMachineType().equals(other.getMachineType())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -214,134 +237,145 @@ public int hashCode() { } public static com.google.cloud.orchestration.airflow.service.v1.WebServerConfig 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.orchestration.airflow.service.v1.WebServerConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.orchestration.airflow.service.v1.WebServerConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.orchestration.airflow.service.v1.WebServerConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.WebServerConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1.WebServerConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.orchestration.airflow.service.v1.WebServerConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.WebServerConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1.WebServerConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.orchestration.airflow.service.v1.WebServerConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.WebServerConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1.WebServerConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1.WebServerConfig 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.orchestration.airflow.service.v1.WebServerConfig + 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.orchestration.airflow.service.v1.WebServerConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.orchestration.airflow.service.v1.WebServerConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1.WebServerConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.orchestration.airflow.service.v1.WebServerConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 configuration settings for the Airflow web server App Engine instance.
            * 
        * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.WebServerConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1.WebServerConfig) com.google.cloud.orchestration.airflow.service.v1.WebServerConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_WebServerConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_WebServerConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_WebServerConfig_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_WebServerConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.class, com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.Builder.class); + com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.class, + com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.Builder.class); } - // Construct using com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.newBuilder() + // Construct using + // com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -351,13 +385,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_WebServerConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_WebServerConfig_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.WebServerConfig getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1.WebServerConfig + getDefaultInstanceForType() { return com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.getDefaultInstance(); } @@ -372,7 +407,8 @@ public com.google.cloud.orchestration.airflow.service.v1.WebServerConfig build() @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1.WebServerConfig buildPartial() { - com.google.cloud.orchestration.airflow.service.v1.WebServerConfig result = new com.google.cloud.orchestration.airflow.service.v1.WebServerConfig(this); + com.google.cloud.orchestration.airflow.service.v1.WebServerConfig result = + new com.google.cloud.orchestration.airflow.service.v1.WebServerConfig(this); result.machineType_ = machineType_; onBuilt(); return result; @@ -382,46 +418,50 @@ public com.google.cloud.orchestration.airflow.service.v1.WebServerConfig 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.orchestration.airflow.service.v1.WebServerConfig) { - return mergeFrom((com.google.cloud.orchestration.airflow.service.v1.WebServerConfig)other); + return mergeFrom((com.google.cloud.orchestration.airflow.service.v1.WebServerConfig) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1.WebServerConfig other) { - if (other == com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.orchestration.airflow.service.v1.WebServerConfig other) { + if (other + == com.google.cloud.orchestration.airflow.service.v1.WebServerConfig.getDefaultInstance()) + return this; if (!other.getMachineType().isEmpty()) { machineType_ = other.machineType_; onChanged(); @@ -445,7 +485,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.orchestration.airflow.service.v1.WebServerConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.orchestration.airflow.service.v1.WebServerConfig) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -457,6 +499,8 @@ public Builder mergeFrom( private java.lang.Object machineType_ = ""; /** + * + * *
              * Optional. Machine type on which Airflow web server is running.
              * It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or
        @@ -467,13 +511,13 @@ public Builder mergeFrom(
              * 
        * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The machineType. */ public java.lang.String getMachineType() { java.lang.Object ref = machineType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); machineType_ = s; return s; @@ -482,6 +526,8 @@ public java.lang.String getMachineType() { } } /** + * + * *
              * Optional. Machine type on which Airflow web server is running.
              * It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or
        @@ -492,15 +538,14 @@ public java.lang.String getMachineType() {
              * 
        * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for machineType. */ - public com.google.protobuf.ByteString - getMachineTypeBytes() { + public com.google.protobuf.ByteString getMachineTypeBytes() { java.lang.Object ref = machineType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); machineType_ = b; return b; } else { @@ -508,6 +553,8 @@ public java.lang.String getMachineType() { } } /** + * + * *
              * Optional. Machine type on which Airflow web server is running.
              * It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or
        @@ -518,20 +565,22 @@ public java.lang.String getMachineType() {
              * 
        * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The machineType to set. * @return This builder for chaining. */ - public Builder setMachineType( - java.lang.String value) { + public Builder setMachineType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + machineType_ = value; onChanged(); return this; } /** + * + * *
              * Optional. Machine type on which Airflow web server is running.
              * It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or
        @@ -542,15 +591,18 @@ public Builder setMachineType(
              * 
        * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearMachineType() { - + machineType_ = getDefaultInstance().getMachineType(); onChanged(); return this; } /** + * + * *
              * Optional. Machine type on which Airflow web server is running.
              * It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or
        @@ -561,23 +613,23 @@ public Builder clearMachineType() {
              * 
        * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for machineType to set. * @return This builder for chaining. */ - public Builder setMachineTypeBytes( - com.google.protobuf.ByteString value) { + public Builder setMachineTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + machineType_ = 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); } @@ -587,30 +639,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1.WebServerConfig) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1.WebServerConfig) - private static final com.google.cloud.orchestration.airflow.service.v1.WebServerConfig DEFAULT_INSTANCE; + private static final com.google.cloud.orchestration.airflow.service.v1.WebServerConfig + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1.WebServerConfig(); } - public static com.google.cloud.orchestration.airflow.service.v1.WebServerConfig getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1.WebServerConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WebServerConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WebServerConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WebServerConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WebServerConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -622,9 +676,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.WebServerConfig getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1.WebServerConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/WebServerConfigOrBuilder.java b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/WebServerConfigOrBuilder.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/WebServerConfigOrBuilder.java rename to proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/WebServerConfigOrBuilder.java index d8439570..88067c39 100644 --- a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/WebServerConfigOrBuilder.java +++ b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/WebServerConfigOrBuilder.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/orchestration/airflow/service/v1/environments.proto package com.google.cloud.orchestration.airflow.service.v1; -public interface WebServerConfigOrBuilder extends +public interface WebServerConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1.WebServerConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
            * Optional. Machine type on which Airflow web server is running.
            * It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or
        @@ -18,10 +36,13 @@ public interface WebServerConfigOrBuilder extends
            * 
        * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The machineType. */ java.lang.String getMachineType(); /** + * + * *
            * Optional. Machine type on which Airflow web server is running.
            * It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or
        @@ -32,8 +53,8 @@ public interface WebServerConfigOrBuilder extends
            * 
        * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for machineType. */ - com.google.protobuf.ByteString - getMachineTypeBytes(); + com.google.protobuf.ByteString getMachineTypeBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/WebServerNetworkAccessControl.java b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/WebServerNetworkAccessControl.java similarity index 58% rename from owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/WebServerNetworkAccessControl.java rename to proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/WebServerNetworkAccessControl.java index 673779e5..00b6602e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/WebServerNetworkAccessControl.java +++ b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/WebServerNetworkAccessControl.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/orchestration/airflow/service/v1/environments.proto package com.google.cloud.orchestration.airflow.service.v1; /** + * + * *
          * Network-level access control policy for the Airflow web server.
          * 
        * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl} */ -public final class WebServerNetworkAccessControl extends - com.google.protobuf.GeneratedMessageV3 implements +public final class WebServerNetworkAccessControl extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl) WebServerNetworkAccessControlOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use WebServerNetworkAccessControl.newBuilder() to construct. private WebServerNetworkAccessControl(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private WebServerNetworkAccessControl() { allowedIpRanges_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new WebServerNetworkAccessControl(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private WebServerNetworkAccessControl( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,22 +71,29 @@ private WebServerNetworkAccessControl( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - allowedIpRanges_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + allowedIpRanges_ = + new java.util.ArrayList< + com.google.cloud.orchestration.airflow.service.v1 + .WebServerNetworkAccessControl.AllowedIpRange>(); + mutable_bitField0_ |= 0x00000001; + } + allowedIpRanges_.add( + input.readMessage( + com.google.cloud.orchestration.airflow.service.v1 + .WebServerNetworkAccessControl.AllowedIpRange.parser(), + extensionRegistry)); + break; } - allowedIpRanges_.add( - input.readMessage(com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -77,8 +101,7 @@ private WebServerNetworkAccessControl( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { allowedIpRanges_ = java.util.Collections.unmodifiableList(allowedIpRanges_); @@ -87,24 +110,31 @@ private WebServerNetworkAccessControl( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.class, com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.Builder.class); + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.class, + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.Builder + .class); } - public interface AllowedIpRangeOrBuilder extends + public interface AllowedIpRangeOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange) com.google.protobuf.MessageOrBuilder { /** + * + * *
              * IP address or range, defined using CIDR notation, of requests that this
              * rule applies to.
        @@ -116,10 +146,13 @@ public interface AllowedIpRangeOrBuilder extends
              * 
        * * string value = 1; + * * @return The value. */ java.lang.String getValue(); /** + * + * *
              * IP address or range, defined using CIDR notation, of requests that this
              * rule applies to.
        @@ -131,47 +164,56 @@ public interface AllowedIpRangeOrBuilder extends
              * 
        * * string value = 1; + * * @return The bytes for value. */ - com.google.protobuf.ByteString - getValueBytes(); + com.google.protobuf.ByteString getValueBytes(); /** + * + * *
              * Optional. User-provided description. It must contain at most 300 characters.
              * 
        * * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
              * Optional. User-provided description. It must contain at most 300 characters.
              * 
        * * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); } /** + * + * *
            * Allowed IP range with user-provided description.
            * 
        * - * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange} + * Protobuf type {@code + * google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange} */ - public static final class AllowedIpRange extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class AllowedIpRange extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange) AllowedIpRangeOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AllowedIpRange.newBuilder() to construct. private AllowedIpRange(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AllowedIpRange() { value_ = ""; description_ = ""; @@ -179,16 +221,15 @@ private AllowedIpRange() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AllowedIpRange(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AllowedIpRange( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -207,25 +248,27 @@ private AllowedIpRange( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - value_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + value_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + description_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -233,29 +276,35 @@ private AllowedIpRange( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_AllowedIpRange_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_AllowedIpRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_AllowedIpRange_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_AllowedIpRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange.class, com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange.Builder.class); + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRange.class, + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRange.Builder.class); } public static final int VALUE_FIELD_NUMBER = 1; private volatile java.lang.Object value_; /** + * + * *
              * IP address or range, defined using CIDR notation, of requests that this
              * rule applies to.
        @@ -267,6 +316,7 @@ private AllowedIpRange(
              * 
        * * string value = 1; + * * @return The value. */ @java.lang.Override @@ -275,14 +325,15 @@ public java.lang.String getValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); value_ = s; return s; } } /** + * + * *
              * IP address or range, defined using CIDR notation, of requests that this
              * rule applies to.
        @@ -294,16 +345,15 @@ public java.lang.String getValue() {
              * 
        * * string value = 1; + * * @return The bytes for value. */ @java.lang.Override - public com.google.protobuf.ByteString - getValueBytes() { + public com.google.protobuf.ByteString getValueBytes() { java.lang.Object ref = value_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); value_ = b; return b; } else { @@ -314,11 +364,14 @@ public java.lang.String getValue() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** + * + * *
              * Optional. User-provided description. It must contain at most 300 characters.
              * 
        * * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ @java.lang.Override @@ -327,29 +380,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. User-provided description. It must contain at most 300 characters.
              * 
        * * string description = 2 [(.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 { @@ -358,6 +411,7 @@ public java.lang.String getDescription() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -369,8 +423,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, value_); } @@ -400,17 +453,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.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange)) { + if (!(obj + instanceof + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRange)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange other = (com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange) obj; + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange + other = + (com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRange) + obj; - if (!getValue() - .equals(other.getValue())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; + if (!getValue().equals(other.getValue())) return false; + if (!getDescription().equals(other.getDescription())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -431,88 +489,115 @@ public int hashCode() { return hash; } - public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRange + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRange + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRange + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRange + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRange + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRange + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRange + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRange + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRange + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange 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.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRange + 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.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRange + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRange + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange prototype) { + + public static Builder newBuilder( + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRange + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -522,44 +607,53 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
              * Allowed IP range with user-provided description.
              * 
        * - * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange} + * Protobuf type {@code + * google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange) - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRangeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_AllowedIpRange_descriptor; + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRangeOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_AllowedIpRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_AllowedIpRange_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_AllowedIpRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange.class, com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange.Builder.class); + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRange.class, + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRange.Builder.class); } - // Construct using com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange.newBuilder() + // Construct using + // com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -571,19 +665,26 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_AllowedIpRange_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_AllowedIpRange_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange.getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRange + getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRange.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange build() { - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange result = buildPartial(); + public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRange + build() { + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRange + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -591,8 +692,14 @@ public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessC } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange buildPartial() { - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange result = new com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange(this); + public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRange + buildPartial() { + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRange + result = + new com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRange(this); result.value_ = value_; result.description_ = description_; onBuilt(); @@ -603,46 +710,60 @@ public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessC public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange) { - return mergeFrom((com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange)other); + if (other + instanceof + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRange) { + return mergeFrom( + (com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRange) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange other) { - if (other == com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRange + other) { + if (other + == com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRange.getDefaultInstance()) return this; if (!other.getValue().isEmpty()) { value_ = other.value_; onChanged(); @@ -666,11 +787,16 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange parsedMessage = null; + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRange + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRange) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -682,6 +808,8 @@ public Builder mergeFrom( private java.lang.Object value_ = ""; /** + * + * *
                * IP address or range, defined using CIDR notation, of requests that this
                * rule applies to.
        @@ -693,13 +821,13 @@ public Builder mergeFrom(
                * 
        * * string value = 1; + * * @return The value. */ public java.lang.String getValue() { java.lang.Object ref = value_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); value_ = s; return s; @@ -708,6 +836,8 @@ public java.lang.String getValue() { } } /** + * + * *
                * IP address or range, defined using CIDR notation, of requests that this
                * rule applies to.
        @@ -719,15 +849,14 @@ public java.lang.String getValue() {
                * 
        * * string value = 1; + * * @return The bytes for value. */ - public com.google.protobuf.ByteString - getValueBytes() { + public com.google.protobuf.ByteString getValueBytes() { java.lang.Object ref = value_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); value_ = b; return b; } else { @@ -735,6 +864,8 @@ public java.lang.String getValue() { } } /** + * + * *
                * IP address or range, defined using CIDR notation, of requests that this
                * rule applies to.
        @@ -746,20 +877,22 @@ public java.lang.String getValue() {
                * 
        * * string value = 1; + * * @param value The value to set. * @return This builder for chaining. */ - public Builder setValue( - java.lang.String value) { + public Builder setValue(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + value_ = value; onChanged(); return this; } /** + * + * *
                * IP address or range, defined using CIDR notation, of requests that this
                * rule applies to.
        @@ -771,15 +904,18 @@ public Builder setValue(
                * 
        * * string value = 1; + * * @return This builder for chaining. */ public Builder clearValue() { - + value_ = getDefaultInstance().getValue(); onChanged(); return this; } /** + * + * *
                * IP address or range, defined using CIDR notation, of requests that this
                * rule applies to.
        @@ -791,16 +927,16 @@ public Builder clearValue() {
                * 
        * * string value = 1; + * * @param value The bytes for value to set. * @return This builder for chaining. */ - public Builder setValueBytes( - com.google.protobuf.ByteString value) { + public Builder setValueBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + value_ = value; onChanged(); return this; @@ -808,18 +944,20 @@ public Builder setValueBytes( private java.lang.Object description_ = ""; /** + * + * *
                * Optional. User-provided description. It must contain at most 300 characters.
                * 
        * * string description = 2 [(.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; @@ -828,20 +966,21 @@ public java.lang.String getDescription() { } } /** + * + * *
                * Optional. User-provided description. It must contain at most 300 characters.
                * 
        * * string description = 2 [(.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 { @@ -849,58 +988,66 @@ public java.lang.String getDescription() { } } /** + * + * *
                * Optional. User-provided description. It must contain at most 300 characters.
                * 
        * * string description = 2 [(.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. User-provided description. It must contain at most 300 characters.
                * 
        * * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
                * Optional. User-provided description. It must contain at most 300 characters.
                * 
        * * string description = 2 [(.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; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -913,30 +1060,36 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange) - private static final com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange DEFAULT_INSTANCE; + private static final com.google.cloud.orchestration.airflow.service.v1 + .WebServerNetworkAccessControl.AllowedIpRange + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange(); + DEFAULT_INSTANCE = + new com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRange(); } - public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRange + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AllowedIpRange parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AllowedIpRange(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AllowedIpRange parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AllowedIpRange(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -948,73 +1101,107 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRange + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int ALLOWED_IP_RANGES_FIELD_NUMBER = 1; - private java.util.List allowedIpRanges_; + private java.util.List< + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRange> + allowedIpRanges_; /** + * + * *
            * A collection of allowed IP ranges with descriptions.
            * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * */ @java.lang.Override - public java.util.List getAllowedIpRangesList() { + public java.util.List< + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRange> + getAllowedIpRangesList() { return allowedIpRanges_; } /** + * + * *
            * A collection of allowed IP ranges with descriptions.
            * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRangeOrBuilder> getAllowedIpRangesOrBuilderList() { return allowedIpRanges_; } /** + * + * *
            * A collection of allowed IP ranges with descriptions.
            * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * */ @java.lang.Override public int getAllowedIpRangesCount() { return allowedIpRanges_.size(); } /** + * + * *
            * A collection of allowed IP ranges with descriptions.
            * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange getAllowedIpRanges(int index) { + public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRange + getAllowedIpRanges(int index) { return allowedIpRanges_.get(index); } /** + * + * *
            * A collection of allowed IP ranges with descriptions.
            * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRangeOrBuilder getAllowedIpRangesOrBuilder( - int index) { + public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRangeOrBuilder + getAllowedIpRangesOrBuilder(int index) { return allowedIpRanges_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1026,8 +1213,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 < allowedIpRanges_.size(); i++) { output.writeMessage(1, allowedIpRanges_.get(i)); } @@ -1041,8 +1227,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < allowedIpRanges_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, allowedIpRanges_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, allowedIpRanges_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1052,15 +1237,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.orchestration.airflow.service.v1.WebServerNetworkAccessControl)) { + if (!(obj + instanceof + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl other = (com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl) obj; + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl other = + (com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl) obj; - if (!getAllowedIpRangesList() - .equals(other.getAllowedIpRangesList())) return false; + if (!getAllowedIpRangesList().equals(other.getAllowedIpRangesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1081,136 +1268,155 @@ public int hashCode() { return hash; } - public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl 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.orchestration.airflow.service.v1.WebServerNetworkAccessControl + 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.orchestration.airflow.service.v1.WebServerNetworkAccessControl parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl prototype) { + + public static Builder newBuilder( + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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-level access control policy for the Airflow web server.
            * 
        * - * Protobuf type {@code google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl} + * Protobuf type {@code + * google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl) com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControlOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.class, com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.Builder.class); + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.class, + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .Builder.class); } - // Construct using com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.newBuilder() + // Construct using + // com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.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) { getAllowedIpRangesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -1224,19 +1430,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1_WebServerNetworkAccessControl_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl build() { - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl result = buildPartial(); + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1244,8 +1453,10 @@ public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessC } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl buildPartial() { - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl result = new com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl(this); + public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + buildPartial() { + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl result = + new com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl(this); int from_bitField0_ = bitField0_; if (allowedIpRangesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -1264,46 +1475,54 @@ public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessC public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl) { - return mergeFrom((com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl)other); + if (other + instanceof + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl) { + return mergeFrom( + (com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl other) { - if (other == com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl other) { + if (other + == com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .getDefaultInstance()) return this; if (allowedIpRangesBuilder_ == null) { if (!other.allowedIpRanges_.isEmpty()) { if (allowedIpRanges_.isEmpty()) { @@ -1322,9 +1541,10 @@ public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1.WebSe allowedIpRangesBuilder_ = null; allowedIpRanges_ = other.allowedIpRanges_; bitField0_ = (bitField0_ & ~0x00000001); - allowedIpRangesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAllowedIpRangesFieldBuilder() : null; + allowedIpRangesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAllowedIpRangesFieldBuilder() + : null; } else { allowedIpRangesBuilder_.addAllMessages(other.allowedIpRanges_); } @@ -1345,11 +1565,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl parsedMessage = null; + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1358,28 +1581,48 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private java.util.List allowedIpRanges_ = - java.util.Collections.emptyList(); + private java.util.List< + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRange> + allowedIpRanges_ = java.util.Collections.emptyList(); + private void ensureAllowedIpRangesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - allowedIpRanges_ = new java.util.ArrayList(allowedIpRanges_); + allowedIpRanges_ = + new java.util.ArrayList< + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRange>(allowedIpRanges_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange, com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange.Builder, com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRangeOrBuilder> allowedIpRangesBuilder_; + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRange, + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRange.Builder, + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRangeOrBuilder> + allowedIpRangesBuilder_; /** + * + * *
              * A collection of allowed IP ranges with descriptions.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * */ - public java.util.List getAllowedIpRangesList() { + public java.util.List< + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRange> + getAllowedIpRangesList() { if (allowedIpRangesBuilder_ == null) { return java.util.Collections.unmodifiableList(allowedIpRanges_); } else { @@ -1387,11 +1630,15 @@ public java.util.List * A collection of allowed IP ranges with descriptions. *
        * - * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * */ public int getAllowedIpRangesCount() { if (allowedIpRangesBuilder_ == null) { @@ -1401,13 +1648,19 @@ public int getAllowedIpRangesCount() { } } /** + * + * *
              * A collection of allowed IP ranges with descriptions.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * */ - public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange getAllowedIpRanges(int index) { + public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRange + getAllowedIpRanges(int index) { if (allowedIpRangesBuilder_ == null) { return allowedIpRanges_.get(index); } else { @@ -1415,14 +1668,21 @@ public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessC } } /** + * + * *
              * A collection of allowed IP ranges with descriptions.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * */ public Builder setAllowedIpRanges( - int index, com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange value) { + int index, + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRange + value) { if (allowedIpRangesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1436,14 +1696,21 @@ public Builder setAllowedIpRanges( return this; } /** + * + * *
              * A collection of allowed IP ranges with descriptions.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * */ public Builder setAllowedIpRanges( - int index, com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange.Builder builderForValue) { + int index, + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRange.Builder + builderForValue) { if (allowedIpRangesBuilder_ == null) { ensureAllowedIpRangesIsMutable(); allowedIpRanges_.set(index, builderForValue.build()); @@ -1454,13 +1721,20 @@ public Builder setAllowedIpRanges( return this; } /** + * + * *
              * A collection of allowed IP ranges with descriptions.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * */ - public Builder addAllowedIpRanges(com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange value) { + public Builder addAllowedIpRanges( + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRange + value) { if (allowedIpRangesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1474,14 +1748,21 @@ public Builder addAllowedIpRanges(com.google.cloud.orchestration.airflow.service return this; } /** + * + * *
              * A collection of allowed IP ranges with descriptions.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * */ public Builder addAllowedIpRanges( - int index, com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange value) { + int index, + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRange + value) { if (allowedIpRangesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1495,14 +1776,20 @@ public Builder addAllowedIpRanges( return this; } /** + * + * *
              * A collection of allowed IP ranges with descriptions.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * */ public Builder addAllowedIpRanges( - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange.Builder builderForValue) { + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRange.Builder + builderForValue) { if (allowedIpRangesBuilder_ == null) { ensureAllowedIpRangesIsMutable(); allowedIpRanges_.add(builderForValue.build()); @@ -1513,14 +1800,21 @@ public Builder addAllowedIpRanges( return this; } /** + * + * *
              * A collection of allowed IP ranges with descriptions.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * */ public Builder addAllowedIpRanges( - int index, com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange.Builder builderForValue) { + int index, + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRange.Builder + builderForValue) { if (allowedIpRangesBuilder_ == null) { ensureAllowedIpRangesIsMutable(); allowedIpRanges_.add(index, builderForValue.build()); @@ -1531,18 +1825,25 @@ public Builder addAllowedIpRanges( return this; } /** + * + * *
              * A collection of allowed IP ranges with descriptions.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * */ public Builder addAllAllowedIpRanges( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRange> + values) { if (allowedIpRangesBuilder_ == null) { ensureAllowedIpRangesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, allowedIpRanges_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, allowedIpRanges_); onChanged(); } else { allowedIpRangesBuilder_.addAllMessages(values); @@ -1550,11 +1851,15 @@ public Builder addAllAllowedIpRanges( return this; } /** + * + * *
              * A collection of allowed IP ranges with descriptions.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * */ public Builder clearAllowedIpRanges() { if (allowedIpRangesBuilder_ == null) { @@ -1567,11 +1872,15 @@ public Builder clearAllowedIpRanges() { return this; } /** + * + * *
              * A collection of allowed IP ranges with descriptions.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * */ public Builder removeAllowedIpRanges(int index) { if (allowedIpRangesBuilder_ == null) { @@ -1584,39 +1893,57 @@ public Builder removeAllowedIpRanges(int index) { return this; } /** + * + * *
              * A collection of allowed IP ranges with descriptions.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * */ - public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange.Builder getAllowedIpRangesBuilder( - int index) { + public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRange.Builder + getAllowedIpRangesBuilder(int index) { return getAllowedIpRangesFieldBuilder().getBuilder(index); } /** + * + * *
              * A collection of allowed IP ranges with descriptions.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * */ - public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRangeOrBuilder getAllowedIpRangesOrBuilder( - int index) { + public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRangeOrBuilder + getAllowedIpRangesOrBuilder(int index) { if (allowedIpRangesBuilder_ == null) { - return allowedIpRanges_.get(index); } else { + return allowedIpRanges_.get(index); + } else { return allowedIpRangesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
              * A collection of allowed IP ranges with descriptions.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * */ - public java.util.List - getAllowedIpRangesOrBuilderList() { + public java.util.List< + ? extends + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRangeOrBuilder> + getAllowedIpRangesOrBuilderList() { if (allowedIpRangesBuilder_ != null) { return allowedIpRangesBuilder_.getMessageOrBuilderList(); } else { @@ -1624,45 +1951,79 @@ public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessC } } /** + * + * *
              * A collection of allowed IP ranges with descriptions.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * */ - public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange.Builder addAllowedIpRangesBuilder() { - return getAllowedIpRangesFieldBuilder().addBuilder( - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange.getDefaultInstance()); + public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRange.Builder + addAllowedIpRangesBuilder() { + return getAllowedIpRangesFieldBuilder() + .addBuilder( + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRange.getDefaultInstance()); } /** + * + * *
              * A collection of allowed IP ranges with descriptions.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * */ - public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange.Builder addAllowedIpRangesBuilder( - int index) { - return getAllowedIpRangesFieldBuilder().addBuilder( - index, com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange.getDefaultInstance()); + public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRange.Builder + addAllowedIpRangesBuilder(int index) { + return getAllowedIpRangesFieldBuilder() + .addBuilder( + index, + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRange.getDefaultInstance()); } /** + * + * *
              * A collection of allowed IP ranges with descriptions.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * */ - public java.util.List - getAllowedIpRangesBuilderList() { + public java.util.List< + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRange.Builder> + getAllowedIpRangesBuilderList() { return getAllowedIpRangesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange, com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange.Builder, com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRangeOrBuilder> + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRange, + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRange.Builder, + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRangeOrBuilder> getAllowedIpRangesFieldBuilder() { if (allowedIpRangesBuilder_ == null) { - allowedIpRangesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange, com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange.Builder, com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRangeOrBuilder>( + allowedIpRangesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRange, + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRange.Builder, + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRangeOrBuilder>( allowedIpRanges_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1671,9 +2032,9 @@ public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessC } return allowedIpRangesBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1683,30 +2044,34 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl) - private static final com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl DEFAULT_INSTANCE; + private static final com.google.cloud.orchestration.airflow.service.v1 + .WebServerNetworkAccessControl + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl(); + DEFAULT_INSTANCE = + new com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl(); } - public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WebServerNetworkAccessControl parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WebServerNetworkAccessControl(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WebServerNetworkAccessControl parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WebServerNetworkAccessControl(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1718,9 +2083,8 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/WebServerNetworkAccessControlOrBuilder.java b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/WebServerNetworkAccessControlOrBuilder.java new file mode 100644 index 00000000..97dc6563 --- /dev/null +++ b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/WebServerNetworkAccessControlOrBuilder.java @@ -0,0 +1,96 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/orchestration/airflow/service/v1/environments.proto + +package com.google.cloud.orchestration.airflow.service.v1; + +public interface WebServerNetworkAccessControlOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
        +   * A collection of allowed IP ranges with descriptions.
        +   * 
        + * + * + * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * + */ + java.util.List< + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRange> + getAllowedIpRangesList(); + /** + * + * + *
        +   * A collection of allowed IP ranges with descriptions.
        +   * 
        + * + * + * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * + */ + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange + getAllowedIpRanges(int index); + /** + * + * + *
        +   * A collection of allowed IP ranges with descriptions.
        +   * 
        + * + * + * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * + */ + int getAllowedIpRangesCount(); + /** + * + * + *
        +   * A collection of allowed IP ranges with descriptions.
        +   * 
        + * + * + * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * + */ + java.util.List< + ? extends + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRangeOrBuilder> + getAllowedIpRangesOrBuilderList(); + /** + * + * + *
        +   * A collection of allowed IP ranges with descriptions.
        +   * 
        + * + * + * repeated .google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * + */ + com.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl + .AllowedIpRangeOrBuilder + getAllowedIpRangesOrBuilder(int index); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/proto/google/cloud/orchestration/airflow/service/v1/environments.proto b/proto-google-cloud-orchestration-airflow-v1/src/main/proto/google/cloud/orchestration/airflow/service/v1/environments.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/proto/google/cloud/orchestration/airflow/service/v1/environments.proto rename to proto-google-cloud-orchestration-airflow-v1/src/main/proto/google/cloud/orchestration/airflow/service/v1/environments.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/proto/google/cloud/orchestration/airflow/service/v1/image_versions.proto b/proto-google-cloud-orchestration-airflow-v1/src/main/proto/google/cloud/orchestration/airflow/service/v1/image_versions.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/proto/google/cloud/orchestration/airflow/service/v1/image_versions.proto rename to proto-google-cloud-orchestration-airflow-v1/src/main/proto/google/cloud/orchestration/airflow/service/v1/image_versions.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/proto/google/cloud/orchestration/airflow/service/v1/operations.proto b/proto-google-cloud-orchestration-airflow-v1/src/main/proto/google/cloud/orchestration/airflow/service/v1/operations.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-orchestration-airflow-v1/src/main/proto/google/cloud/orchestration/airflow/service/v1/operations.proto rename to proto-google-cloud-orchestration-airflow-v1/src/main/proto/google/cloud/orchestration/airflow/service/v1/operations.proto diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CheckUpgradeRequest.java b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CheckUpgradeRequest.java similarity index 70% rename from owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CheckUpgradeRequest.java rename to proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CheckUpgradeRequest.java index 83b7ba65..bb92ec95 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CheckUpgradeRequest.java +++ b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CheckUpgradeRequest.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/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; /** + * + * *
          * Request to check whether image upgrade will succeed.
          * 
        * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest} */ -public final class CheckUpgradeRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CheckUpgradeRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest) CheckUpgradeRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CheckUpgradeRequest.newBuilder() to construct. private CheckUpgradeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CheckUpgradeRequest() { environment_ = ""; imageVersion_ = ""; @@ -26,16 +44,15 @@ private CheckUpgradeRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CheckUpgradeRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CheckUpgradeRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private CheckUpgradeRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - environment_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + environment_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - imageVersion_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + imageVersion_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,29 +99,34 @@ private CheckUpgradeRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeRequest_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest.class, com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest.Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest.class, + com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest.Builder + .class); } public static final int ENVIRONMENT_FIELD_NUMBER = 1; private volatile java.lang.Object environment_; /** + * + * *
            * The resource name of the environment to check upgrade for, in the
            * form:
        @@ -110,6 +134,7 @@ private CheckUpgradeRequest(
            * 
        * * string environment = 1; + * * @return The environment. */ @java.lang.Override @@ -118,14 +143,15 @@ public java.lang.String getEnvironment() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); environment_ = s; return s; } } /** + * + * *
            * The resource name of the environment to check upgrade for, in the
            * form:
        @@ -133,16 +159,15 @@ public java.lang.String getEnvironment() {
            * 
        * * string environment = 1; + * * @return The bytes for environment. */ @java.lang.Override - public com.google.protobuf.ByteString - getEnvironmentBytes() { + public com.google.protobuf.ByteString getEnvironmentBytes() { java.lang.Object ref = environment_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); environment_ = b; return b; } else { @@ -153,6 +178,8 @@ public java.lang.String getEnvironment() { public static final int IMAGE_VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object imageVersion_; /** + * + * *
            * The version of the software running in the environment.
            * This encapsulates both the version of Cloud Composer functionality and the
        @@ -174,6 +201,7 @@ public java.lang.String getEnvironment() {
            * 
        * * string image_version = 2; + * * @return The imageVersion. */ @java.lang.Override @@ -182,14 +210,15 @@ public java.lang.String getImageVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageVersion_ = s; return s; } } /** + * + * *
            * The version of the software running in the environment.
            * This encapsulates both the version of Cloud Composer functionality and the
        @@ -211,16 +240,15 @@ public java.lang.String getImageVersion() {
            * 
        * * string image_version = 2; + * * @return The bytes for imageVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getImageVersionBytes() { + public com.google.protobuf.ByteString getImageVersionBytes() { java.lang.Object ref = imageVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); imageVersion_ = b; return b; } else { @@ -229,6 +257,7 @@ public java.lang.String getImageVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -240,8 +269,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(environment_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, environment_); } @@ -271,17 +299,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.orchestration.airflow.service.v1beta1.CheckUpgradeRequest)) { + if (!(obj + instanceof com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest other = (com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest) obj; + com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest other = + (com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest) obj; - if (!getEnvironment() - .equals(other.getEnvironment())) return false; - if (!getImageVersion() - .equals(other.getImageVersion())) return false; + if (!getEnvironment().equals(other.getEnvironment())) return false; + if (!getImageVersion().equals(other.getImageVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -302,135 +330,152 @@ public int hashCode() { return hash; } - public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest 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.orchestration.airflow.service.v1beta1.CheckUpgradeRequest + 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.orchestration.airflow.service.v1beta1.CheckUpgradeRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
            * Request to check whether image upgrade will succeed.
            * 
        * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest) com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeRequest_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest.class, com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest.Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest.class, + com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest.Builder + .class); } - // Construct using com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest.newBuilder() + // Construct using + // com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -442,19 +487,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeRequest_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest.getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest + getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest build() { - com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest result = buildPartial(); + com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -462,8 +510,10 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeReques } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest buildPartial() { - com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest result = new com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest(this); + public com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest + buildPartial() { + com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest result = + new com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest(this); result.environment_ = environment_; result.imageVersion_ = imageVersion_; onBuilt(); @@ -474,46 +524,52 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeReques public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest) { - return mergeFrom((com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest)other); + if (other + instanceof com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest) { + return mergeFrom( + (com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest other) { - if (other == com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest other) { + if (other + == com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest + .getDefaultInstance()) return this; if (!other.getEnvironment().isEmpty()) { environment_ = other.environment_; onChanged(); @@ -537,11 +593,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest parsedMessage = null; + com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -553,6 +612,8 @@ public Builder mergeFrom( private java.lang.Object environment_ = ""; /** + * + * *
              * The resource name of the environment to check upgrade for, in the
              * form:
        @@ -560,13 +621,13 @@ public Builder mergeFrom(
              * 
        * * string environment = 1; + * * @return The environment. */ public java.lang.String getEnvironment() { java.lang.Object ref = environment_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); environment_ = s; return s; @@ -575,6 +636,8 @@ public java.lang.String getEnvironment() { } } /** + * + * *
              * The resource name of the environment to check upgrade for, in the
              * form:
        @@ -582,15 +645,14 @@ public java.lang.String getEnvironment() {
              * 
        * * string environment = 1; + * * @return The bytes for environment. */ - public com.google.protobuf.ByteString - getEnvironmentBytes() { + public com.google.protobuf.ByteString getEnvironmentBytes() { java.lang.Object ref = environment_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); environment_ = b; return b; } else { @@ -598,6 +660,8 @@ public java.lang.String getEnvironment() { } } /** + * + * *
              * The resource name of the environment to check upgrade for, in the
              * form:
        @@ -605,20 +669,22 @@ public java.lang.String getEnvironment() {
              * 
        * * string environment = 1; + * * @param value The environment to set. * @return This builder for chaining. */ - public Builder setEnvironment( - java.lang.String value) { + public Builder setEnvironment(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + environment_ = value; onChanged(); return this; } /** + * + * *
              * The resource name of the environment to check upgrade for, in the
              * form:
        @@ -626,15 +692,18 @@ public Builder setEnvironment(
              * 
        * * string environment = 1; + * * @return This builder for chaining. */ public Builder clearEnvironment() { - + environment_ = getDefaultInstance().getEnvironment(); onChanged(); return this; } /** + * + * *
              * The resource name of the environment to check upgrade for, in the
              * form:
        @@ -642,16 +711,16 @@ public Builder clearEnvironment() {
              * 
        * * string environment = 1; + * * @param value The bytes for environment to set. * @return This builder for chaining. */ - public Builder setEnvironmentBytes( - com.google.protobuf.ByteString value) { + public Builder setEnvironmentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + environment_ = value; onChanged(); return this; @@ -659,6 +728,8 @@ public Builder setEnvironmentBytes( private java.lang.Object imageVersion_ = ""; /** + * + * *
              * The version of the software running in the environment.
              * This encapsulates both the version of Cloud Composer functionality and the
        @@ -680,13 +751,13 @@ public Builder setEnvironmentBytes(
              * 
        * * string image_version = 2; + * * @return The imageVersion. */ public java.lang.String getImageVersion() { java.lang.Object ref = imageVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageVersion_ = s; return s; @@ -695,6 +766,8 @@ public java.lang.String getImageVersion() { } } /** + * + * *
              * The version of the software running in the environment.
              * This encapsulates both the version of Cloud Composer functionality and the
        @@ -716,15 +789,14 @@ public java.lang.String getImageVersion() {
              * 
        * * string image_version = 2; + * * @return The bytes for imageVersion. */ - public com.google.protobuf.ByteString - getImageVersionBytes() { + public com.google.protobuf.ByteString getImageVersionBytes() { java.lang.Object ref = imageVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); imageVersion_ = b; return b; } else { @@ -732,6 +804,8 @@ public java.lang.String getImageVersion() { } } /** + * + * *
              * The version of the software running in the environment.
              * This encapsulates both the version of Cloud Composer functionality and the
        @@ -753,20 +827,22 @@ public java.lang.String getImageVersion() {
              * 
        * * string image_version = 2; + * * @param value The imageVersion to set. * @return This builder for chaining. */ - public Builder setImageVersion( - java.lang.String value) { + public Builder setImageVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + imageVersion_ = value; onChanged(); return this; } /** + * + * *
              * The version of the software running in the environment.
              * This encapsulates both the version of Cloud Composer functionality and the
        @@ -788,15 +864,18 @@ public Builder setImageVersion(
              * 
        * * string image_version = 2; + * * @return This builder for chaining. */ public Builder clearImageVersion() { - + imageVersion_ = getDefaultInstance().getImageVersion(); onChanged(); return this; } /** + * + * *
              * The version of the software running in the environment.
              * This encapsulates both the version of Cloud Composer functionality and the
        @@ -818,23 +897,23 @@ public Builder clearImageVersion() {
              * 
        * * string image_version = 2; + * * @param value The bytes for imageVersion to set. * @return This builder for chaining. */ - public Builder setImageVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setImageVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + imageVersion_ = 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); } @@ -844,30 +923,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest) - private static final com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest DEFAULT_INSTANCE; + private static final com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest(); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CheckUpgradeRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CheckUpgradeRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CheckUpgradeRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CheckUpgradeRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -879,9 +961,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CheckUpgradeRequestOrBuilder.java b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CheckUpgradeRequestOrBuilder.java similarity index 80% rename from owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CheckUpgradeRequestOrBuilder.java rename to proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CheckUpgradeRequestOrBuilder.java index 76a60955..1323c904 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CheckUpgradeRequestOrBuilder.java +++ b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CheckUpgradeRequestOrBuilder.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/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; -public interface CheckUpgradeRequestOrBuilder extends +public interface CheckUpgradeRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
            * The resource name of the environment to check upgrade for, in the
            * form:
        @@ -15,10 +33,13 @@ public interface CheckUpgradeRequestOrBuilder extends
            * 
        * * string environment = 1; + * * @return The environment. */ java.lang.String getEnvironment(); /** + * + * *
            * The resource name of the environment to check upgrade for, in the
            * form:
        @@ -26,12 +47,14 @@ public interface CheckUpgradeRequestOrBuilder extends
            * 
        * * string environment = 1; + * * @return The bytes for environment. */ - com.google.protobuf.ByteString - getEnvironmentBytes(); + com.google.protobuf.ByteString getEnvironmentBytes(); /** + * + * *
            * The version of the software running in the environment.
            * This encapsulates both the version of Cloud Composer functionality and the
        @@ -53,10 +76,13 @@ public interface CheckUpgradeRequestOrBuilder extends
            * 
        * * string image_version = 2; + * * @return The imageVersion. */ java.lang.String getImageVersion(); /** + * + * *
            * The version of the software running in the environment.
            * This encapsulates both the version of Cloud Composer functionality and the
        @@ -78,8 +104,8 @@ public interface CheckUpgradeRequestOrBuilder extends
            * 
        * * string image_version = 2; + * * @return The bytes for imageVersion. */ - com.google.protobuf.ByteString - getImageVersionBytes(); + com.google.protobuf.ByteString getImageVersionBytes(); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CheckUpgradeResponse.java b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CheckUpgradeResponse.java similarity index 60% rename from owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CheckUpgradeResponse.java rename to proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CheckUpgradeResponse.java index 0e06e686..82528750 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CheckUpgradeResponse.java +++ b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CheckUpgradeResponse.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/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; /** + * + * *
          * Message containing information about the result of an upgrade check
          * operation.
        @@ -11,15 +28,16 @@
          *
          * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse}
          */
        -public final class CheckUpgradeResponse extends
        -    com.google.protobuf.GeneratedMessageV3 implements
        +public final class CheckUpgradeResponse extends com.google.protobuf.GeneratedMessageV3
        +    implements
             // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse)
             CheckUpgradeResponseOrBuilder {
        -private static final long serialVersionUID = 0L;
        +  private static final long serialVersionUID = 0L;
           // Use CheckUpgradeResponse.newBuilder() to construct.
           private CheckUpgradeResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
             super(builder);
           }
        +
           private CheckUpgradeResponse() {
             buildLogUri_ = "";
             containsPypiModulesConflict_ = 0;
        @@ -29,16 +47,15 @@ private CheckUpgradeResponse() {
         
           @java.lang.Override
           @SuppressWarnings({"unused"})
        -  protected java.lang.Object newInstance(
        -      UnusedPrivateParameter unused) {
        +  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
             return new CheckUpgradeResponse();
           }
         
           @java.lang.Override
        -  public final com.google.protobuf.UnknownFieldSet
        -  getUnknownFields() {
        +  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
             return this.unknownFields;
           }
        +
           private CheckUpgradeResponse(
               com.google.protobuf.CodedInputStream input,
               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        @@ -58,50 +75,58 @@ private CheckUpgradeResponse(
                   case 0:
                     done = true;
                     break;
        -          case 10: {
        -            java.lang.String s = input.readStringRequireUtf8();
        +          case 10:
        +            {
        +              java.lang.String s = input.readStringRequireUtf8();
         
        -            buildLogUri_ = s;
        -            break;
        -          }
        -          case 26: {
        -            java.lang.String s = input.readStringRequireUtf8();
        +              buildLogUri_ = s;
        +              break;
        +            }
        +          case 26:
        +            {
        +              java.lang.String s = input.readStringRequireUtf8();
         
        -            pypiConflictBuildLogExtract_ = s;
        -            break;
        -          }
        -          case 32: {
        -            int rawValue = input.readEnum();
        +              pypiConflictBuildLogExtract_ = s;
        +              break;
        +            }
        +          case 32:
        +            {
        +              int rawValue = input.readEnum();
         
        -            containsPypiModulesConflict_ = rawValue;
        -            break;
        -          }
        -          case 42: {
        -            java.lang.String s = input.readStringRequireUtf8();
        +              containsPypiModulesConflict_ = rawValue;
        +              break;
        +            }
        +          case 42:
        +            {
        +              java.lang.String s = input.readStringRequireUtf8();
         
        -            imageVersion_ = s;
        -            break;
        -          }
        -          case 50: {
        -            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
        -              pypiDependencies_ = com.google.protobuf.MapField.newMapField(
        -                  PypiDependenciesDefaultEntryHolder.defaultEntry);
        -              mutable_bitField0_ |= 0x00000001;
        +              imageVersion_ = s;
        +              break;
                     }
        -            com.google.protobuf.MapEntry
        -            pypiDependencies__ = input.readMessage(
        -                PypiDependenciesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
        -            pypiDependencies_.getMutableMap().put(
        -                pypiDependencies__.getKey(), pypiDependencies__.getValue());
        -            break;
        -          }
        -          default: {
        -            if (!parseUnknownField(
        -                input, unknownFields, extensionRegistry, tag)) {
        -              done = true;
        +          case 50:
        +            {
        +              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
        +                pypiDependencies_ =
        +                    com.google.protobuf.MapField.newMapField(
        +                        PypiDependenciesDefaultEntryHolder.defaultEntry);
        +                mutable_bitField0_ |= 0x00000001;
        +              }
        +              com.google.protobuf.MapEntry pypiDependencies__ =
        +                  input.readMessage(
        +                      PypiDependenciesDefaultEntryHolder.defaultEntry.getParserForType(),
        +                      extensionRegistry);
        +              pypiDependencies_
        +                  .getMutableMap()
        +                  .put(pypiDependencies__.getKey(), pypiDependencies__.getValue());
        +              break;
        +            }
        +          default:
        +            {
        +              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
        +                done = true;
        +              }
        +              break;
                     }
        -            break;
        -          }
                 }
               }
             } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        @@ -109,48 +134,54 @@ private CheckUpgradeResponse(
             } catch (com.google.protobuf.UninitializedMessageException e) {
               throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
             } catch (java.io.IOException e) {
        -      throw new com.google.protobuf.InvalidProtocolBufferException(
        -          e).setUnfinishedMessage(this);
        +      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
             } finally {
               this.unknownFields = unknownFields.build();
               makeExtensionsImmutable();
             }
           }
        -  public static final com.google.protobuf.Descriptors.Descriptor
        -      getDescriptor() {
        -    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_descriptor;
        +
        +  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        +    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
        +        .internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_descriptor;
           }
         
           @SuppressWarnings({"rawtypes"})
           @java.lang.Override
        -  protected com.google.protobuf.MapField internalGetMapField(
        -      int number) {
        +  protected com.google.protobuf.MapField internalGetMapField(int number) {
             switch (number) {
               case 6:
                 return internalGetPypiDependencies();
               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.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_fieldAccessorTable
        +    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
        +        .internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_fieldAccessorTable
                 .ensureFieldAccessorsInitialized(
        -            com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.class, com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.Builder.class);
        +            com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.class,
        +            com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.Builder
        +                .class);
           }
         
           /**
        +   *
        +   *
            * 
            * Whether there were python modules conflict during image build.
            * 
        * - * Protobuf enum {@code google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult} + * Protobuf enum {@code + * google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult} */ - public enum ConflictResult - implements com.google.protobuf.ProtocolMessageEnum { + public enum ConflictResult implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
              * It is unknown whether build had conflicts or not.
              * 
        @@ -159,6 +190,8 @@ public enum ConflictResult */ CONFLICT_RESULT_UNSPECIFIED(0), /** + * + * *
              * There were python packages conflicts.
              * 
        @@ -167,6 +200,8 @@ public enum ConflictResult */ CONFLICT(1), /** + * + * *
              * There were no python packages conflicts.
              * 
        @@ -178,6 +213,8 @@ public enum ConflictResult ; /** + * + * *
              * It is unknown whether build had conflicts or not.
              * 
        @@ -186,6 +223,8 @@ public enum ConflictResult */ public static final int CONFLICT_RESULT_UNSPECIFIED_VALUE = 0; /** + * + * *
              * There were python packages conflicts.
              * 
        @@ -194,6 +233,8 @@ public enum ConflictResult */ public static final int CONFLICT_VALUE = 1; /** + * + * *
              * There were no python packages conflicts.
              * 
        @@ -202,7 +243,6 @@ public enum ConflictResult */ public static final int NO_CONFLICT_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -227,49 +267,52 @@ public static ConflictResult valueOf(int value) { */ public static ConflictResult forNumber(int value) { switch (value) { - case 0: return CONFLICT_RESULT_UNSPECIFIED; - case 1: return CONFLICT; - case 2: return NO_CONFLICT; - default: return null; + case 0: + return CONFLICT_RESULT_UNSPECIFIED; + case 1: + return CONFLICT; + case 2: + return NO_CONFLICT; + 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< - ConflictResult> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ConflictResult findValueByNumber(int number) { - return ConflictResult.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 ConflictResult findValueByNumber(int number) { + return ConflictResult.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse + .getDescriptor() + .getEnumTypes() + .get(0); } private static final ConflictResult[] VALUES = values(); - public static ConflictResult valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ConflictResult 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; @@ -289,11 +332,14 @@ private ConflictResult(int value) { public static final int BUILD_LOG_URI_FIELD_NUMBER = 1; private volatile java.lang.Object buildLogUri_; /** + * + * *
            * Output only. Url for a docker build log of an upgraded image.
            * 
        * * string build_log_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The buildLogUri. */ @java.lang.Override @@ -302,29 +348,29 @@ public java.lang.String getBuildLogUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); buildLogUri_ = s; return s; } } /** + * + * *
            * Output only. Url for a docker build log of an upgraded image.
            * 
        * * string build_log_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for buildLogUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getBuildLogUriBytes() { + public com.google.protobuf.ByteString getBuildLogUriBytes() { java.lang.Object ref = buildLogUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); buildLogUri_ = b; return b; } else { @@ -335,39 +381,62 @@ public java.lang.String getBuildLogUri() { public static final int CONTAINS_PYPI_MODULES_CONFLICT_FIELD_NUMBER = 4; private int containsPypiModulesConflict_; /** + * + * *
            * Output only. Whether build has succeeded or failed on modules conflicts.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for containsPypiModulesConflict. */ - @java.lang.Override public int getContainsPypiModulesConflictValue() { + @java.lang.Override + public int getContainsPypiModulesConflictValue() { return containsPypiModulesConflict_; } /** + * + * *
            * Output only. Whether build has succeeded or failed on modules conflicts.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The containsPypiModulesConflict. */ - @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult getContainsPypiModulesConflict() { + @java.lang.Override + public com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult + getContainsPypiModulesConflict() { @SuppressWarnings("deprecation") - com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult result = com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult.valueOf(containsPypiModulesConflict_); - return result == null ? com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult.UNRECOGNIZED : result; + com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult + result = + com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse + .ConflictResult.valueOf(containsPypiModulesConflict_); + return result == null + ? com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult + .UNRECOGNIZED + : result; } public static final int PYPI_CONFLICT_BUILD_LOG_EXTRACT_FIELD_NUMBER = 3; private volatile java.lang.Object pypiConflictBuildLogExtract_; /** + * + * *
            * Output only. Extract from a docker image build log containing information about pypi
            * modules conflicts.
            * 
        * - * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The pypiConflictBuildLogExtract. */ @java.lang.Override @@ -376,30 +445,31 @@ public java.lang.String getPypiConflictBuildLogExtract() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pypiConflictBuildLogExtract_ = s; return s; } } /** + * + * *
            * Output only. Extract from a docker image build log containing information about pypi
            * modules conflicts.
            * 
        * - * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bytes for pypiConflictBuildLogExtract. */ @java.lang.Override - public com.google.protobuf.ByteString - getPypiConflictBuildLogExtractBytes() { + public com.google.protobuf.ByteString getPypiConflictBuildLogExtractBytes() { java.lang.Object ref = pypiConflictBuildLogExtract_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pypiConflictBuildLogExtract_ = b; return b; } else { @@ -410,11 +480,14 @@ public java.lang.String getPypiConflictBuildLogExtract() { public static final int IMAGE_VERSION_FIELD_NUMBER = 5; private volatile java.lang.Object imageVersion_; /** + * + * *
            * Composer image for which the build was happening.
            * 
        * * string image_version = 5; + * * @return The imageVersion. */ @java.lang.Override @@ -423,29 +496,29 @@ public java.lang.String getImageVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageVersion_ = s; return s; } } /** + * + * *
            * Composer image for which the build was happening.
            * 
        * * string image_version = 5; + * * @return The bytes for imageVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getImageVersionBytes() { + public com.google.protobuf.ByteString getImageVersionBytes() { java.lang.Object ref = imageVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); imageVersion_ = b; return b; } else { @@ -454,21 +527,22 @@ public java.lang.String getImageVersion() { } public static final int PYPI_DEPENDENCIES_FIELD_NUMBER = 6; + private static final class PypiDependenciesDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_PypiDependenciesEntry_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.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_PypiDependenciesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> pypiDependencies_; + + private com.google.protobuf.MapField pypiDependencies_; + private com.google.protobuf.MapField - internalGetPypiDependencies() { + internalGetPypiDependencies() { if (pypiDependencies_ == null) { return com.google.protobuf.MapField.emptyMapField( PypiDependenciesDefaultEntryHolder.defaultEntry); @@ -480,6 +554,8 @@ public int getPypiDependenciesCount() { return internalGetPypiDependencies().getMap().size(); } /** + * + * *
            * Pypi dependencies specified in the environment configuration, at the time
            * when the build was triggered.
        @@ -487,22 +563,22 @@ public int getPypiDependenciesCount() {
            *
            * map<string, string> pypi_dependencies = 6;
            */
        -
           @java.lang.Override
        -  public boolean containsPypiDependencies(
        -      java.lang.String key) {
        -    if (key == null) { throw new NullPointerException("map key"); }
        +  public boolean containsPypiDependencies(java.lang.String key) {
        +    if (key == null) {
        +      throw new NullPointerException("map key");
        +    }
             return internalGetPypiDependencies().getMap().containsKey(key);
           }
        -  /**
        -   * Use {@link #getPypiDependenciesMap()} instead.
        -   */
        +  /** Use {@link #getPypiDependenciesMap()} instead. */
           @java.lang.Override
           @java.lang.Deprecated
           public java.util.Map getPypiDependencies() {
             return getPypiDependenciesMap();
           }
           /**
        +   *
        +   *
            * 
            * Pypi dependencies specified in the environment configuration, at the time
            * when the build was triggered.
        @@ -511,11 +587,12 @@ public java.util.Map getPypiDependencies() {
            * map<string, string> pypi_dependencies = 6;
            */
           @java.lang.Override
        -
           public java.util.Map getPypiDependenciesMap() {
             return internalGetPypiDependencies().getMap();
           }
           /**
        +   *
        +   *
            * 
            * Pypi dependencies specified in the environment configuration, at the time
            * when the build was triggered.
        @@ -524,16 +601,17 @@ public java.util.Map getPypiDependenciesMap(
            * map<string, string> pypi_dependencies = 6;
            */
           @java.lang.Override
        -
           public java.lang.String getPypiDependenciesOrDefault(
        -      java.lang.String key,
        -      java.lang.String defaultValue) {
        -    if (key == null) { throw new NullPointerException("map key"); }
        -    java.util.Map map =
        -        internalGetPypiDependencies().getMap();
        +      java.lang.String key, java.lang.String defaultValue) {
        +    if (key == null) {
        +      throw new NullPointerException("map key");
        +    }
        +    java.util.Map map = internalGetPypiDependencies().getMap();
             return map.containsKey(key) ? map.get(key) : defaultValue;
           }
           /**
        +   *
        +   *
            * 
            * Pypi dependencies specified in the environment configuration, at the time
            * when the build was triggered.
        @@ -542,12 +620,11 @@ public java.lang.String getPypiDependenciesOrDefault(
            * map<string, string> pypi_dependencies = 6;
            */
           @java.lang.Override
        -
        -  public java.lang.String getPypiDependenciesOrThrow(
        -      java.lang.String key) {
        -    if (key == null) { throw new NullPointerException("map key"); }
        -    java.util.Map map =
        -        internalGetPypiDependencies().getMap();
        +  public java.lang.String getPypiDependenciesOrThrow(java.lang.String key) {
        +    if (key == null) {
        +      throw new NullPointerException("map key");
        +    }
        +    java.util.Map map = internalGetPypiDependencies().getMap();
             if (!map.containsKey(key)) {
               throw new java.lang.IllegalArgumentException();
             }
        @@ -555,6 +632,7 @@ public java.lang.String getPypiDependenciesOrThrow(
           }
         
           private byte memoizedIsInitialized = -1;
        +
           @java.lang.Override
           public final boolean isInitialized() {
             byte isInitialized = memoizedIsInitialized;
        @@ -566,26 +644,24 @@ public final boolean isInitialized() {
           }
         
           @java.lang.Override
        -  public void writeTo(com.google.protobuf.CodedOutputStream output)
        -                      throws java.io.IOException {
        +  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
             if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(buildLogUri_)) {
               com.google.protobuf.GeneratedMessageV3.writeString(output, 1, buildLogUri_);
             }
             if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pypiConflictBuildLogExtract_)) {
               com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pypiConflictBuildLogExtract_);
             }
        -    if (containsPypiModulesConflict_ != com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult.CONFLICT_RESULT_UNSPECIFIED.getNumber()) {
        +    if (containsPypiModulesConflict_
        +        != com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse
        +            .ConflictResult.CONFLICT_RESULT_UNSPECIFIED
        +            .getNumber()) {
               output.writeEnum(4, containsPypiModulesConflict_);
             }
             if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageVersion_)) {
               com.google.protobuf.GeneratedMessageV3.writeString(output, 5, imageVersion_);
             }
        -    com.google.protobuf.GeneratedMessageV3
        -      .serializeStringMapTo(
        -        output,
        -        internalGetPypiDependencies(),
        -        PypiDependenciesDefaultEntryHolder.defaultEntry,
        -        6);
        +    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
        +        output, internalGetPypiDependencies(), PypiDependenciesDefaultEntryHolder.defaultEntry, 6);
             unknownFields.writeTo(output);
           }
         
        @@ -599,24 +675,28 @@ public int getSerializedSize() {
               size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, buildLogUri_);
             }
             if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pypiConflictBuildLogExtract_)) {
        -      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pypiConflictBuildLogExtract_);
        +      size +=
        +          com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pypiConflictBuildLogExtract_);
             }
        -    if (containsPypiModulesConflict_ != com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult.CONFLICT_RESULT_UNSPECIFIED.getNumber()) {
        -      size += com.google.protobuf.CodedOutputStream
        -        .computeEnumSize(4, containsPypiModulesConflict_);
        +    if (containsPypiModulesConflict_
        +        != com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse
        +            .ConflictResult.CONFLICT_RESULT_UNSPECIFIED
        +            .getNumber()) {
        +      size +=
        +          com.google.protobuf.CodedOutputStream.computeEnumSize(4, containsPypiModulesConflict_);
             }
             if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageVersion_)) {
               size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, imageVersion_);
             }
        -    for (java.util.Map.Entry entry
        -         : internalGetPypiDependencies().getMap().entrySet()) {
        -      com.google.protobuf.MapEntry
        -      pypiDependencies__ = PypiDependenciesDefaultEntryHolder.defaultEntry.newBuilderForType()
        -          .setKey(entry.getKey())
        -          .setValue(entry.getValue())
        -          .build();
        -      size += com.google.protobuf.CodedOutputStream
        -          .computeMessageSize(6, pypiDependencies__);
        +    for (java.util.Map.Entry entry :
        +        internalGetPypiDependencies().getMap().entrySet()) {
        +      com.google.protobuf.MapEntry pypiDependencies__ =
        +          PypiDependenciesDefaultEntryHolder.defaultEntry
        +              .newBuilderForType()
        +              .setKey(entry.getKey())
        +              .setValue(entry.getValue())
        +              .build();
        +      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, pypiDependencies__);
             }
             size += unknownFields.getSerializedSize();
             memoizedSize = size;
        @@ -626,22 +706,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.orchestration.airflow.service.v1beta1.CheckUpgradeResponse)) {
        +    if (!(obj
        +        instanceof com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse)) {
               return super.equals(obj);
             }
        -    com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse other = (com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse) obj;
        +    com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse other =
        +        (com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse) obj;
         
        -    if (!getBuildLogUri()
        -        .equals(other.getBuildLogUri())) return false;
        +    if (!getBuildLogUri().equals(other.getBuildLogUri())) return false;
             if (containsPypiModulesConflict_ != other.containsPypiModulesConflict_) return false;
        -    if (!getPypiConflictBuildLogExtract()
        -        .equals(other.getPypiConflictBuildLogExtract())) return false;
        -    if (!getImageVersion()
        -        .equals(other.getImageVersion())) return false;
        -    if (!internalGetPypiDependencies().equals(
        -        other.internalGetPypiDependencies())) return false;
        +    if (!getPypiConflictBuildLogExtract().equals(other.getPypiConflictBuildLogExtract()))
        +      return false;
        +    if (!getImageVersion().equals(other.getImageVersion())) return false;
        +    if (!internalGetPypiDependencies().equals(other.internalGetPypiDependencies())) return false;
             if (!unknownFields.equals(other.unknownFields)) return false;
             return true;
           }
        @@ -670,97 +749,111 @@ public int hashCode() {
             return hash;
           }
         
        -  public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse parseFrom(
        -      java.nio.ByteBuffer data)
        -      throws com.google.protobuf.InvalidProtocolBufferException {
        +  public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse
        +      parseFrom(java.nio.ByteBuffer data)
        +          throws com.google.protobuf.InvalidProtocolBufferException {
             return PARSER.parseFrom(data);
           }
        -  public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse parseFrom(
        -      java.nio.ByteBuffer data,
        -      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        -      throws com.google.protobuf.InvalidProtocolBufferException {
        +
        +  public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse
        +      parseFrom(
        +          java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        +          throws com.google.protobuf.InvalidProtocolBufferException {
             return PARSER.parseFrom(data, extensionRegistry);
           }
        -  public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse parseFrom(
        -      com.google.protobuf.ByteString data)
        -      throws com.google.protobuf.InvalidProtocolBufferException {
        +
        +  public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse
        +      parseFrom(com.google.protobuf.ByteString data)
        +          throws com.google.protobuf.InvalidProtocolBufferException {
             return PARSER.parseFrom(data);
           }
        -  public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse parseFrom(
        -      com.google.protobuf.ByteString data,
        -      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        -      throws com.google.protobuf.InvalidProtocolBufferException {
        +
        +  public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse
        +      parseFrom(
        +          com.google.protobuf.ByteString data,
        +          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        +          throws com.google.protobuf.InvalidProtocolBufferException {
             return PARSER.parseFrom(data, extensionRegistry);
           }
        -  public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse parseFrom(byte[] data)
        -      throws com.google.protobuf.InvalidProtocolBufferException {
        +
        +  public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse
        +      parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
             return PARSER.parseFrom(data);
           }
        -  public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse parseFrom(
        -      byte[] data,
        -      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        -      throws com.google.protobuf.InvalidProtocolBufferException {
        +
        +  public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse
        +      parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        +          throws com.google.protobuf.InvalidProtocolBufferException {
             return PARSER.parseFrom(data, extensionRegistry);
           }
        -  public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse parseFrom(java.io.InputStream input)
        -      throws java.io.IOException {
        -    return com.google.protobuf.GeneratedMessageV3
        -        .parseWithIOException(PARSER, input);
        +
        +  public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse
        +      parseFrom(java.io.InputStream input) throws java.io.IOException {
        +    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
           }
        -  public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse parseFrom(
        -      java.io.InputStream input,
        -      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        -      throws java.io.IOException {
        -    return com.google.protobuf.GeneratedMessageV3
        -        .parseWithIOException(PARSER, input, extensionRegistry);
        +
        +  public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse
        +      parseFrom(
        +          java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        +          throws java.io.IOException {
        +    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
        +        PARSER, input, extensionRegistry);
           }
        -  public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse parseDelimitedFrom(java.io.InputStream input)
        -      throws java.io.IOException {
        -    return com.google.protobuf.GeneratedMessageV3
        -        .parseDelimitedWithIOException(PARSER, input);
        +
        +  public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse
        +      parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
        +    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
           }
        -  public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse 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.orchestration.airflow.service.v1beta1.CheckUpgradeResponse
        +      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.orchestration.airflow.service.v1beta1.CheckUpgradeResponse parseFrom(
        -      com.google.protobuf.CodedInputStream input)
        -      throws java.io.IOException {
        -    return com.google.protobuf.GeneratedMessageV3
        -        .parseWithIOException(PARSER, input);
        +
        +  public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse
        +      parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
        +    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
           }
        -  public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse parseFrom(
        -      com.google.protobuf.CodedInputStream input,
        -      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        -      throws java.io.IOException {
        -    return com.google.protobuf.GeneratedMessageV3
        -        .parseWithIOException(PARSER, input, extensionRegistry);
        +
        +  public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse
        +      parseFrom(
        +          com.google.protobuf.CodedInputStream input,
        +          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        +          throws java.io.IOException {
        +    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
        +        PARSER, input, extensionRegistry);
           }
         
           @java.lang.Override
        -  public Builder newBuilderForType() { return newBuilder(); }
        +  public Builder newBuilderForType() {
        +    return newBuilder();
        +  }
        +
           public static Builder newBuilder() {
             return DEFAULT_INSTANCE.toBuilder();
           }
        -  public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse prototype) {
        +
        +  public static Builder newBuilder(
        +      com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse prototype) {
             return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
           }
        +
           @java.lang.Override
           public Builder toBuilder() {
        -    return this == DEFAULT_INSTANCE
        -        ? new Builder() : new Builder().mergeFrom(this);
        +    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
           }
         
           @java.lang.Override
        -  protected Builder newBuilderForType(
        -      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        +  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
             Builder builder = new Builder(parent);
             return builder;
           }
           /**
        +   *
        +   *
            * 
            * Message containing information about the result of an upgrade check
            * operation.
        @@ -768,60 +861,61 @@ protected Builder newBuilderForType(
            *
            * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse}
            */
        -  public static final class Builder extends
        -      com.google.protobuf.GeneratedMessageV3.Builder implements
        +  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
        +      implements
               // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse)
               com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponseOrBuilder {
        -    public static final com.google.protobuf.Descriptors.Descriptor
        -        getDescriptor() {
        -      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_descriptor;
        +    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        +      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
        +          .internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_descriptor;
             }
         
             @SuppressWarnings({"rawtypes"})
        -    protected com.google.protobuf.MapField internalGetMapField(
        -        int number) {
        +    protected com.google.protobuf.MapField internalGetMapField(int number) {
               switch (number) {
                 case 6:
                   return internalGetPypiDependencies();
                 default:
        -          throw new RuntimeException(
        -              "Invalid map field number: " + number);
        +          throw new RuntimeException("Invalid map field number: " + number);
               }
             }
        +
             @SuppressWarnings({"rawtypes"})
        -    protected com.google.protobuf.MapField internalGetMutableMapField(
        -        int number) {
        +    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
               switch (number) {
                 case 6:
                   return internalGetMutablePypiDependencies();
                 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.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_fieldAccessorTable
        +      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
        +          .internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_fieldAccessorTable
                   .ensureFieldAccessorsInitialized(
        -              com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.class, com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.Builder.class);
        +              com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.class,
        +              com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.Builder
        +                  .class);
             }
         
        -    // Construct using com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.newBuilder()
        +    // Construct using
        +    // com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.newBuilder()
             private Builder() {
               maybeForceBuilderInitialization();
             }
         
        -    private Builder(
        -        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        +    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
               super(parent);
               maybeForceBuilderInitialization();
             }
        +
             private void maybeForceBuilderInitialization() {
        -      if (com.google.protobuf.GeneratedMessageV3
        -              .alwaysUseFieldBuilders) {
        -      }
        +      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
             }
        +
             @java.lang.Override
             public Builder clear() {
               super.clear();
        @@ -838,19 +932,22 @@ public Builder clear() {
             }
         
             @java.lang.Override
        -    public com.google.protobuf.Descriptors.Descriptor
        -        getDescriptorForType() {
        -      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_descriptor;
        +    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
        +      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
        +          .internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_descriptor;
             }
         
             @java.lang.Override
        -    public com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse getDefaultInstanceForType() {
        -      return com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.getDefaultInstance();
        +    public com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse
        +        getDefaultInstanceForType() {
        +      return com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse
        +          .getDefaultInstance();
             }
         
             @java.lang.Override
             public com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse build() {
        -      com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse result = buildPartial();
        +      com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse result =
        +          buildPartial();
               if (!result.isInitialized()) {
                 throw newUninitializedMessageException(result);
               }
        @@ -858,8 +955,10 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRespon
             }
         
             @java.lang.Override
        -    public com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse buildPartial() {
        -      com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse result = new com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse(this);
        +    public com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse
        +        buildPartial() {
        +      com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse result =
        +          new com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse(this);
               int from_bitField0_ = bitField0_;
               result.buildLogUri_ = buildLogUri_;
               result.containsPypiModulesConflict_ = containsPypiModulesConflict_;
        @@ -875,46 +974,52 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRespon
             public Builder clone() {
               return super.clone();
             }
        +
             @java.lang.Override
             public Builder setField(
        -        com.google.protobuf.Descriptors.FieldDescriptor field,
        -        java.lang.Object value) {
        +        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
               return super.setField(field, value);
             }
        +
             @java.lang.Override
        -    public Builder clearField(
        -        com.google.protobuf.Descriptors.FieldDescriptor field) {
        +    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
               return super.clearField(field);
             }
        +
             @java.lang.Override
        -    public Builder clearOneof(
        -        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        +    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
               return super.clearOneof(oneof);
             }
        +
             @java.lang.Override
             public Builder setRepeatedField(
        -        com.google.protobuf.Descriptors.FieldDescriptor field,
        -        int index, java.lang.Object value) {
        +        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
               return super.setRepeatedField(field, index, value);
             }
        +
             @java.lang.Override
             public Builder addRepeatedField(
        -        com.google.protobuf.Descriptors.FieldDescriptor field,
        -        java.lang.Object value) {
        +        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
               return super.addRepeatedField(field, value);
             }
        +
             @java.lang.Override
             public Builder mergeFrom(com.google.protobuf.Message other) {
        -      if (other instanceof com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse) {
        -        return mergeFrom((com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse)other);
        +      if (other
        +          instanceof com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse) {
        +        return mergeFrom(
        +            (com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse) other);
               } else {
                 super.mergeFrom(other);
                 return this;
               }
             }
         
        -    public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse other) {
        -      if (other == com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.getDefaultInstance()) return this;
        +    public Builder mergeFrom(
        +        com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse other) {
        +      if (other
        +          == com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse
        +              .getDefaultInstance()) return this;
               if (!other.getBuildLogUri().isEmpty()) {
                 buildLogUri_ = other.buildLogUri_;
                 onChanged();
        @@ -930,8 +1035,7 @@ public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1beta1.
                 imageVersion_ = other.imageVersion_;
                 onChanged();
               }
        -      internalGetMutablePypiDependencies().mergeFrom(
        -          other.internalGetPypiDependencies());
        +      internalGetMutablePypiDependencies().mergeFrom(other.internalGetPypiDependencies());
               this.mergeUnknownFields(other.unknownFields);
               onChanged();
               return this;
        @@ -947,11 +1051,14 @@ public Builder mergeFrom(
                 com.google.protobuf.CodedInputStream input,
                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                 throws java.io.IOException {
        -      com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse parsedMessage = null;
        +      com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse parsedMessage =
        +          null;
               try {
                 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
               } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        -        parsedMessage = (com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse) e.getUnfinishedMessage();
        +        parsedMessage =
        +            (com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse)
        +                e.getUnfinishedMessage();
                 throw e.unwrapIOException();
               } finally {
                 if (parsedMessage != null) {
        @@ -960,22 +1067,25 @@ public Builder mergeFrom(
               }
               return this;
             }
        +
             private int bitField0_;
         
             private java.lang.Object buildLogUri_ = "";
             /**
        +     *
        +     *
              * 
              * Output only. Url for a docker build log of an upgraded image.
              * 
        * * string build_log_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The buildLogUri. */ public java.lang.String getBuildLogUri() { java.lang.Object ref = buildLogUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); buildLogUri_ = s; return s; @@ -984,20 +1094,21 @@ public java.lang.String getBuildLogUri() { } } /** + * + * *
              * Output only. Url for a docker build log of an upgraded image.
              * 
        * * string build_log_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for buildLogUri. */ - public com.google.protobuf.ByteString - getBuildLogUriBytes() { + public com.google.protobuf.ByteString getBuildLogUriBytes() { java.lang.Object ref = buildLogUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); buildLogUri_ = b; return b; } else { @@ -1005,54 +1116,61 @@ public java.lang.String getBuildLogUri() { } } /** + * + * *
              * Output only. Url for a docker build log of an upgraded image.
              * 
        * * string build_log_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The buildLogUri to set. * @return This builder for chaining. */ - public Builder setBuildLogUri( - java.lang.String value) { + public Builder setBuildLogUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + buildLogUri_ = value; onChanged(); return this; } /** + * + * *
              * Output only. Url for a docker build log of an upgraded image.
              * 
        * * string build_log_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearBuildLogUri() { - + buildLogUri_ = getDefaultInstance().getBuildLogUri(); onChanged(); return this; } /** + * + * *
              * Output only. Url for a docker build log of an upgraded image.
              * 
        * * string build_log_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for buildLogUri to set. * @return This builder for chaining. */ - public Builder setBuildLogUriBytes( - com.google.protobuf.ByteString value) { + public Builder setBuildLogUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + buildLogUri_ = value; onChanged(); return this; @@ -1060,73 +1178,109 @@ public Builder setBuildLogUriBytes( private int containsPypiModulesConflict_ = 0; /** + * + * *
              * Output only. Whether build has succeeded or failed on modules conflicts.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for containsPypiModulesConflict. */ - @java.lang.Override public int getContainsPypiModulesConflictValue() { + @java.lang.Override + public int getContainsPypiModulesConflictValue() { return containsPypiModulesConflict_; } /** + * + * *
              * Output only. Whether build has succeeded or failed on modules conflicts.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for containsPypiModulesConflict to set. * @return This builder for chaining. */ public Builder setContainsPypiModulesConflictValue(int value) { - + containsPypiModulesConflict_ = value; onChanged(); return this; } /** + * + * *
              * Output only. Whether build has succeeded or failed on modules conflicts.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The containsPypiModulesConflict. */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult getContainsPypiModulesConflict() { + public com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse + .ConflictResult + getContainsPypiModulesConflict() { @SuppressWarnings("deprecation") - com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult result = com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult.valueOf(containsPypiModulesConflict_); - return result == null ? com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult.UNRECOGNIZED : result; + com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult + result = + com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse + .ConflictResult.valueOf(containsPypiModulesConflict_); + return result == null + ? com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse + .ConflictResult.UNRECOGNIZED + : result; } /** + * + * *
              * Output only. Whether build has succeeded or failed on modules conflicts.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The containsPypiModulesConflict to set. * @return This builder for chaining. */ - public Builder setContainsPypiModulesConflict(com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult value) { + public Builder setContainsPypiModulesConflict( + com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult + value) { if (value == null) { throw new NullPointerException(); } - + containsPypiModulesConflict_ = value.getNumber(); onChanged(); return this; } /** + * + * *
              * Output only. Whether build has succeeded or failed on modules conflicts.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearContainsPypiModulesConflict() { - + containsPypiModulesConflict_ = 0; onChanged(); return this; @@ -1134,19 +1288,23 @@ public Builder clearContainsPypiModulesConflict() { private java.lang.Object pypiConflictBuildLogExtract_ = ""; /** + * + * *
              * Output only. Extract from a docker image build log containing information about pypi
              * modules conflicts.
              * 
        * - * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The pypiConflictBuildLogExtract. */ public java.lang.String getPypiConflictBuildLogExtract() { java.lang.Object ref = pypiConflictBuildLogExtract_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pypiConflictBuildLogExtract_ = s; return s; @@ -1155,21 +1313,24 @@ public java.lang.String getPypiConflictBuildLogExtract() { } } /** + * + * *
              * Output only. Extract from a docker image build log containing information about pypi
              * modules conflicts.
              * 
        * - * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bytes for pypiConflictBuildLogExtract. */ - public com.google.protobuf.ByteString - getPypiConflictBuildLogExtractBytes() { + public com.google.protobuf.ByteString getPypiConflictBuildLogExtractBytes() { java.lang.Object ref = pypiConflictBuildLogExtract_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pypiConflictBuildLogExtract_ = b; return b; } else { @@ -1177,57 +1338,70 @@ public java.lang.String getPypiConflictBuildLogExtract() { } } /** + * + * *
              * Output only. Extract from a docker image build log containing information about pypi
              * modules conflicts.
              * 
        * - * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The pypiConflictBuildLogExtract to set. * @return This builder for chaining. */ - public Builder setPypiConflictBuildLogExtract( - java.lang.String value) { + public Builder setPypiConflictBuildLogExtract(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pypiConflictBuildLogExtract_ = value; onChanged(); return this; } /** + * + * *
              * Output only. Extract from a docker image build log containing information about pypi
              * modules conflicts.
              * 
        * - * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearPypiConflictBuildLogExtract() { - + pypiConflictBuildLogExtract_ = getDefaultInstance().getPypiConflictBuildLogExtract(); onChanged(); return this; } /** + * + * *
              * Output only. Extract from a docker image build log containing information about pypi
              * modules conflicts.
              * 
        * - * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The bytes for pypiConflictBuildLogExtract to set. * @return This builder for chaining. */ - public Builder setPypiConflictBuildLogExtractBytes( - com.google.protobuf.ByteString value) { + public Builder setPypiConflictBuildLogExtractBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pypiConflictBuildLogExtract_ = value; onChanged(); return this; @@ -1235,18 +1409,20 @@ public Builder setPypiConflictBuildLogExtractBytes( private java.lang.Object imageVersion_ = ""; /** + * + * *
              * Composer image for which the build was happening.
              * 
        * * string image_version = 5; + * * @return The imageVersion. */ public java.lang.String getImageVersion() { java.lang.Object ref = imageVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageVersion_ = s; return s; @@ -1255,20 +1431,21 @@ public java.lang.String getImageVersion() { } } /** + * + * *
              * Composer image for which the build was happening.
              * 
        * * string image_version = 5; + * * @return The bytes for imageVersion. */ - public com.google.protobuf.ByteString - getImageVersionBytes() { + public com.google.protobuf.ByteString getImageVersionBytes() { java.lang.Object ref = imageVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); imageVersion_ = b; return b; } else { @@ -1276,75 +1453,85 @@ public java.lang.String getImageVersion() { } } /** + * + * *
              * Composer image for which the build was happening.
              * 
        * * string image_version = 5; + * * @param value The imageVersion to set. * @return This builder for chaining. */ - public Builder setImageVersion( - java.lang.String value) { + public Builder setImageVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + imageVersion_ = value; onChanged(); return this; } /** + * + * *
              * Composer image for which the build was happening.
              * 
        * * string image_version = 5; + * * @return This builder for chaining. */ public Builder clearImageVersion() { - + imageVersion_ = getDefaultInstance().getImageVersion(); onChanged(); return this; } /** + * + * *
              * Composer image for which the build was happening.
              * 
        * * string image_version = 5; + * * @param value The bytes for imageVersion to set. * @return This builder for chaining. */ - public Builder setImageVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setImageVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + imageVersion_ = value; onChanged(); return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> pypiDependencies_; + private com.google.protobuf.MapField pypiDependencies_; + private com.google.protobuf.MapField - internalGetPypiDependencies() { + internalGetPypiDependencies() { if (pypiDependencies_ == null) { return com.google.protobuf.MapField.emptyMapField( PypiDependenciesDefaultEntryHolder.defaultEntry); } return pypiDependencies_; } + private com.google.protobuf.MapField - internalGetMutablePypiDependencies() { - onChanged();; + internalGetMutablePypiDependencies() { + onChanged(); + ; if (pypiDependencies_ == null) { - pypiDependencies_ = com.google.protobuf.MapField.newMapField( - PypiDependenciesDefaultEntryHolder.defaultEntry); + pypiDependencies_ = + com.google.protobuf.MapField.newMapField( + PypiDependenciesDefaultEntryHolder.defaultEntry); } if (!pypiDependencies_.isMutable()) { pypiDependencies_ = pypiDependencies_.copy(); @@ -1356,6 +1543,8 @@ public int getPypiDependenciesCount() { return internalGetPypiDependencies().getMap().size(); } /** + * + * *
              * Pypi dependencies specified in the environment configuration, at the time
              * when the build was triggered.
        @@ -1363,22 +1552,22 @@ public int getPypiDependenciesCount() {
              *
              * map<string, string> pypi_dependencies = 6;
              */
        -
             @java.lang.Override
        -    public boolean containsPypiDependencies(
        -        java.lang.String key) {
        -      if (key == null) { throw new NullPointerException("map key"); }
        +    public boolean containsPypiDependencies(java.lang.String key) {
        +      if (key == null) {
        +        throw new NullPointerException("map key");
        +      }
               return internalGetPypiDependencies().getMap().containsKey(key);
             }
        -    /**
        -     * Use {@link #getPypiDependenciesMap()} instead.
        -     */
        +    /** Use {@link #getPypiDependenciesMap()} instead. */
             @java.lang.Override
             @java.lang.Deprecated
             public java.util.Map getPypiDependencies() {
               return getPypiDependenciesMap();
             }
             /**
        +     *
        +     *
              * 
              * Pypi dependencies specified in the environment configuration, at the time
              * when the build was triggered.
        @@ -1387,11 +1576,12 @@ public java.util.Map getPypiDependencies() {
              * map<string, string> pypi_dependencies = 6;
              */
             @java.lang.Override
        -
             public java.util.Map getPypiDependenciesMap() {
               return internalGetPypiDependencies().getMap();
             }
             /**
        +     *
        +     *
              * 
              * Pypi dependencies specified in the environment configuration, at the time
              * when the build was triggered.
        @@ -1400,16 +1590,18 @@ public java.util.Map getPypiDependenciesMap(
              * map<string, string> pypi_dependencies = 6;
              */
             @java.lang.Override
        -
             public java.lang.String getPypiDependenciesOrDefault(
        -        java.lang.String key,
        -        java.lang.String defaultValue) {
        -      if (key == null) { throw new NullPointerException("map key"); }
        +        java.lang.String key, java.lang.String defaultValue) {
        +      if (key == null) {
        +        throw new NullPointerException("map key");
        +      }
               java.util.Map map =
                   internalGetPypiDependencies().getMap();
               return map.containsKey(key) ? map.get(key) : defaultValue;
             }
             /**
        +     *
        +     *
              * 
              * Pypi dependencies specified in the environment configuration, at the time
              * when the build was triggered.
        @@ -1418,10 +1610,10 @@ public java.lang.String getPypiDependenciesOrDefault(
              * map<string, string> pypi_dependencies = 6;
              */
             @java.lang.Override
        -
        -    public java.lang.String getPypiDependenciesOrThrow(
        -        java.lang.String key) {
        -      if (key == null) { throw new NullPointerException("map key"); }
        +    public java.lang.String getPypiDependenciesOrThrow(java.lang.String key) {
        +      if (key == null) {
        +        throw new NullPointerException("map key");
        +      }
               java.util.Map map =
                   internalGetPypiDependencies().getMap();
               if (!map.containsKey(key)) {
        @@ -1431,11 +1623,12 @@ public java.lang.String getPypiDependenciesOrThrow(
             }
         
             public Builder clearPypiDependencies() {
        -      internalGetMutablePypiDependencies().getMutableMap()
        -          .clear();
        +      internalGetMutablePypiDependencies().getMutableMap().clear();
               return this;
             }
             /**
        +     *
        +     *
              * 
              * Pypi dependencies specified in the environment configuration, at the time
              * when the build was triggered.
        @@ -1443,23 +1636,21 @@ public Builder clearPypiDependencies() {
              *
              * map<string, string> pypi_dependencies = 6;
              */
        -
        -    public Builder removePypiDependencies(
        -        java.lang.String key) {
        -      if (key == null) { throw new NullPointerException("map key"); }
        -      internalGetMutablePypiDependencies().getMutableMap()
        -          .remove(key);
        +    public Builder removePypiDependencies(java.lang.String key) {
        +      if (key == null) {
        +        throw new NullPointerException("map key");
        +      }
        +      internalGetMutablePypiDependencies().getMutableMap().remove(key);
               return this;
             }
        -    /**
        -     * Use alternate mutation accessors instead.
        -     */
        +    /** Use alternate mutation accessors instead. */
             @java.lang.Deprecated
        -    public java.util.Map
        -    getMutablePypiDependencies() {
        +    public java.util.Map getMutablePypiDependencies() {
               return internalGetMutablePypiDependencies().getMutableMap();
             }
             /**
        +     *
        +     *
              * 
              * Pypi dependencies specified in the environment configuration, at the time
              * when the build was triggered.
        @@ -1467,19 +1658,20 @@ public Builder removePypiDependencies(
              *
              * map<string, string> pypi_dependencies = 6;
              */
        -    public Builder putPypiDependencies(
        -        java.lang.String key,
        -        java.lang.String value) {
        -      if (key == null) { throw new NullPointerException("map key"); }
        +    public Builder putPypiDependencies(java.lang.String key, java.lang.String value) {
        +      if (key == null) {
        +        throw new NullPointerException("map key");
        +      }
               if (value == null) {
        -  throw new NullPointerException("map value");
        -}
        +        throw new NullPointerException("map value");
        +      }
         
        -      internalGetMutablePypiDependencies().getMutableMap()
        -          .put(key, value);
        +      internalGetMutablePypiDependencies().getMutableMap().put(key, value);
               return this;
             }
             /**
        +     *
        +     *
              * 
              * Pypi dependencies specified in the environment configuration, at the time
              * when the build was triggered.
        @@ -1487,16 +1679,14 @@ public Builder putPypiDependencies(
              *
              * map<string, string> pypi_dependencies = 6;
              */
        -
             public Builder putAllPypiDependencies(
                 java.util.Map values) {
        -      internalGetMutablePypiDependencies().getMutableMap()
        -          .putAll(values);
        +      internalGetMutablePypiDependencies().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);
             }
         
        @@ -1506,30 +1696,33 @@ public final Builder mergeUnknownFields(
               return super.mergeUnknownFields(unknownFields);
             }
         
        -
             // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse)
           }
         
           // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse)
        -  private static final com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse DEFAULT_INSTANCE;
        +  private static final com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse
        +      DEFAULT_INSTANCE;
        +
           static {
        -    DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse();
        +    DEFAULT_INSTANCE =
        +        new com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse();
           }
         
        -  public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse getDefaultInstance() {
        +  public static com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse
        +      getDefaultInstance() {
             return DEFAULT_INSTANCE;
           }
         
        -  private static final com.google.protobuf.Parser
        -      PARSER = new com.google.protobuf.AbstractParser() {
        -    @java.lang.Override
        -    public CheckUpgradeResponse parsePartialFrom(
        -        com.google.protobuf.CodedInputStream input,
        -        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        -        throws com.google.protobuf.InvalidProtocolBufferException {
        -      return new CheckUpgradeResponse(input, extensionRegistry);
        -    }
        -  };
        +  private static final com.google.protobuf.Parser PARSER =
        +      new com.google.protobuf.AbstractParser() {
        +        @java.lang.Override
        +        public CheckUpgradeResponse parsePartialFrom(
        +            com.google.protobuf.CodedInputStream input,
        +            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        +            throws com.google.protobuf.InvalidProtocolBufferException {
        +          return new CheckUpgradeResponse(input, extensionRegistry);
        +        }
        +      };
         
           public static com.google.protobuf.Parser parser() {
             return PARSER;
        @@ -1541,9 +1734,8 @@ public com.google.protobuf.Parser getParserForType() {
           }
         
           @java.lang.Override
        -  public com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse getDefaultInstanceForType() {
        +  public com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse
        +      getDefaultInstanceForType() {
             return DEFAULT_INSTANCE;
           }
        -
         }
        -
        diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CheckUpgradeResponseOrBuilder.java b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CheckUpgradeResponseOrBuilder.java
        similarity index 64%
        rename from owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CheckUpgradeResponseOrBuilder.java
        rename to proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CheckUpgradeResponseOrBuilder.java
        index a2d0ef7b..18f8a7c6 100644
        --- a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CheckUpgradeResponseOrBuilder.java
        +++ b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CheckUpgradeResponseOrBuilder.java
        @@ -1,94 +1,140 @@
        +/*
        + * Copyright 2020 Google LLC
        + *
        + * Licensed under the Apache License, Version 2.0 (the "License");
        + * you may not use this file except in compliance with the License.
        + * You may obtain a copy of the License at
        + *
        + *     https://www.apache.org/licenses/LICENSE-2.0
        + *
        + * Unless required by applicable law or agreed to in writing, software
        + * distributed under the License is distributed on an "AS IS" BASIS,
        + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
        + * See the License for the specific language governing permissions and
        + * limitations under the License.
        + */
         // Generated by the protocol buffer compiler.  DO NOT EDIT!
         // source: google/cloud/orchestration/airflow/service/v1beta1/environments.proto
         
         package com.google.cloud.orchestration.airflow.service.v1beta1;
         
        -public interface CheckUpgradeResponseOrBuilder extends
        +public interface CheckUpgradeResponseOrBuilder
        +    extends
             // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse)
             com.google.protobuf.MessageOrBuilder {
         
           /**
        +   *
        +   *
            * 
            * Output only. Url for a docker build log of an upgraded image.
            * 
        * * string build_log_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The buildLogUri. */ java.lang.String getBuildLogUri(); /** + * + * *
            * Output only. Url for a docker build log of an upgraded image.
            * 
        * * string build_log_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for buildLogUri. */ - com.google.protobuf.ByteString - getBuildLogUriBytes(); + com.google.protobuf.ByteString getBuildLogUriBytes(); /** + * + * *
            * Output only. Whether build has succeeded or failed on modules conflicts.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for containsPypiModulesConflict. */ int getContainsPypiModulesConflictValue(); /** + * + * *
            * Output only. Whether build has succeeded or failed on modules conflicts.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The containsPypiModulesConflict. */ - com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult getContainsPypiModulesConflict(); + com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse.ConflictResult + getContainsPypiModulesConflict(); /** + * + * *
            * Output only. Extract from a docker image build log containing information about pypi
            * modules conflicts.
            * 
        * - * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The pypiConflictBuildLogExtract. */ java.lang.String getPypiConflictBuildLogExtract(); /** + * + * *
            * Output only. Extract from a docker image build log containing information about pypi
            * modules conflicts.
            * 
        * - * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bytes for pypiConflictBuildLogExtract. */ - com.google.protobuf.ByteString - getPypiConflictBuildLogExtractBytes(); + com.google.protobuf.ByteString getPypiConflictBuildLogExtractBytes(); /** + * + * *
            * Composer image for which the build was happening.
            * 
        * * string image_version = 5; + * * @return The imageVersion. */ java.lang.String getImageVersion(); /** + * + * *
            * Composer image for which the build was happening.
            * 
        * * string image_version = 5; + * * @return The bytes for imageVersion. */ - com.google.protobuf.ByteString - getImageVersionBytes(); + com.google.protobuf.ByteString getImageVersionBytes(); /** + * + * *
            * Pypi dependencies specified in the environment configuration, at the time
            * when the build was triggered.
        @@ -98,6 +144,8 @@ public interface CheckUpgradeResponseOrBuilder extends
            */
           int getPypiDependenciesCount();
           /**
        +   *
        +   *
            * 
            * Pypi dependencies specified in the environment configuration, at the time
            * when the build was triggered.
        @@ -105,15 +153,13 @@ public interface CheckUpgradeResponseOrBuilder extends
            *
            * map<string, string> pypi_dependencies = 6;
            */
        -  boolean containsPypiDependencies(
        -      java.lang.String key);
        -  /**
        -   * Use {@link #getPypiDependenciesMap()} instead.
        -   */
        +  boolean containsPypiDependencies(java.lang.String key);
        +  /** Use {@link #getPypiDependenciesMap()} instead. */
           @java.lang.Deprecated
        -  java.util.Map
        -  getPypiDependencies();
        +  java.util.Map getPypiDependencies();
           /**
        +   *
        +   *
            * 
            * Pypi dependencies specified in the environment configuration, at the time
            * when the build was triggered.
        @@ -121,9 +167,10 @@ boolean containsPypiDependencies(
            *
            * map<string, string> pypi_dependencies = 6;
            */
        -  java.util.Map
        -  getPypiDependenciesMap();
        +  java.util.Map getPypiDependenciesMap();
           /**
        +   *
        +   *
            * 
            * Pypi dependencies specified in the environment configuration, at the time
            * when the build was triggered.
        @@ -133,11 +180,13 @@ boolean containsPypiDependencies(
            */
         
           /* nullable */
        -java.lang.String getPypiDependenciesOrDefault(
        +  java.lang.String getPypiDependenciesOrDefault(
               java.lang.String key,
               /* nullable */
        -java.lang.String defaultValue);
        +      java.lang.String defaultValue);
           /**
        +   *
        +   *
            * 
            * Pypi dependencies specified in the environment configuration, at the time
            * when the build was triggered.
        @@ -145,7 +194,5 @@ java.lang.String getPypiDependenciesOrDefault(
            *
            * map<string, string> pypi_dependencies = 6;
            */
        -
        -  java.lang.String getPypiDependenciesOrThrow(
        -      java.lang.String key);
        +  java.lang.String getPypiDependenciesOrThrow(java.lang.String key);
         }
        diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CreateEnvironmentRequest.java b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CreateEnvironmentRequest.java
        similarity index 60%
        rename from owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CreateEnvironmentRequest.java
        rename to proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CreateEnvironmentRequest.java
        index 997fc6b4..b76fd3b0 100644
        --- a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CreateEnvironmentRequest.java
        +++ b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CreateEnvironmentRequest.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/orchestration/airflow/service/v1beta1/environments.proto
         
         package com.google.cloud.orchestration.airflow.service.v1beta1;
         
         /**
        + *
        + *
          * 
          * Create a new environment.
          * 
        * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest} */ -public final class CreateEnvironmentRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateEnvironmentRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest) CreateEnvironmentRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateEnvironmentRequest.newBuilder() to construct. private CreateEnvironmentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateEnvironmentRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateEnvironmentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateEnvironmentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,32 +70,38 @@ private CreateEnvironmentRequest( 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.orchestration.airflow.service.v1beta1.Environment.Builder subBuilder = null; - if (environment_ != null) { - subBuilder = environment_.toBuilder(); + parent_ = s; + break; } - environment_ = input.readMessage(com.google.cloud.orchestration.airflow.service.v1beta1.Environment.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(environment_); - environment_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder + subBuilder = null; + if (environment_ != null) { + subBuilder = environment_.toBuilder(); + } + environment_ = + input.readMessage( + com.google.cloud.orchestration.airflow.service.v1beta1.Environment.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(environment_); + environment_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -86,35 +109,41 @@ private CreateEnvironmentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_CreateEnvironmentRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_CreateEnvironmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_CreateEnvironmentRequest_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_CreateEnvironmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest.class, com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest.Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest.class, + com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest.Builder + .class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
            * The parent must be of the form
            * "projects/{projectId}/locations/{locationId}".
            * 
        * * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -123,30 +152,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 parent must be of the form
            * "projects/{projectId}/locations/{locationId}".
            * 
        * * 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 { @@ -157,11 +186,14 @@ public java.lang.String getParent() { public static final int ENVIRONMENT_FIELD_NUMBER = 2; private com.google.cloud.orchestration.airflow.service.v1beta1.Environment environment_; /** + * + * *
            * The environment to create.
            * 
        * * .google.cloud.orchestration.airflow.service.v1beta1.Environment environment = 2; + * * @return Whether the environment field is set. */ @java.lang.Override @@ -169,18 +201,25 @@ public boolean hasEnvironment() { return environment_ != null; } /** + * + * *
            * The environment to create.
            * 
        * * .google.cloud.orchestration.airflow.service.v1beta1.Environment environment = 2; + * * @return The environment. */ @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1beta1.Environment getEnvironment() { - return environment_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.Environment.getDefaultInstance() : environment_; + return environment_ == null + ? com.google.cloud.orchestration.airflow.service.v1beta1.Environment.getDefaultInstance() + : environment_; } /** + * + * *
            * The environment to create.
            * 
        @@ -188,11 +227,13 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.Environment getEnv * .google.cloud.orchestration.airflow.service.v1beta1.Environment environment = 2; */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder getEnvironmentOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder + getEnvironmentOrBuilder() { return getEnvironment(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,8 +245,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -225,8 +265,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (environment_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getEnvironment()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEnvironment()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -236,19 +275,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest)) { + if (!(obj + instanceof + com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest other = (com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest) obj; + com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest other = + (com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasEnvironment() != other.hasEnvironment()) return false; if (hasEnvironment()) { - if (!getEnvironment() - .equals(other.getEnvironment())) return false; + if (!getEnvironment().equals(other.getEnvironment())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -272,135 +312,153 @@ public int hashCode() { return hash; } - public static com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest 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.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest + 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.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
            * Create a new environment.
            * 
        * - * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest} + * Protobuf type {@code + * google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest) com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_CreateEnvironmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_CreateEnvironmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_CreateEnvironmentRequest_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_CreateEnvironmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest.class, com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest.Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest.class, + com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest + .Builder.class); } - // Construct using com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest.newBuilder() + // Construct using + // com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -416,19 +474,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_CreateEnvironmentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_CreateEnvironmentRequest_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest.getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest + getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest build() { - com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest result = buildPartial(); + com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -436,8 +497,10 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentR } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest buildPartial() { - com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest result = new com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest(this); + public com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest + buildPartial() { + com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest result = + new com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest(this); result.parent_ = parent_; if (environmentBuilder_ == null) { result.environment_ = environment_; @@ -452,46 +515,54 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentR public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest) { - return mergeFrom((com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest)other); + if (other + instanceof + com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest) { + return mergeFrom( + (com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest other) { - if (other == com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest other) { + if (other + == com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -514,11 +585,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest parsedMessage = null; + com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -530,19 +604,21 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
              * The parent must be of the form
              * "projects/{projectId}/locations/{locationId}".
              * 
        * * 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; @@ -551,21 +627,22 @@ public java.lang.String getParent() { } } /** + * + * *
              * The parent must be of the form
              * "projects/{projectId}/locations/{locationId}".
              * 
        * * 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 { @@ -573,57 +650,64 @@ public java.lang.String getParent() { } } /** + * + * *
              * The parent must be of the form
              * "projects/{projectId}/locations/{locationId}".
              * 
        * * 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 parent must be of the form
              * "projects/{projectId}/locations/{locationId}".
              * 
        * * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
              * The parent must be of the form
              * "projects/{projectId}/locations/{locationId}".
              * 
        * * 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; @@ -631,41 +715,56 @@ public Builder setParentBytes( private com.google.cloud.orchestration.airflow.service.v1beta1.Environment environment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.Environment, com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder> environmentBuilder_; + com.google.cloud.orchestration.airflow.service.v1beta1.Environment, + com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder, + com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder> + environmentBuilder_; /** + * + * *
              * The environment to create.
              * 
        * * .google.cloud.orchestration.airflow.service.v1beta1.Environment environment = 2; + * * @return Whether the environment field is set. */ public boolean hasEnvironment() { return environmentBuilder_ != null || environment_ != null; } /** + * + * *
              * The environment to create.
              * 
        * * .google.cloud.orchestration.airflow.service.v1beta1.Environment environment = 2; + * * @return The environment. */ public com.google.cloud.orchestration.airflow.service.v1beta1.Environment getEnvironment() { if (environmentBuilder_ == null) { - return environment_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.Environment.getDefaultInstance() : environment_; + return environment_ == null + ? com.google.cloud.orchestration.airflow.service.v1beta1.Environment + .getDefaultInstance() + : environment_; } else { return environmentBuilder_.getMessage(); } } /** + * + * *
              * The environment to create.
              * 
        * * .google.cloud.orchestration.airflow.service.v1beta1.Environment environment = 2; */ - public Builder setEnvironment(com.google.cloud.orchestration.airflow.service.v1beta1.Environment value) { + public Builder setEnvironment( + com.google.cloud.orchestration.airflow.service.v1beta1.Environment value) { if (environmentBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -679,6 +778,8 @@ public Builder setEnvironment(com.google.cloud.orchestration.airflow.service.v1b return this; } /** + * + * *
              * The environment to create.
              * 
        @@ -686,7 +787,8 @@ public Builder setEnvironment(com.google.cloud.orchestration.airflow.service.v1b * .google.cloud.orchestration.airflow.service.v1beta1.Environment environment = 2; */ public Builder setEnvironment( - com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder builderForValue) { + com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder + builderForValue) { if (environmentBuilder_ == null) { environment_ = builderForValue.build(); onChanged(); @@ -697,17 +799,23 @@ public Builder setEnvironment( return this; } /** + * + * *
              * The environment to create.
              * 
        * * .google.cloud.orchestration.airflow.service.v1beta1.Environment environment = 2; */ - public Builder mergeEnvironment(com.google.cloud.orchestration.airflow.service.v1beta1.Environment value) { + public Builder mergeEnvironment( + com.google.cloud.orchestration.airflow.service.v1beta1.Environment value) { if (environmentBuilder_ == null) { if (environment_ != null) { environment_ = - com.google.cloud.orchestration.airflow.service.v1beta1.Environment.newBuilder(environment_).mergeFrom(value).buildPartial(); + com.google.cloud.orchestration.airflow.service.v1beta1.Environment.newBuilder( + environment_) + .mergeFrom(value) + .buildPartial(); } else { environment_ = value; } @@ -719,6 +827,8 @@ public Builder mergeEnvironment(com.google.cloud.orchestration.airflow.service.v return this; } /** + * + * *
              * The environment to create.
              * 
        @@ -737,33 +847,43 @@ public Builder clearEnvironment() { return this; } /** + * + * *
              * The environment to create.
              * 
        * * .google.cloud.orchestration.airflow.service.v1beta1.Environment environment = 2; */ - public com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder getEnvironmentBuilder() { - + public com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder + getEnvironmentBuilder() { + onChanged(); return getEnvironmentFieldBuilder().getBuilder(); } /** + * + * *
              * The environment to create.
              * 
        * * .google.cloud.orchestration.airflow.service.v1beta1.Environment environment = 2; */ - public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder getEnvironmentOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder + getEnvironmentOrBuilder() { if (environmentBuilder_ != null) { return environmentBuilder_.getMessageOrBuilder(); } else { - return environment_ == null ? - com.google.cloud.orchestration.airflow.service.v1beta1.Environment.getDefaultInstance() : environment_; + return environment_ == null + ? com.google.cloud.orchestration.airflow.service.v1beta1.Environment + .getDefaultInstance() + : environment_; } } /** + * + * *
              * The environment to create.
              * 
        @@ -771,21 +891,24 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuild * .google.cloud.orchestration.airflow.service.v1beta1.Environment environment = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.Environment, com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder> + com.google.cloud.orchestration.airflow.service.v1beta1.Environment, + com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder, + com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder> getEnvironmentFieldBuilder() { if (environmentBuilder_ == null) { - environmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.Environment, com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder>( - getEnvironment(), - getParentForChildren(), - isClean()); + environmentBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.orchestration.airflow.service.v1beta1.Environment, + com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder, + com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder>( + getEnvironment(), getParentForChildren(), isClean()); environment_ = null; } return environmentBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -795,30 +918,34 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest) - private static final com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest DEFAULT_INSTANCE; + private static final com.google.cloud.orchestration.airflow.service.v1beta1 + .CreateEnvironmentRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest(); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateEnvironmentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateEnvironmentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateEnvironmentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateEnvironmentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -830,9 +957,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CreateEnvironmentRequestOrBuilder.java b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CreateEnvironmentRequestOrBuilder.java similarity index 65% rename from owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CreateEnvironmentRequestOrBuilder.java rename to proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CreateEnvironmentRequestOrBuilder.java index 8acf82d1..ff2de928 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CreateEnvironmentRequestOrBuilder.java +++ b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CreateEnvironmentRequestOrBuilder.java @@ -1,58 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; -public interface CreateEnvironmentRequestOrBuilder extends +public interface CreateEnvironmentRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1beta1.CreateEnvironmentRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
            * The parent must be of the form
            * "projects/{projectId}/locations/{locationId}".
            * 
        * * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
            * The parent must be of the form
            * "projects/{projectId}/locations/{locationId}".
            * 
        * * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
            * The environment to create.
            * 
        * * .google.cloud.orchestration.airflow.service.v1beta1.Environment environment = 2; + * * @return Whether the environment field is set. */ boolean hasEnvironment(); /** + * + * *
            * The environment to create.
            * 
        * * .google.cloud.orchestration.airflow.service.v1beta1.Environment environment = 2; + * * @return The environment. */ com.google.cloud.orchestration.airflow.service.v1beta1.Environment getEnvironment(); /** + * + * *
            * The environment to create.
            * 
        * * .google.cloud.orchestration.airflow.service.v1beta1.Environment environment = 2; */ - com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder getEnvironmentOrBuilder(); + com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder + getEnvironmentOrBuilder(); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/DatabaseConfig.java b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/DatabaseConfig.java similarity index 67% rename from owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/DatabaseConfig.java rename to proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/DatabaseConfig.java index a3809fa5..111f649a 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/DatabaseConfig.java +++ b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/DatabaseConfig.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/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; /** + * + * *
          * The configuration of Cloud SQL instance that is used by the Apache Airflow
          * software.
        @@ -11,31 +28,31 @@
          *
          * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig}
          */
        -public final class DatabaseConfig extends
        -    com.google.protobuf.GeneratedMessageV3 implements
        +public final class DatabaseConfig extends com.google.protobuf.GeneratedMessageV3
        +    implements
             // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig)
             DatabaseConfigOrBuilder {
        -private static final long serialVersionUID = 0L;
        +  private static final long serialVersionUID = 0L;
           // Use DatabaseConfig.newBuilder() to construct.
           private DatabaseConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
             super(builder);
           }
        +
           private DatabaseConfig() {
             machineType_ = "";
           }
         
           @java.lang.Override
           @SuppressWarnings({"unused"})
        -  protected java.lang.Object newInstance(
        -      UnusedPrivateParameter unused) {
        +  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
             return new DatabaseConfig();
           }
         
           @java.lang.Override
        -  public final com.google.protobuf.UnknownFieldSet
        -  getUnknownFields() {
        +  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
             return this.unknownFields;
           }
        +
           private DatabaseConfig(
               com.google.protobuf.CodedInputStream input,
               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        @@ -54,19 +71,20 @@ private DatabaseConfig(
                   case 0:
                     done = true;
                     break;
        -          case 10: {
        -            java.lang.String s = input.readStringRequireUtf8();
        +          case 10:
        +            {
        +              java.lang.String s = input.readStringRequireUtf8();
         
        -            machineType_ = s;
        -            break;
        -          }
        -          default: {
        -            if (!parseUnknownField(
        -                input, unknownFields, extensionRegistry, tag)) {
        -              done = true;
        +              machineType_ = s;
        +              break;
        +            }
        +          default:
        +            {
        +              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
        +                done = true;
        +              }
        +              break;
                     }
        -            break;
        -          }
                 }
               }
             } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        @@ -74,29 +92,33 @@ private DatabaseConfig(
             } catch (com.google.protobuf.UninitializedMessageException e) {
               throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
             } catch (java.io.IOException e) {
        -      throw new com.google.protobuf.InvalidProtocolBufferException(
        -          e).setUnfinishedMessage(this);
        +      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
             } finally {
               this.unknownFields = unknownFields.build();
               makeExtensionsImmutable();
             }
           }
        -  public static final com.google.protobuf.Descriptors.Descriptor
        -      getDescriptor() {
        -    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_DatabaseConfig_descriptor;
        +
        +  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        +    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
        +        .internal_static_google_cloud_orchestration_airflow_service_v1beta1_DatabaseConfig_descriptor;
           }
         
           @java.lang.Override
           protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
               internalGetFieldAccessorTable() {
        -    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_DatabaseConfig_fieldAccessorTable
        +    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
        +        .internal_static_google_cloud_orchestration_airflow_service_v1beta1_DatabaseConfig_fieldAccessorTable
                 .ensureFieldAccessorsInitialized(
        -            com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig.class, com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig.Builder.class);
        +            com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig.class,
        +            com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig.Builder.class);
           }
         
           public static final int MACHINE_TYPE_FIELD_NUMBER = 1;
           private volatile java.lang.Object machineType_;
           /**
        +   *
        +   *
            * 
            * Optional. Cloud SQL machine type used by Airflow database.
            * It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8
        @@ -104,6 +126,7 @@ private DatabaseConfig(
            * 
        * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The machineType. */ @java.lang.Override @@ -112,14 +135,15 @@ public java.lang.String getMachineType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); machineType_ = s; return s; } } /** + * + * *
            * Optional. Cloud SQL machine type used by Airflow database.
            * It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8
        @@ -127,16 +151,15 @@ public java.lang.String getMachineType() {
            * 
        * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for machineType. */ @java.lang.Override - public com.google.protobuf.ByteString - getMachineTypeBytes() { + public com.google.protobuf.ByteString getMachineTypeBytes() { java.lang.Object ref = machineType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); machineType_ = b; return b; } else { @@ -145,6 +168,7 @@ public java.lang.String getMachineType() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -156,8 +180,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(machineType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, machineType_); } @@ -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.orchestration.airflow.service.v1beta1.DatabaseConfig)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig other = (com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig) obj; + com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig other = + (com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig) obj; - if (!getMachineType() - .equals(other.getMachineType())) return false; + if (!getMachineType().equals(other.getMachineType())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -209,96 +232,105 @@ public int hashCode() { } public static com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig 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.orchestration.airflow.service.v1beta1.DatabaseConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig 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.orchestration.airflow.service.v1beta1.DatabaseConfig + 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.orchestration.airflow.service.v1beta1.DatabaseConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 configuration of Cloud SQL instance that is used by the Apache Airflow
            * software.
        @@ -306,38 +338,40 @@ protected Builder newBuilderForType(
            *
            * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig}
            */
        -  public static final class Builder extends
        -      com.google.protobuf.GeneratedMessageV3.Builder implements
        +  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
        +      implements
               // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig)
               com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfigOrBuilder {
        -    public static final com.google.protobuf.Descriptors.Descriptor
        -        getDescriptor() {
        -      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_DatabaseConfig_descriptor;
        +    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        +      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
        +          .internal_static_google_cloud_orchestration_airflow_service_v1beta1_DatabaseConfig_descriptor;
             }
         
             @java.lang.Override
             protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
                 internalGetFieldAccessorTable() {
        -      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_DatabaseConfig_fieldAccessorTable
        +      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
        +          .internal_static_google_cloud_orchestration_airflow_service_v1beta1_DatabaseConfig_fieldAccessorTable
                   .ensureFieldAccessorsInitialized(
        -              com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig.class, com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig.Builder.class);
        +              com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig.class,
        +              com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig.Builder.class);
             }
         
        -    // Construct using com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig.newBuilder()
        +    // Construct using
        +    // com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig.newBuilder()
             private Builder() {
               maybeForceBuilderInitialization();
             }
         
        -    private Builder(
        -        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        +    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
               super(parent);
               maybeForceBuilderInitialization();
             }
        +
             private void maybeForceBuilderInitialization() {
        -      if (com.google.protobuf.GeneratedMessageV3
        -              .alwaysUseFieldBuilders) {
        -      }
        +      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
             }
        +
             @java.lang.Override
             public Builder clear() {
               super.clear();
        @@ -347,14 +381,16 @@ public Builder clear() {
             }
         
             @java.lang.Override
        -    public com.google.protobuf.Descriptors.Descriptor
        -        getDescriptorForType() {
        -      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_DatabaseConfig_descriptor;
        +    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
        +      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
        +          .internal_static_google_cloud_orchestration_airflow_service_v1beta1_DatabaseConfig_descriptor;
             }
         
             @java.lang.Override
        -    public com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig getDefaultInstanceForType() {
        -      return com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig.getDefaultInstance();
        +    public com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig
        +        getDefaultInstanceForType() {
        +      return com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig
        +          .getDefaultInstance();
             }
         
             @java.lang.Override
        @@ -368,7 +404,8 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig bui
         
             @java.lang.Override
             public com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig buildPartial() {
        -      com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig result = new com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig(this);
        +      com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig result =
        +          new com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig(this);
               result.machineType_ = machineType_;
               onBuilt();
               return result;
        @@ -378,46 +415,51 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig bui
             public Builder clone() {
               return super.clone();
             }
        +
             @java.lang.Override
             public Builder setField(
        -        com.google.protobuf.Descriptors.FieldDescriptor field,
        -        java.lang.Object value) {
        +        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
               return super.setField(field, value);
             }
        +
             @java.lang.Override
        -    public Builder clearField(
        -        com.google.protobuf.Descriptors.FieldDescriptor field) {
        +    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
               return super.clearField(field);
             }
        +
             @java.lang.Override
        -    public Builder clearOneof(
        -        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        +    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
               return super.clearOneof(oneof);
             }
        +
             @java.lang.Override
             public Builder setRepeatedField(
        -        com.google.protobuf.Descriptors.FieldDescriptor field,
        -        int index, java.lang.Object value) {
        +        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
               return super.setRepeatedField(field, index, value);
             }
        +
             @java.lang.Override
             public Builder addRepeatedField(
        -        com.google.protobuf.Descriptors.FieldDescriptor field,
        -        java.lang.Object value) {
        +        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
               return super.addRepeatedField(field, value);
             }
        +
             @java.lang.Override
             public Builder mergeFrom(com.google.protobuf.Message other) {
               if (other instanceof com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig) {
        -        return mergeFrom((com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig)other);
        +        return mergeFrom(
        +            (com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig) other);
               } else {
                 super.mergeFrom(other);
                 return this;
               }
             }
         
        -    public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig other) {
        -      if (other == com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig.getDefaultInstance()) return this;
        +    public Builder mergeFrom(
        +        com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig other) {
        +      if (other
        +          == com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig
        +              .getDefaultInstance()) return this;
               if (!other.getMachineType().isEmpty()) {
                 machineType_ = other.machineType_;
                 onChanged();
        @@ -441,7 +483,9 @@ public Builder mergeFrom(
               try {
                 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
               } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        -        parsedMessage = (com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig) e.getUnfinishedMessage();
        +        parsedMessage =
        +            (com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig)
        +                e.getUnfinishedMessage();
                 throw e.unwrapIOException();
               } finally {
                 if (parsedMessage != null) {
        @@ -453,6 +497,8 @@ public Builder mergeFrom(
         
             private java.lang.Object machineType_ = "";
             /**
        +     *
        +     *
              * 
              * Optional. Cloud SQL machine type used by Airflow database.
              * It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8
        @@ -460,13 +506,13 @@ public Builder mergeFrom(
              * 
        * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The machineType. */ public java.lang.String getMachineType() { java.lang.Object ref = machineType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); machineType_ = s; return s; @@ -475,6 +521,8 @@ public java.lang.String getMachineType() { } } /** + * + * *
              * Optional. Cloud SQL machine type used by Airflow database.
              * It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8
        @@ -482,15 +530,14 @@ public java.lang.String getMachineType() {
              * 
        * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for machineType. */ - public com.google.protobuf.ByteString - getMachineTypeBytes() { + public com.google.protobuf.ByteString getMachineTypeBytes() { java.lang.Object ref = machineType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); machineType_ = b; return b; } else { @@ -498,6 +545,8 @@ public java.lang.String getMachineType() { } } /** + * + * *
              * Optional. Cloud SQL machine type used by Airflow database.
              * It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8
        @@ -505,20 +554,22 @@ public java.lang.String getMachineType() {
              * 
        * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The machineType to set. * @return This builder for chaining. */ - public Builder setMachineType( - java.lang.String value) { + public Builder setMachineType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + machineType_ = value; onChanged(); return this; } /** + * + * *
              * Optional. Cloud SQL machine type used by Airflow database.
              * It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8
        @@ -526,15 +577,18 @@ public Builder setMachineType(
              * 
        * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearMachineType() { - + machineType_ = getDefaultInstance().getMachineType(); onChanged(); return this; } /** + * + * *
              * Optional. Cloud SQL machine type used by Airflow database.
              * It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8
        @@ -542,23 +596,23 @@ public Builder clearMachineType() {
              * 
        * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for machineType to set. * @return This builder for chaining. */ - public Builder setMachineTypeBytes( - com.google.protobuf.ByteString value) { + public Builder setMachineTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + machineType_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -568,30 +622,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig) - private static final com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig DEFAULT_INSTANCE; + private static final com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig(); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DatabaseConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DatabaseConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DatabaseConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DatabaseConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -603,9 +659,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/DatabaseConfigOrBuilder.java b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/DatabaseConfigOrBuilder.java similarity index 61% rename from owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/DatabaseConfigOrBuilder.java rename to proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/DatabaseConfigOrBuilder.java index 8a3b3c2b..2895d4e2 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/DatabaseConfigOrBuilder.java +++ b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/DatabaseConfigOrBuilder.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/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; -public interface DatabaseConfigOrBuilder extends +public interface DatabaseConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
            * Optional. Cloud SQL machine type used by Airflow database.
            * It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8
        @@ -15,10 +33,13 @@ public interface DatabaseConfigOrBuilder extends
            * 
        * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The machineType. */ java.lang.String getMachineType(); /** + * + * *
            * Optional. Cloud SQL machine type used by Airflow database.
            * It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8
        @@ -26,8 +47,8 @@ public interface DatabaseConfigOrBuilder extends
            * 
        * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for machineType. */ - com.google.protobuf.ByteString - getMachineTypeBytes(); + com.google.protobuf.ByteString getMachineTypeBytes(); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/DeleteEnvironmentRequest.java b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/DeleteEnvironmentRequest.java similarity index 57% rename from owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/DeleteEnvironmentRequest.java rename to proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/DeleteEnvironmentRequest.java index 05b1f818..a8cc1928 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/DeleteEnvironmentRequest.java +++ b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/DeleteEnvironmentRequest.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/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; /** + * + * *
          * Delete an environment.
          * 
        * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest} */ -public final class DeleteEnvironmentRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteEnvironmentRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest) DeleteEnvironmentRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteEnvironmentRequest.newBuilder() to construct. private DeleteEnvironmentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteEnvironmentRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteEnvironmentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteEnvironmentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private DeleteEnvironmentRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,41 @@ private DeleteEnvironmentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_DeleteEnvironmentRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_DeleteEnvironmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_DeleteEnvironmentRequest_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_DeleteEnvironmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest.class, com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest.Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest.class, + com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest.Builder + .class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
            * The environment to delete, in the form:
            * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
            * 
        * * string name = 1; + * * @return The name. */ @java.lang.Override @@ -110,30 +134,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 environment to delete, in the form:
            * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
            * 
        * * 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 { @@ -142,6 +166,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +202,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.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest)) { + if (!(obj + instanceof + com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest other = (com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest) obj; + com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest other = + (com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -205,135 +231,153 @@ public int hashCode() { return hash; } - public static com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest 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.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest + 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.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
            * Delete an environment.
            * 
        * - * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest} + * Protobuf type {@code + * google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest) com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_DeleteEnvironmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_DeleteEnvironmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_DeleteEnvironmentRequest_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_DeleteEnvironmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest.class, com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest.Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest.class, + com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest + .Builder.class); } - // Construct using com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest.newBuilder() + // Construct using + // com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,19 +387,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_DeleteEnvironmentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_DeleteEnvironmentRequest_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest.getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest + getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest build() { - com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest result = buildPartial(); + com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -363,8 +410,10 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentR } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest buildPartial() { - com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest result = new com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest(this); + public com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest + buildPartial() { + com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest result = + new com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,46 +423,54 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentR public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest) { - return mergeFrom((com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest)other); + if (other + instanceof + com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest) { + return mergeFrom( + (com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest other) { - if (other == com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest other) { + if (other + == com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -433,11 +490,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest parsedMessage = null; + com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +509,21 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
              * The environment to delete, in the form:
              * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
              * 
        * * 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; @@ -470,21 +532,22 @@ public java.lang.String getName() { } } /** + * + * *
              * The environment to delete, in the form:
              * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
              * 
        * * 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 { @@ -492,64 +555,71 @@ public java.lang.String getName() { } } /** + * + * *
              * The environment to delete, in the form:
              * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
              * 
        * * 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 environment to delete, in the form:
              * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
              * 
        * * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
              * The environment to delete, in the form:
              * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
              * 
        * * 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); } @@ -559,30 +629,34 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest) - private static final com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest DEFAULT_INSTANCE; + private static final com.google.cloud.orchestration.airflow.service.v1beta1 + .DeleteEnvironmentRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest(); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteEnvironmentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteEnvironmentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteEnvironmentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteEnvironmentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -594,9 +668,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/DeleteEnvironmentRequestOrBuilder.java b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/DeleteEnvironmentRequestOrBuilder.java similarity index 54% rename from owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/DeleteEnvironmentRequestOrBuilder.java rename to proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/DeleteEnvironmentRequestOrBuilder.java index 07085377..29950312 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/DeleteEnvironmentRequestOrBuilder.java +++ b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/DeleteEnvironmentRequestOrBuilder.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/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; -public interface DeleteEnvironmentRequestOrBuilder extends +public interface DeleteEnvironmentRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
            * The environment to delete, in the form:
            * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
            * 
        * * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
            * The environment to delete, in the form:
            * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
            * 
        * * 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-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EncryptionConfig.java b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EncryptionConfig.java similarity index 66% rename from owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EncryptionConfig.java rename to proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EncryptionConfig.java index 4596e21e..5933a616 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EncryptionConfig.java +++ b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EncryptionConfig.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/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; /** + * + * *
          * The encryption options for the Cloud Composer environment and its
          * dependencies.
        @@ -11,31 +28,31 @@
          *
          * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig}
          */
        -public final class EncryptionConfig extends
        -    com.google.protobuf.GeneratedMessageV3 implements
        +public final class EncryptionConfig extends com.google.protobuf.GeneratedMessageV3
        +    implements
             // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig)
             EncryptionConfigOrBuilder {
        -private static final long serialVersionUID = 0L;
        +  private static final long serialVersionUID = 0L;
           // Use EncryptionConfig.newBuilder() to construct.
           private EncryptionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
             super(builder);
           }
        +
           private EncryptionConfig() {
             kmsKeyName_ = "";
           }
         
           @java.lang.Override
           @SuppressWarnings({"unused"})
        -  protected java.lang.Object newInstance(
        -      UnusedPrivateParameter unused) {
        +  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
             return new EncryptionConfig();
           }
         
           @java.lang.Override
        -  public final com.google.protobuf.UnknownFieldSet
        -  getUnknownFields() {
        +  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
             return this.unknownFields;
           }
        +
           private EncryptionConfig(
               com.google.protobuf.CodedInputStream input,
               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        @@ -54,19 +71,20 @@ private EncryptionConfig(
                   case 0:
                     done = true;
                     break;
        -          case 10: {
        -            java.lang.String s = input.readStringRequireUtf8();
        +          case 10:
        +            {
        +              java.lang.String s = input.readStringRequireUtf8();
         
        -            kmsKeyName_ = s;
        -            break;
        -          }
        -          default: {
        -            if (!parseUnknownField(
        -                input, unknownFields, extensionRegistry, tag)) {
        -              done = true;
        +              kmsKeyName_ = s;
        +              break;
        +            }
        +          default:
        +            {
        +              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
        +                done = true;
        +              }
        +              break;
                     }
        -            break;
        -          }
                 }
               }
             } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        @@ -74,29 +92,33 @@ private EncryptionConfig(
             } catch (com.google.protobuf.UninitializedMessageException e) {
               throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
             } catch (java.io.IOException e) {
        -      throw new com.google.protobuf.InvalidProtocolBufferException(
        -          e).setUnfinishedMessage(this);
        +      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
             } finally {
               this.unknownFields = unknownFields.build();
               makeExtensionsImmutable();
             }
           }
        -  public static final com.google.protobuf.Descriptors.Descriptor
        -      getDescriptor() {
        -    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_EncryptionConfig_descriptor;
        +
        +  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        +    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
        +        .internal_static_google_cloud_orchestration_airflow_service_v1beta1_EncryptionConfig_descriptor;
           }
         
           @java.lang.Override
           protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
               internalGetFieldAccessorTable() {
        -    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_EncryptionConfig_fieldAccessorTable
        +    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
        +        .internal_static_google_cloud_orchestration_airflow_service_v1beta1_EncryptionConfig_fieldAccessorTable
                 .ensureFieldAccessorsInitialized(
        -            com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig.class, com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig.Builder.class);
        +            com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig.class,
        +            com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig.Builder.class);
           }
         
           public static final int KMS_KEY_NAME_FIELD_NUMBER = 1;
           private volatile java.lang.Object kmsKeyName_;
           /**
        +   *
        +   *
            * 
            * Optional. Customer-managed Encryption Key available through Google's Key Management
            * Service. Cannot be updated.
        @@ -104,6 +126,7 @@ private EncryptionConfig(
            * 
        * * string kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The kmsKeyName. */ @java.lang.Override @@ -112,14 +135,15 @@ public java.lang.String getKmsKeyName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyName_ = s; return s; } } /** + * + * *
            * Optional. Customer-managed Encryption Key available through Google's Key Management
            * Service. Cannot be updated.
        @@ -127,16 +151,15 @@ public java.lang.String getKmsKeyName() {
            * 
        * * string kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for kmsKeyName. */ @java.lang.Override - public com.google.protobuf.ByteString - getKmsKeyNameBytes() { + public com.google.protobuf.ByteString getKmsKeyNameBytes() { java.lang.Object ref = kmsKeyName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kmsKeyName_ = b; return b; } else { @@ -145,6 +168,7 @@ public java.lang.String getKmsKeyName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -156,8 +180,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, kmsKeyName_); } @@ -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.orchestration.airflow.service.v1beta1.EncryptionConfig)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig other = (com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig) obj; + com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig other = + (com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig) obj; - if (!getKmsKeyName() - .equals(other.getKmsKeyName())) return false; + if (!getKmsKeyName().equals(other.getKmsKeyName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -209,96 +232,105 @@ public int hashCode() { } public static com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig 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.orchestration.airflow.service.v1beta1.EncryptionConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig 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.orchestration.airflow.service.v1beta1.EncryptionConfig + 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.orchestration.airflow.service.v1beta1.EncryptionConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 encryption options for the Cloud Composer environment and its
            * dependencies.
        @@ -306,38 +338,41 @@ protected Builder newBuilderForType(
            *
            * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig}
            */
        -  public static final class Builder extends
        -      com.google.protobuf.GeneratedMessageV3.Builder implements
        +  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
        +      implements
               // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig)
               com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfigOrBuilder {
        -    public static final com.google.protobuf.Descriptors.Descriptor
        -        getDescriptor() {
        -      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_EncryptionConfig_descriptor;
        +    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        +      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
        +          .internal_static_google_cloud_orchestration_airflow_service_v1beta1_EncryptionConfig_descriptor;
             }
         
             @java.lang.Override
             protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
                 internalGetFieldAccessorTable() {
        -      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_EncryptionConfig_fieldAccessorTable
        +      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
        +          .internal_static_google_cloud_orchestration_airflow_service_v1beta1_EncryptionConfig_fieldAccessorTable
                   .ensureFieldAccessorsInitialized(
        -              com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig.class, com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig.Builder.class);
        +              com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig.class,
        +              com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig.Builder
        +                  .class);
             }
         
        -    // Construct using com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig.newBuilder()
        +    // Construct using
        +    // com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig.newBuilder()
             private Builder() {
               maybeForceBuilderInitialization();
             }
         
        -    private Builder(
        -        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        +    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
               super(parent);
               maybeForceBuilderInitialization();
             }
        +
             private void maybeForceBuilderInitialization() {
        -      if (com.google.protobuf.GeneratedMessageV3
        -              .alwaysUseFieldBuilders) {
        -      }
        +      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
             }
        +
             @java.lang.Override
             public Builder clear() {
               super.clear();
        @@ -347,19 +382,22 @@ public Builder clear() {
             }
         
             @java.lang.Override
        -    public com.google.protobuf.Descriptors.Descriptor
        -        getDescriptorForType() {
        -      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_EncryptionConfig_descriptor;
        +    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
        +      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
        +          .internal_static_google_cloud_orchestration_airflow_service_v1beta1_EncryptionConfig_descriptor;
             }
         
             @java.lang.Override
        -    public com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig getDefaultInstanceForType() {
        -      return com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig.getDefaultInstance();
        +    public com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig
        +        getDefaultInstanceForType() {
        +      return com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig
        +          .getDefaultInstance();
             }
         
             @java.lang.Override
             public com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig build() {
        -      com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig result = buildPartial();
        +      com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig result =
        +          buildPartial();
               if (!result.isInitialized()) {
                 throw newUninitializedMessageException(result);
               }
        @@ -368,7 +406,8 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig b
         
             @java.lang.Override
             public com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig buildPartial() {
        -      com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig result = new com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig(this);
        +      com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig result =
        +          new com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig(this);
               result.kmsKeyName_ = kmsKeyName_;
               onBuilt();
               return result;
        @@ -378,46 +417,52 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig b
             public Builder clone() {
               return super.clone();
             }
        +
             @java.lang.Override
             public Builder setField(
        -        com.google.protobuf.Descriptors.FieldDescriptor field,
        -        java.lang.Object value) {
        +        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
               return super.setField(field, value);
             }
        +
             @java.lang.Override
        -    public Builder clearField(
        -        com.google.protobuf.Descriptors.FieldDescriptor field) {
        +    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
               return super.clearField(field);
             }
        +
             @java.lang.Override
        -    public Builder clearOneof(
        -        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        +    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
               return super.clearOneof(oneof);
             }
        +
             @java.lang.Override
             public Builder setRepeatedField(
        -        com.google.protobuf.Descriptors.FieldDescriptor field,
        -        int index, java.lang.Object value) {
        +        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
               return super.setRepeatedField(field, index, value);
             }
        +
             @java.lang.Override
             public Builder addRepeatedField(
        -        com.google.protobuf.Descriptors.FieldDescriptor field,
        -        java.lang.Object value) {
        +        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
               return super.addRepeatedField(field, value);
             }
        +
             @java.lang.Override
             public Builder mergeFrom(com.google.protobuf.Message other) {
        -      if (other instanceof com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig) {
        -        return mergeFrom((com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig)other);
        +      if (other
        +          instanceof com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig) {
        +        return mergeFrom(
        +            (com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig) other);
               } else {
                 super.mergeFrom(other);
                 return this;
               }
             }
         
        -    public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig other) {
        -      if (other == com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig.getDefaultInstance()) return this;
        +    public Builder mergeFrom(
        +        com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig other) {
        +      if (other
        +          == com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig
        +              .getDefaultInstance()) return this;
               if (!other.getKmsKeyName().isEmpty()) {
                 kmsKeyName_ = other.kmsKeyName_;
                 onChanged();
        @@ -441,7 +486,9 @@ public Builder mergeFrom(
               try {
                 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
               } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        -        parsedMessage = (com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig) e.getUnfinishedMessage();
        +        parsedMessage =
        +            (com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig)
        +                e.getUnfinishedMessage();
                 throw e.unwrapIOException();
               } finally {
                 if (parsedMessage != null) {
        @@ -453,6 +500,8 @@ public Builder mergeFrom(
         
             private java.lang.Object kmsKeyName_ = "";
             /**
        +     *
        +     *
              * 
              * Optional. Customer-managed Encryption Key available through Google's Key Management
              * Service. Cannot be updated.
        @@ -460,13 +509,13 @@ public Builder mergeFrom(
              * 
        * * string kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The kmsKeyName. */ public java.lang.String getKmsKeyName() { java.lang.Object ref = kmsKeyName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyName_ = s; return s; @@ -475,6 +524,8 @@ public java.lang.String getKmsKeyName() { } } /** + * + * *
              * Optional. Customer-managed Encryption Key available through Google's Key Management
              * Service. Cannot be updated.
        @@ -482,15 +533,14 @@ public java.lang.String getKmsKeyName() {
              * 
        * * string kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for kmsKeyName. */ - public com.google.protobuf.ByteString - getKmsKeyNameBytes() { + public com.google.protobuf.ByteString getKmsKeyNameBytes() { java.lang.Object ref = kmsKeyName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kmsKeyName_ = b; return b; } else { @@ -498,6 +548,8 @@ public java.lang.String getKmsKeyName() { } } /** + * + * *
              * Optional. Customer-managed Encryption Key available through Google's Key Management
              * Service. Cannot be updated.
        @@ -505,20 +557,22 @@ public java.lang.String getKmsKeyName() {
              * 
        * * string kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The kmsKeyName to set. * @return This builder for chaining. */ - public Builder setKmsKeyName( - java.lang.String value) { + public Builder setKmsKeyName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kmsKeyName_ = value; onChanged(); return this; } /** + * + * *
              * Optional. Customer-managed Encryption Key available through Google's Key Management
              * Service. Cannot be updated.
        @@ -526,15 +580,18 @@ public Builder setKmsKeyName(
              * 
        * * string kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearKmsKeyName() { - + kmsKeyName_ = getDefaultInstance().getKmsKeyName(); onChanged(); return this; } /** + * + * *
              * Optional. Customer-managed Encryption Key available through Google's Key Management
              * Service. Cannot be updated.
        @@ -542,23 +599,23 @@ public Builder clearKmsKeyName() {
              * 
        * * string kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for kmsKeyName to set. * @return This builder for chaining. */ - public Builder setKmsKeyNameBytes( - com.google.protobuf.ByteString value) { + public Builder setKmsKeyNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kmsKeyName_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -568,30 +625,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig) - private static final com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig DEFAULT_INSTANCE; + private static final com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig(); + DEFAULT_INSTANCE = + new com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig(); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EncryptionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new EncryptionConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EncryptionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new EncryptionConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -603,9 +663,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EncryptionConfigOrBuilder.java b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EncryptionConfigOrBuilder.java similarity index 59% rename from owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EncryptionConfigOrBuilder.java rename to proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EncryptionConfigOrBuilder.java index b7e086af..77058a6c 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EncryptionConfigOrBuilder.java +++ b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EncryptionConfigOrBuilder.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/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; -public interface EncryptionConfigOrBuilder extends +public interface EncryptionConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
            * Optional. Customer-managed Encryption Key available through Google's Key Management
            * Service. Cannot be updated.
        @@ -15,10 +33,13 @@ public interface EncryptionConfigOrBuilder extends
            * 
        * * string kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The kmsKeyName. */ java.lang.String getKmsKeyName(); /** + * + * *
            * Optional. Customer-managed Encryption Key available through Google's Key Management
            * Service. Cannot be updated.
        @@ -26,8 +47,8 @@ public interface EncryptionConfigOrBuilder extends
            * 
        * * string kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for kmsKeyName. */ - com.google.protobuf.ByteString - getKmsKeyNameBytes(); + com.google.protobuf.ByteString getKmsKeyNameBytes(); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/Environment.java b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/Environment.java similarity index 67% rename from owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/Environment.java rename to proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/Environment.java index 944f6e2a..89c98d3a 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/Environment.java +++ b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/Environment.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/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; /** + * + * *
          * An environment for running orchestration tasks.
          * 
        * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.Environment} */ -public final class Environment extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Environment extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1beta1.Environment) EnvironmentOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Environment.newBuilder() to construct. private Environment(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Environment() { name_ = ""; uuid_ = ""; @@ -27,16 +45,15 @@ private Environment() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Environment(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Environment( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,83 +73,96 @@ private Environment( 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.orchestration.airflow.service.v1beta1.EnvironmentConfig.Builder subBuilder = null; - if (config_ != null) { - subBuilder = config_.toBuilder(); + name_ = s; + break; } - config_ = input.readMessage(com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(config_); - config_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.Builder + subBuilder = null; + if (config_ != null) { + subBuilder = config_.toBuilder(); + } + config_ = + input.readMessage( + com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(config_); + config_ = subBuilder.buildPartial(); + } + + break; } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - uuid_ = s; - break; - } - case 32: { - int rawValue = input.readEnum(); - - state_ = rawValue; - break; - } - case 42: { - 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(); + uuid_ = s; + break; } + case 32: + { + int rawValue = input.readEnum(); - break; - } - case 50: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); + state_ = rawValue; + break; } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + case 42: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 58: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; + case 50: + { + 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; } - com.google.protobuf.MapEntry - labels__ = input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - labels_.getMutableMap().put( - labels__.getKey(), labels__.getValue()); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 58: + { + 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; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -140,48 +170,52 @@ private Environment( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_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 7: return internalGetLabels(); 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.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.Environment.class, com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.Environment.class, + com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder.class); } /** + * + * *
            * State of the environment.
            * 
        * * Protobuf enum {@code google.cloud.orchestration.airflow.service.v1beta1.Environment.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
              * The state of the environment is unknown.
              * 
        @@ -190,6 +224,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
              * The environment is in the process of being created.
              * 
        @@ -198,6 +234,8 @@ public enum State */ CREATING(1), /** + * + * *
              * The environment is currently running and healthy. It is ready for use.
              * 
        @@ -206,6 +244,8 @@ public enum State */ RUNNING(2), /** + * + * *
              * The environment is being updated. It remains usable but cannot receive
              * additional update requests or be deleted at this time.
        @@ -215,6 +255,8 @@ public enum State
              */
             UPDATING(3),
             /**
        +     *
        +     *
              * 
              * The environment is undergoing deletion. It cannot be used.
              * 
        @@ -223,6 +265,8 @@ public enum State */ DELETING(4), /** + * + * *
              * The environment has encountered an error and cannot be used.
              * 
        @@ -234,6 +278,8 @@ public enum State ; /** + * + * *
              * The state of the environment is unknown.
              * 
        @@ -242,6 +288,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
              * The environment is in the process of being created.
              * 
        @@ -250,6 +298,8 @@ public enum State */ public static final int CREATING_VALUE = 1; /** + * + * *
              * The environment is currently running and healthy. It is ready for use.
              * 
        @@ -258,6 +308,8 @@ public enum State */ public static final int RUNNING_VALUE = 2; /** + * + * *
              * The environment is being updated. It remains usable but cannot receive
              * additional update requests or be deleted at this time.
        @@ -267,6 +319,8 @@ public enum State
              */
             public static final int UPDATING_VALUE = 3;
             /**
        +     *
        +     *
              * 
              * The environment is undergoing deletion. It cannot be used.
              * 
        @@ -275,6 +329,8 @@ public enum State */ public static final int DELETING_VALUE = 4; /** + * + * *
              * The environment has encountered an error and cannot be used.
              * 
        @@ -283,7 +339,6 @@ public enum State */ public static final int ERROR_VALUE = 5; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -308,52 +363,57 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: return STATE_UNSPECIFIED; - case 1: return CREATING; - case 2: return RUNNING; - case 3: return UPDATING; - case 4: return DELETING; - case 5: return ERROR; - default: return null; + case 0: + return STATE_UNSPECIFIED; + case 1: + return CREATING; + case 2: + return RUNNING; + case 3: + return UPDATING; + case 4: + return DELETING; + case 5: + return ERROR; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - State> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public State findValueByNumber(int number) { - return State.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.Environment.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.Environment.getDescriptor() + .getEnumTypes() + .get(0); } private static final State[] VALUES = values(); - public static State valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -373,6 +433,8 @@ private State(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
            * The resource name of the environment, in the form:
            * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
        @@ -381,6 +443,7 @@ private State(int value) {
            * 
        * * string name = 1; + * * @return The name. */ @java.lang.Override @@ -389,14 +452,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; } } /** + * + * *
            * The resource name of the environment, in the form:
            * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
        @@ -405,16 +469,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 { @@ -425,11 +488,14 @@ public java.lang.String getName() { public static final int CONFIG_FIELD_NUMBER = 2; private com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config_; /** + * + * *
            * Configuration parameters for this environment.
            * 
        * * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config = 2; + * * @return Whether the config field is set. */ @java.lang.Override @@ -437,18 +503,26 @@ public boolean hasConfig() { return config_ != null; } /** + * + * *
            * Configuration parameters for this environment.
            * 
        * * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config = 2; + * * @return The config. */ @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig getConfig() { - return config_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.getDefaultInstance() : config_; + return config_ == null + ? com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig + .getDefaultInstance() + : config_; } /** + * + * *
            * Configuration parameters for this environment.
            * 
        @@ -456,19 +530,23 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config = 2; */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfigOrBuilder getConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfigOrBuilder + getConfigOrBuilder() { return getConfig(); } public static final int UUID_FIELD_NUMBER = 3; private volatile java.lang.Object uuid_; /** + * + * *
            * Output only. The UUID (Universally Unique IDentifier) associated with this environment.
            * This value is generated when the environment is created.
            * 
        * * string uuid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uuid. */ @java.lang.Override @@ -477,30 +555,30 @@ public java.lang.String getUuid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uuid_ = s; return s; } } /** + * + * *
            * Output only. The UUID (Universally Unique IDentifier) associated with this environment.
            * This value is generated when the environment is created.
            * 
        * * string uuid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uuid. */ @java.lang.Override - public com.google.protobuf.ByteString - getUuidBytes() { + public com.google.protobuf.ByteString getUuidBytes() { java.lang.Object ref = uuid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uuid_ = b; return b; } else { @@ -511,38 +589,53 @@ public java.lang.String getUuid() { public static final int STATE_FIELD_NUMBER = 4; private int state_; /** + * + * *
            * The current state of the environment.
            * 
        * * .google.cloud.orchestration.airflow.service.v1beta1.Environment.State state = 4; + * * @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 current state of the environment.
            * 
        * * .google.cloud.orchestration.airflow.service.v1beta1.Environment.State state = 4; + * * @return The state. */ - @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1beta1.Environment.State getState() { + @java.lang.Override + public com.google.cloud.orchestration.airflow.service.v1beta1.Environment.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.orchestration.airflow.service.v1beta1.Environment.State result = com.google.cloud.orchestration.airflow.service.v1beta1.Environment.State.valueOf(state_); - return result == null ? com.google.cloud.orchestration.airflow.service.v1beta1.Environment.State.UNRECOGNIZED : result; + com.google.cloud.orchestration.airflow.service.v1beta1.Environment.State result = + com.google.cloud.orchestration.airflow.service.v1beta1.Environment.State.valueOf(state_); + return result == null + ? com.google.cloud.orchestration.airflow.service.v1beta1.Environment.State.UNRECOGNIZED + : result; } public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** + * + * *
            * Output only. The time at which this environment was created.
            * 
        * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -550,11 +643,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
            * Output only. The time at which this environment was created.
            * 
        * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -562,11 +659,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
            * Output only. The time at which this environment was created.
            * 
        * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -576,11 +676,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
            * Output only. The time at which this environment was last modified.
            * 
        * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -588,11 +692,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
            * Output only. The time at which this environment was last modified.
            * 
        * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -600,11 +708,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
            * Output only. The time at which this environment was last modified.
            * 
        * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -612,24 +723,23 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int LABELS_FIELD_NUMBER = 7; + 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.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_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.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_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_; } @@ -638,6 +748,8 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
            * Optional. User-defined labels for this environment.
            * The labels map can contain no more than 64 entries. Entries of the labels
        @@ -650,22 +762,22 @@ public int getLabelsCount() {
            *
            * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
            */
        -
           @java.lang.Override
        -  public boolean containsLabels(
        -      java.lang.String key) {
        -    if (key == null) { throw new NullPointerException("map key"); }
        +  public boolean containsLabels(java.lang.String key) {
        +    if (key == null) {
        +      throw new NullPointerException("map key");
        +    }
             return internalGetLabels().getMap().containsKey(key);
           }
        -  /**
        -   * Use {@link #getLabelsMap()} instead.
        -   */
        +  /** Use {@link #getLabelsMap()} instead. */
           @java.lang.Override
           @java.lang.Deprecated
           public java.util.Map getLabels() {
             return getLabelsMap();
           }
           /**
        +   *
        +   *
            * 
            * Optional. User-defined labels for this environment.
            * The labels map can contain no more than 64 entries. Entries of the labels
        @@ -679,11 +791,12 @@ public java.util.Map getLabels() {
            * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
            */
           @java.lang.Override
        -
           public java.util.Map getLabelsMap() {
             return internalGetLabels().getMap();
           }
           /**
        +   *
        +   *
            * 
            * Optional. User-defined labels for this environment.
            * The labels map can contain no more than 64 entries. Entries of the labels
        @@ -697,16 +810,16 @@ public java.util.Map getLabelsMap() {
            * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
            */
           @java.lang.Override
        -
        -  public java.lang.String getLabelsOrDefault(
        -      java.lang.String key,
        -      java.lang.String defaultValue) {
        -    if (key == null) { throw new NullPointerException("map key"); }
        -    java.util.Map map =
        -        internalGetLabels().getMap();
        +  public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
        +    if (key == null) {
        +      throw new NullPointerException("map key");
        +    }
        +    java.util.Map map = internalGetLabels().getMap();
             return map.containsKey(key) ? map.get(key) : defaultValue;
           }
           /**
        +   *
        +   *
            * 
            * Optional. User-defined labels for this environment.
            * The labels map can contain no more than 64 entries. Entries of the labels
        @@ -720,12 +833,11 @@ public java.lang.String getLabelsOrDefault(
            * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
            */
           @java.lang.Override
        -
        -  public java.lang.String getLabelsOrThrow(
        -      java.lang.String key) {
        -    if (key == null) { throw new NullPointerException("map key"); }
        -    java.util.Map map =
        -        internalGetLabels().getMap();
        +  public java.lang.String getLabelsOrThrow(java.lang.String key) {
        +    if (key == null) {
        +      throw new NullPointerException("map key");
        +    }
        +    java.util.Map map = internalGetLabels().getMap();
             if (!map.containsKey(key)) {
               throw new java.lang.IllegalArgumentException();
             }
        @@ -733,6 +845,7 @@ public java.lang.String getLabelsOrThrow(
           }
         
           private byte memoizedIsInitialized = -1;
        +
           @java.lang.Override
           public final boolean isInitialized() {
             byte isInitialized = memoizedIsInitialized;
        @@ -744,8 +857,7 @@ public final boolean isInitialized() {
           }
         
           @java.lang.Override
        -  public void writeTo(com.google.protobuf.CodedOutputStream output)
        -                      throws java.io.IOException {
        +  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
             if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
               com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
             }
        @@ -755,7 +867,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
             if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uuid_)) {
               com.google.protobuf.GeneratedMessageV3.writeString(output, 3, uuid_);
             }
        -    if (state_ != com.google.cloud.orchestration.airflow.service.v1beta1.Environment.State.STATE_UNSPECIFIED.getNumber()) {
        +    if (state_
        +        != com.google.cloud.orchestration.airflow.service.v1beta1.Environment.State
        +            .STATE_UNSPECIFIED
        +            .getNumber()) {
               output.writeEnum(4, state_);
             }
             if (createTime_ != null) {
        @@ -764,12 +879,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
             if (updateTime_ != null) {
               output.writeMessage(6, getUpdateTime());
             }
        -    com.google.protobuf.GeneratedMessageV3
        -      .serializeStringMapTo(
        -        output,
        -        internalGetLabels(),
        -        LabelsDefaultEntryHolder.defaultEntry,
        -        7);
        +    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
        +        output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 7);
             unknownFields.writeTo(output);
           }
         
        @@ -783,33 +894,32 @@ public int getSerializedSize() {
               size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
             }
             if (config_ != null) {
        -      size += com.google.protobuf.CodedOutputStream
        -        .computeMessageSize(2, getConfig());
        +      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getConfig());
             }
             if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uuid_)) {
               size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, uuid_);
             }
        -    if (state_ != com.google.cloud.orchestration.airflow.service.v1beta1.Environment.State.STATE_UNSPECIFIED.getNumber()) {
        -      size += com.google.protobuf.CodedOutputStream
        -        .computeEnumSize(4, state_);
        +    if (state_
        +        != com.google.cloud.orchestration.airflow.service.v1beta1.Environment.State
        +            .STATE_UNSPECIFIED
        +            .getNumber()) {
        +      size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, state_);
             }
             if (createTime_ != null) {
        -      size += com.google.protobuf.CodedOutputStream
        -        .computeMessageSize(5, getCreateTime());
        +      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime());
             }
             if (updateTime_ != null) {
        -      size += com.google.protobuf.CodedOutputStream
        -        .computeMessageSize(6, getUpdateTime());
        -    }
        -    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(7, labels__);
        +      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime());
        +    }
        +    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(7, labels__);
             }
             size += unknownFields.getSerializedSize();
             memoizedSize = size;
        @@ -819,35 +929,30 @@ public int getSerializedSize() {
           @java.lang.Override
           public boolean equals(final java.lang.Object obj) {
             if (obj == this) {
        -     return true;
        +      return true;
             }
             if (!(obj instanceof com.google.cloud.orchestration.airflow.service.v1beta1.Environment)) {
               return super.equals(obj);
             }
        -    com.google.cloud.orchestration.airflow.service.v1beta1.Environment other = (com.google.cloud.orchestration.airflow.service.v1beta1.Environment) obj;
        +    com.google.cloud.orchestration.airflow.service.v1beta1.Environment other =
        +        (com.google.cloud.orchestration.airflow.service.v1beta1.Environment) obj;
         
        -    if (!getName()
        -        .equals(other.getName())) return false;
        +    if (!getName().equals(other.getName())) return false;
             if (hasConfig() != other.hasConfig()) return false;
             if (hasConfig()) {
        -      if (!getConfig()
        -          .equals(other.getConfig())) return false;
        +      if (!getConfig().equals(other.getConfig())) return false;
             }
        -    if (!getUuid()
        -        .equals(other.getUuid())) return false;
        +    if (!getUuid().equals(other.getUuid())) return false;
             if (state_ != other.state_) return false;
             if (hasCreateTime() != other.hasCreateTime()) return false;
             if (hasCreateTime()) {
        -      if (!getCreateTime()
        -          .equals(other.getCreateTime())) return false;
        +      if (!getCreateTime().equals(other.getCreateTime())) return false;
             }
             if (hasUpdateTime() != other.hasUpdateTime()) return false;
             if (hasUpdateTime()) {
        -      if (!getUpdateTime()
        -          .equals(other.getUpdateTime())) return false;
        +      if (!getUpdateTime().equals(other.getUpdateTime())) return false;
             }
        -    if (!internalGetLabels().equals(
        -        other.internalGetLabels())) return false;
        +    if (!internalGetLabels().equals(other.internalGetLabels())) return false;
             if (!unknownFields.equals(other.unknownFields)) return false;
             return true;
           }
        @@ -887,156 +992,165 @@ public int hashCode() {
           }
         
           public static com.google.cloud.orchestration.airflow.service.v1beta1.Environment 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.orchestration.airflow.service.v1beta1.Environment parseFrom(
        -      java.nio.ByteBuffer data,
        -      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        +      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
               throws com.google.protobuf.InvalidProtocolBufferException {
             return PARSER.parseFrom(data, extensionRegistry);
           }
        +
           public static com.google.cloud.orchestration.airflow.service.v1beta1.Environment parseFrom(
               com.google.protobuf.ByteString data)
               throws com.google.protobuf.InvalidProtocolBufferException {
             return PARSER.parseFrom(data);
           }
        +
           public static com.google.cloud.orchestration.airflow.service.v1beta1.Environment parseFrom(
               com.google.protobuf.ByteString data,
               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
               throws com.google.protobuf.InvalidProtocolBufferException {
             return PARSER.parseFrom(data, extensionRegistry);
           }
        -  public static com.google.cloud.orchestration.airflow.service.v1beta1.Environment parseFrom(byte[] data)
        -      throws com.google.protobuf.InvalidProtocolBufferException {
        +
        +  public static com.google.cloud.orchestration.airflow.service.v1beta1.Environment parseFrom(
        +      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
             return PARSER.parseFrom(data);
           }
        +
           public static com.google.cloud.orchestration.airflow.service.v1beta1.Environment parseFrom(
        -      byte[] data,
        -      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        +      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
               throws com.google.protobuf.InvalidProtocolBufferException {
             return PARSER.parseFrom(data, extensionRegistry);
           }
        -  public static com.google.cloud.orchestration.airflow.service.v1beta1.Environment parseFrom(java.io.InputStream input)
        -      throws java.io.IOException {
        -    return com.google.protobuf.GeneratedMessageV3
        -        .parseWithIOException(PARSER, input);
        +
        +  public static com.google.cloud.orchestration.airflow.service.v1beta1.Environment parseFrom(
        +      java.io.InputStream input) throws java.io.IOException {
        +    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
           }
        +
           public static com.google.cloud.orchestration.airflow.service.v1beta1.Environment parseFrom(
        -      java.io.InputStream input,
        -      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        +      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
               throws java.io.IOException {
        -    return com.google.protobuf.GeneratedMessageV3
        -        .parseWithIOException(PARSER, input, extensionRegistry);
        +    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
        +        PARSER, input, extensionRegistry);
           }
        -  public static com.google.cloud.orchestration.airflow.service.v1beta1.Environment parseDelimitedFrom(java.io.InputStream input)
        -      throws java.io.IOException {
        -    return com.google.protobuf.GeneratedMessageV3
        -        .parseDelimitedWithIOException(PARSER, input);
        +
        +  public static com.google.cloud.orchestration.airflow.service.v1beta1.Environment
        +      parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
        +    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
           }
        -  public static com.google.cloud.orchestration.airflow.service.v1beta1.Environment 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.orchestration.airflow.service.v1beta1.Environment
        +      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.orchestration.airflow.service.v1beta1.Environment parseFrom(
        -      com.google.protobuf.CodedInputStream input)
        -      throws java.io.IOException {
        -    return com.google.protobuf.GeneratedMessageV3
        -        .parseWithIOException(PARSER, input);
        +      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
        +    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
           }
        +
           public static com.google.cloud.orchestration.airflow.service.v1beta1.Environment parseFrom(
               com.google.protobuf.CodedInputStream input,
               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
               throws java.io.IOException {
        -    return com.google.protobuf.GeneratedMessageV3
        -        .parseWithIOException(PARSER, input, extensionRegistry);
        +    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
        +        PARSER, input, extensionRegistry);
           }
         
           @java.lang.Override
        -  public Builder newBuilderForType() { return newBuilder(); }
        +  public Builder newBuilderForType() {
        +    return newBuilder();
        +  }
        +
           public static Builder newBuilder() {
             return DEFAULT_INSTANCE.toBuilder();
           }
        -  public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1beta1.Environment prototype) {
        +
        +  public static Builder newBuilder(
        +      com.google.cloud.orchestration.airflow.service.v1beta1.Environment prototype) {
             return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
           }
        +
           @java.lang.Override
           public Builder toBuilder() {
        -    return this == DEFAULT_INSTANCE
        -        ? new Builder() : new Builder().mergeFrom(this);
        +    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
           }
         
           @java.lang.Override
        -  protected Builder newBuilderForType(
        -      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        +  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
             Builder builder = new Builder(parent);
             return builder;
           }
           /**
        +   *
        +   *
            * 
            * An environment for running orchestration tasks.
            * 
        * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.Environment} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1beta1.Environment) com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 7: return internalGetLabels(); 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 7: return internalGetMutableLabels(); 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.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.Environment.class, com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.Environment.class, + com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder.class); } - // Construct using com.google.cloud.orchestration.airflow.service.v1beta1.Environment.newBuilder() + // Construct using + // com.google.cloud.orchestration.airflow.service.v1beta1.Environment.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1069,14 +1183,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.Environment getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.Environment.getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1beta1.Environment + getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.Environment + .getDefaultInstance(); } @java.lang.Override @@ -1090,7 +1206,8 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.Environment build( @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1beta1.Environment buildPartial() { - com.google.cloud.orchestration.airflow.service.v1beta1.Environment result = new com.google.cloud.orchestration.airflow.service.v1beta1.Environment(this); + com.google.cloud.orchestration.airflow.service.v1beta1.Environment result = + new com.google.cloud.orchestration.airflow.service.v1beta1.Environment(this); int from_bitField0_ = bitField0_; result.name_ = name_; if (configBuilder_ == null) { @@ -1120,46 +1237,51 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.Environment buildP public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.orchestration.airflow.service.v1beta1.Environment) { - return mergeFrom((com.google.cloud.orchestration.airflow.service.v1beta1.Environment)other); + return mergeFrom( + (com.google.cloud.orchestration.airflow.service.v1beta1.Environment) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1beta1.Environment other) { - if (other == com.google.cloud.orchestration.airflow.service.v1beta1.Environment.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.orchestration.airflow.service.v1beta1.Environment other) { + if (other + == com.google.cloud.orchestration.airflow.service.v1beta1.Environment + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -1180,8 +1302,7 @@ public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1beta1. if (other.hasUpdateTime()) { mergeUpdateTime(other.getUpdateTime()); } - internalGetMutableLabels().mergeFrom( - other.internalGetLabels()); + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -1201,7 +1322,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.orchestration.airflow.service.v1beta1.Environment) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.orchestration.airflow.service.v1beta1.Environment) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1210,10 +1333,13 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
              * The resource name of the environment, in the form:
              * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
        @@ -1222,13 +1348,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; @@ -1237,6 +1363,8 @@ public java.lang.String getName() { } } /** + * + * *
              * The resource name of the environment, in the form:
              * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
        @@ -1245,15 +1373,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 { @@ -1261,6 +1388,8 @@ public java.lang.String getName() { } } /** + * + * *
              * The resource name of the environment, in the form:
              * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
        @@ -1269,20 +1398,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; } /** + * + * *
              * The resource name of the environment, in the form:
              * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
        @@ -1291,15 +1422,18 @@ public Builder setName(
              * 
        * * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
              * The resource name of the environment, in the form:
              * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
        @@ -1308,16 +1442,16 @@ 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; @@ -1325,41 +1459,59 @@ public Builder setNameBytes( private com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig, com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfigOrBuilder> configBuilder_; + com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig, + com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.Builder, + com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfigOrBuilder> + configBuilder_; /** + * + * *
              * Configuration parameters for this environment.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config = 2; + * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config = 2; + * + * * @return Whether the config field is set. */ public boolean hasConfig() { return configBuilder_ != null || config_ != null; } /** + * + * *
              * Configuration parameters for this environment.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config = 2; + * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config = 2; + * + * * @return The config. */ public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig getConfig() { if (configBuilder_ == null) { - return config_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.getDefaultInstance() : config_; + return config_ == null + ? com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig + .getDefaultInstance() + : config_; } else { return configBuilder_.getMessage(); } } /** + * + * *
              * Configuration parameters for this environment.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config = 2; + * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config = 2; + * */ - public Builder setConfig(com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig value) { + public Builder setConfig( + com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig value) { if (configBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1373,14 +1525,18 @@ public Builder setConfig(com.google.cloud.orchestration.airflow.service.v1beta1. return this; } /** + * + * *
              * Configuration parameters for this environment.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config = 2; + * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config = 2; + * */ public Builder setConfig( - com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.Builder builderForValue) { + com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.Builder + builderForValue) { if (configBuilder_ == null) { config_ = builderForValue.build(); onChanged(); @@ -1391,17 +1547,24 @@ public Builder setConfig( return this; } /** + * + * *
              * Configuration parameters for this environment.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config = 2; + * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config = 2; + * */ - public Builder mergeConfig(com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig value) { + public Builder mergeConfig( + com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig value) { if (configBuilder_ == null) { if (config_ != null) { config_ = - com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.newBuilder(config_).mergeFrom(value).buildPartial(); + com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.newBuilder( + config_) + .mergeFrom(value) + .buildPartial(); } else { config_ = value; } @@ -1413,11 +1576,14 @@ public Builder mergeConfig(com.google.cloud.orchestration.airflow.service.v1beta return this; } /** + * + * *
              * Configuration parameters for this environment.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config = 2; + * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config = 2; + * */ public Builder clearConfig() { if (configBuilder_ == null) { @@ -1431,48 +1597,64 @@ public Builder clearConfig() { return this; } /** + * + * *
              * Configuration parameters for this environment.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config = 2; + * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config = 2; + * */ - public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.Builder getConfigBuilder() { - + public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.Builder + getConfigBuilder() { + onChanged(); return getConfigFieldBuilder().getBuilder(); } /** + * + * *
              * Configuration parameters for this environment.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config = 2; + * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config = 2; + * */ - public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfigOrBuilder getConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfigOrBuilder + getConfigOrBuilder() { if (configBuilder_ != null) { return configBuilder_.getMessageOrBuilder(); } else { - return config_ == null ? - com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.getDefaultInstance() : config_; + return config_ == null + ? com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig + .getDefaultInstance() + : config_; } } /** + * + * *
              * Configuration parameters for this environment.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config = 2; + * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config = 2; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig, com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfigOrBuilder> + com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig, + com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.Builder, + com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfigOrBuilder> getConfigFieldBuilder() { if (configBuilder_ == null) { - configBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig, com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfigOrBuilder>( - getConfig(), - getParentForChildren(), - isClean()); + configBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig, + com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.Builder, + com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfigOrBuilder>( + getConfig(), getParentForChildren(), isClean()); config_ = null; } return configBuilder_; @@ -1480,19 +1662,21 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfigO private java.lang.Object uuid_ = ""; /** + * + * *
              * Output only. The UUID (Universally Unique IDentifier) associated with this environment.
              * This value is generated when the environment is created.
              * 
        * * string uuid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uuid. */ public java.lang.String getUuid() { java.lang.Object ref = uuid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uuid_ = s; return s; @@ -1501,21 +1685,22 @@ public java.lang.String getUuid() { } } /** + * + * *
              * Output only. The UUID (Universally Unique IDentifier) associated with this environment.
              * This value is generated when the environment is created.
              * 
        * * string uuid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uuid. */ - public com.google.protobuf.ByteString - getUuidBytes() { + public com.google.protobuf.ByteString getUuidBytes() { java.lang.Object ref = uuid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uuid_ = b; return b; } else { @@ -1523,57 +1708,64 @@ public java.lang.String getUuid() { } } /** + * + * *
              * Output only. The UUID (Universally Unique IDentifier) associated with this environment.
              * This value is generated when the environment is created.
              * 
        * * string uuid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The uuid to set. * @return This builder for chaining. */ - public Builder setUuid( - java.lang.String value) { + public Builder setUuid(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uuid_ = value; onChanged(); return this; } /** + * + * *
              * Output only. The UUID (Universally Unique IDentifier) associated with this environment.
              * This value is generated when the environment is created.
              * 
        * * string uuid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearUuid() { - + uuid_ = getDefaultInstance().getUuid(); onChanged(); return this; } /** + * + * *
              * Output only. The UUID (Universally Unique IDentifier) associated with this environment.
              * This value is generated when the environment is created.
              * 
        * * string uuid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for uuid to set. * @return This builder for chaining. */ - public Builder setUuidBytes( - com.google.protobuf.ByteString value) { + public Builder setUuidBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uuid_ = value; onChanged(); return this; @@ -1581,73 +1773,93 @@ public Builder setUuidBytes( private int state_ = 0; /** + * + * *
              * The current state of the environment.
              * 
        * * .google.cloud.orchestration.airflow.service.v1beta1.Environment.State state = 4; + * * @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 current state of the environment.
              * 
        * * .google.cloud.orchestration.airflow.service.v1beta1.Environment.State state = 4; + * * @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 current state of the environment.
              * 
        * * .google.cloud.orchestration.airflow.service.v1beta1.Environment.State state = 4; + * * @return The state. */ @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1beta1.Environment.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.orchestration.airflow.service.v1beta1.Environment.State result = com.google.cloud.orchestration.airflow.service.v1beta1.Environment.State.valueOf(state_); - return result == null ? com.google.cloud.orchestration.airflow.service.v1beta1.Environment.State.UNRECOGNIZED : result; + com.google.cloud.orchestration.airflow.service.v1beta1.Environment.State result = + com.google.cloud.orchestration.airflow.service.v1beta1.Environment.State.valueOf(state_); + return result == null + ? com.google.cloud.orchestration.airflow.service.v1beta1.Environment.State.UNRECOGNIZED + : result; } /** + * + * *
              * The current state of the environment.
              * 
        * * .google.cloud.orchestration.airflow.service.v1beta1.Environment.State state = 4; + * * @param value The state to set. * @return This builder for chaining. */ - public Builder setState(com.google.cloud.orchestration.airflow.service.v1beta1.Environment.State value) { + public Builder setState( + com.google.cloud.orchestration.airflow.service.v1beta1.Environment.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
              * The current state of the environment.
              * 
        * * .google.cloud.orchestration.airflow.service.v1beta1.Environment.State state = 4; + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -1655,39 +1867,58 @@ public Builder clearState() { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
              * Output only. The time at which this environment was created.
              * 
        * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 5 [(.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 at which this environment was created.
              * 
        * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 5 [(.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 at which this environment was created.
              * 
        * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1703,14 +1934,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
              * Output only. The time at which this environment was created.
              * 
        * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 5 [(.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(); @@ -1721,17 +1955,21 @@ public Builder setCreateTime( return this; } /** + * + * *
              * Output only. The time at which this environment was created.
              * 
        * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 5 [(.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; } @@ -1743,11 +1981,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
              * Output only. The time at which this environment was created.
              * 
        * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -1761,48 +2003,64 @@ public Builder clearCreateTime() { return this; } /** + * + * *
              * Output only. The time at which this environment was created.
              * 
        * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
              * Output only. The time at which this environment was created.
              * 
        * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 5 [(.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 at which this environment was created.
              * 
        * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 5 [(.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_; @@ -1810,39 +2068,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 at which this environment was last modified.
              * 
        * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 6 [(.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 at which this environment was last modified.
              * 
        * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 6 [(.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 at which this environment was last modified.
              * 
        * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -1858,14 +2135,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
              * Output only. The time at which this environment was last modified.
              * 
        * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 6 [(.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(); @@ -1876,17 +2156,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
              * Output only. The time at which this environment was last modified.
              * 
        * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 6 [(.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; } @@ -1898,11 +2182,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
              * Output only. The time at which this environment was last modified.
              * 
        * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -1916,69 +2204,84 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
              * Output only. The time at which this environment was last modified.
              * 
        * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
              * Output only. The time at which this environment was last modified.
              * 
        * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 6 [(.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 at which this environment was last modified.
              * 
        * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 6 [(.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_; } - 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(); @@ -1990,6 +2293,8 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
              * Optional. User-defined labels for this environment.
              * The labels map can contain no more than 64 entries. Entries of the labels
        @@ -2002,22 +2307,22 @@ public int getLabelsCount() {
              *
              * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
              */
        -
             @java.lang.Override
        -    public boolean containsLabels(
        -        java.lang.String key) {
        -      if (key == null) { throw new NullPointerException("map key"); }
        +    public boolean containsLabels(java.lang.String key) {
        +      if (key == null) {
        +        throw new NullPointerException("map key");
        +      }
               return internalGetLabels().getMap().containsKey(key);
             }
        -    /**
        -     * Use {@link #getLabelsMap()} instead.
        -     */
        +    /** Use {@link #getLabelsMap()} instead. */
             @java.lang.Override
             @java.lang.Deprecated
             public java.util.Map getLabels() {
               return getLabelsMap();
             }
             /**
        +     *
        +     *
              * 
              * Optional. User-defined labels for this environment.
              * The labels map can contain no more than 64 entries. Entries of the labels
        @@ -2031,11 +2336,12 @@ public java.util.Map getLabels() {
              * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
              */
             @java.lang.Override
        -
             public java.util.Map getLabelsMap() {
               return internalGetLabels().getMap();
             }
             /**
        +     *
        +     *
              * 
              * Optional. User-defined labels for this environment.
              * The labels map can contain no more than 64 entries. Entries of the labels
        @@ -2049,16 +2355,17 @@ public java.util.Map getLabelsMap() {
              * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
              */
             @java.lang.Override
        -
             public java.lang.String getLabelsOrDefault(
        -        java.lang.String key,
        -        java.lang.String defaultValue) {
        -      if (key == null) { throw new NullPointerException("map key"); }
        -      java.util.Map map =
        -          internalGetLabels().getMap();
        +        java.lang.String key, java.lang.String defaultValue) {
        +      if (key == null) {
        +        throw new NullPointerException("map key");
        +      }
        +      java.util.Map map = internalGetLabels().getMap();
               return map.containsKey(key) ? map.get(key) : defaultValue;
             }
             /**
        +     *
        +     *
              * 
              * Optional. User-defined labels for this environment.
              * The labels map can contain no more than 64 entries. Entries of the labels
        @@ -2072,12 +2379,11 @@ public java.lang.String getLabelsOrDefault(
              * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
              */
             @java.lang.Override
        -
        -    public java.lang.String getLabelsOrThrow(
        -        java.lang.String key) {
        -      if (key == null) { throw new NullPointerException("map key"); }
        -      java.util.Map map =
        -          internalGetLabels().getMap();
        +    public java.lang.String getLabelsOrThrow(java.lang.String key) {
        +      if (key == null) {
        +        throw new NullPointerException("map key");
        +      }
        +      java.util.Map map = internalGetLabels().getMap();
               if (!map.containsKey(key)) {
                 throw new java.lang.IllegalArgumentException();
               }
        @@ -2085,11 +2391,12 @@ public java.lang.String getLabelsOrThrow(
             }
         
             public Builder clearLabels() {
        -      internalGetMutableLabels().getMutableMap()
        -          .clear();
        +      internalGetMutableLabels().getMutableMap().clear();
               return this;
             }
             /**
        +     *
        +     *
              * 
              * Optional. User-defined labels for this environment.
              * The labels map can contain no more than 64 entries. Entries of the labels
        @@ -2102,23 +2409,21 @@ public Builder clearLabels() {
              *
              * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
              */
        -
        -    public Builder removeLabels(
        -        java.lang.String key) {
        -      if (key == null) { throw new NullPointerException("map key"); }
        -      internalGetMutableLabels().getMutableMap()
        -          .remove(key);
        +    public Builder removeLabels(java.lang.String key) {
        +      if (key == null) {
        +        throw new NullPointerException("map key");
        +      }
        +      internalGetMutableLabels().getMutableMap().remove(key);
               return this;
             }
        -    /**
        -     * Use alternate mutation accessors instead.
        -     */
        +    /** Use alternate mutation accessors instead. */
             @java.lang.Deprecated
        -    public java.util.Map
        -    getMutableLabels() {
        +    public java.util.Map getMutableLabels() {
               return internalGetMutableLabels().getMutableMap();
             }
             /**
        +     *
        +     *
              * 
              * Optional. User-defined labels for this environment.
              * The labels map can contain no more than 64 entries. Entries of the labels
        @@ -2131,19 +2436,20 @@ public Builder removeLabels(
              *
              * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
              */
        -    public Builder putLabels(
        -        java.lang.String key,
        -        java.lang.String value) {
        -      if (key == null) { throw new NullPointerException("map key"); }
        +    public Builder putLabels(java.lang.String key, java.lang.String value) {
        +      if (key == null) {
        +        throw new NullPointerException("map key");
        +      }
               if (value == null) {
        -  throw new NullPointerException("map value");
        -}
        +        throw new NullPointerException("map value");
        +      }
         
        -      internalGetMutableLabels().getMutableMap()
        -          .put(key, value);
        +      internalGetMutableLabels().getMutableMap().put(key, value);
               return this;
             }
             /**
        +     *
        +     *
              * 
              * Optional. User-defined labels for this environment.
              * The labels map can contain no more than 64 entries. Entries of the labels
        @@ -2156,16 +2462,13 @@ public Builder putLabels(
              *
              * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
              */
        -
        -    public Builder putAllLabels(
        -        java.util.Map values) {
        -      internalGetMutableLabels().getMutableMap()
        -          .putAll(values);
        +    public Builder putAllLabels(java.util.Map values) {
        +      internalGetMutableLabels().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);
             }
         
        @@ -2175,30 +2478,32 @@ public final Builder mergeUnknownFields(
               return super.mergeUnknownFields(unknownFields);
             }
         
        -
             // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1beta1.Environment)
           }
         
           // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1beta1.Environment)
        -  private static final com.google.cloud.orchestration.airflow.service.v1beta1.Environment DEFAULT_INSTANCE;
        +  private static final com.google.cloud.orchestration.airflow.service.v1beta1.Environment
        +      DEFAULT_INSTANCE;
        +
           static {
             DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1beta1.Environment();
           }
         
        -  public static com.google.cloud.orchestration.airflow.service.v1beta1.Environment getDefaultInstance() {
        +  public static com.google.cloud.orchestration.airflow.service.v1beta1.Environment
        +      getDefaultInstance() {
             return DEFAULT_INSTANCE;
           }
         
        -  private static final com.google.protobuf.Parser
        -      PARSER = new com.google.protobuf.AbstractParser() {
        -    @java.lang.Override
        -    public Environment parsePartialFrom(
        -        com.google.protobuf.CodedInputStream input,
        -        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        -        throws com.google.protobuf.InvalidProtocolBufferException {
        -      return new Environment(input, extensionRegistry);
        -    }
        -  };
        +  private static final com.google.protobuf.Parser PARSER =
        +      new com.google.protobuf.AbstractParser() {
        +        @java.lang.Override
        +        public Environment parsePartialFrom(
        +            com.google.protobuf.CodedInputStream input,
        +            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        +            throws com.google.protobuf.InvalidProtocolBufferException {
        +          return new Environment(input, extensionRegistry);
        +        }
        +      };
         
           public static com.google.protobuf.Parser parser() {
             return PARSER;
        @@ -2210,9 +2515,8 @@ public com.google.protobuf.Parser getParserForType() {
           }
         
           @java.lang.Override
        -  public com.google.cloud.orchestration.airflow.service.v1beta1.Environment getDefaultInstanceForType() {
        +  public com.google.cloud.orchestration.airflow.service.v1beta1.Environment
        +      getDefaultInstanceForType() {
             return DEFAULT_INSTANCE;
           }
        -
         }
        -
        diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentConfig.java b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentConfig.java
        similarity index 62%
        rename from owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentConfig.java
        rename to proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentConfig.java
        index 18b9d994..0a9641cb 100644
        --- a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentConfig.java
        +++ b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentConfig.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/orchestration/airflow/service/v1beta1/environments.proto
         
         package com.google.cloud.orchestration.airflow.service.v1beta1;
         
         /**
        + *
        + *
          * 
          * Configuration information for an environment.
          * 
        * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig} */ -public final class EnvironmentConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class EnvironmentConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig) EnvironmentConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use EnvironmentConfig.newBuilder() to construct. private EnvironmentConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private EnvironmentConfig() { gkeCluster_ = ""; dagGcsPrefix_ = ""; @@ -28,16 +46,15 @@ private EnvironmentConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new EnvironmentConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private EnvironmentConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,159 +73,218 @@ private EnvironmentConfig( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - gkeCluster_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - dagGcsPrefix_ = s; - break; - } - case 24: { - - nodeCount_ = input.readInt32(); - break; - } - case 34: { - com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig.Builder subBuilder = null; - if (softwareConfig_ != null) { - subBuilder = softwareConfig_.toBuilder(); - } - softwareConfig_ = input.readMessage(com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(softwareConfig_); - softwareConfig_ = subBuilder.buildPartial(); + gkeCluster_ = s; + break; } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 42: { - com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig.Builder subBuilder = null; - if (nodeConfig_ != null) { - subBuilder = nodeConfig_.toBuilder(); + dagGcsPrefix_ = s; + break; } - nodeConfig_ = input.readMessage(com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(nodeConfig_); - nodeConfig_ = subBuilder.buildPartial(); + case 24: + { + nodeCount_ = input.readInt32(); + break; } - - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); - - airflowUri_ = s; - break; - } - case 58: { - com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig.Builder subBuilder = null; - if (privateEnvironmentConfig_ != null) { - subBuilder = privateEnvironmentConfig_.toBuilder(); - } - privateEnvironmentConfig_ = input.readMessage(com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(privateEnvironmentConfig_); - privateEnvironmentConfig_ = subBuilder.buildPartial(); - } - - break; - } - case 74: { - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.Builder subBuilder = null; - if (webServerNetworkAccessControl_ != null) { - subBuilder = webServerNetworkAccessControl_.toBuilder(); + case 34: + { + com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig.Builder + subBuilder = null; + if (softwareConfig_ != null) { + subBuilder = softwareConfig_.toBuilder(); + } + softwareConfig_ = + input.readMessage( + com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(softwareConfig_); + softwareConfig_ = subBuilder.buildPartial(); + } + + break; } - webServerNetworkAccessControl_ = input.readMessage(com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(webServerNetworkAccessControl_); - webServerNetworkAccessControl_ = subBuilder.buildPartial(); + case 42: + { + com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig.Builder subBuilder = + null; + if (nodeConfig_ != null) { + subBuilder = nodeConfig_.toBuilder(); + } + nodeConfig_ = + input.readMessage( + com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(nodeConfig_); + nodeConfig_ = subBuilder.buildPartial(); + } + + break; } + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 82: { - com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig.Builder subBuilder = null; - if (databaseConfig_ != null) { - subBuilder = databaseConfig_.toBuilder(); + airflowUri_ = s; + break; } - databaseConfig_ = input.readMessage(com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(databaseConfig_); - databaseConfig_ = subBuilder.buildPartial(); + case 58: + { + com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig + .Builder + subBuilder = null; + if (privateEnvironmentConfig_ != null) { + subBuilder = privateEnvironmentConfig_.toBuilder(); + } + privateEnvironmentConfig_ = + input.readMessage( + com.google.cloud.orchestration.airflow.service.v1beta1 + .PrivateEnvironmentConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(privateEnvironmentConfig_); + privateEnvironmentConfig_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 90: { - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig.Builder subBuilder = null; - if (webServerConfig_ != null) { - subBuilder = webServerConfig_.toBuilder(); + case 74: + { + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .Builder + subBuilder = null; + if (webServerNetworkAccessControl_ != null) { + subBuilder = webServerNetworkAccessControl_.toBuilder(); + } + webServerNetworkAccessControl_ = + input.readMessage( + com.google.cloud.orchestration.airflow.service.v1beta1 + .WebServerNetworkAccessControl.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(webServerNetworkAccessControl_); + webServerNetworkAccessControl_ = subBuilder.buildPartial(); + } + + break; } - webServerConfig_ = input.readMessage(com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(webServerConfig_); - webServerConfig_ = subBuilder.buildPartial(); + case 82: + { + com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig.Builder + subBuilder = null; + if (databaseConfig_ != null) { + subBuilder = databaseConfig_.toBuilder(); + } + databaseConfig_ = + input.readMessage( + com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(databaseConfig_); + databaseConfig_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 98: { - com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig.Builder subBuilder = null; - if (encryptionConfig_ != null) { - subBuilder = encryptionConfig_.toBuilder(); + case 90: + { + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig.Builder + subBuilder = null; + if (webServerConfig_ != null) { + subBuilder = webServerConfig_.toBuilder(); + } + webServerConfig_ = + input.readMessage( + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(webServerConfig_); + webServerConfig_ = subBuilder.buildPartial(); + } + + break; } - encryptionConfig_ = input.readMessage(com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(encryptionConfig_); - encryptionConfig_ = subBuilder.buildPartial(); + case 98: + { + com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig.Builder + subBuilder = null; + if (encryptionConfig_ != null) { + subBuilder = encryptionConfig_.toBuilder(); + } + encryptionConfig_ = + input.readMessage( + com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(encryptionConfig_); + encryptionConfig_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 106: { - com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow.Builder subBuilder = null; - if (maintenanceWindow_ != null) { - subBuilder = maintenanceWindow_.toBuilder(); + case 106: + { + com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow.Builder + subBuilder = null; + if (maintenanceWindow_ != null) { + subBuilder = maintenanceWindow_.toBuilder(); + } + maintenanceWindow_ = + input.readMessage( + com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(maintenanceWindow_); + maintenanceWindow_ = subBuilder.buildPartial(); + } + + break; } - maintenanceWindow_ = input.readMessage(com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(maintenanceWindow_); - maintenanceWindow_ = subBuilder.buildPartial(); + case 122: + { + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.Builder + subBuilder = null; + if (workloadsConfig_ != null) { + subBuilder = workloadsConfig_.toBuilder(); + } + workloadsConfig_ = + input.readMessage( + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(workloadsConfig_); + workloadsConfig_ = subBuilder.buildPartial(); + } + + break; } + case 128: + { + int rawValue = input.readEnum(); - break; - } - case 122: { - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.Builder subBuilder = null; - if (workloadsConfig_ != null) { - subBuilder = workloadsConfig_.toBuilder(); + environmentSize_ = rawValue; + break; } - workloadsConfig_ = input.readMessage(com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(workloadsConfig_); - workloadsConfig_ = subBuilder.buildPartial(); + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - - break; - } - case 128: { - int rawValue = input.readEnum(); - - environmentSize_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -216,36 +292,42 @@ private EnvironmentConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_EnvironmentConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_EnvironmentConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_EnvironmentConfig_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_EnvironmentConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.class, com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.class, + com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.Builder.class); } /** + * + * *
            * The size of the Cloud Composer environment.
            * 
        * - * Protobuf enum {@code google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize} + * Protobuf enum {@code + * google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize} */ - public enum EnvironmentSize - implements com.google.protobuf.ProtocolMessageEnum { + public enum EnvironmentSize implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
              * The size of the environment is unspecified.
              * 
        @@ -254,6 +336,8 @@ public enum EnvironmentSize */ ENVIRONMENT_SIZE_UNSPECIFIED(0), /** + * + * *
              * The environment size is small.
              * 
        @@ -262,6 +346,8 @@ public enum EnvironmentSize */ ENVIRONMENT_SIZE_SMALL(1), /** + * + * *
              * The environment size is medium.
              * 
        @@ -270,6 +356,8 @@ public enum EnvironmentSize */ ENVIRONMENT_SIZE_MEDIUM(2), /** + * + * *
              * The environment size is large.
              * 
        @@ -281,6 +369,8 @@ public enum EnvironmentSize ; /** + * + * *
              * The size of the environment is unspecified.
              * 
        @@ -289,6 +379,8 @@ public enum EnvironmentSize */ public static final int ENVIRONMENT_SIZE_UNSPECIFIED_VALUE = 0; /** + * + * *
              * The environment size is small.
              * 
        @@ -297,6 +389,8 @@ public enum EnvironmentSize */ public static final int ENVIRONMENT_SIZE_SMALL_VALUE = 1; /** + * + * *
              * The environment size is medium.
              * 
        @@ -305,6 +399,8 @@ public enum EnvironmentSize */ public static final int ENVIRONMENT_SIZE_MEDIUM_VALUE = 2; /** + * + * *
              * The environment size is large.
              * 
        @@ -313,7 +409,6 @@ public enum EnvironmentSize */ public static final int ENVIRONMENT_SIZE_LARGE_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -338,41 +433,48 @@ public static EnvironmentSize valueOf(int value) { */ public static EnvironmentSize forNumber(int value) { switch (value) { - case 0: return ENVIRONMENT_SIZE_UNSPECIFIED; - case 1: return ENVIRONMENT_SIZE_SMALL; - case 2: return ENVIRONMENT_SIZE_MEDIUM; - case 3: return ENVIRONMENT_SIZE_LARGE; - default: return null; + case 0: + return ENVIRONMENT_SIZE_UNSPECIFIED; + case 1: + return ENVIRONMENT_SIZE_SMALL; + case 2: + return ENVIRONMENT_SIZE_MEDIUM; + case 3: + return ENVIRONMENT_SIZE_LARGE; + 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< - EnvironmentSize> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public EnvironmentSize findValueByNumber(int number) { - return EnvironmentSize.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 EnvironmentSize findValueByNumber(int number) { + return EnvironmentSize.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig + .getDescriptor() + .getEnumTypes() + .get(0); } private static final EnvironmentSize[] VALUES = values(); @@ -380,8 +482,7 @@ public EnvironmentSize findValueByNumber(int number) { public static EnvironmentSize 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; @@ -401,11 +502,14 @@ private EnvironmentSize(int value) { public static final int GKE_CLUSTER_FIELD_NUMBER = 1; private volatile java.lang.Object gkeCluster_; /** + * + * *
            * Output only. The Kubernetes Engine cluster used to run this environment.
            * 
        * * string gke_cluster = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The gkeCluster. */ @java.lang.Override @@ -414,29 +518,29 @@ public java.lang.String getGkeCluster() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); gkeCluster_ = s; return s; } } /** + * + * *
            * Output only. The Kubernetes Engine cluster used to run this environment.
            * 
        * * string gke_cluster = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for gkeCluster. */ @java.lang.Override - public com.google.protobuf.ByteString - getGkeClusterBytes() { + public com.google.protobuf.ByteString getGkeClusterBytes() { java.lang.Object ref = gkeCluster_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); gkeCluster_ = b; return b; } else { @@ -447,6 +551,8 @@ public java.lang.String getGkeCluster() { public static final int DAG_GCS_PREFIX_FIELD_NUMBER = 2; private volatile java.lang.Object dagGcsPrefix_; /** + * + * *
            * Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud
            * Storage objects reside in a flat namespace, a hierarchical file tree
        @@ -455,6 +561,7 @@ public java.lang.String getGkeCluster() {
            * 
        * * string dag_gcs_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The dagGcsPrefix. */ @java.lang.Override @@ -463,14 +570,15 @@ public java.lang.String getDagGcsPrefix() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dagGcsPrefix_ = s; return s; } } /** + * + * *
            * Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud
            * Storage objects reside in a flat namespace, a hierarchical file tree
        @@ -479,16 +587,15 @@ public java.lang.String getDagGcsPrefix() {
            * 
        * * string dag_gcs_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for dagGcsPrefix. */ @java.lang.Override - public com.google.protobuf.ByteString - getDagGcsPrefixBytes() { + public com.google.protobuf.ByteString getDagGcsPrefixBytes() { java.lang.Object ref = dagGcsPrefix_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dagGcsPrefix_ = b; return b; } else { @@ -499,12 +606,15 @@ public java.lang.String getDagGcsPrefix() { public static final int NODE_COUNT_FIELD_NUMBER = 3; private int nodeCount_; /** + * + * *
            * The number of nodes in the Kubernetes Engine cluster that will be
            * used to run this environment.
            * 
        * * int32 node_count = 3; + * * @return The nodeCount. */ @java.lang.Override @@ -515,11 +625,15 @@ public int getNodeCount() { public static final int SOFTWARE_CONFIG_FIELD_NUMBER = 4; private com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig softwareConfig_; /** + * + * *
            * The configuration settings for software inside the environment.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig software_config = 4; + * .google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig software_config = 4; + * + * * @return Whether the softwareConfig field is set. */ @java.lang.Override @@ -527,37 +641,50 @@ public boolean hasSoftwareConfig() { return softwareConfig_ != null; } /** + * + * *
            * The configuration settings for software inside the environment.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig software_config = 4; + * .google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig software_config = 4; + * + * * @return The softwareConfig. */ @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig getSoftwareConfig() { - return softwareConfig_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig.getDefaultInstance() : softwareConfig_; + return softwareConfig_ == null + ? com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig.getDefaultInstance() + : softwareConfig_; } /** + * + * *
            * The configuration settings for software inside the environment.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig software_config = 4; + * .google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig software_config = 4; + * */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfigOrBuilder getSoftwareConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfigOrBuilder + getSoftwareConfigOrBuilder() { return getSoftwareConfig(); } public static final int NODE_CONFIG_FIELD_NUMBER = 5; private com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig nodeConfig_; /** + * + * *
            * The configuration used for the Kubernetes Engine cluster.
            * 
        * * .google.cloud.orchestration.airflow.service.v1beta1.NodeConfig node_config = 5; + * * @return Whether the nodeConfig field is set. */ @java.lang.Override @@ -565,18 +692,25 @@ public boolean hasNodeConfig() { return nodeConfig_ != null; } /** + * + * *
            * The configuration used for the Kubernetes Engine cluster.
            * 
        * * .google.cloud.orchestration.airflow.service.v1beta1.NodeConfig node_config = 5; + * * @return The nodeConfig. */ @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig getNodeConfig() { - return nodeConfig_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig.getDefaultInstance() : nodeConfig_; + return nodeConfig_ == null + ? com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig.getDefaultInstance() + : nodeConfig_; } /** + * + * *
            * The configuration used for the Kubernetes Engine cluster.
            * 
        @@ -584,18 +718,25 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig getNode * .google.cloud.orchestration.airflow.service.v1beta1.NodeConfig node_config = 5; */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfigOrBuilder getNodeConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfigOrBuilder + getNodeConfigOrBuilder() { return getNodeConfig(); } public static final int PRIVATE_ENVIRONMENT_CONFIG_FIELD_NUMBER = 7; - private com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig privateEnvironmentConfig_; + private com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig + privateEnvironmentConfig_; /** + * + * *
            * The configuration used for the Private IP Cloud Composer environment.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig private_environment_config = 7; + * + * .google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig private_environment_config = 7; + * + * * @return Whether the privateEnvironmentConfig field is set. */ @java.lang.Override @@ -603,38 +744,58 @@ public boolean hasPrivateEnvironmentConfig() { return privateEnvironmentConfig_ != null; } /** + * + * *
            * The configuration used for the Private IP Cloud Composer environment.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig private_environment_config = 7; + * + * .google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig private_environment_config = 7; + * + * * @return The privateEnvironmentConfig. */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig getPrivateEnvironmentConfig() { - return privateEnvironmentConfig_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig.getDefaultInstance() : privateEnvironmentConfig_; + public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig + getPrivateEnvironmentConfig() { + return privateEnvironmentConfig_ == null + ? com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig + .getDefaultInstance() + : privateEnvironmentConfig_; } /** + * + * *
            * The configuration used for the Private IP Cloud Composer environment.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig private_environment_config = 7; + * + * .google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig private_environment_config = 7; + * */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfigOrBuilder getPrivateEnvironmentConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfigOrBuilder + getPrivateEnvironmentConfigOrBuilder() { return getPrivateEnvironmentConfig(); } public static final int WEB_SERVER_NETWORK_ACCESS_CONTROL_FIELD_NUMBER = 9; - private com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl webServerNetworkAccessControl_; + private com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + webServerNetworkAccessControl_; /** + * + * *
            * Optional. The network-level access control policy for the Airflow web server. If
            * unspecified, no network-level access restrictions will be applied.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the webServerNetworkAccessControl field is set. */ @java.lang.Override @@ -642,40 +803,60 @@ public boolean hasWebServerNetworkAccessControl() { return webServerNetworkAccessControl_ != null; } /** + * + * *
            * Optional. The network-level access control policy for the Airflow web server. If
            * unspecified, no network-level access restrictions will be applied.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The webServerNetworkAccessControl. */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl getWebServerNetworkAccessControl() { - return webServerNetworkAccessControl_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.getDefaultInstance() : webServerNetworkAccessControl_; + public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + getWebServerNetworkAccessControl() { + return webServerNetworkAccessControl_ == null + ? com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .getDefaultInstance() + : webServerNetworkAccessControl_; } /** + * + * *
            * Optional. The network-level access control policy for the Airflow web server. If
            * unspecified, no network-level access restrictions will be applied.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControlOrBuilder getWebServerNetworkAccessControlOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1beta1 + .WebServerNetworkAccessControlOrBuilder + getWebServerNetworkAccessControlOrBuilder() { return getWebServerNetworkAccessControl(); } public static final int DATABASE_CONFIG_FIELD_NUMBER = 10; private com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig databaseConfig_; /** + * + * *
            * Optional. The configuration settings for Cloud SQL instance used internally by Apache
            * Airflow software.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig database_config = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig database_config = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the databaseConfig field is set. */ @java.lang.Override @@ -683,39 +864,56 @@ public boolean hasDatabaseConfig() { return databaseConfig_ != null; } /** + * + * *
            * Optional. The configuration settings for Cloud SQL instance used internally by Apache
            * Airflow software.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig database_config = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig database_config = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The databaseConfig. */ @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig getDatabaseConfig() { - return databaseConfig_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig.getDefaultInstance() : databaseConfig_; + return databaseConfig_ == null + ? com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig.getDefaultInstance() + : databaseConfig_; } /** + * + * *
            * Optional. The configuration settings for Cloud SQL instance used internally by Apache
            * Airflow software.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig database_config = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig database_config = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfigOrBuilder getDatabaseConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfigOrBuilder + getDatabaseConfigOrBuilder() { return getDatabaseConfig(); } public static final int WEB_SERVER_CONFIG_FIELD_NUMBER = 11; private com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig webServerConfig_; /** + * + * *
            * Optional. The configuration settings for the Airflow web server App Engine instance.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig web_server_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig web_server_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the webServerConfig field is set. */ @java.lang.Override @@ -723,32 +921,48 @@ public boolean hasWebServerConfig() { return webServerConfig_ != null; } /** + * + * *
            * Optional. The configuration settings for the Airflow web server App Engine instance.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig web_server_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig web_server_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The webServerConfig. */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig getWebServerConfig() { - return webServerConfig_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig.getDefaultInstance() : webServerConfig_; + public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig + getWebServerConfig() { + return webServerConfig_ == null + ? com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig + .getDefaultInstance() + : webServerConfig_; } /** + * + * *
            * Optional. The configuration settings for the Airflow web server App Engine instance.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig web_server_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig web_server_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfigOrBuilder getWebServerConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfigOrBuilder + getWebServerConfigOrBuilder() { return getWebServerConfig(); } public static final int AIRFLOW_URI_FIELD_NUMBER = 6; private volatile java.lang.Object airflowUri_; /** + * + * *
            * Output only. The URI of the Apache Airflow Web UI hosted within this environment (see
            * [Airflow web
        @@ -756,6 +970,7 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfigOrB
            * 
        * * string airflow_uri = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The airflowUri. */ @java.lang.Override @@ -764,14 +979,15 @@ public java.lang.String getAirflowUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); airflowUri_ = s; return s; } } /** + * + * *
            * Output only. The URI of the Apache Airflow Web UI hosted within this environment (see
            * [Airflow web
        @@ -779,16 +995,15 @@ public java.lang.String getAirflowUri() {
            * 
        * * string airflow_uri = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for airflowUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getAirflowUriBytes() { + public com.google.protobuf.ByteString getAirflowUriBytes() { java.lang.Object ref = airflowUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); airflowUri_ = b; return b; } else { @@ -799,12 +1014,17 @@ public java.lang.String getAirflowUri() { public static final int ENCRYPTION_CONFIG_FIELD_NUMBER = 12; private com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig encryptionConfig_; /** + * + * *
            * Optional. The encryption options for the Cloud Composer environment and its
            * dependencies. Cannot be updated.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the encryptionConfig field is set. */ @java.lang.Override @@ -812,34 +1032,51 @@ public boolean hasEncryptionConfig() { return encryptionConfig_ != null; } /** + * + * *
            * Optional. The encryption options for the Cloud Composer environment and its
            * dependencies. Cannot be updated.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The encryptionConfig. */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig getEncryptionConfig() { - return encryptionConfig_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig.getDefaultInstance() : encryptionConfig_; + public com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig + getEncryptionConfig() { + return encryptionConfig_ == null + ? com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig + .getDefaultInstance() + : encryptionConfig_; } /** + * + * *
            * Optional. The encryption options for the Cloud Composer environment and its
            * dependencies. Cannot be updated.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfigOrBuilder + getEncryptionConfigOrBuilder() { return getEncryptionConfig(); } public static final int MAINTENANCE_WINDOW_FIELD_NUMBER = 13; - private com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenanceWindow_; + private com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow + maintenanceWindow_; /** + * + * *
            * Optional. The maintenance window is the period when Cloud Composer components may
            * undergo maintenance. It is defined so that maintenance is not executed
        @@ -854,7 +1091,10 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfigOr
            * maintenance at any time.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the maintenanceWindow field is set. */ @java.lang.Override @@ -862,6 +1102,8 @@ public boolean hasMaintenanceWindow() { return maintenanceWindow_ != null; } /** + * + * *
            * Optional. The maintenance window is the period when Cloud Composer components may
            * undergo maintenance. It is defined so that maintenance is not executed
        @@ -876,14 +1118,23 @@ public boolean hasMaintenanceWindow() {
            * maintenance at any time.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The maintenanceWindow. */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow getMaintenanceWindow() { - return maintenanceWindow_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow.getDefaultInstance() : maintenanceWindow_; + public com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow + getMaintenanceWindow() { + return maintenanceWindow_ == null + ? com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow + .getDefaultInstance() + : maintenanceWindow_; } /** + * + * *
            * Optional. The maintenance window is the period when Cloud Composer components may
            * undergo maintenance. It is defined so that maintenance is not executed
        @@ -898,16 +1149,21 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow
            * maintenance at any time.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindowOrBuilder getMaintenanceWindowOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindowOrBuilder + getMaintenanceWindowOrBuilder() { return getMaintenanceWindow(); } public static final int WORKLOADS_CONFIG_FIELD_NUMBER = 15; private com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloadsConfig_; /** + * + * *
            * Optional. The workloads configuration settings for the GKE cluster associated with
            * the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web
        @@ -916,7 +1172,10 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindowO
            * composer-2.*.*-airflow-*.*.* and newer.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the workloadsConfig field is set. */ @java.lang.Override @@ -924,6 +1183,8 @@ public boolean hasWorkloadsConfig() { return workloadsConfig_ != null; } /** + * + * *
            * Optional. The workloads configuration settings for the GKE cluster associated with
            * the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web
        @@ -932,14 +1193,23 @@ public boolean hasWorkloadsConfig() {
            * composer-2.*.*-airflow-*.*.* and newer.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The workloadsConfig. */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig getWorkloadsConfig() { - return workloadsConfig_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.getDefaultInstance() : workloadsConfig_; + public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + getWorkloadsConfig() { + return workloadsConfig_ == null + ? com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .getDefaultInstance() + : workloadsConfig_; } /** + * + * *
            * Optional. The workloads configuration settings for the GKE cluster associated with
            * the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web
        @@ -948,45 +1218,68 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig ge
            * composer-2.*.*-airflow-*.*.* and newer.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfigOrBuilder getWorkloadsConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfigOrBuilder + getWorkloadsConfigOrBuilder() { return getWorkloadsConfig(); } public static final int ENVIRONMENT_SIZE_FIELD_NUMBER = 16; private int environmentSize_; /** + * + * *
            * Optional. The size of the Cloud Composer environment.
            * This field is supported for Cloud Composer environments in versions
            * composer-2.*.*-airflow-*.*.* and newer.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize environment_size = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize environment_size = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for environmentSize. */ - @java.lang.Override public int getEnvironmentSizeValue() { + @java.lang.Override + public int getEnvironmentSizeValue() { return environmentSize_; } /** + * + * *
            * Optional. The size of the Cloud Composer environment.
            * This field is supported for Cloud Composer environments in versions
            * composer-2.*.*-airflow-*.*.* and newer.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize environment_size = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize environment_size = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The environmentSize. */ - @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize getEnvironmentSize() { + @java.lang.Override + public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize + getEnvironmentSize() { @SuppressWarnings("deprecation") - com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize result = com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize.valueOf(environmentSize_); - return result == null ? com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize.UNRECOGNIZED : result; + com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize + result = + com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize + .valueOf(environmentSize_); + return result == null + ? com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize + .UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -998,8 +1291,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(gkeCluster_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, gkeCluster_); } @@ -1039,7 +1331,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (workloadsConfig_ != null) { output.writeMessage(15, getWorkloadsConfig()); } - if (environmentSize_ != com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize.ENVIRONMENT_SIZE_UNSPECIFIED.getNumber()) { + if (environmentSize_ + != com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize + .ENVIRONMENT_SIZE_UNSPECIFIED + .getNumber()) { output.writeEnum(16, environmentSize_); } unknownFields.writeTo(output); @@ -1058,51 +1353,47 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, dagGcsPrefix_); } if (nodeCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, nodeCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, nodeCount_); } if (softwareConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getSoftwareConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getSoftwareConfig()); } if (nodeConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getNodeConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getNodeConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(airflowUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, airflowUri_); } if (privateEnvironmentConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getPrivateEnvironmentConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 7, getPrivateEnvironmentConfig()); } if (webServerNetworkAccessControl_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getWebServerNetworkAccessControl()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 9, getWebServerNetworkAccessControl()); } if (databaseConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, getDatabaseConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getDatabaseConfig()); } if (webServerConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, getWebServerConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getWebServerConfig()); } if (encryptionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, getEncryptionConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getEncryptionConfig()); } if (maintenanceWindow_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(13, getMaintenanceWindow()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, getMaintenanceWindow()); } if (workloadsConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(15, getWorkloadsConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(15, getWorkloadsConfig()); } - if (environmentSize_ != com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize.ENVIRONMENT_SIZE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(16, environmentSize_); + if (environmentSize_ + != com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize + .ENVIRONMENT_SIZE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(16, environmentSize_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1112,65 +1403,56 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig)) { + if (!(obj + instanceof com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig other = (com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig) obj; + com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig other = + (com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig) obj; - if (!getGkeCluster() - .equals(other.getGkeCluster())) return false; - if (!getDagGcsPrefix() - .equals(other.getDagGcsPrefix())) return false; - if (getNodeCount() - != other.getNodeCount()) return false; + if (!getGkeCluster().equals(other.getGkeCluster())) return false; + if (!getDagGcsPrefix().equals(other.getDagGcsPrefix())) return false; + if (getNodeCount() != other.getNodeCount()) return false; if (hasSoftwareConfig() != other.hasSoftwareConfig()) return false; if (hasSoftwareConfig()) { - if (!getSoftwareConfig() - .equals(other.getSoftwareConfig())) return false; + if (!getSoftwareConfig().equals(other.getSoftwareConfig())) return false; } if (hasNodeConfig() != other.hasNodeConfig()) return false; if (hasNodeConfig()) { - if (!getNodeConfig() - .equals(other.getNodeConfig())) return false; + if (!getNodeConfig().equals(other.getNodeConfig())) return false; } if (hasPrivateEnvironmentConfig() != other.hasPrivateEnvironmentConfig()) return false; if (hasPrivateEnvironmentConfig()) { - if (!getPrivateEnvironmentConfig() - .equals(other.getPrivateEnvironmentConfig())) return false; + if (!getPrivateEnvironmentConfig().equals(other.getPrivateEnvironmentConfig())) return false; } - if (hasWebServerNetworkAccessControl() != other.hasWebServerNetworkAccessControl()) return false; + if (hasWebServerNetworkAccessControl() != other.hasWebServerNetworkAccessControl()) + return false; if (hasWebServerNetworkAccessControl()) { - if (!getWebServerNetworkAccessControl() - .equals(other.getWebServerNetworkAccessControl())) return false; + if (!getWebServerNetworkAccessControl().equals(other.getWebServerNetworkAccessControl())) + return false; } if (hasDatabaseConfig() != other.hasDatabaseConfig()) return false; if (hasDatabaseConfig()) { - if (!getDatabaseConfig() - .equals(other.getDatabaseConfig())) return false; + if (!getDatabaseConfig().equals(other.getDatabaseConfig())) return false; } if (hasWebServerConfig() != other.hasWebServerConfig()) return false; if (hasWebServerConfig()) { - if (!getWebServerConfig() - .equals(other.getWebServerConfig())) return false; + if (!getWebServerConfig().equals(other.getWebServerConfig())) return false; } - if (!getAirflowUri() - .equals(other.getAirflowUri())) return false; + if (!getAirflowUri().equals(other.getAirflowUri())) return false; if (hasEncryptionConfig() != other.hasEncryptionConfig()) return false; if (hasEncryptionConfig()) { - if (!getEncryptionConfig() - .equals(other.getEncryptionConfig())) return false; + if (!getEncryptionConfig().equals(other.getEncryptionConfig())) return false; } if (hasMaintenanceWindow() != other.hasMaintenanceWindow()) return false; if (hasMaintenanceWindow()) { - if (!getMaintenanceWindow() - .equals(other.getMaintenanceWindow())) return false; + if (!getMaintenanceWindow().equals(other.getMaintenanceWindow())) return false; } if (hasWorkloadsConfig() != other.hasWorkloadsConfig()) return false; if (hasWorkloadsConfig()) { - if (!getWorkloadsConfig() - .equals(other.getWorkloadsConfig())) return false; + if (!getWorkloadsConfig().equals(other.getWorkloadsConfig())) return false; } if (environmentSize_ != other.environmentSize_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -1236,134 +1518,146 @@ public int hashCode() { } public static com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig 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.orchestration.airflow.service.v1beta1.EnvironmentConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig 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.orchestration.airflow.service.v1beta1.EnvironmentConfig + 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.orchestration.airflow.service.v1beta1.EnvironmentConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
            * Configuration information for an environment.
            * 
        * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig) com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_EnvironmentConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_EnvironmentConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_EnvironmentConfig_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_EnvironmentConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.class, com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.class, + com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.Builder + .class); } - // Construct using com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.newBuilder() + // Construct using + // com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1435,19 +1729,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_EnvironmentConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_EnvironmentConfig_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig + getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig build() { - com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig result = buildPartial(); + com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1456,7 +1753,8 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig buildPartial() { - com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig result = new com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig(this); + com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig result = + new com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig(this); result.gkeCluster_ = gkeCluster_; result.dagGcsPrefix_ = dagGcsPrefix_; result.nodeCount_ = nodeCount_; @@ -1515,46 +1813,52 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig) { - return mergeFrom((com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig)other); + if (other + instanceof com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig) { + return mergeFrom( + (com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig other) { - if (other == com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig other) { + if (other + == com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig + .getDefaultInstance()) return this; if (!other.getGkeCluster().isEmpty()) { gkeCluster_ = other.gkeCluster_; onChanged(); @@ -1619,7 +1923,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1631,18 +1937,20 @@ public Builder mergeFrom( private java.lang.Object gkeCluster_ = ""; /** + * + * *
              * Output only. The Kubernetes Engine cluster used to run this environment.
              * 
        * * string gke_cluster = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The gkeCluster. */ public java.lang.String getGkeCluster() { java.lang.Object ref = gkeCluster_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); gkeCluster_ = s; return s; @@ -1651,20 +1959,21 @@ public java.lang.String getGkeCluster() { } } /** + * + * *
              * Output only. The Kubernetes Engine cluster used to run this environment.
              * 
        * * string gke_cluster = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for gkeCluster. */ - public com.google.protobuf.ByteString - getGkeClusterBytes() { + public com.google.protobuf.ByteString getGkeClusterBytes() { java.lang.Object ref = gkeCluster_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); gkeCluster_ = b; return b; } else { @@ -1672,54 +1981,61 @@ public java.lang.String getGkeCluster() { } } /** + * + * *
              * Output only. The Kubernetes Engine cluster used to run this environment.
              * 
        * * string gke_cluster = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The gkeCluster to set. * @return This builder for chaining. */ - public Builder setGkeCluster( - java.lang.String value) { + public Builder setGkeCluster(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + gkeCluster_ = value; onChanged(); return this; } /** + * + * *
              * Output only. The Kubernetes Engine cluster used to run this environment.
              * 
        * * string gke_cluster = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearGkeCluster() { - + gkeCluster_ = getDefaultInstance().getGkeCluster(); onChanged(); return this; } /** + * + * *
              * Output only. The Kubernetes Engine cluster used to run this environment.
              * 
        * * string gke_cluster = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for gkeCluster to set. * @return This builder for chaining. */ - public Builder setGkeClusterBytes( - com.google.protobuf.ByteString value) { + public Builder setGkeClusterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + gkeCluster_ = value; onChanged(); return this; @@ -1727,6 +2043,8 @@ public Builder setGkeClusterBytes( private java.lang.Object dagGcsPrefix_ = ""; /** + * + * *
              * Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud
              * Storage objects reside in a flat namespace, a hierarchical file tree
        @@ -1735,13 +2053,13 @@ public Builder setGkeClusterBytes(
              * 
        * * string dag_gcs_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The dagGcsPrefix. */ public java.lang.String getDagGcsPrefix() { java.lang.Object ref = dagGcsPrefix_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dagGcsPrefix_ = s; return s; @@ -1750,6 +2068,8 @@ public java.lang.String getDagGcsPrefix() { } } /** + * + * *
              * Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud
              * Storage objects reside in a flat namespace, a hierarchical file tree
        @@ -1758,15 +2078,14 @@ public java.lang.String getDagGcsPrefix() {
              * 
        * * string dag_gcs_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for dagGcsPrefix. */ - public com.google.protobuf.ByteString - getDagGcsPrefixBytes() { + public com.google.protobuf.ByteString getDagGcsPrefixBytes() { java.lang.Object ref = dagGcsPrefix_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dagGcsPrefix_ = b; return b; } else { @@ -1774,6 +2093,8 @@ public java.lang.String getDagGcsPrefix() { } } /** + * + * *
              * Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud
              * Storage objects reside in a flat namespace, a hierarchical file tree
        @@ -1782,20 +2103,22 @@ public java.lang.String getDagGcsPrefix() {
              * 
        * * string dag_gcs_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The dagGcsPrefix to set. * @return This builder for chaining. */ - public Builder setDagGcsPrefix( - java.lang.String value) { + public Builder setDagGcsPrefix(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + dagGcsPrefix_ = value; onChanged(); return this; } /** + * + * *
              * Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud
              * Storage objects reside in a flat namespace, a hierarchical file tree
        @@ -1804,15 +2127,18 @@ public Builder setDagGcsPrefix(
              * 
        * * string dag_gcs_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearDagGcsPrefix() { - + dagGcsPrefix_ = getDefaultInstance().getDagGcsPrefix(); onChanged(); return this; } /** + * + * *
              * Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud
              * Storage objects reside in a flat namespace, a hierarchical file tree
        @@ -1821,29 +2147,32 @@ public Builder clearDagGcsPrefix() {
              * 
        * * string dag_gcs_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for dagGcsPrefix to set. * @return This builder for chaining. */ - public Builder setDagGcsPrefixBytes( - com.google.protobuf.ByteString value) { + public Builder setDagGcsPrefixBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + dagGcsPrefix_ = value; onChanged(); return this; } - private int nodeCount_ ; + private int nodeCount_; /** + * + * *
              * The number of nodes in the Kubernetes Engine cluster that will be
              * used to run this environment.
              * 
        * * int32 node_count = 3; + * * @return The nodeCount. */ @java.lang.Override @@ -1851,32 +2180,38 @@ public int getNodeCount() { return nodeCount_; } /** + * + * *
              * The number of nodes in the Kubernetes Engine cluster that will be
              * used to run this environment.
              * 
        * * int32 node_count = 3; + * * @param value The nodeCount to set. * @return This builder for chaining. */ public Builder setNodeCount(int value) { - + nodeCount_ = value; onChanged(); return this; } /** + * + * *
              * The number of nodes in the Kubernetes Engine cluster that will be
              * used to run this environment.
              * 
        * * int32 node_count = 3; + * * @return This builder for chaining. */ public Builder clearNodeCount() { - + nodeCount_ = 0; onChanged(); return this; @@ -1884,41 +2219,60 @@ public Builder clearNodeCount() { private com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig softwareConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig, com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfigOrBuilder> softwareConfigBuilder_; + com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig, + com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig.Builder, + com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfigOrBuilder> + softwareConfigBuilder_; /** + * + * *
              * The configuration settings for software inside the environment.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig software_config = 4; + * .google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig software_config = 4; + * + * * @return Whether the softwareConfig field is set. */ public boolean hasSoftwareConfig() { return softwareConfigBuilder_ != null || softwareConfig_ != null; } /** + * + * *
              * The configuration settings for software inside the environment.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig software_config = 4; + * .google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig software_config = 4; + * + * * @return The softwareConfig. */ - public com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig getSoftwareConfig() { + public com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig + getSoftwareConfig() { if (softwareConfigBuilder_ == null) { - return softwareConfig_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig.getDefaultInstance() : softwareConfig_; + return softwareConfig_ == null + ? com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig + .getDefaultInstance() + : softwareConfig_; } else { return softwareConfigBuilder_.getMessage(); } } /** + * + * *
              * The configuration settings for software inside the environment.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig software_config = 4; + * .google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig software_config = 4; + * */ - public Builder setSoftwareConfig(com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig value) { + public Builder setSoftwareConfig( + com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig value) { if (softwareConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1932,14 +2286,18 @@ public Builder setSoftwareConfig(com.google.cloud.orchestration.airflow.service. return this; } /** + * + * *
              * The configuration settings for software inside the environment.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig software_config = 4; + * .google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig software_config = 4; + * */ public Builder setSoftwareConfig( - com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig.Builder builderForValue) { + com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig.Builder + builderForValue) { if (softwareConfigBuilder_ == null) { softwareConfig_ = builderForValue.build(); onChanged(); @@ -1950,17 +2308,24 @@ public Builder setSoftwareConfig( return this; } /** + * + * *
              * The configuration settings for software inside the environment.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig software_config = 4; + * .google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig software_config = 4; + * */ - public Builder mergeSoftwareConfig(com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig value) { + public Builder mergeSoftwareConfig( + com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig value) { if (softwareConfigBuilder_ == null) { if (softwareConfig_ != null) { softwareConfig_ = - com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig.newBuilder(softwareConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig.newBuilder( + softwareConfig_) + .mergeFrom(value) + .buildPartial(); } else { softwareConfig_ = value; } @@ -1972,11 +2337,14 @@ public Builder mergeSoftwareConfig(com.google.cloud.orchestration.airflow.servic return this; } /** + * + * *
              * The configuration settings for software inside the environment.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig software_config = 4; + * .google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig software_config = 4; + * */ public Builder clearSoftwareConfig() { if (softwareConfigBuilder_ == null) { @@ -1990,48 +2358,64 @@ public Builder clearSoftwareConfig() { return this; } /** + * + * *
              * The configuration settings for software inside the environment.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig software_config = 4; + * .google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig software_config = 4; + * */ - public com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig.Builder getSoftwareConfigBuilder() { - + public com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig.Builder + getSoftwareConfigBuilder() { + onChanged(); return getSoftwareConfigFieldBuilder().getBuilder(); } /** + * + * *
              * The configuration settings for software inside the environment.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig software_config = 4; + * .google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig software_config = 4; + * */ - public com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfigOrBuilder getSoftwareConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfigOrBuilder + getSoftwareConfigOrBuilder() { if (softwareConfigBuilder_ != null) { return softwareConfigBuilder_.getMessageOrBuilder(); } else { - return softwareConfig_ == null ? - com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig.getDefaultInstance() : softwareConfig_; + return softwareConfig_ == null + ? com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig + .getDefaultInstance() + : softwareConfig_; } } /** + * + * *
              * The configuration settings for software inside the environment.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig software_config = 4; + * .google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig software_config = 4; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig, com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfigOrBuilder> + com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig, + com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig.Builder, + com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfigOrBuilder> getSoftwareConfigFieldBuilder() { if (softwareConfigBuilder_ == null) { - softwareConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig, com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfigOrBuilder>( - getSoftwareConfig(), - getParentForChildren(), - isClean()); + softwareConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig, + com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig.Builder, + com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfigOrBuilder>( + getSoftwareConfig(), getParentForChildren(), isClean()); softwareConfig_ = null; } return softwareConfigBuilder_; @@ -2039,41 +2423,55 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfigOrBu private com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig nodeConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig, com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfigOrBuilder> nodeConfigBuilder_; + com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig, + com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig.Builder, + com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfigOrBuilder> + nodeConfigBuilder_; /** + * + * *
              * The configuration used for the Kubernetes Engine cluster.
              * 
        * * .google.cloud.orchestration.airflow.service.v1beta1.NodeConfig node_config = 5; + * * @return Whether the nodeConfig field is set. */ public boolean hasNodeConfig() { return nodeConfigBuilder_ != null || nodeConfig_ != null; } /** + * + * *
              * The configuration used for the Kubernetes Engine cluster.
              * 
        * * .google.cloud.orchestration.airflow.service.v1beta1.NodeConfig node_config = 5; + * * @return The nodeConfig. */ public com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig getNodeConfig() { if (nodeConfigBuilder_ == null) { - return nodeConfig_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig.getDefaultInstance() : nodeConfig_; + return nodeConfig_ == null + ? com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig.getDefaultInstance() + : nodeConfig_; } else { return nodeConfigBuilder_.getMessage(); } } /** + * + * *
              * The configuration used for the Kubernetes Engine cluster.
              * 
        * * .google.cloud.orchestration.airflow.service.v1beta1.NodeConfig node_config = 5; */ - public Builder setNodeConfig(com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig value) { + public Builder setNodeConfig( + com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig value) { if (nodeConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2087,6 +2485,8 @@ public Builder setNodeConfig(com.google.cloud.orchestration.airflow.service.v1be return this; } /** + * + * *
              * The configuration used for the Kubernetes Engine cluster.
              * 
        @@ -2105,17 +2505,23 @@ public Builder setNodeConfig( return this; } /** + * + * *
              * The configuration used for the Kubernetes Engine cluster.
              * 
        * * .google.cloud.orchestration.airflow.service.v1beta1.NodeConfig node_config = 5; */ - public Builder mergeNodeConfig(com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig value) { + public Builder mergeNodeConfig( + com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig value) { if (nodeConfigBuilder_ == null) { if (nodeConfig_ != null) { nodeConfig_ = - com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig.newBuilder(nodeConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig.newBuilder( + nodeConfig_) + .mergeFrom(value) + .buildPartial(); } else { nodeConfig_ = value; } @@ -2127,6 +2533,8 @@ public Builder mergeNodeConfig(com.google.cloud.orchestration.airflow.service.v1 return this; } /** + * + * *
              * The configuration used for the Kubernetes Engine cluster.
              * 
        @@ -2145,33 +2553,42 @@ public Builder clearNodeConfig() { return this; } /** + * + * *
              * The configuration used for the Kubernetes Engine cluster.
              * 
        * * .google.cloud.orchestration.airflow.service.v1beta1.NodeConfig node_config = 5; */ - public com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig.Builder getNodeConfigBuilder() { - + public com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig.Builder + getNodeConfigBuilder() { + onChanged(); return getNodeConfigFieldBuilder().getBuilder(); } /** + * + * *
              * The configuration used for the Kubernetes Engine cluster.
              * 
        * * .google.cloud.orchestration.airflow.service.v1beta1.NodeConfig node_config = 5; */ - public com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfigOrBuilder getNodeConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfigOrBuilder + getNodeConfigOrBuilder() { if (nodeConfigBuilder_ != null) { return nodeConfigBuilder_.getMessageOrBuilder(); } else { - return nodeConfig_ == null ? - com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig.getDefaultInstance() : nodeConfig_; + return nodeConfig_ == null + ? com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig.getDefaultInstance() + : nodeConfig_; } } /** + * + * *
              * The configuration used for the Kubernetes Engine cluster.
              * 
        @@ -2179,56 +2596,83 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfigOrBuilde * .google.cloud.orchestration.airflow.service.v1beta1.NodeConfig node_config = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig, com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfigOrBuilder> + com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig, + com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig.Builder, + com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfigOrBuilder> getNodeConfigFieldBuilder() { if (nodeConfigBuilder_ == null) { - nodeConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig, com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfigOrBuilder>( - getNodeConfig(), - getParentForChildren(), - isClean()); + nodeConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig, + com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig.Builder, + com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfigOrBuilder>( + getNodeConfig(), getParentForChildren(), isClean()); nodeConfig_ = null; } return nodeConfigBuilder_; } - private com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig privateEnvironmentConfig_; + private com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig + privateEnvironmentConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig, com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfigOrBuilder> privateEnvironmentConfigBuilder_; + com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig, + com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig.Builder, + com.google.cloud.orchestration.airflow.service.v1beta1 + .PrivateEnvironmentConfigOrBuilder> + privateEnvironmentConfigBuilder_; /** + * + * *
              * The configuration used for the Private IP Cloud Composer environment.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig private_environment_config = 7; + * + * .google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig private_environment_config = 7; + * + * * @return Whether the privateEnvironmentConfig field is set. */ public boolean hasPrivateEnvironmentConfig() { return privateEnvironmentConfigBuilder_ != null || privateEnvironmentConfig_ != null; } /** + * + * *
              * The configuration used for the Private IP Cloud Composer environment.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig private_environment_config = 7; + * + * .google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig private_environment_config = 7; + * + * * @return The privateEnvironmentConfig. */ - public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig getPrivateEnvironmentConfig() { + public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig + getPrivateEnvironmentConfig() { if (privateEnvironmentConfigBuilder_ == null) { - return privateEnvironmentConfig_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig.getDefaultInstance() : privateEnvironmentConfig_; + return privateEnvironmentConfig_ == null + ? com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig + .getDefaultInstance() + : privateEnvironmentConfig_; } else { return privateEnvironmentConfigBuilder_.getMessage(); } } /** + * + * *
              * The configuration used for the Private IP Cloud Composer environment.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig private_environment_config = 7; + * + * .google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig private_environment_config = 7; + * */ - public Builder setPrivateEnvironmentConfig(com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig value) { + public Builder setPrivateEnvironmentConfig( + com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig value) { if (privateEnvironmentConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2242,14 +2686,19 @@ public Builder setPrivateEnvironmentConfig(com.google.cloud.orchestration.airflo return this; } /** + * + * *
              * The configuration used for the Private IP Cloud Composer environment.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig private_environment_config = 7; + * + * .google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig private_environment_config = 7; + * */ public Builder setPrivateEnvironmentConfig( - com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig.Builder builderForValue) { + com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig.Builder + builderForValue) { if (privateEnvironmentConfigBuilder_ == null) { privateEnvironmentConfig_ = builderForValue.build(); onChanged(); @@ -2260,17 +2709,25 @@ public Builder setPrivateEnvironmentConfig( return this; } /** + * + * *
              * The configuration used for the Private IP Cloud Composer environment.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig private_environment_config = 7; + * + * .google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig private_environment_config = 7; + * */ - public Builder mergePrivateEnvironmentConfig(com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig value) { + public Builder mergePrivateEnvironmentConfig( + com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig value) { if (privateEnvironmentConfigBuilder_ == null) { if (privateEnvironmentConfig_ != null) { privateEnvironmentConfig_ = - com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig.newBuilder(privateEnvironmentConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig + .newBuilder(privateEnvironmentConfig_) + .mergeFrom(value) + .buildPartial(); } else { privateEnvironmentConfig_ = value; } @@ -2282,11 +2739,15 @@ public Builder mergePrivateEnvironmentConfig(com.google.cloud.orchestration.airf return this; } /** + * + * *
              * The configuration used for the Private IP Cloud Composer environment.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig private_environment_config = 7; + * + * .google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig private_environment_config = 7; + * */ public Builder clearPrivateEnvironmentConfig() { if (privateEnvironmentConfigBuilder_ == null) { @@ -2300,93 +2761,142 @@ public Builder clearPrivateEnvironmentConfig() { return this; } /** + * + * *
              * The configuration used for the Private IP Cloud Composer environment.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig private_environment_config = 7; + * + * .google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig private_environment_config = 7; + * */ - public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig.Builder getPrivateEnvironmentConfigBuilder() { - + public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig.Builder + getPrivateEnvironmentConfigBuilder() { + onChanged(); return getPrivateEnvironmentConfigFieldBuilder().getBuilder(); } /** + * + * *
              * The configuration used for the Private IP Cloud Composer environment.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig private_environment_config = 7; + * + * .google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig private_environment_config = 7; + * */ - public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfigOrBuilder getPrivateEnvironmentConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfigOrBuilder + getPrivateEnvironmentConfigOrBuilder() { if (privateEnvironmentConfigBuilder_ != null) { return privateEnvironmentConfigBuilder_.getMessageOrBuilder(); } else { - return privateEnvironmentConfig_ == null ? - com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig.getDefaultInstance() : privateEnvironmentConfig_; + return privateEnvironmentConfig_ == null + ? com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig + .getDefaultInstance() + : privateEnvironmentConfig_; } } /** + * + * *
              * The configuration used for the Private IP Cloud Composer environment.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig private_environment_config = 7; + * + * .google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig private_environment_config = 7; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig, com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfigOrBuilder> + com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig, + com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig.Builder, + com.google.cloud.orchestration.airflow.service.v1beta1 + .PrivateEnvironmentConfigOrBuilder> getPrivateEnvironmentConfigFieldBuilder() { if (privateEnvironmentConfigBuilder_ == null) { - privateEnvironmentConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig, com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfigOrBuilder>( - getPrivateEnvironmentConfig(), - getParentForChildren(), - isClean()); + privateEnvironmentConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig, + com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig + .Builder, + com.google.cloud.orchestration.airflow.service.v1beta1 + .PrivateEnvironmentConfigOrBuilder>( + getPrivateEnvironmentConfig(), getParentForChildren(), isClean()); privateEnvironmentConfig_ = null; } return privateEnvironmentConfigBuilder_; } - private com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl webServerNetworkAccessControl_; + private com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + webServerNetworkAccessControl_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl, com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControlOrBuilder> webServerNetworkAccessControlBuilder_; + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl, + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .Builder, + com.google.cloud.orchestration.airflow.service.v1beta1 + .WebServerNetworkAccessControlOrBuilder> + webServerNetworkAccessControlBuilder_; /** + * + * *
              * Optional. The network-level access control policy for the Airflow web server. If
              * unspecified, no network-level access restrictions will be applied.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the webServerNetworkAccessControl field is set. */ public boolean hasWebServerNetworkAccessControl() { - return webServerNetworkAccessControlBuilder_ != null || webServerNetworkAccessControl_ != null; + return webServerNetworkAccessControlBuilder_ != null + || webServerNetworkAccessControl_ != null; } /** + * + * *
              * Optional. The network-level access control policy for the Airflow web server. If
              * unspecified, no network-level access restrictions will be applied.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The webServerNetworkAccessControl. */ - public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl getWebServerNetworkAccessControl() { + public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + getWebServerNetworkAccessControl() { if (webServerNetworkAccessControlBuilder_ == null) { - return webServerNetworkAccessControl_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.getDefaultInstance() : webServerNetworkAccessControl_; + return webServerNetworkAccessControl_ == null + ? com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .getDefaultInstance() + : webServerNetworkAccessControl_; } else { return webServerNetworkAccessControlBuilder_.getMessage(); } } /** + * + * *
              * Optional. The network-level access control policy for the Airflow web server. If
              * unspecified, no network-level access restrictions will be applied.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setWebServerNetworkAccessControl(com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl value) { + public Builder setWebServerNetworkAccessControl( + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + value) { if (webServerNetworkAccessControlBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2400,15 +2910,20 @@ public Builder setWebServerNetworkAccessControl(com.google.cloud.orchestration.a return this; } /** + * + * *
              * Optional. The network-level access control policy for the Airflow web server. If
              * unspecified, no network-level access restrictions will be applied.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setWebServerNetworkAccessControl( - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.Builder builderForValue) { + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.Builder + builderForValue) { if (webServerNetworkAccessControlBuilder_ == null) { webServerNetworkAccessControl_ = builderForValue.build(); onChanged(); @@ -2419,18 +2934,27 @@ public Builder setWebServerNetworkAccessControl( return this; } /** + * + * *
              * Optional. The network-level access control policy for the Airflow web server. If
              * unspecified, no network-level access restrictions will be applied.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeWebServerNetworkAccessControl(com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl value) { + public Builder mergeWebServerNetworkAccessControl( + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + value) { if (webServerNetworkAccessControlBuilder_ == null) { if (webServerNetworkAccessControl_ != null) { webServerNetworkAccessControl_ = - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.newBuilder(webServerNetworkAccessControl_).mergeFrom(value).buildPartial(); + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .newBuilder(webServerNetworkAccessControl_) + .mergeFrom(value) + .buildPartial(); } else { webServerNetworkAccessControl_ = value; } @@ -2442,12 +2966,16 @@ public Builder mergeWebServerNetworkAccessControl(com.google.cloud.orchestration return this; } /** + * + * *
              * Optional. The network-level access control policy for the Airflow web server. If
              * unspecified, no network-level access restrictions will be applied.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearWebServerNetworkAccessControl() { if (webServerNetworkAccessControlBuilder_ == null) { @@ -2461,51 +2989,77 @@ public Builder clearWebServerNetworkAccessControl() { return this; } /** + * + * *
              * Optional. The network-level access control policy for the Airflow web server. If
              * unspecified, no network-level access restrictions will be applied.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.Builder getWebServerNetworkAccessControlBuilder() { - + public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .Builder + getWebServerNetworkAccessControlBuilder() { + onChanged(); return getWebServerNetworkAccessControlFieldBuilder().getBuilder(); } /** + * + * *
              * Optional. The network-level access control policy for the Airflow web server. If
              * unspecified, no network-level access restrictions will be applied.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControlOrBuilder getWebServerNetworkAccessControlOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1beta1 + .WebServerNetworkAccessControlOrBuilder + getWebServerNetworkAccessControlOrBuilder() { if (webServerNetworkAccessControlBuilder_ != null) { return webServerNetworkAccessControlBuilder_.getMessageOrBuilder(); } else { - return webServerNetworkAccessControl_ == null ? - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.getDefaultInstance() : webServerNetworkAccessControl_; + return webServerNetworkAccessControl_ == null + ? com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .getDefaultInstance() + : webServerNetworkAccessControl_; } } /** + * + * *
              * Optional. The network-level access control policy for the Airflow web server. If
              * unspecified, no network-level access restrictions will be applied.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl, com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControlOrBuilder> + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl, + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .Builder, + com.google.cloud.orchestration.airflow.service.v1beta1 + .WebServerNetworkAccessControlOrBuilder> getWebServerNetworkAccessControlFieldBuilder() { if (webServerNetworkAccessControlBuilder_ == null) { - webServerNetworkAccessControlBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl, com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControlOrBuilder>( - getWebServerNetworkAccessControl(), - getParentForChildren(), - isClean()); + webServerNetworkAccessControlBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.orchestration.airflow.service.v1beta1 + .WebServerNetworkAccessControl, + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .Builder, + com.google.cloud.orchestration.airflow.service.v1beta1 + .WebServerNetworkAccessControlOrBuilder>( + getWebServerNetworkAccessControl(), getParentForChildren(), isClean()); webServerNetworkAccessControl_ = null; } return webServerNetworkAccessControlBuilder_; @@ -2513,44 +3067,66 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAc private com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig databaseConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig, com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfigOrBuilder> databaseConfigBuilder_; + com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig, + com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig.Builder, + com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfigOrBuilder> + databaseConfigBuilder_; /** + * + * *
              * Optional. The configuration settings for Cloud SQL instance used internally by Apache
              * Airflow software.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig database_config = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig database_config = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the databaseConfig field is set. */ public boolean hasDatabaseConfig() { return databaseConfigBuilder_ != null || databaseConfig_ != null; } /** + * + * *
              * Optional. The configuration settings for Cloud SQL instance used internally by Apache
              * Airflow software.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig database_config = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig database_config = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The databaseConfig. */ - public com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig getDatabaseConfig() { + public com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig + getDatabaseConfig() { if (databaseConfigBuilder_ == null) { - return databaseConfig_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig.getDefaultInstance() : databaseConfig_; + return databaseConfig_ == null + ? com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig + .getDefaultInstance() + : databaseConfig_; } else { return databaseConfigBuilder_.getMessage(); } } /** + * + * *
              * Optional. The configuration settings for Cloud SQL instance used internally by Apache
              * Airflow software.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig database_config = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig database_config = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setDatabaseConfig(com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig value) { + public Builder setDatabaseConfig( + com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig value) { if (databaseConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2564,15 +3140,20 @@ public Builder setDatabaseConfig(com.google.cloud.orchestration.airflow.service. return this; } /** + * + * *
              * Optional. The configuration settings for Cloud SQL instance used internally by Apache
              * Airflow software.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig database_config = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig database_config = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setDatabaseConfig( - com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig.Builder builderForValue) { + com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig.Builder + builderForValue) { if (databaseConfigBuilder_ == null) { databaseConfig_ = builderForValue.build(); onChanged(); @@ -2583,18 +3164,26 @@ public Builder setDatabaseConfig( return this; } /** + * + * *
              * Optional. The configuration settings for Cloud SQL instance used internally by Apache
              * Airflow software.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig database_config = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig database_config = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeDatabaseConfig(com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig value) { + public Builder mergeDatabaseConfig( + com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig value) { if (databaseConfigBuilder_ == null) { if (databaseConfig_ != null) { databaseConfig_ = - com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig.newBuilder(databaseConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig.newBuilder( + databaseConfig_) + .mergeFrom(value) + .buildPartial(); } else { databaseConfig_ = value; } @@ -2606,12 +3195,16 @@ public Builder mergeDatabaseConfig(com.google.cloud.orchestration.airflow.servic return this; } /** + * + * *
              * Optional. The configuration settings for Cloud SQL instance used internally by Apache
              * Airflow software.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig database_config = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig database_config = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearDatabaseConfig() { if (databaseConfigBuilder_ == null) { @@ -2625,51 +3218,70 @@ public Builder clearDatabaseConfig() { return this; } /** + * + * *
              * Optional. The configuration settings for Cloud SQL instance used internally by Apache
              * Airflow software.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig database_config = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig database_config = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig.Builder getDatabaseConfigBuilder() { - + public com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig.Builder + getDatabaseConfigBuilder() { + onChanged(); return getDatabaseConfigFieldBuilder().getBuilder(); } /** + * + * *
              * Optional. The configuration settings for Cloud SQL instance used internally by Apache
              * Airflow software.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig database_config = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig database_config = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfigOrBuilder getDatabaseConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfigOrBuilder + getDatabaseConfigOrBuilder() { if (databaseConfigBuilder_ != null) { return databaseConfigBuilder_.getMessageOrBuilder(); } else { - return databaseConfig_ == null ? - com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig.getDefaultInstance() : databaseConfig_; + return databaseConfig_ == null + ? com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig + .getDefaultInstance() + : databaseConfig_; } } /** + * + * *
              * Optional. The configuration settings for Cloud SQL instance used internally by Apache
              * Airflow software.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig database_config = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig database_config = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig, com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfigOrBuilder> + com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig, + com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig.Builder, + com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfigOrBuilder> getDatabaseConfigFieldBuilder() { if (databaseConfigBuilder_ == null) { - databaseConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig, com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfigOrBuilder>( - getDatabaseConfig(), - getParentForChildren(), - isClean()); + databaseConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig, + com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig.Builder, + com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfigOrBuilder>( + getDatabaseConfig(), getParentForChildren(), isClean()); databaseConfig_ = null; } return databaseConfigBuilder_; @@ -2677,41 +3289,63 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfigOrBu private com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig webServerConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig, com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfigOrBuilder> webServerConfigBuilder_; + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig, + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig.Builder, + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfigOrBuilder> + webServerConfigBuilder_; /** + * + * *
              * Optional. The configuration settings for the Airflow web server App Engine instance.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig web_server_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig web_server_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the webServerConfig field is set. */ public boolean hasWebServerConfig() { return webServerConfigBuilder_ != null || webServerConfig_ != null; } /** + * + * *
              * Optional. The configuration settings for the Airflow web server App Engine instance.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig web_server_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig web_server_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The webServerConfig. */ - public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig getWebServerConfig() { + public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig + getWebServerConfig() { if (webServerConfigBuilder_ == null) { - return webServerConfig_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig.getDefaultInstance() : webServerConfig_; + return webServerConfig_ == null + ? com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig + .getDefaultInstance() + : webServerConfig_; } else { return webServerConfigBuilder_.getMessage(); } } /** + * + * *
              * Optional. The configuration settings for the Airflow web server App Engine instance.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig web_server_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig web_server_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setWebServerConfig(com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig value) { + public Builder setWebServerConfig( + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig value) { if (webServerConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2725,14 +3359,19 @@ public Builder setWebServerConfig(com.google.cloud.orchestration.airflow.service return this; } /** + * + * *
              * Optional. The configuration settings for the Airflow web server App Engine instance.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig web_server_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig web_server_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setWebServerConfig( - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig.Builder builderForValue) { + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig.Builder + builderForValue) { if (webServerConfigBuilder_ == null) { webServerConfig_ = builderForValue.build(); onChanged(); @@ -2743,17 +3382,25 @@ public Builder setWebServerConfig( return this; } /** + * + * *
              * Optional. The configuration settings for the Airflow web server App Engine instance.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig web_server_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig web_server_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeWebServerConfig(com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig value) { + public Builder mergeWebServerConfig( + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig value) { if (webServerConfigBuilder_ == null) { if (webServerConfig_ != null) { webServerConfig_ = - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig.newBuilder(webServerConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig.newBuilder( + webServerConfig_) + .mergeFrom(value) + .buildPartial(); } else { webServerConfig_ = value; } @@ -2765,11 +3412,15 @@ public Builder mergeWebServerConfig(com.google.cloud.orchestration.airflow.servi return this; } /** + * + * *
              * Optional. The configuration settings for the Airflow web server App Engine instance.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig web_server_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig web_server_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearWebServerConfig() { if (webServerConfigBuilder_ == null) { @@ -2783,48 +3434,67 @@ public Builder clearWebServerConfig() { return this; } /** + * + * *
              * Optional. The configuration settings for the Airflow web server App Engine instance.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig web_server_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig web_server_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig.Builder getWebServerConfigBuilder() { - + public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig.Builder + getWebServerConfigBuilder() { + onChanged(); return getWebServerConfigFieldBuilder().getBuilder(); } /** + * + * *
              * Optional. The configuration settings for the Airflow web server App Engine instance.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig web_server_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig web_server_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfigOrBuilder getWebServerConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfigOrBuilder + getWebServerConfigOrBuilder() { if (webServerConfigBuilder_ != null) { return webServerConfigBuilder_.getMessageOrBuilder(); } else { - return webServerConfig_ == null ? - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig.getDefaultInstance() : webServerConfig_; + return webServerConfig_ == null + ? com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig + .getDefaultInstance() + : webServerConfig_; } } /** + * + * *
              * Optional. The configuration settings for the Airflow web server App Engine instance.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig web_server_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig web_server_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig, com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfigOrBuilder> + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig, + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig.Builder, + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfigOrBuilder> getWebServerConfigFieldBuilder() { if (webServerConfigBuilder_ == null) { - webServerConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig, com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfigOrBuilder>( - getWebServerConfig(), - getParentForChildren(), - isClean()); + webServerConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig, + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig.Builder, + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfigOrBuilder>( + getWebServerConfig(), getParentForChildren(), isClean()); webServerConfig_ = null; } return webServerConfigBuilder_; @@ -2832,6 +3502,8 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfigOrB private java.lang.Object airflowUri_ = ""; /** + * + * *
              * Output only. The URI of the Apache Airflow Web UI hosted within this environment (see
              * [Airflow web
        @@ -2839,13 +3511,13 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfigOrB
              * 
        * * string airflow_uri = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The airflowUri. */ public java.lang.String getAirflowUri() { java.lang.Object ref = airflowUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); airflowUri_ = s; return s; @@ -2854,6 +3526,8 @@ public java.lang.String getAirflowUri() { } } /** + * + * *
              * Output only. The URI of the Apache Airflow Web UI hosted within this environment (see
              * [Airflow web
        @@ -2861,15 +3535,14 @@ public java.lang.String getAirflowUri() {
              * 
        * * string airflow_uri = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for airflowUri. */ - public com.google.protobuf.ByteString - getAirflowUriBytes() { + public com.google.protobuf.ByteString getAirflowUriBytes() { java.lang.Object ref = airflowUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); airflowUri_ = b; return b; } else { @@ -2877,6 +3550,8 @@ public java.lang.String getAirflowUri() { } } /** + * + * *
              * Output only. The URI of the Apache Airflow Web UI hosted within this environment (see
              * [Airflow web
        @@ -2884,20 +3559,22 @@ public java.lang.String getAirflowUri() {
              * 
        * * string airflow_uri = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The airflowUri to set. * @return This builder for chaining. */ - public Builder setAirflowUri( - java.lang.String value) { + public Builder setAirflowUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + airflowUri_ = value; onChanged(); return this; } /** + * + * *
              * Output only. The URI of the Apache Airflow Web UI hosted within this environment (see
              * [Airflow web
        @@ -2905,15 +3582,18 @@ public Builder setAirflowUri(
              * 
        * * string airflow_uri = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearAirflowUri() { - + airflowUri_ = getDefaultInstance().getAirflowUri(); onChanged(); return this; } /** + * + * *
              * Output only. The URI of the Apache Airflow Web UI hosted within this environment (see
              * [Airflow web
        @@ -2921,61 +3601,84 @@ public Builder clearAirflowUri() {
              * 
        * * string airflow_uri = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for airflowUri to set. * @return This builder for chaining. */ - public Builder setAirflowUriBytes( - com.google.protobuf.ByteString value) { + public Builder setAirflowUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + airflowUri_ = value; onChanged(); return this; } - private com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig encryptionConfig_; + private com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig + encryptionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig, com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfigOrBuilder> encryptionConfigBuilder_; + com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig, + com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig.Builder, + com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfigOrBuilder> + encryptionConfigBuilder_; /** + * + * *
              * Optional. The encryption options for the Cloud Composer environment and its
              * dependencies. Cannot be updated.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the encryptionConfig field is set. */ public boolean hasEncryptionConfig() { return encryptionConfigBuilder_ != null || encryptionConfig_ != null; } /** + * + * *
              * Optional. The encryption options for the Cloud Composer environment and its
              * dependencies. Cannot be updated.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The encryptionConfig. */ - public com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig getEncryptionConfig() { + public com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig + getEncryptionConfig() { if (encryptionConfigBuilder_ == null) { - return encryptionConfig_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig.getDefaultInstance() : encryptionConfig_; + return encryptionConfig_ == null + ? com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig + .getDefaultInstance() + : encryptionConfig_; } else { return encryptionConfigBuilder_.getMessage(); } } /** + * + * *
              * Optional. The encryption options for the Cloud Composer environment and its
              * dependencies. Cannot be updated.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setEncryptionConfig(com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig value) { + public Builder setEncryptionConfig( + com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig value) { if (encryptionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2989,15 +3692,20 @@ public Builder setEncryptionConfig(com.google.cloud.orchestration.airflow.servic return this; } /** + * + * *
              * Optional. The encryption options for the Cloud Composer environment and its
              * dependencies. Cannot be updated.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setEncryptionConfig( - com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig.Builder builderForValue) { + com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig.Builder + builderForValue) { if (encryptionConfigBuilder_ == null) { encryptionConfig_ = builderForValue.build(); onChanged(); @@ -3008,18 +3716,26 @@ public Builder setEncryptionConfig( return this; } /** + * + * *
              * Optional. The encryption options for the Cloud Composer environment and its
              * dependencies. Cannot be updated.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeEncryptionConfig(com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig value) { + public Builder mergeEncryptionConfig( + com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig value) { if (encryptionConfigBuilder_ == null) { if (encryptionConfig_ != null) { encryptionConfig_ = - com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig.newBuilder(encryptionConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig.newBuilder( + encryptionConfig_) + .mergeFrom(value) + .buildPartial(); } else { encryptionConfig_ = value; } @@ -3031,12 +3747,16 @@ public Builder mergeEncryptionConfig(com.google.cloud.orchestration.airflow.serv return this; } /** + * + * *
              * Optional. The encryption options for the Cloud Composer environment and its
              * dependencies. Cannot be updated.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearEncryptionConfig() { if (encryptionConfigBuilder_ == null) { @@ -3050,60 +3770,85 @@ public Builder clearEncryptionConfig() { return this; } /** + * + * *
              * Optional. The encryption options for the Cloud Composer environment and its
              * dependencies. Cannot be updated.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig.Builder getEncryptionConfigBuilder() { - + public com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig.Builder + getEncryptionConfigBuilder() { + onChanged(); return getEncryptionConfigFieldBuilder().getBuilder(); } /** + * + * *
              * Optional. The encryption options for the Cloud Composer environment and its
              * dependencies. Cannot be updated.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfigOrBuilder + getEncryptionConfigOrBuilder() { if (encryptionConfigBuilder_ != null) { return encryptionConfigBuilder_.getMessageOrBuilder(); } else { - return encryptionConfig_ == null ? - com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig.getDefaultInstance() : encryptionConfig_; + return encryptionConfig_ == null + ? com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig + .getDefaultInstance() + : encryptionConfig_; } } /** + * + * *
              * Optional. The encryption options for the Cloud Composer environment and its
              * dependencies. Cannot be updated.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig, com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfigOrBuilder> + com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig, + com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig.Builder, + com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfigOrBuilder> getEncryptionConfigFieldBuilder() { if (encryptionConfigBuilder_ == null) { - encryptionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig, com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfigOrBuilder>( - getEncryptionConfig(), - getParentForChildren(), - isClean()); + encryptionConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig, + com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig.Builder, + com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfigOrBuilder>( + getEncryptionConfig(), getParentForChildren(), isClean()); encryptionConfig_ = null; } return encryptionConfigBuilder_; } - private com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenanceWindow_; + private com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow + maintenanceWindow_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow, com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindowOrBuilder> maintenanceWindowBuilder_; + com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow, + com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow.Builder, + com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindowOrBuilder> + maintenanceWindowBuilder_; /** + * + * *
              * Optional. The maintenance window is the period when Cloud Composer components may
              * undergo maintenance. It is defined so that maintenance is not executed
        @@ -3118,13 +3863,18 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfigOr
              * maintenance at any time.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the maintenanceWindow field is set. */ public boolean hasMaintenanceWindow() { return maintenanceWindowBuilder_ != null || maintenanceWindow_ != null; } /** + * + * *
              * Optional. The maintenance window is the period when Cloud Composer components may
              * undergo maintenance. It is defined so that maintenance is not executed
        @@ -3139,17 +3889,26 @@ public boolean hasMaintenanceWindow() {
              * maintenance at any time.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The maintenanceWindow. */ - public com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow getMaintenanceWindow() { + public com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow + getMaintenanceWindow() { if (maintenanceWindowBuilder_ == null) { - return maintenanceWindow_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow.getDefaultInstance() : maintenanceWindow_; + return maintenanceWindow_ == null + ? com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow + .getDefaultInstance() + : maintenanceWindow_; } else { return maintenanceWindowBuilder_.getMessage(); } } /** + * + * *
              * Optional. The maintenance window is the period when Cloud Composer components may
              * undergo maintenance. It is defined so that maintenance is not executed
        @@ -3164,9 +3923,12 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow
              * maintenance at any time.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setMaintenanceWindow(com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow value) { + public Builder setMaintenanceWindow( + com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow value) { if (maintenanceWindowBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3180,6 +3942,8 @@ public Builder setMaintenanceWindow(com.google.cloud.orchestration.airflow.servi return this; } /** + * + * *
              * Optional. The maintenance window is the period when Cloud Composer components may
              * undergo maintenance. It is defined so that maintenance is not executed
        @@ -3194,10 +3958,13 @@ public Builder setMaintenanceWindow(com.google.cloud.orchestration.airflow.servi
              * maintenance at any time.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setMaintenanceWindow( - com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow.Builder builderForValue) { + com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow.Builder + builderForValue) { if (maintenanceWindowBuilder_ == null) { maintenanceWindow_ = builderForValue.build(); onChanged(); @@ -3208,6 +3975,8 @@ public Builder setMaintenanceWindow( return this; } /** + * + * *
              * Optional. The maintenance window is the period when Cloud Composer components may
              * undergo maintenance. It is defined so that maintenance is not executed
        @@ -3222,13 +3991,19 @@ public Builder setMaintenanceWindow(
              * maintenance at any time.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeMaintenanceWindow(com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow value) { + public Builder mergeMaintenanceWindow( + com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow value) { if (maintenanceWindowBuilder_ == null) { if (maintenanceWindow_ != null) { maintenanceWindow_ = - com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow.newBuilder(maintenanceWindow_).mergeFrom(value).buildPartial(); + com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow.newBuilder( + maintenanceWindow_) + .mergeFrom(value) + .buildPartial(); } else { maintenanceWindow_ = value; } @@ -3240,6 +4015,8 @@ public Builder mergeMaintenanceWindow(com.google.cloud.orchestration.airflow.ser return this; } /** + * + * *
              * Optional. The maintenance window is the period when Cloud Composer components may
              * undergo maintenance. It is defined so that maintenance is not executed
        @@ -3254,7 +4031,9 @@ public Builder mergeMaintenanceWindow(com.google.cloud.orchestration.airflow.ser
              * maintenance at any time.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearMaintenanceWindow() { if (maintenanceWindowBuilder_ == null) { @@ -3268,6 +4047,8 @@ public Builder clearMaintenanceWindow() { return this; } /** + * + * *
              * Optional. The maintenance window is the period when Cloud Composer components may
              * undergo maintenance. It is defined so that maintenance is not executed
        @@ -3282,14 +4063,19 @@ public Builder clearMaintenanceWindow() {
              * maintenance at any time.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow.Builder getMaintenanceWindowBuilder() { - + public com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow.Builder + getMaintenanceWindowBuilder() { + onChanged(); return getMaintenanceWindowFieldBuilder().getBuilder(); } /** + * + * *
              * Optional. The maintenance window is the period when Cloud Composer components may
              * undergo maintenance. It is defined so that maintenance is not executed
        @@ -3304,17 +4090,24 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow.
              * maintenance at any time.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindowOrBuilder getMaintenanceWindowOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindowOrBuilder + getMaintenanceWindowOrBuilder() { if (maintenanceWindowBuilder_ != null) { return maintenanceWindowBuilder_.getMessageOrBuilder(); } else { - return maintenanceWindow_ == null ? - com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow.getDefaultInstance() : maintenanceWindow_; + return maintenanceWindow_ == null + ? com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow + .getDefaultInstance() + : maintenanceWindow_; } } /** + * + * *
              * Optional. The maintenance window is the period when Cloud Composer components may
              * undergo maintenance. It is defined so that maintenance is not executed
        @@ -3329,17 +4122,22 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindowO
              * maintenance at any time.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow, com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindowOrBuilder> + com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow, + com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow.Builder, + com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindowOrBuilder> getMaintenanceWindowFieldBuilder() { if (maintenanceWindowBuilder_ == null) { - maintenanceWindowBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow, com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindowOrBuilder>( - getMaintenanceWindow(), - getParentForChildren(), - isClean()); + maintenanceWindowBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow, + com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow.Builder, + com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindowOrBuilder>( + getMaintenanceWindow(), getParentForChildren(), isClean()); maintenanceWindow_ = null; } return maintenanceWindowBuilder_; @@ -3347,8 +4145,13 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindowO private com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloadsConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig, com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfigOrBuilder> workloadsConfigBuilder_; + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig, + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.Builder, + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfigOrBuilder> + workloadsConfigBuilder_; /** + * + * *
              * Optional. The workloads configuration settings for the GKE cluster associated with
              * the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web
        @@ -3357,13 +4160,18 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindowO
              * composer-2.*.*-airflow-*.*.* and newer.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the workloadsConfig field is set. */ public boolean hasWorkloadsConfig() { return workloadsConfigBuilder_ != null || workloadsConfig_ != null; } /** + * + * *
              * Optional. The workloads configuration settings for the GKE cluster associated with
              * the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web
        @@ -3372,17 +4180,26 @@ public boolean hasWorkloadsConfig() {
              * composer-2.*.*-airflow-*.*.* and newer.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The workloadsConfig. */ - public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig getWorkloadsConfig() { + public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + getWorkloadsConfig() { if (workloadsConfigBuilder_ == null) { - return workloadsConfig_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.getDefaultInstance() : workloadsConfig_; + return workloadsConfig_ == null + ? com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .getDefaultInstance() + : workloadsConfig_; } else { return workloadsConfigBuilder_.getMessage(); } } /** + * + * *
              * Optional. The workloads configuration settings for the GKE cluster associated with
              * the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web
        @@ -3391,9 +4208,12 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig ge
              * composer-2.*.*-airflow-*.*.* and newer.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setWorkloadsConfig(com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig value) { + public Builder setWorkloadsConfig( + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig value) { if (workloadsConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3407,6 +4227,8 @@ public Builder setWorkloadsConfig(com.google.cloud.orchestration.airflow.service return this; } /** + * + * *
              * Optional. The workloads configuration settings for the GKE cluster associated with
              * the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web
        @@ -3415,10 +4237,13 @@ public Builder setWorkloadsConfig(com.google.cloud.orchestration.airflow.service
              * composer-2.*.*-airflow-*.*.* and newer.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setWorkloadsConfig( - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.Builder builderForValue) { + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.Builder + builderForValue) { if (workloadsConfigBuilder_ == null) { workloadsConfig_ = builderForValue.build(); onChanged(); @@ -3429,6 +4254,8 @@ public Builder setWorkloadsConfig( return this; } /** + * + * *
              * Optional. The workloads configuration settings for the GKE cluster associated with
              * the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web
        @@ -3437,13 +4264,19 @@ public Builder setWorkloadsConfig(
              * composer-2.*.*-airflow-*.*.* and newer.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeWorkloadsConfig(com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig value) { + public Builder mergeWorkloadsConfig( + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig value) { if (workloadsConfigBuilder_ == null) { if (workloadsConfig_ != null) { workloadsConfig_ = - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.newBuilder(workloadsConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.newBuilder( + workloadsConfig_) + .mergeFrom(value) + .buildPartial(); } else { workloadsConfig_ = value; } @@ -3455,6 +4288,8 @@ public Builder mergeWorkloadsConfig(com.google.cloud.orchestration.airflow.servi return this; } /** + * + * *
              * Optional. The workloads configuration settings for the GKE cluster associated with
              * the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web
        @@ -3463,7 +4298,9 @@ public Builder mergeWorkloadsConfig(com.google.cloud.orchestration.airflow.servi
              * composer-2.*.*-airflow-*.*.* and newer.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearWorkloadsConfig() { if (workloadsConfigBuilder_ == null) { @@ -3477,6 +4314,8 @@ public Builder clearWorkloadsConfig() { return this; } /** + * + * *
              * Optional. The workloads configuration settings for the GKE cluster associated with
              * the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web
        @@ -3485,14 +4324,19 @@ public Builder clearWorkloadsConfig() {
              * composer-2.*.*-airflow-*.*.* and newer.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.Builder getWorkloadsConfigBuilder() { - + public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.Builder + getWorkloadsConfigBuilder() { + onChanged(); return getWorkloadsConfigFieldBuilder().getBuilder(); } /** + * + * *
              * Optional. The workloads configuration settings for the GKE cluster associated with
              * the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web
        @@ -3501,17 +4345,24 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.Bu
              * composer-2.*.*-airflow-*.*.* and newer.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfigOrBuilder getWorkloadsConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfigOrBuilder + getWorkloadsConfigOrBuilder() { if (workloadsConfigBuilder_ != null) { return workloadsConfigBuilder_.getMessageOrBuilder(); } else { - return workloadsConfig_ == null ? - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.getDefaultInstance() : workloadsConfig_; + return workloadsConfig_ == null + ? com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .getDefaultInstance() + : workloadsConfig_; } } /** + * + * *
              * Optional. The workloads configuration settings for the GKE cluster associated with
              * the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web
        @@ -3520,17 +4371,22 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfigOrB
              * composer-2.*.*-airflow-*.*.* and newer.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig, com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfigOrBuilder> + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig, + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.Builder, + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfigOrBuilder> getWorkloadsConfigFieldBuilder() { if (workloadsConfigBuilder_ == null) { - workloadsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig, com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfigOrBuilder>( - getWorkloadsConfig(), - getParentForChildren(), - isClean()); + workloadsConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig, + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.Builder, + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfigOrBuilder>( + getWorkloadsConfig(), getParentForChildren(), isClean()); workloadsConfig_ = null; } return workloadsConfigBuilder_; @@ -3538,90 +4394,125 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfigOrB private int environmentSize_ = 0; /** + * + * *
              * Optional. The size of the Cloud Composer environment.
              * This field is supported for Cloud Composer environments in versions
              * composer-2.*.*-airflow-*.*.* and newer.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize environment_size = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize environment_size = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for environmentSize. */ - @java.lang.Override public int getEnvironmentSizeValue() { + @java.lang.Override + public int getEnvironmentSizeValue() { return environmentSize_; } /** + * + * *
              * Optional. The size of the Cloud Composer environment.
              * This field is supported for Cloud Composer environments in versions
              * composer-2.*.*-airflow-*.*.* and newer.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize environment_size = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize environment_size = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for environmentSize to set. * @return This builder for chaining. */ public Builder setEnvironmentSizeValue(int value) { - + environmentSize_ = value; onChanged(); return this; } /** + * + * *
              * Optional. The size of the Cloud Composer environment.
              * This field is supported for Cloud Composer environments in versions
              * composer-2.*.*-airflow-*.*.* and newer.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize environment_size = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize environment_size = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The environmentSize. */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize getEnvironmentSize() { + public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize + getEnvironmentSize() { @SuppressWarnings("deprecation") - com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize result = com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize.valueOf(environmentSize_); - return result == null ? com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize.UNRECOGNIZED : result; + com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize + result = + com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig + .EnvironmentSize.valueOf(environmentSize_); + return result == null + ? com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize + .UNRECOGNIZED + : result; } /** + * + * *
              * Optional. The size of the Cloud Composer environment.
              * This field is supported for Cloud Composer environments in versions
              * composer-2.*.*-airflow-*.*.* and newer.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize environment_size = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize environment_size = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The environmentSize to set. * @return This builder for chaining. */ - public Builder setEnvironmentSize(com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize value) { + public Builder setEnvironmentSize( + com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize + value) { if (value == null) { throw new NullPointerException(); } - + environmentSize_ = value.getNumber(); onChanged(); return this; } /** + * + * *
              * Optional. The size of the Cloud Composer environment.
              * This field is supported for Cloud Composer environments in versions
              * composer-2.*.*-airflow-*.*.* and newer.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize environment_size = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize environment_size = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearEnvironmentSize() { - + environmentSize_ = 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); } @@ -3631,30 +4522,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig) - private static final com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig DEFAULT_INSTANCE; + private static final com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig(); + DEFAULT_INSTANCE = + new com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig(); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EnvironmentConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new EnvironmentConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EnvironmentConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new EnvironmentConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3666,9 +4560,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentConfigOrBuilder.java b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentConfigOrBuilder.java similarity index 67% rename from owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentConfigOrBuilder.java rename to proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentConfigOrBuilder.java index 7d77dcd4..8689c501 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentConfigOrBuilder.java +++ b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentConfigOrBuilder.java @@ -1,33 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; -public interface EnvironmentConfigOrBuilder extends +public interface EnvironmentConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
            * Output only. The Kubernetes Engine cluster used to run this environment.
            * 
        * * string gke_cluster = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The gkeCluster. */ java.lang.String getGkeCluster(); /** + * + * *
            * Output only. The Kubernetes Engine cluster used to run this environment.
            * 
        * * string gke_cluster = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for gkeCluster. */ - com.google.protobuf.ByteString - getGkeClusterBytes(); + com.google.protobuf.ByteString getGkeClusterBytes(); /** + * + * *
            * Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud
            * Storage objects reside in a flat namespace, a hierarchical file tree
        @@ -36,10 +59,13 @@ public interface EnvironmentConfigOrBuilder extends
            * 
        * * string dag_gcs_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The dagGcsPrefix. */ java.lang.String getDagGcsPrefix(); /** + * + * *
            * Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud
            * Storage objects reside in a flat namespace, a hierarchical file tree
        @@ -48,191 +74,279 @@ public interface EnvironmentConfigOrBuilder extends
            * 
        * * string dag_gcs_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for dagGcsPrefix. */ - com.google.protobuf.ByteString - getDagGcsPrefixBytes(); + com.google.protobuf.ByteString getDagGcsPrefixBytes(); /** + * + * *
            * The number of nodes in the Kubernetes Engine cluster that will be
            * used to run this environment.
            * 
        * * int32 node_count = 3; + * * @return The nodeCount. */ int getNodeCount(); /** + * + * *
            * The configuration settings for software inside the environment.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig software_config = 4; + * .google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig software_config = 4; + * + * * @return Whether the softwareConfig field is set. */ boolean hasSoftwareConfig(); /** + * + * *
            * The configuration settings for software inside the environment.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig software_config = 4; + * .google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig software_config = 4; + * + * * @return The softwareConfig. */ com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig getSoftwareConfig(); /** + * + * *
            * The configuration settings for software inside the environment.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig software_config = 4; + * .google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig software_config = 4; + * */ - com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfigOrBuilder getSoftwareConfigOrBuilder(); + com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfigOrBuilder + getSoftwareConfigOrBuilder(); /** + * + * *
            * The configuration used for the Kubernetes Engine cluster.
            * 
        * * .google.cloud.orchestration.airflow.service.v1beta1.NodeConfig node_config = 5; + * * @return Whether the nodeConfig field is set. */ boolean hasNodeConfig(); /** + * + * *
            * The configuration used for the Kubernetes Engine cluster.
            * 
        * * .google.cloud.orchestration.airflow.service.v1beta1.NodeConfig node_config = 5; + * * @return The nodeConfig. */ com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig getNodeConfig(); /** + * + * *
            * The configuration used for the Kubernetes Engine cluster.
            * 
        * * .google.cloud.orchestration.airflow.service.v1beta1.NodeConfig node_config = 5; */ - com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfigOrBuilder getNodeConfigOrBuilder(); + com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfigOrBuilder + getNodeConfigOrBuilder(); /** + * + * *
            * The configuration used for the Private IP Cloud Composer environment.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig private_environment_config = 7; + * + * .google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig private_environment_config = 7; + * + * * @return Whether the privateEnvironmentConfig field is set. */ boolean hasPrivateEnvironmentConfig(); /** + * + * *
            * The configuration used for the Private IP Cloud Composer environment.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig private_environment_config = 7; + * + * .google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig private_environment_config = 7; + * + * * @return The privateEnvironmentConfig. */ - com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig getPrivateEnvironmentConfig(); + com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig + getPrivateEnvironmentConfig(); /** + * + * *
            * The configuration used for the Private IP Cloud Composer environment.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig private_environment_config = 7; + * + * .google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig private_environment_config = 7; + * */ - com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfigOrBuilder getPrivateEnvironmentConfigOrBuilder(); + com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfigOrBuilder + getPrivateEnvironmentConfigOrBuilder(); /** + * + * *
            * Optional. The network-level access control policy for the Airflow web server. If
            * unspecified, no network-level access restrictions will be applied.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the webServerNetworkAccessControl field is set. */ boolean hasWebServerNetworkAccessControl(); /** + * + * *
            * Optional. The network-level access control policy for the Airflow web server. If
            * unspecified, no network-level access restrictions will be applied.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The webServerNetworkAccessControl. */ - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl getWebServerNetworkAccessControl(); + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + getWebServerNetworkAccessControl(); /** + * + * *
            * Optional. The network-level access control policy for the Airflow web server. If
            * unspecified, no network-level access restrictions will be applied.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControlOrBuilder getWebServerNetworkAccessControlOrBuilder(); + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControlOrBuilder + getWebServerNetworkAccessControlOrBuilder(); /** + * + * *
            * Optional. The configuration settings for Cloud SQL instance used internally by Apache
            * Airflow software.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig database_config = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig database_config = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the databaseConfig field is set. */ boolean hasDatabaseConfig(); /** + * + * *
            * Optional. The configuration settings for Cloud SQL instance used internally by Apache
            * Airflow software.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig database_config = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig database_config = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The databaseConfig. */ com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig getDatabaseConfig(); /** + * + * *
            * Optional. The configuration settings for Cloud SQL instance used internally by Apache
            * Airflow software.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig database_config = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig database_config = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfigOrBuilder getDatabaseConfigOrBuilder(); + com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfigOrBuilder + getDatabaseConfigOrBuilder(); /** + * + * *
            * Optional. The configuration settings for the Airflow web server App Engine instance.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig web_server_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig web_server_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the webServerConfig field is set. */ boolean hasWebServerConfig(); /** + * + * *
            * Optional. The configuration settings for the Airflow web server App Engine instance.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig web_server_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig web_server_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The webServerConfig. */ com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig getWebServerConfig(); /** + * + * *
            * Optional. The configuration settings for the Airflow web server App Engine instance.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig web_server_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig web_server_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfigOrBuilder getWebServerConfigOrBuilder(); + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfigOrBuilder + getWebServerConfigOrBuilder(); /** + * + * *
            * Output only. The URI of the Apache Airflow Web UI hosted within this environment (see
            * [Airflow web
        @@ -240,10 +354,13 @@ public interface EnvironmentConfigOrBuilder extends
            * 
        * * string airflow_uri = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The airflowUri. */ java.lang.String getAirflowUri(); /** + * + * *
            * Output only. The URI of the Apache Airflow Web UI hosted within this environment (see
            * [Airflow web
        @@ -251,42 +368,59 @@ public interface EnvironmentConfigOrBuilder extends
            * 
        * * string airflow_uri = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for airflowUri. */ - com.google.protobuf.ByteString - getAirflowUriBytes(); + com.google.protobuf.ByteString getAirflowUriBytes(); /** + * + * *
            * Optional. The encryption options for the Cloud Composer environment and its
            * dependencies. Cannot be updated.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the encryptionConfig field is set. */ boolean hasEncryptionConfig(); /** + * + * *
            * Optional. The encryption options for the Cloud Composer environment and its
            * dependencies. Cannot be updated.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The encryptionConfig. */ com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig getEncryptionConfig(); /** + * + * *
            * Optional. The encryption options for the Cloud Composer environment and its
            * dependencies. Cannot be updated.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder(); + com.google.cloud.orchestration.airflow.service.v1beta1.EncryptionConfigOrBuilder + getEncryptionConfigOrBuilder(); /** + * + * *
            * Optional. The maintenance window is the period when Cloud Composer components may
            * undergo maintenance. It is defined so that maintenance is not executed
        @@ -301,11 +435,16 @@ public interface EnvironmentConfigOrBuilder extends
            * maintenance at any time.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the maintenanceWindow field is set. */ boolean hasMaintenanceWindow(); /** + * + * *
            * Optional. The maintenance window is the period when Cloud Composer components may
            * undergo maintenance. It is defined so that maintenance is not executed
        @@ -320,11 +459,16 @@ public interface EnvironmentConfigOrBuilder extends
            * maintenance at any time.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The maintenanceWindow. */ com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow getMaintenanceWindow(); /** + * + * *
            * Optional. The maintenance window is the period when Cloud Composer components may
            * undergo maintenance. It is defined so that maintenance is not executed
        @@ -339,11 +483,16 @@ public interface EnvironmentConfigOrBuilder extends
            * maintenance at any time.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindowOrBuilder getMaintenanceWindowOrBuilder(); + com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindowOrBuilder + getMaintenanceWindowOrBuilder(); /** + * + * *
            * Optional. The workloads configuration settings for the GKE cluster associated with
            * the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web
        @@ -352,11 +501,16 @@ public interface EnvironmentConfigOrBuilder extends
            * composer-2.*.*-airflow-*.*.* and newer.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the workloadsConfig field is set. */ boolean hasWorkloadsConfig(); /** + * + * *
            * Optional. The workloads configuration settings for the GKE cluster associated with
            * the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web
        @@ -365,11 +519,16 @@ public interface EnvironmentConfigOrBuilder extends
            * composer-2.*.*-airflow-*.*.* and newer.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The workloadsConfig. */ com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig getWorkloadsConfig(); /** + * + * *
            * Optional. The workloads configuration settings for the GKE cluster associated with
            * the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web
        @@ -378,30 +537,44 @@ public interface EnvironmentConfigOrBuilder extends
            * composer-2.*.*-airflow-*.*.* and newer.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfigOrBuilder getWorkloadsConfigOrBuilder(); + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfigOrBuilder + getWorkloadsConfigOrBuilder(); /** + * + * *
            * Optional. The size of the Cloud Composer environment.
            * This field is supported for Cloud Composer environments in versions
            * composer-2.*.*-airflow-*.*.* and newer.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize environment_size = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize environment_size = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for environmentSize. */ int getEnvironmentSizeValue(); /** + * + * *
            * Optional. The size of the Cloud Composer environment.
            * This field is supported for Cloud Composer environments in versions
            * composer-2.*.*-airflow-*.*.* and newer.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize environment_size = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize environment_size = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The environmentSize. */ - com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize getEnvironmentSize(); + com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize + getEnvironmentSize(); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentOrBuilder.java b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentOrBuilder.java similarity index 82% rename from owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentOrBuilder.java rename to proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentOrBuilder.java index e14c125b..a2e1763e 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentOrBuilder.java +++ b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentOrBuilder.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/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; -public interface EnvironmentOrBuilder extends +public interface EnvironmentOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1beta1.Environment) com.google.protobuf.MessageOrBuilder { /** + * + * *
            * The resource name of the environment, in the form:
            * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
        @@ -16,10 +34,13 @@ public interface EnvironmentOrBuilder extends
            * 
        * * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
            * The resource name of the environment, in the form:
            * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
        @@ -28,134 +49,178 @@ public interface EnvironmentOrBuilder extends
            * 
        * * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
            * Configuration parameters for this environment.
            * 
        * * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config = 2; + * * @return Whether the config field is set. */ boolean hasConfig(); /** + * + * *
            * Configuration parameters for this environment.
            * 
        * * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config = 2; + * * @return The config. */ com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig getConfig(); /** + * + * *
            * Configuration parameters for this environment.
            * 
        * * .google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig config = 2; */ - com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfigOrBuilder getConfigOrBuilder(); + com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfigOrBuilder + getConfigOrBuilder(); /** + * + * *
            * Output only. The UUID (Universally Unique IDentifier) associated with this environment.
            * This value is generated when the environment is created.
            * 
        * * string uuid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uuid. */ java.lang.String getUuid(); /** + * + * *
            * Output only. The UUID (Universally Unique IDentifier) associated with this environment.
            * This value is generated when the environment is created.
            * 
        * * string uuid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uuid. */ - com.google.protobuf.ByteString - getUuidBytes(); + com.google.protobuf.ByteString getUuidBytes(); /** + * + * *
            * The current state of the environment.
            * 
        * * .google.cloud.orchestration.airflow.service.v1beta1.Environment.State state = 4; + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
            * The current state of the environment.
            * 
        * * .google.cloud.orchestration.airflow.service.v1beta1.Environment.State state = 4; + * * @return The state. */ com.google.cloud.orchestration.airflow.service.v1beta1.Environment.State getState(); /** + * + * *
            * Output only. The time at which this environment was created.
            * 
        * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
            * Output only. The time at which this environment was created.
            * 
        * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
            * Output only. The time at which this environment was created.
            * 
        * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
            * Output only. The time at which this environment was last modified.
            * 
        * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
            * Output only. The time at which this environment was last modified.
            * 
        * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
            * Output only. The time at which this environment was last modified.
            * 
        * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
            * Optional. User-defined labels for this environment.
            * The labels map can contain no more than 64 entries. Entries of the labels
        @@ -170,6 +235,8 @@ public interface EnvironmentOrBuilder extends
            */
           int getLabelsCount();
           /**
        +   *
        +   *
            * 
            * Optional. User-defined labels for this environment.
            * The labels map can contain no more than 64 entries. Entries of the labels
        @@ -182,15 +249,13 @@ public interface EnvironmentOrBuilder extends
            *
            * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
            */
        -  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();
           /**
        +   *
        +   *
            * 
            * Optional. User-defined labels for this environment.
            * The labels map can contain no more than 64 entries. Entries of the labels
        @@ -203,9 +268,10 @@ boolean containsLabels(
            *
            * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
            */
        -  java.util.Map
        -  getLabelsMap();
        +  java.util.Map getLabelsMap();
           /**
        +   *
        +   *
            * 
            * Optional. User-defined labels for this environment.
            * The labels map can contain no more than 64 entries. Entries of the labels
        @@ -220,11 +286,13 @@ boolean containsLabels(
            */
         
           /* nullable */
        -java.lang.String getLabelsOrDefault(
        +  java.lang.String getLabelsOrDefault(
               java.lang.String key,
               /* nullable */
        -java.lang.String defaultValue);
        +      java.lang.String defaultValue);
           /**
        +   *
        +   *
            * 
            * Optional. User-defined labels for this environment.
            * The labels map can contain no more than 64 entries. Entries of the labels
        @@ -237,7 +305,5 @@ java.lang.String getLabelsOrDefault(
            *
            * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
            */
        -
        -  java.lang.String getLabelsOrThrow(
        -      java.lang.String key);
        +  java.lang.String getLabelsOrThrow(java.lang.String key);
         }
        diff --git a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsOuterClass.java b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsOuterClass.java
        new file mode 100644
        index 00000000..3f1be44e
        --- /dev/null
        +++ b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsOuterClass.java
        @@ -0,0 +1,724 @@
        +/*
        + * Copyright 2020 Google LLC
        + *
        + * Licensed under the Apache License, Version 2.0 (the "License");
        + * you may not use this file except in compliance with the License.
        + * You may obtain a copy of the License at
        + *
        + *     https://www.apache.org/licenses/LICENSE-2.0
        + *
        + * Unless required by applicable law or agreed to in writing, software
        + * distributed under the License is distributed on an "AS IS" BASIS,
        + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
        + * See the License for the specific language governing permissions and
        + * limitations under the License.
        + */
        +// Generated by the protocol buffer compiler.  DO NOT EDIT!
        +// source: google/cloud/orchestration/airflow/service/v1beta1/environments.proto
        +
        +package com.google.cloud.orchestration.airflow.service.v1beta1;
        +
        +public final class EnvironmentsOuterClass {
        +  private EnvironmentsOuterClass() {}
        +
        +  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_orchestration_airflow_service_v1beta1_CreateEnvironmentRequest_descriptor;
        +  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_CreateEnvironmentRequest_fieldAccessorTable;
        +  static final com.google.protobuf.Descriptors.Descriptor
        +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_GetEnvironmentRequest_descriptor;
        +  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_GetEnvironmentRequest_fieldAccessorTable;
        +  static final com.google.protobuf.Descriptors.Descriptor
        +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsRequest_descriptor;
        +  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsRequest_fieldAccessorTable;
        +  static final com.google.protobuf.Descriptors.Descriptor
        +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsResponse_descriptor;
        +  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsResponse_fieldAccessorTable;
        +  static final com.google.protobuf.Descriptors.Descriptor
        +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_DeleteEnvironmentRequest_descriptor;
        +  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_DeleteEnvironmentRequest_fieldAccessorTable;
        +  static final com.google.protobuf.Descriptors.Descriptor
        +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_UpdateEnvironmentRequest_descriptor;
        +  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_UpdateEnvironmentRequest_fieldAccessorTable;
        +  static final com.google.protobuf.Descriptors.Descriptor
        +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_RestartWebServerRequest_descriptor;
        +  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_RestartWebServerRequest_fieldAccessorTable;
        +  static final com.google.protobuf.Descriptors.Descriptor
        +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_EnvironmentConfig_descriptor;
        +  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_EnvironmentConfig_fieldAccessorTable;
        +  static final com.google.protobuf.Descriptors.Descriptor
        +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_descriptor;
        +  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_fieldAccessorTable;
        +  static final com.google.protobuf.Descriptors.Descriptor
        +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_AllowedIpRange_descriptor;
        +  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_AllowedIpRange_fieldAccessorTable;
        +  static final com.google.protobuf.Descriptors.Descriptor
        +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_descriptor;
        +  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_fieldAccessorTable;
        +  static final com.google.protobuf.Descriptors.Descriptor
        +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_AirflowConfigOverridesEntry_descriptor;
        +  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_AirflowConfigOverridesEntry_fieldAccessorTable;
        +  static final com.google.protobuf.Descriptors.Descriptor
        +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_PypiPackagesEntry_descriptor;
        +  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_PypiPackagesEntry_fieldAccessorTable;
        +  static final com.google.protobuf.Descriptors.Descriptor
        +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_EnvVariablesEntry_descriptor;
        +  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_EnvVariablesEntry_fieldAccessorTable;
        +  static final com.google.protobuf.Descriptors.Descriptor
        +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_IPAllocationPolicy_descriptor;
        +  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_IPAllocationPolicy_fieldAccessorTable;
        +  static final com.google.protobuf.Descriptors.Descriptor
        +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_NodeConfig_descriptor;
        +  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_NodeConfig_fieldAccessorTable;
        +  static final com.google.protobuf.Descriptors.Descriptor
        +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateClusterConfig_descriptor;
        +  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateClusterConfig_fieldAccessorTable;
        +  static final com.google.protobuf.Descriptors.Descriptor
        +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateEnvironmentConfig_descriptor;
        +  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateEnvironmentConfig_fieldAccessorTable;
        +  static final com.google.protobuf.Descriptors.Descriptor
        +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_DatabaseConfig_descriptor;
        +  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_DatabaseConfig_fieldAccessorTable;
        +  static final com.google.protobuf.Descriptors.Descriptor
        +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerConfig_descriptor;
        +  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerConfig_fieldAccessorTable;
        +  static final com.google.protobuf.Descriptors.Descriptor
        +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_EncryptionConfig_descriptor;
        +  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_EncryptionConfig_fieldAccessorTable;
        +  static final com.google.protobuf.Descriptors.Descriptor
        +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_MaintenanceWindow_descriptor;
        +  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_MaintenanceWindow_fieldAccessorTable;
        +  static final com.google.protobuf.Descriptors.Descriptor
        +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_descriptor;
        +  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_fieldAccessorTable;
        +  static final com.google.protobuf.Descriptors.Descriptor
        +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_SchedulerResource_descriptor;
        +  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_SchedulerResource_fieldAccessorTable;
        +  static final com.google.protobuf.Descriptors.Descriptor
        +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WebServerResource_descriptor;
        +  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WebServerResource_fieldAccessorTable;
        +  static final com.google.protobuf.Descriptors.Descriptor
        +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WorkerResource_descriptor;
        +  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WorkerResource_fieldAccessorTable;
        +  static final com.google.protobuf.Descriptors.Descriptor
        +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_descriptor;
        +  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_fieldAccessorTable;
        +  static final com.google.protobuf.Descriptors.Descriptor
        +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_LabelsEntry_descriptor;
        +  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_LabelsEntry_fieldAccessorTable;
        +  static final com.google.protobuf.Descriptors.Descriptor
        +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeRequest_descriptor;
        +  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeRequest_fieldAccessorTable;
        +  static final com.google.protobuf.Descriptors.Descriptor
        +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_descriptor;
        +  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_fieldAccessorTable;
        +  static final com.google.protobuf.Descriptors.Descriptor
        +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_PypiDependenciesEntry_descriptor;
        +  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_PypiDependenciesEntry_fieldAccessorTable;
        +
        +  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
        +    return descriptor;
        +  }
        +
        +  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
        +
        +  static {
        +    java.lang.String[] descriptorData = {
        +      "\nEgoogle/cloud/orchestration/airflow/ser"
        +          + "vice/v1beta1/environments.proto\0222google."
        +          + "cloud.orchestration.airflow.service.v1be"
        +          + "ta1\032\034google/api/annotations.proto\032\027googl"
        +          + "e/api/client.proto\032\037google/api/field_beh"
        +          + "avior.proto\032\031google/api/resource.proto\032#"
        +          + "google/longrunning/operations.proto\032 goo"
        +          + "gle/protobuf/field_mask.proto\032\037google/pr"
        +          + "otobuf/timestamp.proto\"\200\001\n\030CreateEnviron"
        +          + "mentRequest\022\016\n\006parent\030\001 \001(\t\022T\n\013environme"
        +          + "nt\030\002 \001(\0132?.google.cloud.orchestration.ai"
        +          + "rflow.service.v1beta1.Environment\"%\n\025Get"
        +          + "EnvironmentRequest\022\014\n\004name\030\001 \001(\t\"P\n\027List"
        +          + "EnvironmentsRequest\022\016\n\006parent\030\001 \001(\t\022\021\n\tp"
        +          + "age_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\212\001\n\030L"
        +          + "istEnvironmentsResponse\022U\n\014environments\030"
        +          + "\001 \003(\0132?.google.cloud.orchestration.airfl"
        +          + "ow.service.v1beta1.Environment\022\027\n\017next_p"
        +          + "age_token\030\002 \001(\t\"(\n\030DeleteEnvironmentRequ"
        +          + "est\022\014\n\004name\030\001 \001(\t\"\264\001\n\030UpdateEnvironmentR"
        +          + "equest\022\014\n\004name\030\002 \001(\t\022T\n\013environment\030\001 \001("
        +          + "\0132?.google.cloud.orchestration.airflow.s"
        +          + "ervice.v1beta1.Environment\0224\n\013update_mas"
        +          + "k\030\003 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002"
        +          + "\"\'\n\027RestartWebServerRequest\022\014\n\004name\030\001 \001("
        +          + "\t\"\232\n\n\021EnvironmentConfig\022\030\n\013gke_cluster\030\001"
        +          + " \001(\tB\003\340A\003\022\033\n\016dag_gcs_prefix\030\002 \001(\tB\003\340A\003\022\022"
        +          + "\n\nnode_count\030\003 \001(\005\022[\n\017software_config\030\004 "
        +          + "\001(\0132B.google.cloud.orchestration.airflow"
        +          + ".service.v1beta1.SoftwareConfig\022S\n\013node_"
        +          + "config\030\005 \001(\0132>.google.cloud.orchestratio"
        +          + "n.airflow.service.v1beta1.NodeConfig\022p\n\032"
        +          + "private_environment_config\030\007 \001(\0132L.googl"
        +          + "e.cloud.orchestration.airflow.service.v1"
        +          + "beta1.PrivateEnvironmentConfig\022\201\001\n!web_s"
        +          + "erver_network_access_control\030\t \001(\0132Q.goo"
        +          + "gle.cloud.orchestration.airflow.service."
        +          + "v1beta1.WebServerNetworkAccessControlB\003\340"
        +          + "A\001\022`\n\017database_config\030\n \001(\0132B.google.clo"
        +          + "ud.orchestration.airflow.service.v1beta1"
        +          + ".DatabaseConfigB\003\340A\001\022c\n\021web_server_confi"
        +          + "g\030\013 \001(\0132C.google.cloud.orchestration.air"
        +          + "flow.service.v1beta1.WebServerConfigB\003\340A"
        +          + "\001\022\030\n\013airflow_uri\030\006 \001(\tB\003\340A\003\022d\n\021encryptio"
        +          + "n_config\030\014 \001(\0132D.google.cloud.orchestrat"
        +          + "ion.airflow.service.v1beta1.EncryptionCo"
        +          + "nfigB\003\340A\001\022f\n\022maintenance_window\030\r \001(\0132E."
        +          + "google.cloud.orchestration.airflow.servi"
        +          + "ce.v1beta1.MaintenanceWindowB\003\340A\001\022b\n\020wor"
        +          + "kloads_config\030\017 \001(\0132C.google.cloud.orche"
        +          + "stration.airflow.service.v1beta1.Workloa"
        +          + "dsConfigB\003\340A\001\022t\n\020environment_size\030\020 \001(\0162"
        +          + "U.google.cloud.orchestration.airflow.ser"
        +          + "vice.v1beta1.EnvironmentConfig.Environme"
        +          + "ntSizeB\003\340A\001\"\210\001\n\017EnvironmentSize\022 \n\034ENVIR"
        +          + "ONMENT_SIZE_UNSPECIFIED\020\000\022\032\n\026ENVIRONMENT"
        +          + "_SIZE_SMALL\020\001\022\033\n\027ENVIRONMENT_SIZE_MEDIUM"
        +          + "\020\002\022\032\n\026ENVIRONMENT_SIZE_LARGE\020\003\"\327\001\n\035WebSe"
        +          + "rverNetworkAccessControl\022{\n\021allowed_ip_r"
        +          + "anges\030\001 \003(\0132`.google.cloud.orchestration"
        +          + ".airflow.service.v1beta1.WebServerNetwor"
        +          + "kAccessControl.AllowedIpRange\0329\n\016Allowed"
        +          + "IpRange\022\r\n\005value\030\001 \001(\t\022\030\n\013description\030\002 "
        +          + "\001(\tB\003\340A\001\"\331\004\n\016SoftwareConfig\022\025\n\rimage_ver"
        +          + "sion\030\001 \001(\t\022\205\001\n\030airflow_config_overrides\030"
        +          + "\002 \003(\0132^.google.cloud.orchestration.airfl"
        +          + "ow.service.v1beta1.SoftwareConfig.Airflo"
        +          + "wConfigOverridesEntryB\003\340A\001\022p\n\rpypi_packa"
        +          + "ges\030\003 \003(\0132T.google.cloud.orchestration.a"
        +          + "irflow.service.v1beta1.SoftwareConfig.Py"
        +          + "piPackagesEntryB\003\340A\001\022p\n\renv_variables\030\004 "
        +          + "\003(\0132T.google.cloud.orchestration.airflow"
        +          + ".service.v1beta1.SoftwareConfig.EnvVaria"
        +          + "blesEntryB\003\340A\001\022\033\n\016python_version\030\006 \001(\tB\003"
        +          + "\340A\001\032=\n\033AirflowConfigOverridesEntry\022\013\n\003ke"
        +          + "y\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\0323\n\021PypiPackag"
        +          + "esEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032"
        +          + "3\n\021EnvVariablesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005val"
        +          + "ue\030\002 \001(\t:\0028\001\"\325\001\n\022IPAllocationPolicy\022\033\n\016u"
        +          + "se_ip_aliases\030\001 \001(\010B\003\340A\001\022)\n\034cluster_seco"
        +          + "ndary_range_name\030\002 \001(\tB\003\340A\001\022*\n\035services_"
        +          + "secondary_range_name\030\003 \001(\tB\003\340A\001\022$\n\027clust"
        +          + "er_ipv4_cidr_block\030\004 \001(\tB\003\340A\001\022%\n\030service"
        +          + "s_ipv4_cidr_block\030\005 \001(\tB\003\340A\001\"\337\002\n\nNodeCon"
        +          + "fig\022\025\n\010location\030\001 \001(\tB\003\340A\001\022\031\n\014machine_ty"
        +          + "pe\030\002 \001(\tB\003\340A\001\022\024\n\007network\030\003 \001(\tB\003\340A\001\022\027\n\ns"
        +          + "ubnetwork\030\004 \001(\tB\003\340A\001\022\031\n\014disk_size_gb\030\005 \001"
        +          + "(\005B\003\340A\001\022\031\n\014oauth_scopes\030\006 \003(\tB\003\340A\001\022\034\n\017se"
        +          + "rvice_account\030\007 \001(\tB\003\340A\001\022\021\n\004tags\030\010 \003(\tB\003"
        +          + "\340A\001\022i\n\024ip_allocation_policy\030\t \001(\0132F.goog"
        +          + "le.cloud.orchestration.airflow.service.v"
        +          + "1beta1.IPAllocationPolicyB\003\340A\001\022\036\n\021max_po"
        +          + "ds_per_node\030\n \001(\005B\003\340A\001\"\212\001\n\024PrivateCluste"
        +          + "rConfig\022$\n\027enable_private_endpoint\030\001 \001(\010"
        +          + "B\003\340A\001\022#\n\026master_ipv4_cidr_block\030\002 \001(\tB\003\340"
        +          + "A\001\022\'\n\032master_ipv4_reserved_range\030\003 \001(\tB\003"
        +          + "\340A\003\"\236\003\n\030PrivateEnvironmentConfig\022\'\n\032enab"
        +          + "le_private_environment\030\001 \001(\010B\003\340A\001\022m\n\026pri"
        +          + "vate_cluster_config\030\002 \001(\0132H.google.cloud"
        +          + ".orchestration.airflow.service.v1beta1.P"
        +          + "rivateClusterConfigB\003\340A\001\022\'\n\032web_server_i"
        +          + "pv4_cidr_block\030\003 \001(\tB\003\340A\001\022&\n\031cloud_sql_i"
        +          + "pv4_cidr_block\030\004 \001(\tB\003\340A\001\022+\n\036web_server_"
        +          + "ipv4_reserved_range\030\005 \001(\tB\003\340A\003\0223\n&cloud_"
        +          + "composer_network_ipv4_cidr_block\030\007 \001(\tB\003"
        +          + "\340A\001\0227\n*cloud_composer_network_ipv4_reser"
        +          + "ved_range\030\010 \001(\tB\003\340A\003\"+\n\016DatabaseConfig\022\031"
        +          + "\n\014machine_type\030\001 \001(\tB\003\340A\001\",\n\017WebServerCo"
        +          + "nfig\022\031\n\014machine_type\030\001 \001(\tB\003\340A\001\"-\n\020Encry"
        +          + "ptionConfig\022\031\n\014kms_key_name\030\001 \001(\tB\003\340A\001\"\224"
        +          + "\001\n\021MaintenanceWindow\0223\n\nstart_time\030\001 \001(\013"
        +          + "2\032.google.protobuf.TimestampB\003\340A\002\0221\n\010end"
        +          + "_time\030\002 \001(\0132\032.google.protobuf.TimestampB"
        +          + "\003\340A\002\022\027\n\nrecurrence\030\003 \001(\tB\003\340A\002\"\243\005\n\017Worklo"
        +          + "adsConfig\022m\n\tscheduler\030\001 \001(\0132U.google.cl"
        +          + "oud.orchestration.airflow.service.v1beta"
        +          + "1.WorkloadsConfig.SchedulerResourceB\003\340A\001"
        +          + "\022n\n\nweb_server\030\002 \001(\0132U.google.cloud.orch"
        +          + "estration.airflow.service.v1beta1.Worklo"
        +          + "adsConfig.WebServerResourceB\003\340A\001\022g\n\006work"
        +          + "er\030\003 \001(\0132R.google.cloud.orchestration.ai"
        +          + "rflow.service.v1beta1.WorkloadsConfig.Wo"
        +          + "rkerResourceB\003\340A\001\032j\n\021SchedulerResource\022\020"
        +          + "\n\003cpu\030\001 \001(\002B\003\340A\001\022\026\n\tmemory_gb\030\002 \001(\002B\003\340A\001"
        +          + "\022\027\n\nstorage_gb\030\003 \001(\002B\003\340A\001\022\022\n\005count\030\004 \001(\005"
        +          + "B\003\340A\001\032V\n\021WebServerResource\022\020\n\003cpu\030\001 \001(\002B"
        +          + "\003\340A\001\022\026\n\tmemory_gb\030\002 \001(\002B\003\340A\001\022\027\n\nstorage_"
        +          + "gb\030\003 \001(\002B\003\340A\001\032\203\001\n\016WorkerResource\022\020\n\003cpu\030"
        +          + "\001 \001(\002B\003\340A\001\022\026\n\tmemory_gb\030\002 \001(\002B\003\340A\001\022\027\n\nst"
        +          + "orage_gb\030\003 \001(\002B\003\340A\001\022\026\n\tmin_count\030\004 \001(\005B\003"
        +          + "\340A\001\022\026\n\tmax_count\030\005 \001(\005B\003\340A\001\"\250\005\n\013Environm"
        +          + "ent\022\014\n\004name\030\001 \001(\t\022U\n\006config\030\002 \001(\0132E.goog"
        +          + "le.cloud.orchestration.airflow.service.v"
        +          + "1beta1.EnvironmentConfig\022\021\n\004uuid\030\003 \001(\tB\003"
        +          + "\340A\003\022T\n\005state\030\004 \001(\0162E.google.cloud.orches"
        +          + "tration.airflow.service.v1beta1.Environm"
        +          + "ent.State\0224\n\013create_time\030\005 \001(\0132\032.google."
        +          + "protobuf.TimestampB\003\340A\003\0224\n\013update_time\030\006"
        +          + " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022`\n"
        +          + "\006labels\030\007 \003(\0132K.google.cloud.orchestrati"
        +          + "on.airflow.service.v1beta1.Environment.L"
        +          + "abelsEntryB\003\340A\001\032-\n\013LabelsEntry\022\013\n\003key\030\001 "
        +          + "\001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"`\n\005State\022\025\n\021STATE"
        +          + "_UNSPECIFIED\020\000\022\014\n\010CREATING\020\001\022\013\n\007RUNNING\020"
        +          + "\002\022\014\n\010UPDATING\020\003\022\014\n\010DELETING\020\004\022\t\n\005ERROR\020\005"
        +          + ":l\352Ai\n#composer.googleapis.com/Environme"
        +          + "nt\022Bprojects/{project}/locations/{locati"
        +          + "on}/environments/{environment}\"A\n\023CheckU"
        +          + "pgradeRequest\022\023\n\013environment\030\001 \001(\t\022\025\n\rim"
        +          + "age_version\030\002 \001(\t\"\204\004\n\024CheckUpgradeRespon"
        +          + "se\022\032\n\rbuild_log_uri\030\001 \001(\tB\003\340A\003\022\204\001\n\036conta"
        +          + "ins_pypi_modules_conflict\030\004 \001(\0162W.google"
        +          + ".cloud.orchestration.airflow.service.v1b"
        +          + "eta1.CheckUpgradeResponse.ConflictResult"
        +          + "B\003\340A\003\022,\n\037pypi_conflict_build_log_extract"
        +          + "\030\003 \001(\tB\003\340A\003\022\025\n\rimage_version\030\005 \001(\t\022y\n\021py"
        +          + "pi_dependencies\030\006 \003(\0132^.google.cloud.orc"
        +          + "hestration.airflow.service.v1beta1.Check"
        +          + "UpgradeResponse.PypiDependenciesEntry\0327\n"
        +          + "\025PypiDependenciesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005v"
        +          + "alue\030\002 \001(\t:\0028\001\"P\n\016ConflictResult\022\037\n\033CONF"
        +          + "LICT_RESULT_UNSPECIFIED\020\000\022\014\n\010CONFLICT\020\001\022"
        +          + "\017\n\013NO_CONFLICT\020\0022\360\020\n\014Environments\022\270\002\n\021Cr"
        +          + "eateEnvironment\022L.google.cloud.orchestra"
        +          + "tion.airflow.service.v1beta1.CreateEnvir"
        +          + "onmentRequest\032\035.google.longrunning.Opera"
        +          + "tion\"\265\001\202\323\344\223\002D\"5/v1beta1/{parent=projects"
        +          + "/*/locations/*}/environments:\013environmen"
        +          + "t\332A\022parent,environment\312AS\n\013Environment\022D"
        +          + "google.cloud.orchestration.airflow.servi"
        +          + "ce.v1beta1.OperationMetadata\022\342\001\n\016GetEnvi"
        +          + "ronment\022I.google.cloud.orchestration.air"
        +          + "flow.service.v1beta1.GetEnvironmentReque"
        +          + "st\032?.google.cloud.orchestration.airflow."
        +          + "service.v1beta1.Environment\"D\202\323\344\223\0027\0225/v1"
        +          + "beta1/{name=projects/*/locations/*/envir"
        +          + "onments/*}\332A\004name\022\365\001\n\020ListEnvironments\022K"
        +          + ".google.cloud.orchestration.airflow.serv"
        +          + "ice.v1beta1.ListEnvironmentsRequest\032L.go"
        +          + "ogle.cloud.orchestration.airflow.service"
        +          + ".v1beta1.ListEnvironmentsResponse\"F\202\323\344\223\002"
        +          + "7\0225/v1beta1/{parent=projects/*/locations"
        +          + "/*}/environments\332A\006parent\022\302\002\n\021UpdateEnvi"
        +          + "ronment\022L.google.cloud.orchestration.air"
        +          + "flow.service.v1beta1.UpdateEnvironmentRe"
        +          + "quest\032\035.google.longrunning.Operation\"\277\001\202"
        +          + "\323\344\223\002D25/v1beta1/{name=projects/*/locatio"
        +          + "ns/*/environments/*}:\013environment\332A\034name"
        +          + ",environment,update_mask\312AS\n\013Environment"
        +          + "\022Dgoogle.cloud.orchestration.airflow.ser"
        +          + "vice.v1beta1.OperationMetadata\022\247\002\n\021Delet"
        +          + "eEnvironment\022L.google.cloud.orchestratio"
        +          + "n.airflow.service.v1beta1.DeleteEnvironm"
        +          + "entRequest\032\035.google.longrunning.Operatio"
        +          + "n\"\244\001\202\323\344\223\0027*5/v1beta1/{name=projects/*/lo"
        +          + "cations/*/environments/*}\332A\004name\312A]\n\025goo"
        +          + "gle.protobuf.Empty\022Dgoogle.cloud.orchest"
        +          + "ration.airflow.service.v1beta1.Operation"
        +          + "Metadata\022\250\002\n\020RestartWebServer\022K.google.c"
        +          + "loud.orchestration.airflow.service.v1bet"
        +          + "a1.RestartWebServerRequest\032\035.google.long"
        +          + "running.Operation\"\247\001\202\323\344\223\002K\"F/v1beta1/{na"
        +          + "me=projects/*/locations/*/environments/*"
        +          + "}:restartWebServer:\001*\312AS\n\013Environment\022Dg"
        +          + "oogle.cloud.orchestration.airflow.servic"
        +          + "e.v1beta1.OperationMetadata\022\340\002\n\014CheckUpg"
        +          + "rade\022G.google.cloud.orchestration.airflo"
        +          + "w.service.v1beta1.CheckUpgradeRequest\032\035."
        +          + "google.longrunning.Operation\"\347\001\202\323\344\223\002N\"I/"
        +          + "v1beta1/{environment=projects/*/location"
        +          + "s/*/environments/*}:checkUpgrade:\001*\312A\217\001\n"
        +          + "Ggoogle.cloud.orchestration.airflow.serv"
        +          + "ice.v1beta1.CheckUpgradeResponse\022Dgoogle"
        +          + ".cloud.orchestration.airflow.service.v1b"
        +          + "eta1.OperationMetadata\032K\312A\027composer.goog"
        +          + "leapis.com\322A.https://www.googleapis.com/"
        +          + "auth/cloud-platformB\225\001\n6com.google.cloud"
        +          + ".orchestration.airflow.service.v1beta1P\001"
        +          + "ZYgoogle.golang.org/genproto/googleapis/"
        +          + "cloud/orchestration/airflow/service/v1be"
        +          + "ta1;serviceb\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.longrunning.OperationsProto.getDescriptor(),
        +              com.google.protobuf.FieldMaskProto.getDescriptor(),
        +              com.google.protobuf.TimestampProto.getDescriptor(),
        +            });
        +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_CreateEnvironmentRequest_descriptor =
        +        getDescriptor().getMessageTypes().get(0);
        +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_CreateEnvironmentRequest_fieldAccessorTable =
        +        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        +            internal_static_google_cloud_orchestration_airflow_service_v1beta1_CreateEnvironmentRequest_descriptor,
        +            new java.lang.String[] {
        +              "Parent", "Environment",
        +            });
        +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_GetEnvironmentRequest_descriptor =
        +        getDescriptor().getMessageTypes().get(1);
        +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_GetEnvironmentRequest_fieldAccessorTable =
        +        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        +            internal_static_google_cloud_orchestration_airflow_service_v1beta1_GetEnvironmentRequest_descriptor,
        +            new java.lang.String[] {
        +              "Name",
        +            });
        +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsRequest_descriptor =
        +        getDescriptor().getMessageTypes().get(2);
        +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsRequest_fieldAccessorTable =
        +        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        +            internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsRequest_descriptor,
        +            new java.lang.String[] {
        +              "Parent", "PageSize", "PageToken",
        +            });
        +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsResponse_descriptor =
        +        getDescriptor().getMessageTypes().get(3);
        +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsResponse_fieldAccessorTable =
        +        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        +            internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsResponse_descriptor,
        +            new java.lang.String[] {
        +              "Environments", "NextPageToken",
        +            });
        +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_DeleteEnvironmentRequest_descriptor =
        +        getDescriptor().getMessageTypes().get(4);
        +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_DeleteEnvironmentRequest_fieldAccessorTable =
        +        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        +            internal_static_google_cloud_orchestration_airflow_service_v1beta1_DeleteEnvironmentRequest_descriptor,
        +            new java.lang.String[] {
        +              "Name",
        +            });
        +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_UpdateEnvironmentRequest_descriptor =
        +        getDescriptor().getMessageTypes().get(5);
        +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_UpdateEnvironmentRequest_fieldAccessorTable =
        +        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        +            internal_static_google_cloud_orchestration_airflow_service_v1beta1_UpdateEnvironmentRequest_descriptor,
        +            new java.lang.String[] {
        +              "Name", "Environment", "UpdateMask",
        +            });
        +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_RestartWebServerRequest_descriptor =
        +        getDescriptor().getMessageTypes().get(6);
        +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_RestartWebServerRequest_fieldAccessorTable =
        +        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        +            internal_static_google_cloud_orchestration_airflow_service_v1beta1_RestartWebServerRequest_descriptor,
        +            new java.lang.String[] {
        +              "Name",
        +            });
        +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_EnvironmentConfig_descriptor =
        +        getDescriptor().getMessageTypes().get(7);
        +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_EnvironmentConfig_fieldAccessorTable =
        +        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        +            internal_static_google_cloud_orchestration_airflow_service_v1beta1_EnvironmentConfig_descriptor,
        +            new java.lang.String[] {
        +              "GkeCluster",
        +              "DagGcsPrefix",
        +              "NodeCount",
        +              "SoftwareConfig",
        +              "NodeConfig",
        +              "PrivateEnvironmentConfig",
        +              "WebServerNetworkAccessControl",
        +              "DatabaseConfig",
        +              "WebServerConfig",
        +              "AirflowUri",
        +              "EncryptionConfig",
        +              "MaintenanceWindow",
        +              "WorkloadsConfig",
        +              "EnvironmentSize",
        +            });
        +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_descriptor =
        +        getDescriptor().getMessageTypes().get(8);
        +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_fieldAccessorTable =
        +        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        +            internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_descriptor,
        +            new java.lang.String[] {
        +              "AllowedIpRanges",
        +            });
        +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_AllowedIpRange_descriptor =
        +        internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_descriptor
        +            .getNestedTypes()
        +            .get(0);
        +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_AllowedIpRange_fieldAccessorTable =
        +        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        +            internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_AllowedIpRange_descriptor,
        +            new java.lang.String[] {
        +              "Value", "Description",
        +            });
        +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_descriptor =
        +        getDescriptor().getMessageTypes().get(9);
        +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_fieldAccessorTable =
        +        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        +            internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_descriptor,
        +            new java.lang.String[] {
        +              "ImageVersion",
        +              "AirflowConfigOverrides",
        +              "PypiPackages",
        +              "EnvVariables",
        +              "PythonVersion",
        +            });
        +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_AirflowConfigOverridesEntry_descriptor =
        +        internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_descriptor
        +            .getNestedTypes()
        +            .get(0);
        +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_AirflowConfigOverridesEntry_fieldAccessorTable =
        +        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        +            internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_AirflowConfigOverridesEntry_descriptor,
        +            new java.lang.String[] {
        +              "Key", "Value",
        +            });
        +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_PypiPackagesEntry_descriptor =
        +        internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_descriptor
        +            .getNestedTypes()
        +            .get(1);
        +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_PypiPackagesEntry_fieldAccessorTable =
        +        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        +            internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_PypiPackagesEntry_descriptor,
        +            new java.lang.String[] {
        +              "Key", "Value",
        +            });
        +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_EnvVariablesEntry_descriptor =
        +        internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_descriptor
        +            .getNestedTypes()
        +            .get(2);
        +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_EnvVariablesEntry_fieldAccessorTable =
        +        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        +            internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_EnvVariablesEntry_descriptor,
        +            new java.lang.String[] {
        +              "Key", "Value",
        +            });
        +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_IPAllocationPolicy_descriptor =
        +        getDescriptor().getMessageTypes().get(10);
        +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_IPAllocationPolicy_fieldAccessorTable =
        +        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        +            internal_static_google_cloud_orchestration_airflow_service_v1beta1_IPAllocationPolicy_descriptor,
        +            new java.lang.String[] {
        +              "UseIpAliases",
        +              "ClusterSecondaryRangeName",
        +              "ServicesSecondaryRangeName",
        +              "ClusterIpv4CidrBlock",
        +              "ServicesIpv4CidrBlock",
        +            });
        +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_NodeConfig_descriptor =
        +        getDescriptor().getMessageTypes().get(11);
        +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_NodeConfig_fieldAccessorTable =
        +        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        +            internal_static_google_cloud_orchestration_airflow_service_v1beta1_NodeConfig_descriptor,
        +            new java.lang.String[] {
        +              "Location",
        +              "MachineType",
        +              "Network",
        +              "Subnetwork",
        +              "DiskSizeGb",
        +              "OauthScopes",
        +              "ServiceAccount",
        +              "Tags",
        +              "IpAllocationPolicy",
        +              "MaxPodsPerNode",
        +            });
        +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateClusterConfig_descriptor =
        +        getDescriptor().getMessageTypes().get(12);
        +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateClusterConfig_fieldAccessorTable =
        +        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        +            internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateClusterConfig_descriptor,
        +            new java.lang.String[] {
        +              "EnablePrivateEndpoint", "MasterIpv4CidrBlock", "MasterIpv4ReservedRange",
        +            });
        +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateEnvironmentConfig_descriptor =
        +        getDescriptor().getMessageTypes().get(13);
        +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateEnvironmentConfig_fieldAccessorTable =
        +        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        +            internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateEnvironmentConfig_descriptor,
        +            new java.lang.String[] {
        +              "EnablePrivateEnvironment",
        +              "PrivateClusterConfig",
        +              "WebServerIpv4CidrBlock",
        +              "CloudSqlIpv4CidrBlock",
        +              "WebServerIpv4ReservedRange",
        +              "CloudComposerNetworkIpv4CidrBlock",
        +              "CloudComposerNetworkIpv4ReservedRange",
        +            });
        +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_DatabaseConfig_descriptor =
        +        getDescriptor().getMessageTypes().get(14);
        +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_DatabaseConfig_fieldAccessorTable =
        +        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        +            internal_static_google_cloud_orchestration_airflow_service_v1beta1_DatabaseConfig_descriptor,
        +            new java.lang.String[] {
        +              "MachineType",
        +            });
        +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerConfig_descriptor =
        +        getDescriptor().getMessageTypes().get(15);
        +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerConfig_fieldAccessorTable =
        +        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        +            internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerConfig_descriptor,
        +            new java.lang.String[] {
        +              "MachineType",
        +            });
        +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_EncryptionConfig_descriptor =
        +        getDescriptor().getMessageTypes().get(16);
        +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_EncryptionConfig_fieldAccessorTable =
        +        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        +            internal_static_google_cloud_orchestration_airflow_service_v1beta1_EncryptionConfig_descriptor,
        +            new java.lang.String[] {
        +              "KmsKeyName",
        +            });
        +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_MaintenanceWindow_descriptor =
        +        getDescriptor().getMessageTypes().get(17);
        +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_MaintenanceWindow_fieldAccessorTable =
        +        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        +            internal_static_google_cloud_orchestration_airflow_service_v1beta1_MaintenanceWindow_descriptor,
        +            new java.lang.String[] {
        +              "StartTime", "EndTime", "Recurrence",
        +            });
        +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_descriptor =
        +        getDescriptor().getMessageTypes().get(18);
        +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_fieldAccessorTable =
        +        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        +            internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_descriptor,
        +            new java.lang.String[] {
        +              "Scheduler", "WebServer", "Worker",
        +            });
        +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_SchedulerResource_descriptor =
        +        internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_descriptor
        +            .getNestedTypes()
        +            .get(0);
        +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_SchedulerResource_fieldAccessorTable =
        +        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        +            internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_SchedulerResource_descriptor,
        +            new java.lang.String[] {
        +              "Cpu", "MemoryGb", "StorageGb", "Count",
        +            });
        +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WebServerResource_descriptor =
        +        internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_descriptor
        +            .getNestedTypes()
        +            .get(1);
        +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WebServerResource_fieldAccessorTable =
        +        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        +            internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WebServerResource_descriptor,
        +            new java.lang.String[] {
        +              "Cpu", "MemoryGb", "StorageGb",
        +            });
        +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WorkerResource_descriptor =
        +        internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_descriptor
        +            .getNestedTypes()
        +            .get(2);
        +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WorkerResource_fieldAccessorTable =
        +        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        +            internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WorkerResource_descriptor,
        +            new java.lang.String[] {
        +              "Cpu", "MemoryGb", "StorageGb", "MinCount", "MaxCount",
        +            });
        +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_descriptor =
        +        getDescriptor().getMessageTypes().get(19);
        +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_fieldAccessorTable =
        +        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        +            internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_descriptor,
        +            new java.lang.String[] {
        +              "Name", "Config", "Uuid", "State", "CreateTime", "UpdateTime", "Labels",
        +            });
        +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_LabelsEntry_descriptor =
        +        internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_descriptor
        +            .getNestedTypes()
        +            .get(0);
        +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_LabelsEntry_fieldAccessorTable =
        +        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        +            internal_static_google_cloud_orchestration_airflow_service_v1beta1_Environment_LabelsEntry_descriptor,
        +            new java.lang.String[] {
        +              "Key", "Value",
        +            });
        +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeRequest_descriptor =
        +        getDescriptor().getMessageTypes().get(20);
        +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeRequest_fieldAccessorTable =
        +        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        +            internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeRequest_descriptor,
        +            new java.lang.String[] {
        +              "Environment", "ImageVersion",
        +            });
        +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_descriptor =
        +        getDescriptor().getMessageTypes().get(21);
        +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_fieldAccessorTable =
        +        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        +            internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_descriptor,
        +            new java.lang.String[] {
        +              "BuildLogUri",
        +              "ContainsPypiModulesConflict",
        +              "PypiConflictBuildLogExtract",
        +              "ImageVersion",
        +              "PypiDependencies",
        +            });
        +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_PypiDependenciesEntry_descriptor =
        +        internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_descriptor
        +            .getNestedTypes()
        +            .get(0);
        +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_PypiDependenciesEntry_fieldAccessorTable =
        +        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        +            internal_static_google_cloud_orchestration_airflow_service_v1beta1_CheckUpgradeResponse_PypiDependenciesEntry_descriptor,
        +            new java.lang.String[] {
        +              "Key", "Value",
        +            });
        +    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.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.longrunning.OperationsProto.getDescriptor();
        +    com.google.protobuf.FieldMaskProto.getDescriptor();
        +    com.google.protobuf.TimestampProto.getDescriptor();
        +  }
        +
        +  // @@protoc_insertion_point(outer_class_scope)
        +}
        diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/GetEnvironmentRequest.java b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/GetEnvironmentRequest.java
        similarity index 58%
        rename from owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/GetEnvironmentRequest.java
        rename to proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/GetEnvironmentRequest.java
        index e5ceb5de..ae3e71a3 100644
        --- a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/GetEnvironmentRequest.java
        +++ b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/GetEnvironmentRequest.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/orchestration/airflow/service/v1beta1/environments.proto
         
         package com.google.cloud.orchestration.airflow.service.v1beta1;
         
         /**
        + *
        + *
          * 
          * Get an environment.
          * 
        * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest} */ -public final class GetEnvironmentRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetEnvironmentRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest) GetEnvironmentRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetEnvironmentRequest.newBuilder() to construct. private GetEnvironmentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetEnvironmentRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetEnvironmentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetEnvironmentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetEnvironmentRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,41 @@ private GetEnvironmentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_GetEnvironmentRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_GetEnvironmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_GetEnvironmentRequest_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_GetEnvironmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest.class, com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest.Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest.class, + com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest.Builder + .class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
            * The resource name of the environment to get, in the form:
            * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
            * 
        * * string name = 1; + * * @return The name. */ @java.lang.Override @@ -110,30 +134,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 resource name of the environment to get, in the form:
            * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
            * 
        * * 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 { @@ -142,6 +166,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +202,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.orchestration.airflow.service.v1beta1.GetEnvironmentRequest)) { + if (!(obj + instanceof com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest other = (com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest) obj; + com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest other = + (com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -205,135 +230,152 @@ public int hashCode() { return hash; } - public static com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest 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.orchestration.airflow.service.v1beta1.GetEnvironmentRequest + 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.orchestration.airflow.service.v1beta1.GetEnvironmentRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
            * Get an environment.
            * 
        * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest) com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_GetEnvironmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_GetEnvironmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_GetEnvironmentRequest_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_GetEnvironmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest.class, com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest.Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest.class, + com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest.Builder + .class); } - // Construct using com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest.newBuilder() + // Construct using + // com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,19 +385,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_GetEnvironmentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_GetEnvironmentRequest_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest.getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest + getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest build() { - com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest result = buildPartial(); + com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -363,8 +408,10 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequ } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest buildPartial() { - com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest result = new com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest(this); + public com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest + buildPartial() { + com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest result = + new com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,46 +421,52 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequ public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest) { - return mergeFrom((com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest)other); + if (other + instanceof com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest) { + return mergeFrom( + (com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest other) { - if (other == com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest other) { + if (other + == com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -433,11 +486,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest parsedMessage = null; + com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +505,21 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
              * The resource name of the environment to get, in the form:
              * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
              * 
        * * 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; @@ -470,21 +528,22 @@ public java.lang.String getName() { } } /** + * + * *
              * The resource name of the environment to get, in the form:
              * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
              * 
        * * 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 { @@ -492,64 +551,71 @@ public java.lang.String getName() { } } /** + * + * *
              * The resource name of the environment to get, in the form:
              * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
              * 
        * * 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 resource name of the environment to get, in the form:
              * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
              * 
        * * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
              * The resource name of the environment to get, in the form:
              * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
              * 
        * * 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); } @@ -559,30 +625,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest) - private static final com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest DEFAULT_INSTANCE; + private static final com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest(); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetEnvironmentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetEnvironmentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetEnvironmentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetEnvironmentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -594,9 +663,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/GetEnvironmentRequestOrBuilder.java b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/GetEnvironmentRequestOrBuilder.java similarity index 55% rename from owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/GetEnvironmentRequestOrBuilder.java rename to proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/GetEnvironmentRequestOrBuilder.java index a96b4a41..64bc4b40 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/GetEnvironmentRequestOrBuilder.java +++ b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/GetEnvironmentRequestOrBuilder.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/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; -public interface GetEnvironmentRequestOrBuilder extends +public interface GetEnvironmentRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1beta1.GetEnvironmentRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
            * The resource name of the environment to get, in the form:
            * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
            * 
        * * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
            * The resource name of the environment to get, in the form:
            * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
            * 
        * * 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-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/IPAllocationPolicy.java b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/IPAllocationPolicy.java similarity index 75% rename from owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/IPAllocationPolicy.java rename to proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/IPAllocationPolicy.java index f71a005f..e0ff2a31 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/IPAllocationPolicy.java +++ b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/IPAllocationPolicy.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/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; /** + * + * *
          * Configuration for controlling how IPs are allocated in the
          * GKE cluster.
        @@ -11,15 +28,16 @@
          *
          * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy}
          */
        -public final class IPAllocationPolicy extends
        -    com.google.protobuf.GeneratedMessageV3 implements
        +public final class IPAllocationPolicy extends com.google.protobuf.GeneratedMessageV3
        +    implements
             // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy)
             IPAllocationPolicyOrBuilder {
        -private static final long serialVersionUID = 0L;
        +  private static final long serialVersionUID = 0L;
           // Use IPAllocationPolicy.newBuilder() to construct.
           private IPAllocationPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) {
             super(builder);
           }
        +
           private IPAllocationPolicy() {
             clusterSecondaryRangeName_ = "";
             servicesSecondaryRangeName_ = "";
        @@ -29,16 +47,15 @@ private IPAllocationPolicy() {
         
           @java.lang.Override
           @SuppressWarnings({"unused"})
        -  protected java.lang.Object newInstance(
        -      UnusedPrivateParameter unused) {
        +  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
             return new IPAllocationPolicy();
           }
         
           @java.lang.Override
        -  public final com.google.protobuf.UnknownFieldSet
        -  getUnknownFields() {
        +  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
             return this.unknownFields;
           }
        +
           private IPAllocationPolicy(
               com.google.protobuf.CodedInputStream input,
               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        @@ -57,42 +74,46 @@ private IPAllocationPolicy(
                   case 0:
                     done = true;
                     break;
        -          case 8: {
        -
        -            useIpAliases_ = input.readBool();
        -            break;
        -          }
        -          case 18: {
        -            java.lang.String s = input.readStringRequireUtf8();
        +          case 8:
        +            {
        +              useIpAliases_ = input.readBool();
        +              break;
        +            }
        +          case 18:
        +            {
        +              java.lang.String s = input.readStringRequireUtf8();
         
        -            clusterSecondaryRangeName_ = s;
        -            break;
        -          }
        -          case 26: {
        -            java.lang.String s = input.readStringRequireUtf8();
        +              clusterSecondaryRangeName_ = s;
        +              break;
        +            }
        +          case 26:
        +            {
        +              java.lang.String s = input.readStringRequireUtf8();
         
        -            servicesSecondaryRangeName_ = s;
        -            break;
        -          }
        -          case 34: {
        -            java.lang.String s = input.readStringRequireUtf8();
        +              servicesSecondaryRangeName_ = s;
        +              break;
        +            }
        +          case 34:
        +            {
        +              java.lang.String s = input.readStringRequireUtf8();
         
        -            clusterIpv4CidrBlock_ = s;
        -            break;
        -          }
        -          case 42: {
        -            java.lang.String s = input.readStringRequireUtf8();
        +              clusterIpv4CidrBlock_ = s;
        +              break;
        +            }
        +          case 42:
        +            {
        +              java.lang.String s = input.readStringRequireUtf8();
         
        -            servicesIpv4CidrBlock_ = s;
        -            break;
        -          }
        -          default: {
        -            if (!parseUnknownField(
        -                input, unknownFields, extensionRegistry, tag)) {
        -              done = true;
        +              servicesIpv4CidrBlock_ = s;
        +              break;
        +            }
        +          default:
        +            {
        +              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
        +                done = true;
        +              }
        +              break;
                     }
        -            break;
        -          }
                 }
               }
             } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        @@ -100,35 +121,41 @@ private IPAllocationPolicy(
             } catch (com.google.protobuf.UninitializedMessageException e) {
               throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
             } catch (java.io.IOException e) {
        -      throw new com.google.protobuf.InvalidProtocolBufferException(
        -          e).setUnfinishedMessage(this);
        +      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
             } finally {
               this.unknownFields = unknownFields.build();
               makeExtensionsImmutable();
             }
           }
        -  public static final com.google.protobuf.Descriptors.Descriptor
        -      getDescriptor() {
        -    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_IPAllocationPolicy_descriptor;
        +
        +  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        +    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
        +        .internal_static_google_cloud_orchestration_airflow_service_v1beta1_IPAllocationPolicy_descriptor;
           }
         
           @java.lang.Override
           protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
               internalGetFieldAccessorTable() {
        -    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_IPAllocationPolicy_fieldAccessorTable
        +    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
        +        .internal_static_google_cloud_orchestration_airflow_service_v1beta1_IPAllocationPolicy_fieldAccessorTable
                 .ensureFieldAccessorsInitialized(
        -            com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy.class, com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy.Builder.class);
        +            com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy.class,
        +            com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy.Builder
        +                .class);
           }
         
           public static final int USE_IP_ALIASES_FIELD_NUMBER = 1;
           private boolean useIpAliases_;
           /**
        +   *
        +   *
            * 
            * Optional. Whether or not to enable Alias IPs in the GKE cluster.
            * If `true`, a VPC-native cluster is created.
            * 
        * * bool use_ip_aliases = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The useIpAliases. */ @java.lang.Override @@ -139,6 +166,8 @@ public boolean getUseIpAliases() { public static final int CLUSTER_SECONDARY_RANGE_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object clusterSecondaryRangeName_; /** + * + * *
            * Optional. The name of the cluster's secondary range used to allocate
            * IP addresses to pods. Specify either `cluster_secondary_range_name`
        @@ -147,6 +176,7 @@ public boolean getUseIpAliases() {
            * 
        * * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The clusterSecondaryRangeName. */ @java.lang.Override @@ -155,14 +185,15 @@ public java.lang.String getClusterSecondaryRangeName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterSecondaryRangeName_ = s; return s; } } /** + * + * *
            * Optional. The name of the cluster's secondary range used to allocate
            * IP addresses to pods. Specify either `cluster_secondary_range_name`
        @@ -171,16 +202,15 @@ public java.lang.String getClusterSecondaryRangeName() {
            * 
        * * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for clusterSecondaryRangeName. */ @java.lang.Override - public com.google.protobuf.ByteString - getClusterSecondaryRangeNameBytes() { + public com.google.protobuf.ByteString getClusterSecondaryRangeNameBytes() { java.lang.Object ref = clusterSecondaryRangeName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterSecondaryRangeName_ = b; return b; } else { @@ -191,6 +221,8 @@ public java.lang.String getClusterSecondaryRangeName() { public static final int SERVICES_SECONDARY_RANGE_NAME_FIELD_NUMBER = 3; private volatile java.lang.Object servicesSecondaryRangeName_; /** + * + * *
            * Optional. The name of the services' secondary range used to allocate
            * IP addresses to the cluster. Specify either `services_secondary_range_name`
        @@ -198,7 +230,9 @@ public java.lang.String getClusterSecondaryRangeName() {
            * This field is applicable only when `use_ip_aliases` is true.
            * 
        * - * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; + * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The servicesSecondaryRangeName. */ @java.lang.Override @@ -207,14 +241,15 @@ public java.lang.String getServicesSecondaryRangeName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); servicesSecondaryRangeName_ = s; return s; } } /** + * + * *
            * Optional. The name of the services' secondary range used to allocate
            * IP addresses to the cluster. Specify either `services_secondary_range_name`
        @@ -222,17 +257,17 @@ public java.lang.String getServicesSecondaryRangeName() {
            * This field is applicable only when `use_ip_aliases` is true.
            * 
        * - * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; + * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The bytes for servicesSecondaryRangeName. */ @java.lang.Override - public com.google.protobuf.ByteString - getServicesSecondaryRangeNameBytes() { + public com.google.protobuf.ByteString getServicesSecondaryRangeNameBytes() { java.lang.Object ref = servicesSecondaryRangeName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); servicesSecondaryRangeName_ = b; return b; } else { @@ -243,6 +278,8 @@ public java.lang.String getServicesSecondaryRangeName() { public static final int CLUSTER_IPV4_CIDR_BLOCK_FIELD_NUMBER = 4; private volatile java.lang.Object clusterIpv4CidrBlock_; /** + * + * *
            * Optional. The IP address range used to allocate IP addresses to pods in
            * the cluster.
        @@ -260,6 +297,7 @@ public java.lang.String getServicesSecondaryRangeName() {
            * 
        * * string cluster_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The clusterIpv4CidrBlock. */ @java.lang.Override @@ -268,14 +306,15 @@ public java.lang.String getClusterIpv4CidrBlock() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterIpv4CidrBlock_ = s; return s; } } /** + * + * *
            * Optional. The IP address range used to allocate IP addresses to pods in
            * the cluster.
        @@ -293,16 +332,15 @@ public java.lang.String getClusterIpv4CidrBlock() {
            * 
        * * string cluster_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for clusterIpv4CidrBlock. */ @java.lang.Override - public com.google.protobuf.ByteString - getClusterIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString getClusterIpv4CidrBlockBytes() { java.lang.Object ref = clusterIpv4CidrBlock_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterIpv4CidrBlock_ = b; return b; } else { @@ -313,6 +351,8 @@ public java.lang.String getClusterIpv4CidrBlock() { public static final int SERVICES_IPV4_CIDR_BLOCK_FIELD_NUMBER = 5; private volatile java.lang.Object servicesIpv4CidrBlock_; /** + * + * *
            * Optional. The IP address range of the services IP addresses in this
            * cluster.
        @@ -330,6 +370,7 @@ public java.lang.String getClusterIpv4CidrBlock() {
            * 
        * * string services_ipv4_cidr_block = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The servicesIpv4CidrBlock. */ @java.lang.Override @@ -338,14 +379,15 @@ public java.lang.String getServicesIpv4CidrBlock() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); servicesIpv4CidrBlock_ = s; return s; } } /** + * + * *
            * Optional. The IP address range of the services IP addresses in this
            * cluster.
        @@ -363,16 +405,15 @@ public java.lang.String getServicesIpv4CidrBlock() {
            * 
        * * string services_ipv4_cidr_block = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for servicesIpv4CidrBlock. */ @java.lang.Override - public com.google.protobuf.ByteString - getServicesIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString getServicesIpv4CidrBlockBytes() { java.lang.Object ref = servicesIpv4CidrBlock_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); servicesIpv4CidrBlock_ = b; return b; } else { @@ -381,6 +422,7 @@ public java.lang.String getServicesIpv4CidrBlock() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -392,8 +434,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 (useIpAliases_ != false) { output.writeBool(1, useIpAliases_); } @@ -419,14 +460,15 @@ public int getSerializedSize() { size = 0; if (useIpAliases_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, useIpAliases_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, useIpAliases_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterSecondaryRangeName_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, clusterSecondaryRangeName_); + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize(2, clusterSecondaryRangeName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(servicesSecondaryRangeName_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, servicesSecondaryRangeName_); + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize(3, servicesSecondaryRangeName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterIpv4CidrBlock_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, clusterIpv4CidrBlock_); @@ -442,23 +484,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.orchestration.airflow.service.v1beta1.IPAllocationPolicy)) { + if (!(obj + instanceof com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy other = (com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy) obj; - - if (getUseIpAliases() - != other.getUseIpAliases()) return false; - if (!getClusterSecondaryRangeName() - .equals(other.getClusterSecondaryRangeName())) return false; - if (!getServicesSecondaryRangeName() - .equals(other.getServicesSecondaryRangeName())) return false; - if (!getClusterIpv4CidrBlock() - .equals(other.getClusterIpv4CidrBlock())) return false; - if (!getServicesIpv4CidrBlock() - .equals(other.getServicesIpv4CidrBlock())) return false; + com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy other = + (com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy) obj; + + if (getUseIpAliases() != other.getUseIpAliases()) return false; + if (!getClusterSecondaryRangeName().equals(other.getClusterSecondaryRangeName())) return false; + if (!getServicesSecondaryRangeName().equals(other.getServicesSecondaryRangeName())) + return false; + if (!getClusterIpv4CidrBlock().equals(other.getClusterIpv4CidrBlock())) return false; + if (!getServicesIpv4CidrBlock().equals(other.getServicesIpv4CidrBlock())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -471,8 +511,7 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + USE_IP_ALIASES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getUseIpAliases()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUseIpAliases()); hash = (37 * hash) + CLUSTER_SECONDARY_RANGE_NAME_FIELD_NUMBER; hash = (53 * hash) + getClusterSecondaryRangeName().hashCode(); hash = (37 * hash) + SERVICES_SECONDARY_RANGE_NAME_FIELD_NUMBER; @@ -487,96 +526,105 @@ public int hashCode() { } public static com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy 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.orchestration.airflow.service.v1beta1.IPAllocationPolicy parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy 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.orchestration.airflow.service.v1beta1.IPAllocationPolicy + 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.orchestration.airflow.service.v1beta1.IPAllocationPolicy parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy prototype) { + + public static Builder newBuilder( + com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
            * Configuration for controlling how IPs are allocated in the
            * GKE cluster.
        @@ -584,38 +632,41 @@ protected Builder newBuilderForType(
            *
            * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy}
            */
        -  public static final class Builder extends
        -      com.google.protobuf.GeneratedMessageV3.Builder implements
        +  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
        +      implements
               // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy)
               com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicyOrBuilder {
        -    public static final com.google.protobuf.Descriptors.Descriptor
        -        getDescriptor() {
        -      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_IPAllocationPolicy_descriptor;
        +    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        +      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
        +          .internal_static_google_cloud_orchestration_airflow_service_v1beta1_IPAllocationPolicy_descriptor;
             }
         
             @java.lang.Override
             protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
                 internalGetFieldAccessorTable() {
        -      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_IPAllocationPolicy_fieldAccessorTable
        +      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
        +          .internal_static_google_cloud_orchestration_airflow_service_v1beta1_IPAllocationPolicy_fieldAccessorTable
                   .ensureFieldAccessorsInitialized(
        -              com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy.class, com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy.Builder.class);
        +              com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy.class,
        +              com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy.Builder
        +                  .class);
             }
         
        -    // Construct using com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy.newBuilder()
        +    // Construct using
        +    // com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy.newBuilder()
             private Builder() {
               maybeForceBuilderInitialization();
             }
         
        -    private Builder(
        -        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        +    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
               super(parent);
               maybeForceBuilderInitialization();
             }
        +
             private void maybeForceBuilderInitialization() {
        -      if (com.google.protobuf.GeneratedMessageV3
        -              .alwaysUseFieldBuilders) {
        -      }
        +      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
             }
        +
             @java.lang.Override
             public Builder clear() {
               super.clear();
        @@ -633,19 +684,22 @@ public Builder clear() {
             }
         
             @java.lang.Override
        -    public com.google.protobuf.Descriptors.Descriptor
        -        getDescriptorForType() {
        -      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_IPAllocationPolicy_descriptor;
        +    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
        +      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
        +          .internal_static_google_cloud_orchestration_airflow_service_v1beta1_IPAllocationPolicy_descriptor;
             }
         
             @java.lang.Override
        -    public com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy getDefaultInstanceForType() {
        -      return com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy.getDefaultInstance();
        +    public com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy
        +        getDefaultInstanceForType() {
        +      return com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy
        +          .getDefaultInstance();
             }
         
             @java.lang.Override
             public com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy build() {
        -      com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy result = buildPartial();
        +      com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy result =
        +          buildPartial();
               if (!result.isInitialized()) {
                 throw newUninitializedMessageException(result);
               }
        @@ -653,8 +707,10 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy
             }
         
             @java.lang.Override
        -    public com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy buildPartial() {
        -      com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy result = new com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy(this);
        +    public com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy
        +        buildPartial() {
        +      com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy result =
        +          new com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy(this);
               result.useIpAliases_ = useIpAliases_;
               result.clusterSecondaryRangeName_ = clusterSecondaryRangeName_;
               result.servicesSecondaryRangeName_ = servicesSecondaryRangeName_;
        @@ -668,46 +724,52 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy
             public Builder clone() {
               return super.clone();
             }
        +
             @java.lang.Override
             public Builder setField(
        -        com.google.protobuf.Descriptors.FieldDescriptor field,
        -        java.lang.Object value) {
        +        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
               return super.setField(field, value);
             }
        +
             @java.lang.Override
        -    public Builder clearField(
        -        com.google.protobuf.Descriptors.FieldDescriptor field) {
        +    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
               return super.clearField(field);
             }
        +
             @java.lang.Override
        -    public Builder clearOneof(
        -        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        +    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
               return super.clearOneof(oneof);
             }
        +
             @java.lang.Override
             public Builder setRepeatedField(
        -        com.google.protobuf.Descriptors.FieldDescriptor field,
        -        int index, java.lang.Object value) {
        +        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
               return super.setRepeatedField(field, index, value);
             }
        +
             @java.lang.Override
             public Builder addRepeatedField(
        -        com.google.protobuf.Descriptors.FieldDescriptor field,
        -        java.lang.Object value) {
        +        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
               return super.addRepeatedField(field, value);
             }
        +
             @java.lang.Override
             public Builder mergeFrom(com.google.protobuf.Message other) {
        -      if (other instanceof com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy) {
        -        return mergeFrom((com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy)other);
        +      if (other
        +          instanceof com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy) {
        +        return mergeFrom(
        +            (com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy) other);
               } else {
                 super.mergeFrom(other);
                 return this;
               }
             }
         
        -    public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy other) {
        -      if (other == com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy.getDefaultInstance()) return this;
        +    public Builder mergeFrom(
        +        com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy other) {
        +      if (other
        +          == com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy
        +              .getDefaultInstance()) return this;
               if (other.getUseIpAliases() != false) {
                 setUseIpAliases(other.getUseIpAliases());
               }
        @@ -742,11 +804,14 @@ public Builder mergeFrom(
                 com.google.protobuf.CodedInputStream input,
                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                 throws java.io.IOException {
        -      com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy parsedMessage = null;
        +      com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy parsedMessage =
        +          null;
               try {
                 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
               } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        -        parsedMessage = (com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy) e.getUnfinishedMessage();
        +        parsedMessage =
        +            (com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy)
        +                e.getUnfinishedMessage();
                 throw e.unwrapIOException();
               } finally {
                 if (parsedMessage != null) {
        @@ -756,14 +821,17 @@ public Builder mergeFrom(
               return this;
             }
         
        -    private boolean useIpAliases_ ;
        +    private boolean useIpAliases_;
             /**
        +     *
        +     *
              * 
              * Optional. Whether or not to enable Alias IPs in the GKE cluster.
              * If `true`, a VPC-native cluster is created.
              * 
        * * bool use_ip_aliases = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The useIpAliases. */ @java.lang.Override @@ -771,32 +839,38 @@ public boolean getUseIpAliases() { return useIpAliases_; } /** + * + * *
              * Optional. Whether or not to enable Alias IPs in the GKE cluster.
              * If `true`, a VPC-native cluster is created.
              * 
        * * bool use_ip_aliases = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The useIpAliases to set. * @return This builder for chaining. */ public Builder setUseIpAliases(boolean value) { - + useIpAliases_ = value; onChanged(); return this; } /** + * + * *
              * Optional. Whether or not to enable Alias IPs in the GKE cluster.
              * If `true`, a VPC-native cluster is created.
              * 
        * * bool use_ip_aliases = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearUseIpAliases() { - + useIpAliases_ = false; onChanged(); return this; @@ -804,6 +878,8 @@ public Builder clearUseIpAliases() { private java.lang.Object clusterSecondaryRangeName_ = ""; /** + * + * *
              * Optional. The name of the cluster's secondary range used to allocate
              * IP addresses to pods. Specify either `cluster_secondary_range_name`
        @@ -811,14 +887,15 @@ public Builder clearUseIpAliases() {
              * This field is applicable only when `use_ip_aliases` is true.
              * 
        * - * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The clusterSecondaryRangeName. */ public java.lang.String getClusterSecondaryRangeName() { java.lang.Object ref = clusterSecondaryRangeName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterSecondaryRangeName_ = s; return s; @@ -827,6 +904,8 @@ public java.lang.String getClusterSecondaryRangeName() { } } /** + * + * *
              * Optional. The name of the cluster's secondary range used to allocate
              * IP addresses to pods. Specify either `cluster_secondary_range_name`
        @@ -834,16 +913,16 @@ public java.lang.String getClusterSecondaryRangeName() {
              * This field is applicable only when `use_ip_aliases` is true.
              * 
        * - * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The bytes for clusterSecondaryRangeName. */ - public com.google.protobuf.ByteString - getClusterSecondaryRangeNameBytes() { + public com.google.protobuf.ByteString getClusterSecondaryRangeNameBytes() { java.lang.Object ref = clusterSecondaryRangeName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterSecondaryRangeName_ = b; return b; } else { @@ -851,6 +930,8 @@ public java.lang.String getClusterSecondaryRangeName() { } } /** + * + * *
              * Optional. The name of the cluster's secondary range used to allocate
              * IP addresses to pods. Specify either `cluster_secondary_range_name`
        @@ -858,21 +939,24 @@ public java.lang.String getClusterSecondaryRangeName() {
              * This field is applicable only when `use_ip_aliases` is true.
              * 
        * - * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The clusterSecondaryRangeName to set. * @return This builder for chaining. */ - public Builder setClusterSecondaryRangeName( - java.lang.String value) { + public Builder setClusterSecondaryRangeName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterSecondaryRangeName_ = value; onChanged(); return this; } /** + * + * *
              * Optional. The name of the cluster's secondary range used to allocate
              * IP addresses to pods. Specify either `cluster_secondary_range_name`
        @@ -880,16 +964,20 @@ public Builder setClusterSecondaryRangeName(
              * This field is applicable only when `use_ip_aliases` is true.
              * 
        * - * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearClusterSecondaryRangeName() { - + clusterSecondaryRangeName_ = getDefaultInstance().getClusterSecondaryRangeName(); onChanged(); return this; } /** + * + * *
              * Optional. The name of the cluster's secondary range used to allocate
              * IP addresses to pods. Specify either `cluster_secondary_range_name`
        @@ -897,17 +985,18 @@ public Builder clearClusterSecondaryRangeName() {
              * This field is applicable only when `use_ip_aliases` is true.
              * 
        * - * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The bytes for clusterSecondaryRangeName to set. * @return This builder for chaining. */ - public Builder setClusterSecondaryRangeNameBytes( - com.google.protobuf.ByteString value) { + public Builder setClusterSecondaryRangeNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterSecondaryRangeName_ = value; onChanged(); return this; @@ -915,6 +1004,8 @@ public Builder setClusterSecondaryRangeNameBytes( private java.lang.Object servicesSecondaryRangeName_ = ""; /** + * + * *
              * Optional. The name of the services' secondary range used to allocate
              * IP addresses to the cluster. Specify either `services_secondary_range_name`
        @@ -922,14 +1013,15 @@ public Builder setClusterSecondaryRangeNameBytes(
              * This field is applicable only when `use_ip_aliases` is true.
              * 
        * - * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; + * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The servicesSecondaryRangeName. */ public java.lang.String getServicesSecondaryRangeName() { java.lang.Object ref = servicesSecondaryRangeName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); servicesSecondaryRangeName_ = s; return s; @@ -938,6 +1030,8 @@ public java.lang.String getServicesSecondaryRangeName() { } } /** + * + * *
              * Optional. The name of the services' secondary range used to allocate
              * IP addresses to the cluster. Specify either `services_secondary_range_name`
        @@ -945,16 +1039,16 @@ public java.lang.String getServicesSecondaryRangeName() {
              * This field is applicable only when `use_ip_aliases` is true.
              * 
        * - * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; + * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The bytes for servicesSecondaryRangeName. */ - public com.google.protobuf.ByteString - getServicesSecondaryRangeNameBytes() { + public com.google.protobuf.ByteString getServicesSecondaryRangeNameBytes() { java.lang.Object ref = servicesSecondaryRangeName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); servicesSecondaryRangeName_ = b; return b; } else { @@ -962,6 +1056,8 @@ public java.lang.String getServicesSecondaryRangeName() { } } /** + * + * *
              * Optional. The name of the services' secondary range used to allocate
              * IP addresses to the cluster. Specify either `services_secondary_range_name`
        @@ -969,21 +1065,24 @@ public java.lang.String getServicesSecondaryRangeName() {
              * This field is applicable only when `use_ip_aliases` is true.
              * 
        * - * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; + * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The servicesSecondaryRangeName to set. * @return This builder for chaining. */ - public Builder setServicesSecondaryRangeName( - java.lang.String value) { + public Builder setServicesSecondaryRangeName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + servicesSecondaryRangeName_ = value; onChanged(); return this; } /** + * + * *
              * Optional. The name of the services' secondary range used to allocate
              * IP addresses to the cluster. Specify either `services_secondary_range_name`
        @@ -991,16 +1090,20 @@ public Builder setServicesSecondaryRangeName(
              * This field is applicable only when `use_ip_aliases` is true.
              * 
        * - * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; + * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearServicesSecondaryRangeName() { - + servicesSecondaryRangeName_ = getDefaultInstance().getServicesSecondaryRangeName(); onChanged(); return this; } /** + * + * *
              * Optional. The name of the services' secondary range used to allocate
              * IP addresses to the cluster. Specify either `services_secondary_range_name`
        @@ -1008,17 +1111,18 @@ public Builder clearServicesSecondaryRangeName() {
              * This field is applicable only when `use_ip_aliases` is true.
              * 
        * - * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; + * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The bytes for servicesSecondaryRangeName to set. * @return This builder for chaining. */ - public Builder setServicesSecondaryRangeNameBytes( - com.google.protobuf.ByteString value) { + public Builder setServicesSecondaryRangeNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + servicesSecondaryRangeName_ = value; onChanged(); return this; @@ -1026,6 +1130,8 @@ public Builder setServicesSecondaryRangeNameBytes( private java.lang.Object clusterIpv4CidrBlock_ = ""; /** + * + * *
              * Optional. The IP address range used to allocate IP addresses to pods in
              * the cluster.
        @@ -1043,13 +1149,13 @@ public Builder setServicesSecondaryRangeNameBytes(
              * 
        * * string cluster_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The clusterIpv4CidrBlock. */ public java.lang.String getClusterIpv4CidrBlock() { java.lang.Object ref = clusterIpv4CidrBlock_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterIpv4CidrBlock_ = s; return s; @@ -1058,6 +1164,8 @@ public java.lang.String getClusterIpv4CidrBlock() { } } /** + * + * *
              * Optional. The IP address range used to allocate IP addresses to pods in
              * the cluster.
        @@ -1075,15 +1183,14 @@ public java.lang.String getClusterIpv4CidrBlock() {
              * 
        * * string cluster_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for clusterIpv4CidrBlock. */ - public com.google.protobuf.ByteString - getClusterIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString getClusterIpv4CidrBlockBytes() { java.lang.Object ref = clusterIpv4CidrBlock_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterIpv4CidrBlock_ = b; return b; } else { @@ -1091,6 +1198,8 @@ public java.lang.String getClusterIpv4CidrBlock() { } } /** + * + * *
              * Optional. The IP address range used to allocate IP addresses to pods in
              * the cluster.
        @@ -1108,20 +1217,22 @@ public java.lang.String getClusterIpv4CidrBlock() {
              * 
        * * string cluster_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The clusterIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setClusterIpv4CidrBlock( - java.lang.String value) { + public Builder setClusterIpv4CidrBlock(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterIpv4CidrBlock_ = value; onChanged(); return this; } /** + * + * *
              * Optional. The IP address range used to allocate IP addresses to pods in
              * the cluster.
        @@ -1139,15 +1250,18 @@ public Builder setClusterIpv4CidrBlock(
              * 
        * * string cluster_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearClusterIpv4CidrBlock() { - + clusterIpv4CidrBlock_ = getDefaultInstance().getClusterIpv4CidrBlock(); onChanged(); return this; } /** + * + * *
              * Optional. The IP address range used to allocate IP addresses to pods in
              * the cluster.
        @@ -1165,16 +1279,16 @@ public Builder clearClusterIpv4CidrBlock() {
              * 
        * * string cluster_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for clusterIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setClusterIpv4CidrBlockBytes( - com.google.protobuf.ByteString value) { + public Builder setClusterIpv4CidrBlockBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterIpv4CidrBlock_ = value; onChanged(); return this; @@ -1182,6 +1296,8 @@ public Builder setClusterIpv4CidrBlockBytes( private java.lang.Object servicesIpv4CidrBlock_ = ""; /** + * + * *
              * Optional. The IP address range of the services IP addresses in this
              * cluster.
        @@ -1199,13 +1315,13 @@ public Builder setClusterIpv4CidrBlockBytes(
              * 
        * * string services_ipv4_cidr_block = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The servicesIpv4CidrBlock. */ public java.lang.String getServicesIpv4CidrBlock() { java.lang.Object ref = servicesIpv4CidrBlock_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); servicesIpv4CidrBlock_ = s; return s; @@ -1214,6 +1330,8 @@ public java.lang.String getServicesIpv4CidrBlock() { } } /** + * + * *
              * Optional. The IP address range of the services IP addresses in this
              * cluster.
        @@ -1231,15 +1349,14 @@ public java.lang.String getServicesIpv4CidrBlock() {
              * 
        * * string services_ipv4_cidr_block = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for servicesIpv4CidrBlock. */ - public com.google.protobuf.ByteString - getServicesIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString getServicesIpv4CidrBlockBytes() { java.lang.Object ref = servicesIpv4CidrBlock_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); servicesIpv4CidrBlock_ = b; return b; } else { @@ -1247,6 +1364,8 @@ public java.lang.String getServicesIpv4CidrBlock() { } } /** + * + * *
              * Optional. The IP address range of the services IP addresses in this
              * cluster.
        @@ -1264,20 +1383,22 @@ public java.lang.String getServicesIpv4CidrBlock() {
              * 
        * * string services_ipv4_cidr_block = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The servicesIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setServicesIpv4CidrBlock( - java.lang.String value) { + public Builder setServicesIpv4CidrBlock(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + servicesIpv4CidrBlock_ = value; onChanged(); return this; } /** + * + * *
              * Optional. The IP address range of the services IP addresses in this
              * cluster.
        @@ -1295,15 +1416,18 @@ public Builder setServicesIpv4CidrBlock(
              * 
        * * string services_ipv4_cidr_block = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearServicesIpv4CidrBlock() { - + servicesIpv4CidrBlock_ = getDefaultInstance().getServicesIpv4CidrBlock(); onChanged(); return this; } /** + * + * *
              * Optional. The IP address range of the services IP addresses in this
              * cluster.
        @@ -1321,23 +1445,23 @@ public Builder clearServicesIpv4CidrBlock() {
              * 
        * * string services_ipv4_cidr_block = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for servicesIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setServicesIpv4CidrBlockBytes( - com.google.protobuf.ByteString value) { + public Builder setServicesIpv4CidrBlockBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + servicesIpv4CidrBlock_ = 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); } @@ -1347,30 +1471,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy) - private static final com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy DEFAULT_INSTANCE; + private static final com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy(); + DEFAULT_INSTANCE = + new com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy(); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IPAllocationPolicy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new IPAllocationPolicy(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IPAllocationPolicy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IPAllocationPolicy(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1382,9 +1509,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/IPAllocationPolicyOrBuilder.java b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/IPAllocationPolicyOrBuilder.java similarity index 83% rename from owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/IPAllocationPolicyOrBuilder.java rename to proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/IPAllocationPolicyOrBuilder.java index 8ce8ed3e..89c45606 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/IPAllocationPolicyOrBuilder.java +++ b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/IPAllocationPolicyOrBuilder.java @@ -1,24 +1,45 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; -public interface IPAllocationPolicyOrBuilder extends +public interface IPAllocationPolicyOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy) com.google.protobuf.MessageOrBuilder { /** + * + * *
            * Optional. Whether or not to enable Alias IPs in the GKE cluster.
            * If `true`, a VPC-native cluster is created.
            * 
        * * bool use_ip_aliases = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The useIpAliases. */ boolean getUseIpAliases(); /** + * + * *
            * Optional. The name of the cluster's secondary range used to allocate
            * IP addresses to pods. Specify either `cluster_secondary_range_name`
        @@ -27,10 +48,13 @@ public interface IPAllocationPolicyOrBuilder extends
            * 
        * * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The clusterSecondaryRangeName. */ java.lang.String getClusterSecondaryRangeName(); /** + * + * *
            * Optional. The name of the cluster's secondary range used to allocate
            * IP addresses to pods. Specify either `cluster_secondary_range_name`
        @@ -39,12 +63,14 @@ public interface IPAllocationPolicyOrBuilder extends
            * 
        * * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for clusterSecondaryRangeName. */ - com.google.protobuf.ByteString - getClusterSecondaryRangeNameBytes(); + com.google.protobuf.ByteString getClusterSecondaryRangeNameBytes(); /** + * + * *
            * Optional. The name of the services' secondary range used to allocate
            * IP addresses to the cluster. Specify either `services_secondary_range_name`
        @@ -52,11 +78,15 @@ public interface IPAllocationPolicyOrBuilder extends
            * This field is applicable only when `use_ip_aliases` is true.
            * 
        * - * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; + * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The servicesSecondaryRangeName. */ java.lang.String getServicesSecondaryRangeName(); /** + * + * *
            * Optional. The name of the services' secondary range used to allocate
            * IP addresses to the cluster. Specify either `services_secondary_range_name`
        @@ -64,13 +94,16 @@ public interface IPAllocationPolicyOrBuilder extends
            * This field is applicable only when `use_ip_aliases` is true.
            * 
        * - * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; + * string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The bytes for servicesSecondaryRangeName. */ - com.google.protobuf.ByteString - getServicesSecondaryRangeNameBytes(); + com.google.protobuf.ByteString getServicesSecondaryRangeNameBytes(); /** + * + * *
            * Optional. The IP address range used to allocate IP addresses to pods in
            * the cluster.
        @@ -88,10 +121,13 @@ public interface IPAllocationPolicyOrBuilder extends
            * 
        * * string cluster_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The clusterIpv4CidrBlock. */ java.lang.String getClusterIpv4CidrBlock(); /** + * + * *
            * Optional. The IP address range used to allocate IP addresses to pods in
            * the cluster.
        @@ -109,12 +145,14 @@ public interface IPAllocationPolicyOrBuilder extends
            * 
        * * string cluster_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for clusterIpv4CidrBlock. */ - com.google.protobuf.ByteString - getClusterIpv4CidrBlockBytes(); + com.google.protobuf.ByteString getClusterIpv4CidrBlockBytes(); /** + * + * *
            * Optional. The IP address range of the services IP addresses in this
            * cluster.
        @@ -132,10 +170,13 @@ public interface IPAllocationPolicyOrBuilder extends
            * 
        * * string services_ipv4_cidr_block = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The servicesIpv4CidrBlock. */ java.lang.String getServicesIpv4CidrBlock(); /** + * + * *
            * Optional. The IP address range of the services IP addresses in this
            * cluster.
        @@ -153,8 +194,8 @@ public interface IPAllocationPolicyOrBuilder extends
            * 
        * * string services_ipv4_cidr_block = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for servicesIpv4CidrBlock. */ - com.google.protobuf.ByteString - getServicesIpv4CidrBlockBytes(); + com.google.protobuf.ByteString getServicesIpv4CidrBlockBytes(); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersion.java b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersion.java similarity index 72% rename from owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersion.java rename to proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersion.java index 5170f21c..5770d56e 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersion.java +++ b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersion.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/orchestration/airflow/service/v1beta1/image_versions.proto package com.google.cloud.orchestration.airflow.service.v1beta1; /** + * + * *
          * Image Version information
          * 
        * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.ImageVersion} */ -public final class ImageVersion extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImageVersion extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1beta1.ImageVersion) ImageVersionOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImageVersion.newBuilder() to construct. private ImageVersion(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ImageVersion() { imageVersionId_ = ""; supportedPythonVersions_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -26,16 +44,15 @@ private ImageVersion() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImageVersion(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImageVersion( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,56 +72,59 @@ private ImageVersion( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - imageVersionId_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - isDefault_ = input.readBool(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - supportedPythonVersions_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + imageVersionId_ = s; + break; } - supportedPythonVersions_.add(s); - break; - } - case 34: { - com.google.type.Date.Builder subBuilder = null; - if (releaseDate_ != null) { - subBuilder = releaseDate_.toBuilder(); + case 16: + { + isDefault_ = input.readBool(); + break; } - releaseDate_ = input.readMessage(com.google.type.Date.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(releaseDate_); - releaseDate_ = subBuilder.buildPartial(); + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + supportedPythonVersions_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + supportedPythonVersions_.add(s); + break; } + case 34: + { + com.google.type.Date.Builder subBuilder = null; + if (releaseDate_ != null) { + subBuilder = releaseDate_.toBuilder(); + } + releaseDate_ = input.readMessage(com.google.type.Date.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(releaseDate_); + releaseDate_ = subBuilder.buildPartial(); + } - break; - } - case 40: { - - creationDisabled_ = input.readBool(); - break; - } - case 48: { - - upgradeDisabled_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + case 40: + { + creationDisabled_ = input.readBool(); + break; + } + case 48: + { + upgradeDisabled_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -112,8 +132,7 @@ private ImageVersion( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { supportedPythonVersions_ = supportedPythonVersions_.getUnmodifiableView(); @@ -122,28 +141,34 @@ private ImageVersion( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_ImageVersion_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_ImageVersion_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_ImageVersion_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_ImageVersion_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.class, com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.class, + com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.Builder.class); } public static final int IMAGE_VERSION_ID_FIELD_NUMBER = 1; private volatile java.lang.Object imageVersionId_; /** + * + * *
            * The string identifier of the ImageVersion, in the form:
            * "composer-x.y.z-airflow-a.b(.c)"
            * 
        * * string image_version_id = 1; + * * @return The imageVersionId. */ @java.lang.Override @@ -152,30 +177,30 @@ public java.lang.String getImageVersionId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageVersionId_ = s; return s; } } /** + * + * *
            * The string identifier of the ImageVersion, in the form:
            * "composer-x.y.z-airflow-a.b(.c)"
            * 
        * * string image_version_id = 1; + * * @return The bytes for imageVersionId. */ @java.lang.Override - public com.google.protobuf.ByteString - getImageVersionIdBytes() { + public com.google.protobuf.ByteString getImageVersionIdBytes() { java.lang.Object ref = imageVersionId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); imageVersionId_ = b; return b; } else { @@ -186,12 +211,15 @@ public java.lang.String getImageVersionId() { public static final int IS_DEFAULT_FIELD_NUMBER = 2; private boolean isDefault_; /** + * + * *
            * Whether this is the default ImageVersion used by Composer during
            * environment creation if no input ImageVersion is specified.
            * 
        * * bool is_default = 2; + * * @return The isDefault. */ @java.lang.Override @@ -202,34 +230,42 @@ public boolean getIsDefault() { public static final int SUPPORTED_PYTHON_VERSIONS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList supportedPythonVersions_; /** + * + * *
            * supported python versions
            * 
        * * repeated string supported_python_versions = 3; + * * @return A list containing the supportedPythonVersions. */ - public com.google.protobuf.ProtocolStringList - getSupportedPythonVersionsList() { + public com.google.protobuf.ProtocolStringList getSupportedPythonVersionsList() { return supportedPythonVersions_; } /** + * + * *
            * supported python versions
            * 
        * * repeated string supported_python_versions = 3; + * * @return The count of supportedPythonVersions. */ public int getSupportedPythonVersionsCount() { return supportedPythonVersions_.size(); } /** + * + * *
            * supported python versions
            * 
        * * repeated string supported_python_versions = 3; + * * @param index The index of the element to return. * @return The supportedPythonVersions at the given index. */ @@ -237,27 +273,32 @@ public java.lang.String getSupportedPythonVersions(int index) { return supportedPythonVersions_.get(index); } /** + * + * *
            * supported python versions
            * 
        * * repeated string supported_python_versions = 3; + * * @param index The index of the value to return. * @return The bytes of the supportedPythonVersions at the given index. */ - public com.google.protobuf.ByteString - getSupportedPythonVersionsBytes(int index) { + public com.google.protobuf.ByteString getSupportedPythonVersionsBytes(int index) { return supportedPythonVersions_.getByteString(index); } public static final int RELEASE_DATE_FIELD_NUMBER = 4; private com.google.type.Date releaseDate_; /** + * + * *
            * The date of the version release.
            * 
        * * .google.type.Date release_date = 4; + * * @return Whether the releaseDate field is set. */ @java.lang.Override @@ -265,11 +306,14 @@ public boolean hasReleaseDate() { return releaseDate_ != null; } /** + * + * *
            * The date of the version release.
            * 
        * * .google.type.Date release_date = 4; + * * @return The releaseDate. */ @java.lang.Override @@ -277,6 +321,8 @@ public com.google.type.Date getReleaseDate() { return releaseDate_ == null ? com.google.type.Date.getDefaultInstance() : releaseDate_; } /** + * + * *
            * The date of the version release.
            * 
        @@ -291,11 +337,14 @@ public com.google.type.DateOrBuilder getReleaseDateOrBuilder() { public static final int CREATION_DISABLED_FIELD_NUMBER = 5; private boolean creationDisabled_; /** + * + * *
            * Whether it is impossible to create an environment with the image version.
            * 
        * * bool creation_disabled = 5; + * * @return The creationDisabled. */ @java.lang.Override @@ -306,12 +355,15 @@ public boolean getCreationDisabled() { public static final int UPGRADE_DISABLED_FIELD_NUMBER = 6; private boolean upgradeDisabled_; /** + * + * *
            * Whether it is impossible to upgrade an environment running with the image
            * version.
            * 
        * * bool upgrade_disabled = 6; + * * @return The upgradeDisabled. */ @java.lang.Override @@ -320,6 +372,7 @@ public boolean getUpgradeDisabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -331,8 +384,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageVersionId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, imageVersionId_); } @@ -340,7 +392,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeBool(2, isDefault_); } for (int i = 0; i < supportedPythonVersions_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, supportedPythonVersions_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 3, supportedPythonVersions_.getRaw(i)); } if (releaseDate_ != null) { output.writeMessage(4, getReleaseDate()); @@ -364,8 +417,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, imageVersionId_); } if (isDefault_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, isDefault_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, isDefault_); } { int dataSize = 0; @@ -376,16 +428,13 @@ public int getSerializedSize() { size += 1 * getSupportedPythonVersionsList().size(); } if (releaseDate_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getReleaseDate()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getReleaseDate()); } if (creationDisabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, creationDisabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, creationDisabled_); } if (upgradeDisabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, upgradeDisabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, upgradeDisabled_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -395,28 +444,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion other = (com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion) obj; + com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion other = + (com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion) obj; - if (!getImageVersionId() - .equals(other.getImageVersionId())) return false; - if (getIsDefault() - != other.getIsDefault()) return false; - if (!getSupportedPythonVersionsList() - .equals(other.getSupportedPythonVersionsList())) return false; + if (!getImageVersionId().equals(other.getImageVersionId())) return false; + if (getIsDefault() != other.getIsDefault()) return false; + if (!getSupportedPythonVersionsList().equals(other.getSupportedPythonVersionsList())) + return false; if (hasReleaseDate() != other.hasReleaseDate()) return false; if (hasReleaseDate()) { - if (!getReleaseDate() - .equals(other.getReleaseDate())) return false; + if (!getReleaseDate().equals(other.getReleaseDate())) return false; } - if (getCreationDisabled() - != other.getCreationDisabled()) return false; - if (getUpgradeDisabled() - != other.getUpgradeDisabled()) return false; + if (getCreationDisabled() != other.getCreationDisabled()) return false; + if (getUpgradeDisabled() != other.getUpgradeDisabled()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -431,8 +476,7 @@ public int hashCode() { hash = (37 * hash) + IMAGE_VERSION_ID_FIELD_NUMBER; hash = (53 * hash) + getImageVersionId().hashCode(); hash = (37 * hash) + IS_DEFAULT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getIsDefault()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsDefault()); if (getSupportedPythonVersionsCount() > 0) { hash = (37 * hash) + SUPPORTED_PYTHON_VERSIONS_FIELD_NUMBER; hash = (53 * hash) + getSupportedPythonVersionsList().hashCode(); @@ -442,145 +486,154 @@ public int hashCode() { hash = (53 * hash) + getReleaseDate().hashCode(); } hash = (37 * hash) + CREATION_DISABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getCreationDisabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCreationDisabled()); hash = (37 * hash) + UPGRADE_DISABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getUpgradeDisabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUpgradeDisabled()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion 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.orchestration.airflow.service.v1beta1.ImageVersion parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion 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.orchestration.airflow.service.v1beta1.ImageVersion + 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.orchestration.airflow.service.v1beta1.ImageVersion parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion prototype) { + + public static Builder newBuilder( + com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
            * Image Version information
            * 
        * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.ImageVersion} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1beta1.ImageVersion) com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_ImageVersion_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_ImageVersion_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_ImageVersion_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_ImageVersion_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.class, com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.class, + com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.Builder.class); } - // Construct using com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.newBuilder() + // Construct using + // com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -604,14 +657,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_ImageVersion_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_ImageVersion_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion + getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion + .getDefaultInstance(); } @java.lang.Override @@ -625,7 +680,8 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion build @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion buildPartial() { - com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion result = new com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion(this); + com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion result = + new com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion(this); int from_bitField0_ = bitField0_; result.imageVersionId_ = imageVersionId_; result.isDefault_ = isDefault_; @@ -649,46 +705,51 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion build public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion) { - return mergeFrom((com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion)other); + return mergeFrom( + (com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion other) { - if (other == com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion other) { + if (other + == com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion + .getDefaultInstance()) return this; if (!other.getImageVersionId().isEmpty()) { imageVersionId_ = other.imageVersionId_; onChanged(); @@ -734,7 +795,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -743,23 +806,26 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object imageVersionId_ = ""; /** + * + * *
              * The string identifier of the ImageVersion, in the form:
              * "composer-x.y.z-airflow-a.b(.c)"
              * 
        * * string image_version_id = 1; + * * @return The imageVersionId. */ public java.lang.String getImageVersionId() { java.lang.Object ref = imageVersionId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageVersionId_ = s; return s; @@ -768,21 +834,22 @@ public java.lang.String getImageVersionId() { } } /** + * + * *
              * The string identifier of the ImageVersion, in the form:
              * "composer-x.y.z-airflow-a.b(.c)"
              * 
        * * string image_version_id = 1; + * * @return The bytes for imageVersionId. */ - public com.google.protobuf.ByteString - getImageVersionIdBytes() { + public com.google.protobuf.ByteString getImageVersionIdBytes() { java.lang.Object ref = imageVersionId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); imageVersionId_ = b; return b; } else { @@ -790,70 +857,80 @@ public java.lang.String getImageVersionId() { } } /** + * + * *
              * The string identifier of the ImageVersion, in the form:
              * "composer-x.y.z-airflow-a.b(.c)"
              * 
        * * string image_version_id = 1; + * * @param value The imageVersionId to set. * @return This builder for chaining. */ - public Builder setImageVersionId( - java.lang.String value) { + public Builder setImageVersionId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + imageVersionId_ = value; onChanged(); return this; } /** + * + * *
              * The string identifier of the ImageVersion, in the form:
              * "composer-x.y.z-airflow-a.b(.c)"
              * 
        * * string image_version_id = 1; + * * @return This builder for chaining. */ public Builder clearImageVersionId() { - + imageVersionId_ = getDefaultInstance().getImageVersionId(); onChanged(); return this; } /** + * + * *
              * The string identifier of the ImageVersion, in the form:
              * "composer-x.y.z-airflow-a.b(.c)"
              * 
        * * string image_version_id = 1; + * * @param value The bytes for imageVersionId to set. * @return This builder for chaining. */ - public Builder setImageVersionIdBytes( - com.google.protobuf.ByteString value) { + public Builder setImageVersionIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + imageVersionId_ = value; onChanged(); return this; } - private boolean isDefault_ ; + private boolean isDefault_; /** + * + * *
              * Whether this is the default ImageVersion used by Composer during
              * environment creation if no input ImageVersion is specified.
              * 
        * * bool is_default = 2; + * * @return The isDefault. */ @java.lang.Override @@ -861,73 +938,90 @@ public boolean getIsDefault() { return isDefault_; } /** + * + * *
              * Whether this is the default ImageVersion used by Composer during
              * environment creation if no input ImageVersion is specified.
              * 
        * * bool is_default = 2; + * * @param value The isDefault to set. * @return This builder for chaining. */ public Builder setIsDefault(boolean value) { - + isDefault_ = value; onChanged(); return this; } /** + * + * *
              * Whether this is the default ImageVersion used by Composer during
              * environment creation if no input ImageVersion is specified.
              * 
        * * bool is_default = 2; + * * @return This builder for chaining. */ public Builder clearIsDefault() { - + isDefault_ = false; onChanged(); return this; } - private com.google.protobuf.LazyStringList supportedPythonVersions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList supportedPythonVersions_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureSupportedPythonVersionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - supportedPythonVersions_ = new com.google.protobuf.LazyStringArrayList(supportedPythonVersions_); + supportedPythonVersions_ = + new com.google.protobuf.LazyStringArrayList(supportedPythonVersions_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
              * supported python versions
              * 
        * * repeated string supported_python_versions = 3; + * * @return A list containing the supportedPythonVersions. */ - public com.google.protobuf.ProtocolStringList - getSupportedPythonVersionsList() { + public com.google.protobuf.ProtocolStringList getSupportedPythonVersionsList() { return supportedPythonVersions_.getUnmodifiableView(); } /** + * + * *
              * supported python versions
              * 
        * * repeated string supported_python_versions = 3; + * * @return The count of supportedPythonVersions. */ public int getSupportedPythonVersionsCount() { return supportedPythonVersions_.size(); } /** + * + * *
              * supported python versions
              * 
        * * repeated string supported_python_versions = 3; + * * @param index The index of the element to return. * @return The supportedPythonVersions at the given index. */ @@ -935,80 +1029,90 @@ public java.lang.String getSupportedPythonVersions(int index) { return supportedPythonVersions_.get(index); } /** + * + * *
              * supported python versions
              * 
        * * repeated string supported_python_versions = 3; + * * @param index The index of the value to return. * @return The bytes of the supportedPythonVersions at the given index. */ - public com.google.protobuf.ByteString - getSupportedPythonVersionsBytes(int index) { + public com.google.protobuf.ByteString getSupportedPythonVersionsBytes(int index) { return supportedPythonVersions_.getByteString(index); } /** + * + * *
              * supported python versions
              * 
        * * repeated string supported_python_versions = 3; + * * @param index The index to set the value at. * @param value The supportedPythonVersions to set. * @return This builder for chaining. */ - public Builder setSupportedPythonVersions( - int index, java.lang.String value) { + public Builder setSupportedPythonVersions(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureSupportedPythonVersionsIsMutable(); + throw new NullPointerException(); + } + ensureSupportedPythonVersionsIsMutable(); supportedPythonVersions_.set(index, value); onChanged(); return this; } /** + * + * *
              * supported python versions
              * 
        * * repeated string supported_python_versions = 3; + * * @param value The supportedPythonVersions to add. * @return This builder for chaining. */ - public Builder addSupportedPythonVersions( - java.lang.String value) { + public Builder addSupportedPythonVersions(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureSupportedPythonVersionsIsMutable(); + throw new NullPointerException(); + } + ensureSupportedPythonVersionsIsMutable(); supportedPythonVersions_.add(value); onChanged(); return this; } /** + * + * *
              * supported python versions
              * 
        * * repeated string supported_python_versions = 3; + * * @param values The supportedPythonVersions to add. * @return This builder for chaining. */ - public Builder addAllSupportedPythonVersions( - java.lang.Iterable values) { + public Builder addAllSupportedPythonVersions(java.lang.Iterable values) { ensureSupportedPythonVersionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, supportedPythonVersions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, supportedPythonVersions_); onChanged(); return this; } /** + * + * *
              * supported python versions
              * 
        * * repeated string supported_python_versions = 3; + * * @return This builder for chaining. */ public Builder clearSupportedPythonVersions() { @@ -1018,20 +1122,22 @@ public Builder clearSupportedPythonVersions() { return this; } /** + * + * *
              * supported python versions
              * 
        * * repeated string supported_python_versions = 3; + * * @param value The bytes of the supportedPythonVersions to add. * @return This builder for chaining. */ - public Builder addSupportedPythonVersionsBytes( - com.google.protobuf.ByteString value) { + public Builder addSupportedPythonVersionsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureSupportedPythonVersionsIsMutable(); supportedPythonVersions_.add(value); onChanged(); @@ -1040,24 +1146,31 @@ public Builder addSupportedPythonVersionsBytes( private com.google.type.Date releaseDate_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> releaseDateBuilder_; + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> + releaseDateBuilder_; /** + * + * *
              * The date of the version release.
              * 
        * * .google.type.Date release_date = 4; + * * @return Whether the releaseDate field is set. */ public boolean hasReleaseDate() { return releaseDateBuilder_ != null || releaseDate_ != null; } /** + * + * *
              * The date of the version release.
              * 
        * * .google.type.Date release_date = 4; + * * @return The releaseDate. */ public com.google.type.Date getReleaseDate() { @@ -1068,6 +1181,8 @@ public com.google.type.Date getReleaseDate() { } } /** + * + * *
              * The date of the version release.
              * 
        @@ -1088,14 +1203,15 @@ public Builder setReleaseDate(com.google.type.Date value) { return this; } /** + * + * *
              * The date of the version release.
              * 
        * * .google.type.Date release_date = 4; */ - public Builder setReleaseDate( - com.google.type.Date.Builder builderForValue) { + public Builder setReleaseDate(com.google.type.Date.Builder builderForValue) { if (releaseDateBuilder_ == null) { releaseDate_ = builderForValue.build(); onChanged(); @@ -1106,6 +1222,8 @@ public Builder setReleaseDate( return this; } /** + * + * *
              * The date of the version release.
              * 
        @@ -1116,7 +1234,7 @@ public Builder mergeReleaseDate(com.google.type.Date value) { if (releaseDateBuilder_ == null) { if (releaseDate_ != null) { releaseDate_ = - com.google.type.Date.newBuilder(releaseDate_).mergeFrom(value).buildPartial(); + com.google.type.Date.newBuilder(releaseDate_).mergeFrom(value).buildPartial(); } else { releaseDate_ = value; } @@ -1128,6 +1246,8 @@ public Builder mergeReleaseDate(com.google.type.Date value) { return this; } /** + * + * *
              * The date of the version release.
              * 
        @@ -1146,6 +1266,8 @@ public Builder clearReleaseDate() { return this; } /** + * + * *
              * The date of the version release.
              * 
        @@ -1153,11 +1275,13 @@ public Builder clearReleaseDate() { * .google.type.Date release_date = 4; */ public com.google.type.Date.Builder getReleaseDateBuilder() { - + onChanged(); return getReleaseDateFieldBuilder().getBuilder(); } /** + * + * *
              * The date of the version release.
              * 
        @@ -1168,11 +1292,12 @@ public com.google.type.DateOrBuilder getReleaseDateOrBuilder() { if (releaseDateBuilder_ != null) { return releaseDateBuilder_.getMessageOrBuilder(); } else { - return releaseDate_ == null ? - com.google.type.Date.getDefaultInstance() : releaseDate_; + return releaseDate_ == null ? com.google.type.Date.getDefaultInstance() : releaseDate_; } } /** + * + * *
              * The date of the version release.
              * 
        @@ -1180,26 +1305,28 @@ public com.google.type.DateOrBuilder getReleaseDateOrBuilder() { * .google.type.Date release_date = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> getReleaseDateFieldBuilder() { if (releaseDateBuilder_ == null) { - releaseDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>( - getReleaseDate(), - getParentForChildren(), - isClean()); + releaseDateBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>( + getReleaseDate(), getParentForChildren(), isClean()); releaseDate_ = null; } return releaseDateBuilder_; } - private boolean creationDisabled_ ; + private boolean creationDisabled_; /** + * + * *
              * Whether it is impossible to create an environment with the image version.
              * 
        * * bool creation_disabled = 5; + * * @return The creationDisabled. */ @java.lang.Override @@ -1207,43 +1334,52 @@ public boolean getCreationDisabled() { return creationDisabled_; } /** + * + * *
              * Whether it is impossible to create an environment with the image version.
              * 
        * * bool creation_disabled = 5; + * * @param value The creationDisabled to set. * @return This builder for chaining. */ public Builder setCreationDisabled(boolean value) { - + creationDisabled_ = value; onChanged(); return this; } /** + * + * *
              * Whether it is impossible to create an environment with the image version.
              * 
        * * bool creation_disabled = 5; + * * @return This builder for chaining. */ public Builder clearCreationDisabled() { - + creationDisabled_ = false; onChanged(); return this; } - private boolean upgradeDisabled_ ; + private boolean upgradeDisabled_; /** + * + * *
              * Whether it is impossible to upgrade an environment running with the image
              * version.
              * 
        * * bool upgrade_disabled = 6; + * * @return The upgradeDisabled. */ @java.lang.Override @@ -1251,39 +1387,45 @@ public boolean getUpgradeDisabled() { return upgradeDisabled_; } /** + * + * *
              * Whether it is impossible to upgrade an environment running with the image
              * version.
              * 
        * * bool upgrade_disabled = 6; + * * @param value The upgradeDisabled to set. * @return This builder for chaining. */ public Builder setUpgradeDisabled(boolean value) { - + upgradeDisabled_ = value; onChanged(); return this; } /** + * + * *
              * Whether it is impossible to upgrade an environment running with the image
              * version.
              * 
        * * bool upgrade_disabled = 6; + * * @return This builder for chaining. */ public Builder clearUpgradeDisabled() { - + upgradeDisabled_ = 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); } @@ -1293,30 +1435,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1beta1.ImageVersion) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1beta1.ImageVersion) - private static final com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion DEFAULT_INSTANCE; + private static final com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion(); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImageVersion parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImageVersion(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImageVersion parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImageVersion(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1328,9 +1472,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionOrBuilder.java b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionOrBuilder.java similarity index 75% rename from owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionOrBuilder.java rename to proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionOrBuilder.java index 24b09479..2fb1b0c6 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionOrBuilder.java +++ b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionOrBuilder.java @@ -1,105 +1,147 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/orchestration/airflow/service/v1beta1/image_versions.proto package com.google.cloud.orchestration.airflow.service.v1beta1; -public interface ImageVersionOrBuilder extends +public interface ImageVersionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1beta1.ImageVersion) com.google.protobuf.MessageOrBuilder { /** + * + * *
            * The string identifier of the ImageVersion, in the form:
            * "composer-x.y.z-airflow-a.b(.c)"
            * 
        * * string image_version_id = 1; + * * @return The imageVersionId. */ java.lang.String getImageVersionId(); /** + * + * *
            * The string identifier of the ImageVersion, in the form:
            * "composer-x.y.z-airflow-a.b(.c)"
            * 
        * * string image_version_id = 1; + * * @return The bytes for imageVersionId. */ - com.google.protobuf.ByteString - getImageVersionIdBytes(); + com.google.protobuf.ByteString getImageVersionIdBytes(); /** + * + * *
            * Whether this is the default ImageVersion used by Composer during
            * environment creation if no input ImageVersion is specified.
            * 
        * * bool is_default = 2; + * * @return The isDefault. */ boolean getIsDefault(); /** + * + * *
            * supported python versions
            * 
        * * repeated string supported_python_versions = 3; + * * @return A list containing the supportedPythonVersions. */ - java.util.List - getSupportedPythonVersionsList(); + java.util.List getSupportedPythonVersionsList(); /** + * + * *
            * supported python versions
            * 
        * * repeated string supported_python_versions = 3; + * * @return The count of supportedPythonVersions. */ int getSupportedPythonVersionsCount(); /** + * + * *
            * supported python versions
            * 
        * * repeated string supported_python_versions = 3; + * * @param index The index of the element to return. * @return The supportedPythonVersions at the given index. */ java.lang.String getSupportedPythonVersions(int index); /** + * + * *
            * supported python versions
            * 
        * * repeated string supported_python_versions = 3; + * * @param index The index of the value to return. * @return The bytes of the supportedPythonVersions at the given index. */ - com.google.protobuf.ByteString - getSupportedPythonVersionsBytes(int index); + com.google.protobuf.ByteString getSupportedPythonVersionsBytes(int index); /** + * + * *
            * The date of the version release.
            * 
        * * .google.type.Date release_date = 4; + * * @return Whether the releaseDate field is set. */ boolean hasReleaseDate(); /** + * + * *
            * The date of the version release.
            * 
        * * .google.type.Date release_date = 4; + * * @return The releaseDate. */ com.google.type.Date getReleaseDate(); /** + * + * *
            * The date of the version release.
            * 
        @@ -109,22 +151,28 @@ public interface ImageVersionOrBuilder extends com.google.type.DateOrBuilder getReleaseDateOrBuilder(); /** + * + * *
            * Whether it is impossible to create an environment with the image version.
            * 
        * * bool creation_disabled = 5; + * * @return The creationDisabled. */ boolean getCreationDisabled(); /** + * + * *
            * Whether it is impossible to upgrade an environment running with the image
            * version.
            * 
        * * bool upgrade_disabled = 6; + * * @return The upgradeDisabled. */ boolean getUpgradeDisabled(); diff --git a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsOuterClass.java b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsOuterClass.java new file mode 100644 index 00000000..f36eafe6 --- /dev/null +++ b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsOuterClass.java @@ -0,0 +1,133 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/orchestration/airflow/service/v1beta1/image_versions.proto + +package com.google.cloud.orchestration.airflow.service.v1beta1; + +public final class ImageVersionsOuterClass { + private ImageVersionsOuterClass() {} + + 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_orchestration_airflow_service_v1beta1_ListImageVersionsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_orchestration_airflow_service_v1beta1_ImageVersion_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_orchestration_airflow_service_v1beta1_ImageVersion_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\nGgoogle/cloud/orchestration/airflow/ser" + + "vice/v1beta1/image_versions.proto\0222googl" + + "e.cloud.orchestration.airflow.service.v1" + + "beta1\032\034google/api/annotations.proto\032\027goo" + + "gle/api/client.proto\032\026google/type/date.p" + + "roto\"p\n\030ListImageVersionsRequest\022\016\n\006pare" + + "nt\030\001 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_toke" + + "n\030\003 \001(\t\022\035\n\025include_past_releases\030\004 \001(\010\"\216" + + "\001\n\031ListImageVersionsResponse\022X\n\016image_ve" + + "rsions\030\001 \003(\0132@.google.cloud.orchestratio" + + "n.airflow.service.v1beta1.ImageVersion\022\027" + + "\n\017next_page_token\030\002 \001(\t\"\275\001\n\014ImageVersion" + + "\022\030\n\020image_version_id\030\001 \001(\t\022\022\n\nis_default" + + "\030\002 \001(\010\022!\n\031supported_python_versions\030\003 \003(" + + "\t\022\'\n\014release_date\030\004 \001(\0132\021.google.type.Da" + + "te\022\031\n\021creation_disabled\030\005 \001(\010\022\030\n\020upgrade" + + "_disabled\030\006 \001(\0102\330\002\n\rImageVersions\022\371\001\n\021Li" + + "stImageVersions\022L.google.cloud.orchestra" + + "tion.airflow.service.v1beta1.ListImageVe" + + "rsionsRequest\032M.google.cloud.orchestrati" + + "on.airflow.service.v1beta1.ListImageVers" + + "ionsResponse\"G\202\323\344\223\0028\0226/v1beta1/{parent=p" + + "rojects/*/locations/*}/imageVersions\332A\006p" + + "arent\032K\312A\027composer.googleapis.com\322A.http" + + "s://www.googleapis.com/auth/cloud-platfo" + + "rmB\225\001\n6com.google.cloud.orchestration.ai" + + "rflow.service.v1beta1P\001ZYgoogle.golang.o" + + "rg/genproto/googleapis/cloud/orchestrati" + + "on/airflow/service/v1beta1;serviceb\006prot" + + "o3" + }; + 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.type.DateProto.getDescriptor(), + }); + internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", "IncludePastReleases", + }); + internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsResponse_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsResponse_descriptor, + new java.lang.String[] { + "ImageVersions", "NextPageToken", + }); + internal_static_google_cloud_orchestration_airflow_service_v1beta1_ImageVersion_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_orchestration_airflow_service_v1beta1_ImageVersion_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_orchestration_airflow_service_v1beta1_ImageVersion_descriptor, + new java.lang.String[] { + "ImageVersionId", + "IsDefault", + "SupportedPythonVersions", + "ReleaseDate", + "CreationDisabled", + "UpgradeDisabled", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.type.DateProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListEnvironmentsRequest.java b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListEnvironmentsRequest.java similarity index 62% rename from owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListEnvironmentsRequest.java rename to proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListEnvironmentsRequest.java index 72179fd4..a202f34e 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListEnvironmentsRequest.java +++ b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListEnvironmentsRequest.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/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; /** + * + * *
          * List environments in a project and location.
          * 
        * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest} */ -public final class ListEnvironmentsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListEnvironmentsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest) ListEnvironmentsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListEnvironmentsRequest.newBuilder() to construct. private ListEnvironmentsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListEnvironmentsRequest() { parent_ = ""; pageToken_ = ""; @@ -26,16 +44,15 @@ private ListEnvironmentsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListEnvironmentsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListEnvironmentsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,30 +71,32 @@ private ListEnvironmentsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -85,35 +104,41 @@ private ListEnvironmentsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsRequest_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest.class, com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest.Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest.class, + com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest.Builder + .class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
            * List environments in the given project and location, in the form:
            * "projects/{projectId}/locations/{locationId}"
            * 
        * * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -122,30 +147,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; } } /** + * + * *
            * List environments in the given project and location, in the form:
            * "projects/{projectId}/locations/{locationId}"
            * 
        * * 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 { @@ -156,11 +181,14 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
            * The maximum number of environments to return.
            * 
        * * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -171,11 +199,14 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
            * The next_page_token value returned from a previous List request, if any.
            * 
        * * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -184,29 +215,29 @@ 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 returned from a previous List request, if any.
            * 
        * * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -215,6 +246,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -226,8 +258,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -250,8 +281,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -264,19 +294,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.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest)) { + if (!(obj + instanceof + com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest other = (com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest) obj; + com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest other = + (com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest) 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; } @@ -299,135 +329,153 @@ public int hashCode() { return hash; } - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest 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.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest + 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.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 environments in a project and location.
            * 
        * - * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest} + * Protobuf type {@code + * google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest) com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsRequest_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest.class, com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest.Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest.class, + com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest.Builder + .class); } - // Construct using com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest.newBuilder() + // Construct using + // com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -441,19 +489,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsRequest_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest.getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest + getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest build() { - com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest result = buildPartial(); + com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -461,8 +512,10 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRe } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest buildPartial() { - com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest result = new com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest(this); + public com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest + buildPartial() { + com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest result = + new com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -474,46 +527,53 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRe public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest) { - return mergeFrom((com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest)other); + if (other + instanceof + com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest) { + return mergeFrom( + (com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest other) { - if (other == com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest other) { + if (other + == com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -540,11 +600,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest parsedMessage = null; + com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -556,19 +619,21 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
              * List environments in the given project and location, in the form:
              * "projects/{projectId}/locations/{locationId}"
              * 
        * * 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; @@ -577,21 +642,22 @@ public java.lang.String getParent() { } } /** + * + * *
              * List environments in the given project and location, in the form:
              * "projects/{projectId}/locations/{locationId}"
              * 
        * * 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 { @@ -599,69 +665,79 @@ public java.lang.String getParent() { } } /** + * + * *
              * List environments in the given project and location, in the form:
              * "projects/{projectId}/locations/{locationId}"
              * 
        * * 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; } /** + * + * *
              * List environments in the given project and location, in the form:
              * "projects/{projectId}/locations/{locationId}"
              * 
        * * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
              * List environments in the given project and location, in the form:
              * "projects/{projectId}/locations/{locationId}"
              * 
        * * 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 environments to return.
              * 
        * * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -669,30 +745,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
              * The maximum number of environments 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 environments to return.
              * 
        * * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -700,18 +782,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
              * The next_page_token value returned from a previous List request, if any.
              * 
        * * 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; @@ -720,20 +804,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
              * The next_page_token value returned from a previous List request, if any.
              * 
        * * 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 { @@ -741,61 +826,68 @@ public java.lang.String getPageToken() { } } /** + * + * *
              * The next_page_token value returned from a previous List request, if any.
              * 
        * * 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 returned from a previous List request, if any.
              * 
        * * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
              * The next_page_token value returned from a previous List request, if any.
              * 
        * * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -805,30 +897,34 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest) - private static final com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.orchestration.airflow.service.v1beta1 + .ListEnvironmentsRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest(); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListEnvironmentsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListEnvironmentsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListEnvironmentsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListEnvironmentsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -840,9 +936,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListEnvironmentsRequestOrBuilder.java b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListEnvironmentsRequestOrBuilder.java similarity index 63% rename from owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListEnvironmentsRequestOrBuilder.java rename to proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListEnvironmentsRequestOrBuilder.java index 5f6893be..5147205e 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListEnvironmentsRequestOrBuilder.java +++ b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListEnvironmentsRequestOrBuilder.java @@ -1,61 +1,90 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; -public interface ListEnvironmentsRequestOrBuilder extends +public interface ListEnvironmentsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
            * List environments in the given project and location, in the form:
            * "projects/{projectId}/locations/{locationId}"
            * 
        * * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
            * List environments in the given project and location, in the form:
            * "projects/{projectId}/locations/{locationId}"
            * 
        * * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
            * The maximum number of environments to return.
            * 
        * * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
            * The next_page_token value returned from a previous List request, if any.
            * 
        * * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
            * The next_page_token value returned from a previous List request, if any.
            * 
        * * 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-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListEnvironmentsResponse.java b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListEnvironmentsResponse.java similarity index 58% rename from owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListEnvironmentsResponse.java rename to proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListEnvironmentsResponse.java index 37521e18..a1520f0b 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListEnvironmentsResponse.java +++ b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListEnvironmentsResponse.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/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; /** + * + * *
          * The environments in a project and location.
          * 
        * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse} */ -public final class ListEnvironmentsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListEnvironmentsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse) ListEnvironmentsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListEnvironmentsResponse.newBuilder() to construct. private ListEnvironmentsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListEnvironmentsResponse() { environments_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListEnvironmentsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListEnvironmentsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListEnvironmentsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,34 @@ private ListEnvironmentsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - environments_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + environments_ = + new java.util.ArrayList< + com.google.cloud.orchestration.airflow.service.v1beta1.Environment>(); + mutable_bitField0_ |= 0x00000001; + } + environments_.add( + input.readMessage( + com.google.cloud.orchestration.airflow.service.v1beta1.Environment.parser(), + extensionRegistry)); + break; } - environments_.add( - input.readMessage(com.google.cloud.orchestration.airflow.service.v1beta1.Environment.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +107,7 @@ private ListEnvironmentsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { environments_ = java.util.Collections.unmodifiableList(environments_); @@ -94,87 +116,118 @@ private ListEnvironmentsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsResponse_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse.class, com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse.Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse.class, + com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse.Builder + .class); } public static final int ENVIRONMENTS_FIELD_NUMBER = 1; - private java.util.List environments_; + private java.util.List + environments_; /** + * + * *
            * The list of environments returned by a ListEnvironmentsRequest.
            * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; + * */ @java.lang.Override - public java.util.List getEnvironmentsList() { + public java.util.List + getEnvironmentsList() { return environments_; } /** + * + * *
            * The list of environments returned by a ListEnvironmentsRequest.
            * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder> getEnvironmentsOrBuilderList() { return environments_; } /** + * + * *
            * The list of environments returned by a ListEnvironmentsRequest.
            * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; + * */ @java.lang.Override public int getEnvironmentsCount() { return environments_.size(); } /** + * + * *
            * The list of environments returned by a ListEnvironmentsRequest.
            * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; + * */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.Environment getEnvironments(int index) { + public com.google.cloud.orchestration.airflow.service.v1beta1.Environment getEnvironments( + int index) { return environments_.get(index); } /** + * + * *
            * The list of environments returned by a ListEnvironmentsRequest.
            * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; + * */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder getEnvironmentsOrBuilder( - int index) { + public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder + getEnvironmentsOrBuilder(int index) { return environments_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
            * The page token used to query for the next page if one exists.
            * 
        * * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -183,29 +236,29 @@ 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; } } /** + * + * *
            * The page token used to query for the next page if one exists.
            * 
        * * 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 +267,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -225,8 +279,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 < environments_.size(); i++) { output.writeMessage(1, environments_.get(i)); } @@ -243,8 +296,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < environments_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, environments_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, environments_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -257,17 +309,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.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse)) { + if (!(obj + instanceof + com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse other = (com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse) obj; + com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse other = + (com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse) obj; - if (!getEnvironmentsList() - .equals(other.getEnvironmentsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getEnvironmentsList().equals(other.getEnvironmentsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -290,136 +343,155 @@ public int hashCode() { return hash; } - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse 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.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse + 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.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 environments in a project and location.
            * 
        * - * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse} + * Protobuf type {@code + * google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse) com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsResponse_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse.class, com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse.Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse.class, + com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse + .Builder.class); } - // Construct using com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse.newBuilder() + // Construct using + // com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse.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) { getEnvironmentsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -435,19 +507,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListEnvironmentsResponse_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse.getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse + getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse build() { - com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse result = buildPartial(); + com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -455,8 +530,10 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRe } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse buildPartial() { - com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse result = new com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse(this); + public com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse + buildPartial() { + com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse result = + new com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse(this); int from_bitField0_ = bitField0_; if (environmentsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -476,46 +553,54 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsRe public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse) { - return mergeFrom((com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse)other); + if (other + instanceof + com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse) { + return mergeFrom( + (com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse other) { - if (other == com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse other) { + if (other + == com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse + .getDefaultInstance()) return this; if (environmentsBuilder_ == null) { if (!other.environments_.isEmpty()) { if (environments_.isEmpty()) { @@ -534,9 +619,10 @@ public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1beta1. environmentsBuilder_ = null; environments_ = other.environments_; bitField0_ = (bitField0_ & ~0x00000001); - environmentsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getEnvironmentsFieldBuilder() : null; + environmentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getEnvironmentsFieldBuilder() + : null; } else { environmentsBuilder_.addAllMessages(other.environments_); } @@ -561,11 +647,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse parsedMessage = null; + com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -574,28 +663,40 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private java.util.List environments_ = - java.util.Collections.emptyList(); + private java.util.List + environments_ = java.util.Collections.emptyList(); + private void ensureEnvironmentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - environments_ = new java.util.ArrayList(environments_); + environments_ = + new java.util.ArrayList< + com.google.cloud.orchestration.airflow.service.v1beta1.Environment>(environments_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.Environment, com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder> environmentsBuilder_; + com.google.cloud.orchestration.airflow.service.v1beta1.Environment, + com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder, + com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder> + environmentsBuilder_; /** + * + * *
              * The list of environments returned by a ListEnvironmentsRequest.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; + * */ - public java.util.List getEnvironmentsList() { + public java.util.List + getEnvironmentsList() { if (environmentsBuilder_ == null) { return java.util.Collections.unmodifiableList(environments_); } else { @@ -603,11 +704,15 @@ public java.util.List * The list of environments returned by a ListEnvironmentsRequest. *
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; + * */ public int getEnvironmentsCount() { if (environmentsBuilder_ == null) { @@ -617,13 +722,18 @@ public int getEnvironmentsCount() { } } /** + * + * *
              * The list of environments returned by a ListEnvironmentsRequest.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; + * */ - public com.google.cloud.orchestration.airflow.service.v1beta1.Environment getEnvironments(int index) { + public com.google.cloud.orchestration.airflow.service.v1beta1.Environment getEnvironments( + int index) { if (environmentsBuilder_ == null) { return environments_.get(index); } else { @@ -631,11 +741,15 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.Environment getEnv } } /** + * + * *
              * The list of environments returned by a ListEnvironmentsRequest.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; + * */ public Builder setEnvironments( int index, com.google.cloud.orchestration.airflow.service.v1beta1.Environment value) { @@ -652,14 +766,20 @@ public Builder setEnvironments( return this; } /** + * + * *
              * The list of environments returned by a ListEnvironmentsRequest.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; + * */ public Builder setEnvironments( - int index, com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder builderForValue) { + int index, + com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder + builderForValue) { if (environmentsBuilder_ == null) { ensureEnvironmentsIsMutable(); environments_.set(index, builderForValue.build()); @@ -670,13 +790,18 @@ public Builder setEnvironments( return this; } /** + * + * *
              * The list of environments returned by a ListEnvironmentsRequest.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; + * */ - public Builder addEnvironments(com.google.cloud.orchestration.airflow.service.v1beta1.Environment value) { + public Builder addEnvironments( + com.google.cloud.orchestration.airflow.service.v1beta1.Environment value) { if (environmentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -690,11 +815,15 @@ public Builder addEnvironments(com.google.cloud.orchestration.airflow.service.v1 return this; } /** + * + * *
              * The list of environments returned by a ListEnvironmentsRequest.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; + * */ public Builder addEnvironments( int index, com.google.cloud.orchestration.airflow.service.v1beta1.Environment value) { @@ -711,14 +840,19 @@ public Builder addEnvironments( return this; } /** + * + * *
              * The list of environments returned by a ListEnvironmentsRequest.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; + * */ public Builder addEnvironments( - com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder builderForValue) { + com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder + builderForValue) { if (environmentsBuilder_ == null) { ensureEnvironmentsIsMutable(); environments_.add(builderForValue.build()); @@ -729,14 +863,20 @@ public Builder addEnvironments( return this; } /** + * + * *
              * The list of environments returned by a ListEnvironmentsRequest.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; + * */ public Builder addEnvironments( - int index, com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder builderForValue) { + int index, + com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder + builderForValue) { if (environmentsBuilder_ == null) { ensureEnvironmentsIsMutable(); environments_.add(index, builderForValue.build()); @@ -747,18 +887,23 @@ public Builder addEnvironments( return this; } /** + * + * *
              * The list of environments returned by a ListEnvironmentsRequest.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; + * */ public Builder addAllEnvironments( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.orchestration.airflow.service.v1beta1.Environment> + values) { if (environmentsBuilder_ == null) { ensureEnvironmentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, environments_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, environments_); onChanged(); } else { environmentsBuilder_.addAllMessages(values); @@ -766,11 +911,15 @@ public Builder addAllEnvironments( return this; } /** + * + * *
              * The list of environments returned by a ListEnvironmentsRequest.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; + * */ public Builder clearEnvironments() { if (environmentsBuilder_ == null) { @@ -783,11 +932,15 @@ public Builder clearEnvironments() { return this; } /** + * + * *
              * The list of environments returned by a ListEnvironmentsRequest.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; + * */ public Builder removeEnvironments(int index) { if (environmentsBuilder_ == null) { @@ -800,39 +953,53 @@ public Builder removeEnvironments(int index) { return this; } /** + * + * *
              * The list of environments returned by a ListEnvironmentsRequest.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; + * */ - public com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder getEnvironmentsBuilder( - int index) { + public com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder + getEnvironmentsBuilder(int index) { return getEnvironmentsFieldBuilder().getBuilder(index); } /** + * + * *
              * The list of environments returned by a ListEnvironmentsRequest.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; + * */ - public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder getEnvironmentsOrBuilder( - int index) { + public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder + getEnvironmentsOrBuilder(int index) { if (environmentsBuilder_ == null) { - return environments_.get(index); } else { + return environments_.get(index); + } else { return environmentsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
              * The list of environments returned by a ListEnvironmentsRequest.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; + * */ - public java.util.List - getEnvironmentsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder> + getEnvironmentsOrBuilderList() { if (environmentsBuilder_ != null) { return environmentsBuilder_.getMessageOrBuilderList(); } else { @@ -840,49 +1007,71 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuild } } /** + * + * *
              * The list of environments returned by a ListEnvironmentsRequest.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; + * */ - public com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder addEnvironmentsBuilder() { - return getEnvironmentsFieldBuilder().addBuilder( - com.google.cloud.orchestration.airflow.service.v1beta1.Environment.getDefaultInstance()); + public com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder + addEnvironmentsBuilder() { + return getEnvironmentsFieldBuilder() + .addBuilder( + com.google.cloud.orchestration.airflow.service.v1beta1.Environment + .getDefaultInstance()); } /** + * + * *
              * The list of environments returned by a ListEnvironmentsRequest.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; + * */ - public com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder addEnvironmentsBuilder( - int index) { - return getEnvironmentsFieldBuilder().addBuilder( - index, com.google.cloud.orchestration.airflow.service.v1beta1.Environment.getDefaultInstance()); + public com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder + addEnvironmentsBuilder(int index) { + return getEnvironmentsFieldBuilder() + .addBuilder( + index, + com.google.cloud.orchestration.airflow.service.v1beta1.Environment + .getDefaultInstance()); } /** + * + * *
              * The list of environments returned by a ListEnvironmentsRequest.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; + * */ - public java.util.List - getEnvironmentsBuilderList() { + public java.util.List< + com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder> + getEnvironmentsBuilderList() { return getEnvironmentsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.Environment, com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder> + com.google.cloud.orchestration.airflow.service.v1beta1.Environment, + com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder, + com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder> getEnvironmentsFieldBuilder() { if (environmentsBuilder_ == null) { - environmentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.Environment, com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder>( - environments_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + environmentsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.orchestration.airflow.service.v1beta1.Environment, + com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder, + com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder>( + environments_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); environments_ = null; } return environmentsBuilder_; @@ -890,18 +1079,20 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builde private java.lang.Object nextPageToken_ = ""; /** + * + * *
              * The page token used to query for the next page if one exists.
              * 
        * * 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; @@ -910,20 +1101,21 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
              * The page token used to query for the next page if one exists.
              * 
        * * 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 { @@ -931,61 +1123,68 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
              * The page token used to query for the next page if one exists.
              * 
        * * 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; } /** + * + * *
              * The page token used to query for the next page if one exists.
              * 
        * * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
              * The page token used to query for the next page if one exists.
              * 
        * * 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); } @@ -995,30 +1194,34 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse) - private static final com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.orchestration.airflow.service.v1beta1 + .ListEnvironmentsResponse + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse(); + DEFAULT_INSTANCE = + new com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse(); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListEnvironmentsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListEnvironmentsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListEnvironmentsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListEnvironmentsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1030,9 +1233,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListEnvironmentsResponseOrBuilder.java b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListEnvironmentsResponseOrBuilder.java similarity index 51% rename from owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListEnvironmentsResponseOrBuilder.java rename to proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListEnvironmentsResponseOrBuilder.java index 83a7fd20..19177e2e 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListEnvironmentsResponseOrBuilder.java +++ b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListEnvironmentsResponseOrBuilder.java @@ -1,73 +1,115 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; -public interface ListEnvironmentsResponseOrBuilder extends +public interface ListEnvironmentsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1beta1.ListEnvironmentsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
            * The list of environments returned by a ListEnvironmentsRequest.
            * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; + * */ - java.util.List + java.util.List getEnvironmentsList(); /** + * + * *
            * The list of environments returned by a ListEnvironmentsRequest.
            * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; + * */ com.google.cloud.orchestration.airflow.service.v1beta1.Environment getEnvironments(int index); /** + * + * *
            * The list of environments returned by a ListEnvironmentsRequest.
            * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; + * */ int getEnvironmentsCount(); /** + * + * *
            * The list of environments returned by a ListEnvironmentsRequest.
            * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; + * */ - java.util.List + java.util.List< + ? extends com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder> getEnvironmentsOrBuilderList(); /** + * + * *
            * The list of environments returned by a ListEnvironmentsRequest.
            * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.Environment environments = 1; + * */ - com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder getEnvironmentsOrBuilder( - int index); + com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder + getEnvironmentsOrBuilder(int index); /** + * + * *
            * The page token used to query for the next page if one exists.
            * 
        * * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
            * The page token used to query for the next page if one exists.
            * 
        * * 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-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListImageVersionsRequest.java b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListImageVersionsRequest.java similarity index 63% rename from owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListImageVersionsRequest.java rename to proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListImageVersionsRequest.java index 33f8c734..df3ce5c6 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListImageVersionsRequest.java +++ b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListImageVersionsRequest.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/orchestration/airflow/service/v1beta1/image_versions.proto package com.google.cloud.orchestration.airflow.service.v1beta1; /** + * + * *
          * List ImageVersions in a project and location.
          * 
        * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest} */ -public final class ListImageVersionsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListImageVersionsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest) ListImageVersionsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListImageVersionsRequest.newBuilder() to construct. private ListImageVersionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListImageVersionsRequest() { parent_ = ""; pageToken_ = ""; @@ -26,16 +44,15 @@ private ListImageVersionsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListImageVersionsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListImageVersionsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,35 +71,37 @@ private ListImageVersionsRequest( 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(); - includePastReleases_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + case 32: + { + includePastReleases_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -90,35 +109,41 @@ private ListImageVersionsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsRequest_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest.class, com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest.Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest.class, + com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest.Builder + .class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
            * List ImageVersions in the given project and location, in the form:
            * "projects/{projectId}/locations/{locationId}"
            * 
        * * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -127,30 +152,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; } } /** + * + * *
            * List ImageVersions in the given project and location, in the form:
            * "projects/{projectId}/locations/{locationId}"
            * 
        * * 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 { @@ -161,11 +186,14 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
            * The maximum number of image_versions to return.
            * 
        * * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -176,11 +204,14 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
            * The next_page_token value returned from a previous List request, if any.
            * 
        * * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -189,29 +220,29 @@ 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 returned from a previous List request, if any.
            * 
        * * 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,11 +253,14 @@ public java.lang.String getPageToken() { public static final int INCLUDE_PAST_RELEASES_FIELD_NUMBER = 4; private boolean includePastReleases_; /** + * + * *
            * Whether or not image versions from old releases should be included.
            * 
        * * bool include_past_releases = 4; + * * @return The includePastReleases. */ @java.lang.Override @@ -235,6 +269,7 @@ public boolean getIncludePastReleases() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -246,8 +281,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -273,15 +307,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } if (includePastReleases_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, includePastReleases_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, includePastReleases_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -291,21 +323,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest)) { + if (!(obj + instanceof + com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest other = (com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest) obj; + com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest other = + (com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (getIncludePastReleases() - != other.getIncludePastReleases()) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (getIncludePastReleases() != other.getIncludePastReleases()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -324,142 +355,159 @@ public int hashCode() { hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getPageToken().hashCode(); hash = (37 * hash) + INCLUDE_PAST_RELEASES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getIncludePastReleases()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIncludePastReleases()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest 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.orchestration.airflow.service.v1beta1.ListImageVersionsRequest + 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.orchestration.airflow.service.v1beta1.ListImageVersionsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 ImageVersions in a project and location.
            * 
        * - * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest} + * Protobuf type {@code + * google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest) com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsRequest_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest.class, com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest.Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest.class, + com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest + .Builder.class); } - // Construct using com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest.newBuilder() + // Construct using + // com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -475,19 +523,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsRequest_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest.getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest + getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest build() { - com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest result = buildPartial(); + com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -495,8 +546,10 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsR } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest buildPartial() { - com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest result = new com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest(this); + public com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest + buildPartial() { + com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest result = + new com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -509,46 +562,54 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsR public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest) { - return mergeFrom((com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest)other); + if (other + instanceof + com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest) { + return mergeFrom( + (com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest other) { - if (other == com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest other) { + if (other + == com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -578,11 +639,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest parsedMessage = null; + com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -594,19 +658,21 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
              * List ImageVersions in the given project and location, in the form:
              * "projects/{projectId}/locations/{locationId}"
              * 
        * * 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; @@ -615,21 +681,22 @@ public java.lang.String getParent() { } } /** + * + * *
              * List ImageVersions in the given project and location, in the form:
              * "projects/{projectId}/locations/{locationId}"
              * 
        * * 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 { @@ -637,69 +704,79 @@ public java.lang.String getParent() { } } /** + * + * *
              * List ImageVersions in the given project and location, in the form:
              * "projects/{projectId}/locations/{locationId}"
              * 
        * * 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; } /** + * + * *
              * List ImageVersions in the given project and location, in the form:
              * "projects/{projectId}/locations/{locationId}"
              * 
        * * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
              * List ImageVersions in the given project and location, in the form:
              * "projects/{projectId}/locations/{locationId}"
              * 
        * * 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 image_versions to return.
              * 
        * * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -707,30 +784,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
              * The maximum number of image_versions 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 image_versions to return.
              * 
        * * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -738,18 +821,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
              * The next_page_token value returned from a previous List request, if any.
              * 
        * * 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; @@ -758,20 +843,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
              * The next_page_token value returned from a previous List request, if any.
              * 
        * * 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 { @@ -779,66 +865,76 @@ public java.lang.String getPageToken() { } } /** + * + * *
              * The next_page_token value returned from a previous List request, if any.
              * 
        * * 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 returned from a previous List request, if any.
              * 
        * * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
              * The next_page_token value returned from a previous List request, if any.
              * 
        * * 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 includePastReleases_ ; + private boolean includePastReleases_; /** + * + * *
              * Whether or not image versions from old releases should be included.
              * 
        * * bool include_past_releases = 4; + * * @return The includePastReleases. */ @java.lang.Override @@ -846,37 +942,43 @@ public boolean getIncludePastReleases() { return includePastReleases_; } /** + * + * *
              * Whether or not image versions from old releases should be included.
              * 
        * * bool include_past_releases = 4; + * * @param value The includePastReleases to set. * @return This builder for chaining. */ public Builder setIncludePastReleases(boolean value) { - + includePastReleases_ = value; onChanged(); return this; } /** + * + * *
              * Whether or not image versions from old releases should be included.
              * 
        * * bool include_past_releases = 4; + * * @return This builder for chaining. */ public Builder clearIncludePastReleases() { - + includePastReleases_ = 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); } @@ -886,30 +988,34 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest) - private static final com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.orchestration.airflow.service.v1beta1 + .ListImageVersionsRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest(); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListImageVersionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListImageVersionsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListImageVersionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListImageVersionsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -921,9 +1027,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListImageVersionsRequestOrBuilder.java b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListImageVersionsRequestOrBuilder.java similarity index 66% rename from owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListImageVersionsRequestOrBuilder.java rename to proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListImageVersionsRequestOrBuilder.java index a9ee4072..6f3a45a6 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListImageVersionsRequestOrBuilder.java +++ b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListImageVersionsRequestOrBuilder.java @@ -1,70 +1,102 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/orchestration/airflow/service/v1beta1/image_versions.proto package com.google.cloud.orchestration.airflow.service.v1beta1; -public interface ListImageVersionsRequestOrBuilder extends +public interface ListImageVersionsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
            * List ImageVersions in the given project and location, in the form:
            * "projects/{projectId}/locations/{locationId}"
            * 
        * * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
            * List ImageVersions in the given project and location, in the form:
            * "projects/{projectId}/locations/{locationId}"
            * 
        * * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
            * The maximum number of image_versions to return.
            * 
        * * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
            * The next_page_token value returned from a previous List request, if any.
            * 
        * * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
            * The next_page_token value returned from a previous List request, if any.
            * 
        * * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
            * Whether or not image versions from old releases should be included.
            * 
        * * bool include_past_releases = 4; + * * @return The includePastReleases. */ boolean getIncludePastReleases(); diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListImageVersionsResponse.java b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListImageVersionsResponse.java similarity index 58% rename from owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListImageVersionsResponse.java rename to proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListImageVersionsResponse.java index 6ac4a669..ecf14220 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListImageVersionsResponse.java +++ b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListImageVersionsResponse.java @@ -1,24 +1,43 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/orchestration/airflow/service/v1beta1/image_versions.proto package com.google.cloud.orchestration.airflow.service.v1beta1; /** + * + * *
          * The ImageVersions in a project and location.
          * 
        * - * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse} + * Protobuf type {@code + * google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse} */ -public final class ListImageVersionsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListImageVersionsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse) ListImageVersionsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListImageVersionsResponse.newBuilder() to construct. private ListImageVersionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListImageVersionsResponse() { imageVersions_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +45,15 @@ private ListImageVersionsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListImageVersionsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListImageVersionsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +73,34 @@ private ListImageVersionsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - imageVersions_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + imageVersions_ = + new java.util.ArrayList< + com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion>(); + mutable_bitField0_ |= 0x00000001; + } + imageVersions_.add( + input.readMessage( + com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.parser(), + extensionRegistry)); + break; } - imageVersions_.add( - input.readMessage(com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +108,7 @@ private ListImageVersionsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { imageVersions_ = java.util.Collections.unmodifiableList(imageVersions_); @@ -94,87 +117,118 @@ private ListImageVersionsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsResponse_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse.class, com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse.Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse.class, + com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse.Builder + .class); } public static final int IMAGE_VERSIONS_FIELD_NUMBER = 1; - private java.util.List imageVersions_; + private java.util.List + imageVersions_; /** + * + * *
            * The list of supported ImageVersions in a location.
            * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; + * */ @java.lang.Override - public java.util.List getImageVersionsList() { + public java.util.List + getImageVersionsList() { return imageVersions_; } /** + * + * *
            * The list of supported ImageVersions in a location.
            * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionOrBuilder> getImageVersionsOrBuilderList() { return imageVersions_; } /** + * + * *
            * The list of supported ImageVersions in a location.
            * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; + * */ @java.lang.Override public int getImageVersionsCount() { return imageVersions_.size(); } /** + * + * *
            * The list of supported ImageVersions in a location.
            * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; + * */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion getImageVersions(int index) { + public com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion getImageVersions( + int index) { return imageVersions_.get(index); } /** + * + * *
            * The list of supported ImageVersions in a location.
            * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; + * */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionOrBuilder getImageVersionsOrBuilder( - int index) { + public com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionOrBuilder + getImageVersionsOrBuilder(int index) { return imageVersions_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
            * The page token used to query for the next page if one exists.
            * 
        * * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -183,29 +237,29 @@ 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; } } /** + * + * *
            * The page token used to query for the next page if one exists.
            * 
        * * 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 +268,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -225,8 +280,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 < imageVersions_.size(); i++) { output.writeMessage(1, imageVersions_.get(i)); } @@ -243,8 +297,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < imageVersions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, imageVersions_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, imageVersions_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -257,17 +310,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.orchestration.airflow.service.v1beta1.ListImageVersionsResponse)) { + if (!(obj + instanceof + com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse other = (com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse) obj; + com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse other = + (com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse) obj; - if (!getImageVersionsList() - .equals(other.getImageVersionsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getImageVersionsList().equals(other.getImageVersionsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -290,136 +344,156 @@ public int hashCode() { return hash; } - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse 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.orchestration.airflow.service.v1beta1.ListImageVersionsResponse + 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.orchestration.airflow.service.v1beta1.ListImageVersionsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 ImageVersions in a project and location.
            * 
        * - * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse} + * Protobuf type {@code + * google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse) com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsResponse_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse.class, com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse.Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse + .class, + com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse + .Builder.class); } - // Construct using com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse.newBuilder() + // Construct using + // com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse.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) { getImageVersionsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -435,19 +509,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_ListImageVersionsResponse_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse.getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse + getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse + .getDefaultInstance(); } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse build() { - com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse result = buildPartial(); + public com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse + build() { + com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -455,8 +533,11 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsR } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse buildPartial() { - com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse result = new com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse(this); + public com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse + buildPartial() { + com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse result = + new com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse( + this); int from_bitField0_ = bitField0_; if (imageVersionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -476,46 +557,54 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsR public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse) { - return mergeFrom((com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse)other); + if (other + instanceof + com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse) { + return mergeFrom( + (com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse other) { - if (other == com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse other) { + if (other + == com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse + .getDefaultInstance()) return this; if (imageVersionsBuilder_ == null) { if (!other.imageVersions_.isEmpty()) { if (imageVersions_.isEmpty()) { @@ -534,9 +623,10 @@ public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1beta1. imageVersionsBuilder_ = null; imageVersions_ = other.imageVersions_; bitField0_ = (bitField0_ & ~0x00000001); - imageVersionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getImageVersionsFieldBuilder() : null; + imageVersionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getImageVersionsFieldBuilder() + : null; } else { imageVersionsBuilder_.addAllMessages(other.imageVersions_); } @@ -561,11 +651,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse parsedMessage = null; + com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -574,28 +667,41 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private java.util.List imageVersions_ = - java.util.Collections.emptyList(); + private java.util.List + imageVersions_ = java.util.Collections.emptyList(); + private void ensureImageVersionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - imageVersions_ = new java.util.ArrayList(imageVersions_); + imageVersions_ = + new java.util.ArrayList< + com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion>( + imageVersions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion, com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionOrBuilder> imageVersionsBuilder_; + com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion, + com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.Builder, + com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionOrBuilder> + imageVersionsBuilder_; /** + * + * *
              * The list of supported ImageVersions in a location.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; + * */ - public java.util.List getImageVersionsList() { + public java.util.List + getImageVersionsList() { if (imageVersionsBuilder_ == null) { return java.util.Collections.unmodifiableList(imageVersions_); } else { @@ -603,11 +709,15 @@ public java.util.List * The list of supported ImageVersions in a location. *
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; + * */ public int getImageVersionsCount() { if (imageVersionsBuilder_ == null) { @@ -617,13 +727,18 @@ public int getImageVersionsCount() { } } /** + * + * *
              * The list of supported ImageVersions in a location.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; + * */ - public com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion getImageVersions(int index) { + public com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion getImageVersions( + int index) { if (imageVersionsBuilder_ == null) { return imageVersions_.get(index); } else { @@ -631,11 +746,15 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion getIm } } /** + * + * *
              * The list of supported ImageVersions in a location.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; + * */ public Builder setImageVersions( int index, com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion value) { @@ -652,14 +771,20 @@ public Builder setImageVersions( return this; } /** + * + * *
              * The list of supported ImageVersions in a location.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; + * */ public Builder setImageVersions( - int index, com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.Builder builderForValue) { + int index, + com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.Builder + builderForValue) { if (imageVersionsBuilder_ == null) { ensureImageVersionsIsMutable(); imageVersions_.set(index, builderForValue.build()); @@ -670,13 +795,18 @@ public Builder setImageVersions( return this; } /** + * + * *
              * The list of supported ImageVersions in a location.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; + * */ - public Builder addImageVersions(com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion value) { + public Builder addImageVersions( + com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion value) { if (imageVersionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -690,11 +820,15 @@ public Builder addImageVersions(com.google.cloud.orchestration.airflow.service.v return this; } /** + * + * *
              * The list of supported ImageVersions in a location.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; + * */ public Builder addImageVersions( int index, com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion value) { @@ -711,14 +845,19 @@ public Builder addImageVersions( return this; } /** + * + * *
              * The list of supported ImageVersions in a location.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; + * */ public Builder addImageVersions( - com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.Builder builderForValue) { + com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.Builder + builderForValue) { if (imageVersionsBuilder_ == null) { ensureImageVersionsIsMutable(); imageVersions_.add(builderForValue.build()); @@ -729,14 +868,20 @@ public Builder addImageVersions( return this; } /** + * + * *
              * The list of supported ImageVersions in a location.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; + * */ public Builder addImageVersions( - int index, com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.Builder builderForValue) { + int index, + com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.Builder + builderForValue) { if (imageVersionsBuilder_ == null) { ensureImageVersionsIsMutable(); imageVersions_.add(index, builderForValue.build()); @@ -747,18 +892,23 @@ public Builder addImageVersions( return this; } /** + * + * *
              * The list of supported ImageVersions in a location.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; + * */ public Builder addAllImageVersions( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion> + values) { if (imageVersionsBuilder_ == null) { ensureImageVersionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, imageVersions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, imageVersions_); onChanged(); } else { imageVersionsBuilder_.addAllMessages(values); @@ -766,11 +916,15 @@ public Builder addAllImageVersions( return this; } /** + * + * *
              * The list of supported ImageVersions in a location.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; + * */ public Builder clearImageVersions() { if (imageVersionsBuilder_ == null) { @@ -783,11 +937,15 @@ public Builder clearImageVersions() { return this; } /** + * + * *
              * The list of supported ImageVersions in a location.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; + * */ public Builder removeImageVersions(int index) { if (imageVersionsBuilder_ == null) { @@ -800,39 +958,53 @@ public Builder removeImageVersions(int index) { return this; } /** + * + * *
              * The list of supported ImageVersions in a location.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; + * */ - public com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.Builder getImageVersionsBuilder( - int index) { + public com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.Builder + getImageVersionsBuilder(int index) { return getImageVersionsFieldBuilder().getBuilder(index); } /** + * + * *
              * The list of supported ImageVersions in a location.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; + * */ - public com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionOrBuilder getImageVersionsOrBuilder( - int index) { + public com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionOrBuilder + getImageVersionsOrBuilder(int index) { if (imageVersionsBuilder_ == null) { - return imageVersions_.get(index); } else { + return imageVersions_.get(index); + } else { return imageVersionsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
              * The list of supported ImageVersions in a location.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; + * */ - public java.util.List - getImageVersionsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionOrBuilder> + getImageVersionsOrBuilderList() { if (imageVersionsBuilder_ != null) { return imageVersionsBuilder_.getMessageOrBuilderList(); } else { @@ -840,45 +1012,70 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionOrBuil } } /** + * + * *
              * The list of supported ImageVersions in a location.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; + * */ - public com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.Builder addImageVersionsBuilder() { - return getImageVersionsFieldBuilder().addBuilder( - com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.getDefaultInstance()); + public com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.Builder + addImageVersionsBuilder() { + return getImageVersionsFieldBuilder() + .addBuilder( + com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion + .getDefaultInstance()); } /** + * + * *
              * The list of supported ImageVersions in a location.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; + * */ - public com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.Builder addImageVersionsBuilder( - int index) { - return getImageVersionsFieldBuilder().addBuilder( - index, com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.getDefaultInstance()); + public com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.Builder + addImageVersionsBuilder(int index) { + return getImageVersionsFieldBuilder() + .addBuilder( + index, + com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion + .getDefaultInstance()); } /** + * + * *
              * The list of supported ImageVersions in a location.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; + * */ - public java.util.List - getImageVersionsBuilderList() { + public java.util.List< + com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.Builder> + getImageVersionsBuilderList() { return getImageVersionsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion, com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionOrBuilder> + com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion, + com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.Builder, + com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionOrBuilder> getImageVersionsFieldBuilder() { if (imageVersionsBuilder_ == null) { - imageVersionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion, com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionOrBuilder>( + imageVersionsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion, + com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.Builder, + com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionOrBuilder>( imageVersions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -890,18 +1087,20 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.Build private java.lang.Object nextPageToken_ = ""; /** + * + * *
              * The page token used to query for the next page if one exists.
              * 
        * * 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; @@ -910,20 +1109,21 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
              * The page token used to query for the next page if one exists.
              * 
        * * 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 { @@ -931,61 +1131,68 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
              * The page token used to query for the next page if one exists.
              * 
        * * 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; } /** + * + * *
              * The page token used to query for the next page if one exists.
              * 
        * * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
              * The page token used to query for the next page if one exists.
              * 
        * * 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); } @@ -995,30 +1202,34 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse) - private static final com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.orchestration.airflow.service.v1beta1 + .ListImageVersionsResponse + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse(); + DEFAULT_INSTANCE = + new com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse(); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListImageVersionsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListImageVersionsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListImageVersionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListImageVersionsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1030,9 +1241,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListImageVersionsResponseOrBuilder.java b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListImageVersionsResponseOrBuilder.java new file mode 100644 index 00000000..91290ad6 --- /dev/null +++ b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ListImageVersionsResponseOrBuilder.java @@ -0,0 +1,115 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/orchestration/airflow/service/v1beta1/image_versions.proto + +package com.google.cloud.orchestration.airflow.service.v1beta1; + +public interface ListImageVersionsResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
        +   * The list of supported ImageVersions in a location.
        +   * 
        + * + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; + * + */ + java.util.List + getImageVersionsList(); + /** + * + * + *
        +   * The list of supported ImageVersions in a location.
        +   * 
        + * + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; + * + */ + com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion getImageVersions(int index); + /** + * + * + *
        +   * The list of supported ImageVersions in a location.
        +   * 
        + * + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; + * + */ + int getImageVersionsCount(); + /** + * + * + *
        +   * The list of supported ImageVersions in a location.
        +   * 
        + * + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; + * + */ + java.util.List< + ? extends com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionOrBuilder> + getImageVersionsOrBuilderList(); + /** + * + * + *
        +   * The list of supported ImageVersions in a location.
        +   * 
        + * + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.ImageVersion image_versions = 1; + * + */ + com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionOrBuilder + getImageVersionsOrBuilder(int index); + + /** + * + * + *
        +   * The page token used to query for the next page if one exists.
        +   * 
        + * + * string next_page_token = 2; + * + * @return The nextPageToken. + */ + java.lang.String getNextPageToken(); + /** + * + * + *
        +   * The page token used to query for the next page if one exists.
        +   * 
        + * + * string next_page_token = 2; + * + * @return The bytes for nextPageToken. + */ + com.google.protobuf.ByteString getNextPageTokenBytes(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/MaintenanceWindow.java b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/MaintenanceWindow.java similarity index 70% rename from owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/MaintenanceWindow.java rename to proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/MaintenanceWindow.java index ad569245..179272e0 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/MaintenanceWindow.java +++ b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/MaintenanceWindow.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/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; /** + * + * *
          * The configuration settings for Cloud Composer maintenance window.
          * The following example:
        @@ -20,31 +37,31 @@
          *
          * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow}
          */
        -public final class MaintenanceWindow extends
        -    com.google.protobuf.GeneratedMessageV3 implements
        +public final class MaintenanceWindow extends com.google.protobuf.GeneratedMessageV3
        +    implements
             // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow)
             MaintenanceWindowOrBuilder {
        -private static final long serialVersionUID = 0L;
        +  private static final long serialVersionUID = 0L;
           // Use MaintenanceWindow.newBuilder() to construct.
           private MaintenanceWindow(com.google.protobuf.GeneratedMessageV3.Builder builder) {
             super(builder);
           }
        +
           private MaintenanceWindow() {
             recurrence_ = "";
           }
         
           @java.lang.Override
           @SuppressWarnings({"unused"})
        -  protected java.lang.Object newInstance(
        -      UnusedPrivateParameter unused) {
        +  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
             return new MaintenanceWindow();
           }
         
           @java.lang.Override
        -  public final com.google.protobuf.UnknownFieldSet
        -  getUnknownFields() {
        +  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
             return this.unknownFields;
           }
        +
           private MaintenanceWindow(
               com.google.protobuf.CodedInputStream input,
               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        @@ -63,45 +80,50 @@ private MaintenanceWindow(
                   case 0:
                     done = true;
                     break;
        -          case 10: {
        -            com.google.protobuf.Timestamp.Builder subBuilder = null;
        -            if (startTime_ != null) {
        -              subBuilder = startTime_.toBuilder();
        -            }
        -            startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
        -            if (subBuilder != null) {
        -              subBuilder.mergeFrom(startTime_);
        -              startTime_ = subBuilder.buildPartial();
        -            }
        +          case 10:
        +            {
        +              com.google.protobuf.Timestamp.Builder subBuilder = null;
        +              if (startTime_ != null) {
        +                subBuilder = startTime_.toBuilder();
        +              }
        +              startTime_ =
        +                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
        +              if (subBuilder != null) {
        +                subBuilder.mergeFrom(startTime_);
        +                startTime_ = subBuilder.buildPartial();
        +              }
         
        -            break;
        -          }
        -          case 18: {
        -            com.google.protobuf.Timestamp.Builder subBuilder = null;
        -            if (endTime_ != null) {
        -              subBuilder = endTime_.toBuilder();
        -            }
        -            endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
        -            if (subBuilder != null) {
        -              subBuilder.mergeFrom(endTime_);
        -              endTime_ = subBuilder.buildPartial();
        +              break;
                     }
        +          case 18:
        +            {
        +              com.google.protobuf.Timestamp.Builder subBuilder = null;
        +              if (endTime_ != null) {
        +                subBuilder = endTime_.toBuilder();
        +              }
        +              endTime_ =
        +                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
        +              if (subBuilder != null) {
        +                subBuilder.mergeFrom(endTime_);
        +                endTime_ = subBuilder.buildPartial();
        +              }
         
        -            break;
        -          }
        -          case 26: {
        -            java.lang.String s = input.readStringRequireUtf8();
        +              break;
        +            }
        +          case 26:
        +            {
        +              java.lang.String s = input.readStringRequireUtf8();
         
        -            recurrence_ = s;
        -            break;
        -          }
        -          default: {
        -            if (!parseUnknownField(
        -                input, unknownFields, extensionRegistry, tag)) {
        -              done = true;
        +              recurrence_ = s;
        +              break;
        +            }
        +          default:
        +            {
        +              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
        +                done = true;
        +              }
        +              break;
                     }
        -            break;
        -          }
                 }
               }
             } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        @@ -109,34 +131,40 @@ private MaintenanceWindow(
             } catch (com.google.protobuf.UninitializedMessageException e) {
               throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
             } catch (java.io.IOException e) {
        -      throw new com.google.protobuf.InvalidProtocolBufferException(
        -          e).setUnfinishedMessage(this);
        +      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
             } finally {
               this.unknownFields = unknownFields.build();
               makeExtensionsImmutable();
             }
           }
        -  public static final com.google.protobuf.Descriptors.Descriptor
        -      getDescriptor() {
        -    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_MaintenanceWindow_descriptor;
        +
        +  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        +    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
        +        .internal_static_google_cloud_orchestration_airflow_service_v1beta1_MaintenanceWindow_descriptor;
           }
         
           @java.lang.Override
           protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
               internalGetFieldAccessorTable() {
        -    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_MaintenanceWindow_fieldAccessorTable
        +    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
        +        .internal_static_google_cloud_orchestration_airflow_service_v1beta1_MaintenanceWindow_fieldAccessorTable
                 .ensureFieldAccessorsInitialized(
        -            com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow.class, com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow.Builder.class);
        +            com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow.class,
        +            com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow.Builder.class);
           }
         
           public static final int START_TIME_FIELD_NUMBER = 1;
           private com.google.protobuf.Timestamp startTime_;
           /**
        +   *
        +   *
            * 
            * Required. Start time of the first recurrence of the maintenance window.
            * 
        * - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the startTime field is set. */ @java.lang.Override @@ -144,11 +172,15 @@ public boolean hasStartTime() { return startTime_ != null; } /** + * + * *
            * Required. Start time of the first recurrence of the maintenance window.
            * 
        * - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The startTime. */ @java.lang.Override @@ -156,11 +188,14 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
            * Required. Start time of the first recurrence of the maintenance window.
            * 
        * - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { @@ -170,6 +205,8 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** + * + * *
            * Required. Maintenance window end time. It is used only to calculate the duration of
            * the maintenance window.
        @@ -177,6 +214,7 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
            * 
        * * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -184,6 +222,8 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
            * Required. Maintenance window end time. It is used only to calculate the duration of
            * the maintenance window.
        @@ -191,6 +231,7 @@ public boolean hasEndTime() {
            * 
        * * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The endTime. */ @java.lang.Override @@ -198,6 +239,8 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
            * Required. Maintenance window end time. It is used only to calculate the duration of
            * the maintenance window.
        @@ -214,6 +257,8 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
           public static final int RECURRENCE_FIELD_NUMBER = 3;
           private volatile java.lang.Object recurrence_;
           /**
        +   *
        +   *
            * 
            * Required. Maintenance window recurrence. Format is a subset of
            * [RFC-5545](https://tools.ietf.org/html/rfc5545) `RRULE`. The only allowed
        @@ -222,6 +267,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
            * 
        * * string recurrence = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The recurrence. */ @java.lang.Override @@ -230,14 +276,15 @@ public java.lang.String getRecurrence() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); recurrence_ = s; return s; } } /** + * + * *
            * Required. Maintenance window recurrence. Format is a subset of
            * [RFC-5545](https://tools.ietf.org/html/rfc5545) `RRULE`. The only allowed
        @@ -246,16 +293,15 @@ public java.lang.String getRecurrence() {
            * 
        * * string recurrence = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for recurrence. */ @java.lang.Override - public com.google.protobuf.ByteString - getRecurrenceBytes() { + public com.google.protobuf.ByteString getRecurrenceBytes() { java.lang.Object ref = recurrence_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); recurrence_ = b; return b; } else { @@ -264,6 +310,7 @@ public java.lang.String getRecurrence() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -275,8 +322,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (startTime_ != null) { output.writeMessage(1, getStartTime()); } @@ -296,12 +342,10 @@ public int getSerializedSize() { size = 0; if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getStartTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(recurrence_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, recurrence_); @@ -314,25 +358,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow)) { + if (!(obj + instanceof com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow other = (com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow) obj; + com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow other = + (com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow) obj; if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime() - .equals(other.getStartTime())) return false; + if (!getStartTime().equals(other.getStartTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime() - .equals(other.getEndTime())) return false; + if (!getEndTime().equals(other.getEndTime())) return false; } - if (!getRecurrence() - .equals(other.getRecurrence())) return false; + if (!getRecurrence().equals(other.getRecurrence())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -360,96 +403,105 @@ public int hashCode() { } public static com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow 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.orchestration.airflow.service.v1beta1.MaintenanceWindow parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow 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.orchestration.airflow.service.v1beta1.MaintenanceWindow + 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.orchestration.airflow.service.v1beta1.MaintenanceWindow parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow prototype) { + + public static Builder newBuilder( + com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 configuration settings for Cloud Composer maintenance window.
            * The following example:
        @@ -466,38 +518,41 @@ protected Builder newBuilderForType(
            *
            * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow}
            */
        -  public static final class Builder extends
        -      com.google.protobuf.GeneratedMessageV3.Builder implements
        +  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
        +      implements
               // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow)
               com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindowOrBuilder {
        -    public static final com.google.protobuf.Descriptors.Descriptor
        -        getDescriptor() {
        -      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_MaintenanceWindow_descriptor;
        +    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        +      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
        +          .internal_static_google_cloud_orchestration_airflow_service_v1beta1_MaintenanceWindow_descriptor;
             }
         
             @java.lang.Override
             protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
                 internalGetFieldAccessorTable() {
        -      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_MaintenanceWindow_fieldAccessorTable
        +      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
        +          .internal_static_google_cloud_orchestration_airflow_service_v1beta1_MaintenanceWindow_fieldAccessorTable
                   .ensureFieldAccessorsInitialized(
        -              com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow.class, com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow.Builder.class);
        +              com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow.class,
        +              com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow.Builder
        +                  .class);
             }
         
        -    // Construct using com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow.newBuilder()
        +    // Construct using
        +    // com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow.newBuilder()
             private Builder() {
               maybeForceBuilderInitialization();
             }
         
        -    private Builder(
        -        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        +    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
               super(parent);
               maybeForceBuilderInitialization();
             }
        +
             private void maybeForceBuilderInitialization() {
        -      if (com.google.protobuf.GeneratedMessageV3
        -              .alwaysUseFieldBuilders) {
        -      }
        +      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
             }
        +
             @java.lang.Override
             public Builder clear() {
               super.clear();
        @@ -519,19 +574,22 @@ public Builder clear() {
             }
         
             @java.lang.Override
        -    public com.google.protobuf.Descriptors.Descriptor
        -        getDescriptorForType() {
        -      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_MaintenanceWindow_descriptor;
        +    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
        +      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
        +          .internal_static_google_cloud_orchestration_airflow_service_v1beta1_MaintenanceWindow_descriptor;
             }
         
             @java.lang.Override
        -    public com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow getDefaultInstanceForType() {
        -      return com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow.getDefaultInstance();
        +    public com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow
        +        getDefaultInstanceForType() {
        +      return com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow
        +          .getDefaultInstance();
             }
         
             @java.lang.Override
             public com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow build() {
        -      com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow result = buildPartial();
        +      com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow result =
        +          buildPartial();
               if (!result.isInitialized()) {
                 throw newUninitializedMessageException(result);
               }
        @@ -540,7 +598,8 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow
         
             @java.lang.Override
             public com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow buildPartial() {
        -      com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow result = new com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow(this);
        +      com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow result =
        +          new com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow(this);
               if (startTimeBuilder_ == null) {
                 result.startTime_ = startTime_;
               } else {
        @@ -560,46 +619,52 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow
             public Builder clone() {
               return super.clone();
             }
        +
             @java.lang.Override
             public Builder setField(
        -        com.google.protobuf.Descriptors.FieldDescriptor field,
        -        java.lang.Object value) {
        +        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
               return super.setField(field, value);
             }
        +
             @java.lang.Override
        -    public Builder clearField(
        -        com.google.protobuf.Descriptors.FieldDescriptor field) {
        +    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
               return super.clearField(field);
             }
        +
             @java.lang.Override
        -    public Builder clearOneof(
        -        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        +    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
               return super.clearOneof(oneof);
             }
        +
             @java.lang.Override
             public Builder setRepeatedField(
        -        com.google.protobuf.Descriptors.FieldDescriptor field,
        -        int index, java.lang.Object value) {
        +        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
               return super.setRepeatedField(field, index, value);
             }
        +
             @java.lang.Override
             public Builder addRepeatedField(
        -        com.google.protobuf.Descriptors.FieldDescriptor field,
        -        java.lang.Object value) {
        +        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
               return super.addRepeatedField(field, value);
             }
        +
             @java.lang.Override
             public Builder mergeFrom(com.google.protobuf.Message other) {
        -      if (other instanceof com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow) {
        -        return mergeFrom((com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow)other);
        +      if (other
        +          instanceof com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow) {
        +        return mergeFrom(
        +            (com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow) other);
               } else {
                 super.mergeFrom(other);
                 return this;
               }
             }
         
        -    public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow other) {
        -      if (other == com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow.getDefaultInstance()) return this;
        +    public Builder mergeFrom(
        +        com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow other) {
        +      if (other
        +          == com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow
        +              .getDefaultInstance()) return this;
               if (other.hasStartTime()) {
                 mergeStartTime(other.getStartTime());
               }
        @@ -629,7 +694,9 @@ public Builder mergeFrom(
               try {
                 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
               } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        -        parsedMessage = (com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow) e.getUnfinishedMessage();
        +        parsedMessage =
        +            (com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow)
        +                e.getUnfinishedMessage();
                 throw e.unwrapIOException();
               } finally {
                 if (parsedMessage != null) {
        @@ -641,24 +708,35 @@ public Builder mergeFrom(
         
             private com.google.protobuf.Timestamp startTime_;
             private com.google.protobuf.SingleFieldBuilderV3<
        -        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_;
        +            com.google.protobuf.Timestamp,
        +            com.google.protobuf.Timestamp.Builder,
        +            com.google.protobuf.TimestampOrBuilder>
        +        startTimeBuilder_;
             /**
        +     *
        +     *
              * 
              * Required. Start time of the first recurrence of the maintenance window.
              * 
        * - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** + * + * *
              * Required. Start time of the first recurrence of the maintenance window.
              * 
        * - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -669,11 +747,14 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
              * Required. Start time of the first recurrence of the maintenance window.
              * 
        * - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { @@ -689,14 +770,16 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
              * Required. Start time of the first recurrence of the maintenance window.
              * 
        * - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setStartTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); onChanged(); @@ -707,17 +790,20 @@ public Builder setStartTime( return this; } /** + * + * *
              * Required. Start time of the first recurrence of the maintenance window.
              * 
        * - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -729,11 +815,14 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
              * Required. Start time of the first recurrence of the maintenance window.
              * 
        * - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearStartTime() { if (startTimeBuilder_ == null) { @@ -747,48 +836,59 @@ public Builder clearStartTime() { return this; } /** + * + * *
              * Required. Start time of the first recurrence of the maintenance window.
              * 
        * - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
              * Required. Start time of the first recurrence of the maintenance window.
              * 
        * - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** + * + * *
              * Required. Start time of the first recurrence of the maintenance window.
              * 
        * - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getStartTime(), - getParentForChildren(), - isClean()); + startTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getStartTime(), getParentForChildren(), isClean()); startTime_ = null; } return startTimeBuilder_; @@ -796,28 +896,39 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + endTimeBuilder_; /** + * + * *
              * Required. Maintenance window end time. It is used only to calculate the duration of
              * the maintenance window.
              * The value for end_time must be in the future, relative to `start_time`.
              * 
        * - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** + * + * *
              * Required. Maintenance window end time. It is used only to calculate the duration of
              * the maintenance window.
              * The value for end_time must be in the future, relative to `start_time`.
              * 
        * - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -828,13 +939,16 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
              * Required. Maintenance window end time. It is used only to calculate the duration of
              * the maintenance window.
              * The value for end_time must be in the future, relative to `start_time`.
              * 
        * - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -850,16 +964,18 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
              * Required. Maintenance window end time. It is used only to calculate the duration of
              * the maintenance window.
              * The value for end_time must be in the future, relative to `start_time`.
              * 
        * - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setEndTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); onChanged(); @@ -870,19 +986,22 @@ public Builder setEndTime( return this; } /** + * + * *
              * Required. Maintenance window end time. It is used only to calculate the duration of
              * the maintenance window.
              * The value for end_time must be in the future, relative to `start_time`.
              * 
        * - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -894,13 +1013,16 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
              * Required. Maintenance window end time. It is used only to calculate the duration of
              * the maintenance window.
              * The value for end_time must be in the future, relative to `start_time`.
              * 
        * - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearEndTime() { if (endTimeBuilder_ == null) { @@ -914,54 +1036,65 @@ public Builder clearEndTime() { return this; } /** + * + * *
              * Required. Maintenance window end time. It is used only to calculate the duration of
              * the maintenance window.
              * The value for end_time must be in the future, relative to `start_time`.
              * 
        * - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
              * Required. Maintenance window end time. It is used only to calculate the duration of
              * the maintenance window.
              * The value for end_time must be in the future, relative to `start_time`.
              * 
        * - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** + * + * *
              * Required. Maintenance window end time. It is used only to calculate the duration of
              * the maintenance window.
              * The value for end_time must be in the future, relative to `start_time`.
              * 
        * - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getEndTime(), - getParentForChildren(), - isClean()); + endTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getEndTime(), getParentForChildren(), isClean()); endTime_ = null; } return endTimeBuilder_; @@ -969,6 +1102,8 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private java.lang.Object recurrence_ = ""; /** + * + * *
              * Required. Maintenance window recurrence. Format is a subset of
              * [RFC-5545](https://tools.ietf.org/html/rfc5545) `RRULE`. The only allowed
        @@ -977,13 +1112,13 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
              * 
        * * string recurrence = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The recurrence. */ public java.lang.String getRecurrence() { java.lang.Object ref = recurrence_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); recurrence_ = s; return s; @@ -992,6 +1127,8 @@ public java.lang.String getRecurrence() { } } /** + * + * *
              * Required. Maintenance window recurrence. Format is a subset of
              * [RFC-5545](https://tools.ietf.org/html/rfc5545) `RRULE`. The only allowed
        @@ -1000,15 +1137,14 @@ public java.lang.String getRecurrence() {
              * 
        * * string recurrence = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for recurrence. */ - public com.google.protobuf.ByteString - getRecurrenceBytes() { + public com.google.protobuf.ByteString getRecurrenceBytes() { java.lang.Object ref = recurrence_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); recurrence_ = b; return b; } else { @@ -1016,6 +1152,8 @@ public java.lang.String getRecurrence() { } } /** + * + * *
              * Required. Maintenance window recurrence. Format is a subset of
              * [RFC-5545](https://tools.ietf.org/html/rfc5545) `RRULE`. The only allowed
        @@ -1024,20 +1162,22 @@ public java.lang.String getRecurrence() {
              * 
        * * string recurrence = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The recurrence to set. * @return This builder for chaining. */ - public Builder setRecurrence( - java.lang.String value) { + public Builder setRecurrence(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + recurrence_ = value; onChanged(); return this; } /** + * + * *
              * Required. Maintenance window recurrence. Format is a subset of
              * [RFC-5545](https://tools.ietf.org/html/rfc5545) `RRULE`. The only allowed
        @@ -1046,15 +1186,18 @@ public Builder setRecurrence(
              * 
        * * string recurrence = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearRecurrence() { - + recurrence_ = getDefaultInstance().getRecurrence(); onChanged(); return this; } /** + * + * *
              * Required. Maintenance window recurrence. Format is a subset of
              * [RFC-5545](https://tools.ietf.org/html/rfc5545) `RRULE`. The only allowed
        @@ -1063,23 +1206,23 @@ public Builder clearRecurrence() {
              * 
        * * string recurrence = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for recurrence to set. * @return This builder for chaining. */ - public Builder setRecurrenceBytes( - com.google.protobuf.ByteString value) { + public Builder setRecurrenceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + recurrence_ = 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); } @@ -1089,30 +1232,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow) - private static final com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow DEFAULT_INSTANCE; + private static final com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow(); + DEFAULT_INSTANCE = + new com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow(); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MaintenanceWindow parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MaintenanceWindow(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MaintenanceWindow parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MaintenanceWindow(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1124,9 +1270,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/MaintenanceWindowOrBuilder.java b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/MaintenanceWindowOrBuilder.java similarity index 77% rename from owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/MaintenanceWindowOrBuilder.java rename to proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/MaintenanceWindowOrBuilder.java index aeea4ba7..564e85ce 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/MaintenanceWindowOrBuilder.java +++ b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/MaintenanceWindowOrBuilder.java @@ -1,40 +1,69 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; -public interface MaintenanceWindowOrBuilder extends +public interface MaintenanceWindowOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow) com.google.protobuf.MessageOrBuilder { /** + * + * *
            * Required. Start time of the first recurrence of the maintenance window.
            * 
        * - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** + * + * *
            * Required. Start time of the first recurrence of the maintenance window.
            * 
        * - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** + * + * *
            * Required. Start time of the first recurrence of the maintenance window.
            * 
        * - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** + * + * *
            * Required. Maintenance window end time. It is used only to calculate the duration of
            * the maintenance window.
        @@ -42,10 +71,13 @@ public interface MaintenanceWindowOrBuilder extends
            * 
        * * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
            * Required. Maintenance window end time. It is used only to calculate the duration of
            * the maintenance window.
        @@ -53,10 +85,13 @@ public interface MaintenanceWindowOrBuilder extends
            * 
        * * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
            * Required. Maintenance window end time. It is used only to calculate the duration of
            * the maintenance window.
        @@ -68,6 +103,8 @@ public interface MaintenanceWindowOrBuilder extends
           com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder();
         
           /**
        +   *
        +   *
            * 
            * Required. Maintenance window recurrence. Format is a subset of
            * [RFC-5545](https://tools.ietf.org/html/rfc5545) `RRULE`. The only allowed
        @@ -76,10 +113,13 @@ public interface MaintenanceWindowOrBuilder extends
            * 
        * * string recurrence = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The recurrence. */ java.lang.String getRecurrence(); /** + * + * *
            * Required. Maintenance window recurrence. Format is a subset of
            * [RFC-5545](https://tools.ietf.org/html/rfc5545) `RRULE`. The only allowed
        @@ -88,8 +128,8 @@ public interface MaintenanceWindowOrBuilder extends
            * 
        * * string recurrence = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for recurrence. */ - com.google.protobuf.ByteString - getRecurrenceBytes(); + com.google.protobuf.ByteString getRecurrenceBytes(); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/NodeConfig.java b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/NodeConfig.java similarity index 78% rename from owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/NodeConfig.java rename to proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/NodeConfig.java index fe4adc50..4243430d 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/NodeConfig.java +++ b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/NodeConfig.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/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; /** + * + * *
          * The configuration information for the Kubernetes Engine nodes running
          * the Apache Airflow software.
        @@ -11,15 +28,16 @@
          *
          * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.NodeConfig}
          */
        -public final class NodeConfig extends
        -    com.google.protobuf.GeneratedMessageV3 implements
        +public final class NodeConfig extends com.google.protobuf.GeneratedMessageV3
        +    implements
             // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1beta1.NodeConfig)
             NodeConfigOrBuilder {
        -private static final long serialVersionUID = 0L;
        +  private static final long serialVersionUID = 0L;
           // Use NodeConfig.newBuilder() to construct.
           private NodeConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
             super(builder);
           }
        +
           private NodeConfig() {
             location_ = "";
             machineType_ = "";
        @@ -32,16 +50,15 @@ private NodeConfig() {
         
           @java.lang.Override
           @SuppressWarnings({"unused"})
        -  protected java.lang.Object newInstance(
        -      UnusedPrivateParameter unused) {
        +  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
             return new NodeConfig();
           }
         
           @java.lang.Override
        -  public final com.google.protobuf.UnknownFieldSet
        -  getUnknownFields() {
        +  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
             return this.unknownFields;
           }
        +
           private NodeConfig(
               com.google.protobuf.CodedInputStream input,
               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        @@ -61,84 +78,97 @@ private NodeConfig(
                   case 0:
                     done = true;
                     break;
        -          case 10: {
        -            java.lang.String s = input.readStringRequireUtf8();
        -
        -            location_ = s;
        -            break;
        -          }
        -          case 18: {
        -            java.lang.String s = input.readStringRequireUtf8();
        -
        -            machineType_ = s;
        -            break;
        -          }
        -          case 26: {
        -            java.lang.String s = input.readStringRequireUtf8();
        +          case 10:
        +            {
        +              java.lang.String s = input.readStringRequireUtf8();
         
        -            network_ = s;
        -            break;
        -          }
        -          case 34: {
        -            java.lang.String s = input.readStringRequireUtf8();
        +              location_ = s;
        +              break;
        +            }
        +          case 18:
        +            {
        +              java.lang.String s = input.readStringRequireUtf8();
         
        -            subnetwork_ = s;
        -            break;
        -          }
        -          case 40: {
        +              machineType_ = s;
        +              break;
        +            }
        +          case 26:
        +            {
        +              java.lang.String s = input.readStringRequireUtf8();
         
        -            diskSizeGb_ = input.readInt32();
        -            break;
        -          }
        -          case 50: {
        -            java.lang.String s = input.readStringRequireUtf8();
        -            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
        -              oauthScopes_ = new com.google.protobuf.LazyStringArrayList();
        -              mutable_bitField0_ |= 0x00000001;
        +              network_ = s;
        +              break;
                     }
        -            oauthScopes_.add(s);
        -            break;
        -          }
        -          case 58: {
        -            java.lang.String s = input.readStringRequireUtf8();
        +          case 34:
        +            {
        +              java.lang.String s = input.readStringRequireUtf8();
         
        -            serviceAccount_ = s;
        -            break;
        -          }
        -          case 66: {
        -            java.lang.String s = input.readStringRequireUtf8();
        -            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
        -              tags_ = new com.google.protobuf.LazyStringArrayList();
        -              mutable_bitField0_ |= 0x00000002;
        +              subnetwork_ = s;
        +              break;
                     }
        -            tags_.add(s);
        -            break;
        -          }
        -          case 74: {
        -            com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy.Builder subBuilder = null;
        -            if (ipAllocationPolicy_ != null) {
        -              subBuilder = ipAllocationPolicy_.toBuilder();
        +          case 40:
        +            {
        +              diskSizeGb_ = input.readInt32();
        +              break;
                     }
        -            ipAllocationPolicy_ = input.readMessage(com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy.parser(), extensionRegistry);
        -            if (subBuilder != null) {
        -              subBuilder.mergeFrom(ipAllocationPolicy_);
        -              ipAllocationPolicy_ = subBuilder.buildPartial();
        +          case 50:
        +            {
        +              java.lang.String s = input.readStringRequireUtf8();
        +              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
        +                oauthScopes_ = new com.google.protobuf.LazyStringArrayList();
        +                mutable_bitField0_ |= 0x00000001;
        +              }
        +              oauthScopes_.add(s);
        +              break;
                     }
        +          case 58:
        +            {
        +              java.lang.String s = input.readStringRequireUtf8();
         
        -            break;
        -          }
        -          case 80: {
        -
        -            maxPodsPerNode_ = input.readInt32();
        -            break;
        -          }
        -          default: {
        -            if (!parseUnknownField(
        -                input, unknownFields, extensionRegistry, tag)) {
        -              done = true;
        +              serviceAccount_ = s;
        +              break;
        +            }
        +          case 66:
        +            {
        +              java.lang.String s = input.readStringRequireUtf8();
        +              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
        +                tags_ = new com.google.protobuf.LazyStringArrayList();
        +                mutable_bitField0_ |= 0x00000002;
        +              }
        +              tags_.add(s);
        +              break;
        +            }
        +          case 74:
        +            {
        +              com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy.Builder
        +                  subBuilder = null;
        +              if (ipAllocationPolicy_ != null) {
        +                subBuilder = ipAllocationPolicy_.toBuilder();
        +              }
        +              ipAllocationPolicy_ =
        +                  input.readMessage(
        +                      com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy
        +                          .parser(),
        +                      extensionRegistry);
        +              if (subBuilder != null) {
        +                subBuilder.mergeFrom(ipAllocationPolicy_);
        +                ipAllocationPolicy_ = subBuilder.buildPartial();
        +              }
        +
        +              break;
        +            }
        +          case 80:
        +            {
        +              maxPodsPerNode_ = input.readInt32();
        +              break;
        +            }
        +          default:
        +            {
        +              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
        +                done = true;
        +              }
        +              break;
                     }
        -            break;
        -          }
                 }
               }
             } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        @@ -146,8 +176,7 @@ private NodeConfig(
             } catch (com.google.protobuf.UninitializedMessageException e) {
               throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
             } catch (java.io.IOException e) {
        -      throw new com.google.protobuf.InvalidProtocolBufferException(
        -          e).setUnfinishedMessage(this);
        +      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
             } finally {
               if (((mutable_bitField0_ & 0x00000001) != 0)) {
                 oauthScopes_ = oauthScopes_.getUnmodifiableView();
        @@ -159,22 +188,27 @@ private NodeConfig(
               makeExtensionsImmutable();
             }
           }
        -  public static final com.google.protobuf.Descriptors.Descriptor
        -      getDescriptor() {
        -    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_NodeConfig_descriptor;
        +
        +  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        +    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
        +        .internal_static_google_cloud_orchestration_airflow_service_v1beta1_NodeConfig_descriptor;
           }
         
           @java.lang.Override
           protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
               internalGetFieldAccessorTable() {
        -    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_NodeConfig_fieldAccessorTable
        +    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
        +        .internal_static_google_cloud_orchestration_airflow_service_v1beta1_NodeConfig_fieldAccessorTable
                 .ensureFieldAccessorsInitialized(
        -            com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig.class, com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig.Builder.class);
        +            com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig.class,
        +            com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig.Builder.class);
           }
         
           public static final int LOCATION_FIELD_NUMBER = 1;
           private volatile java.lang.Object location_;
           /**
        +   *
        +   *
            * 
            * Optional. The Compute Engine [zone](/compute/docs/regions-zones) in which
            * to deploy the VMs used to run the Apache Airflow software, specified as a
        @@ -192,6 +226,7 @@ private NodeConfig(
            * 
        * * string location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The location. */ @java.lang.Override @@ -200,14 +235,15 @@ public java.lang.String getLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; } } /** + * + * *
            * Optional. The Compute Engine [zone](/compute/docs/regions-zones) in which
            * to deploy the VMs used to run the Apache Airflow software, specified as a
        @@ -225,16 +261,15 @@ public java.lang.String getLocation() {
            * 
        * * string location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for location. */ @java.lang.Override - public com.google.protobuf.ByteString - getLocationBytes() { + public com.google.protobuf.ByteString getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); location_ = b; return b; } else { @@ -245,6 +280,8 @@ public java.lang.String getLocation() { public static final int MACHINE_TYPE_FIELD_NUMBER = 2; private volatile java.lang.Object machineType_; /** + * + * *
            * Optional. The Compute Engine
            * [machine type](/compute/docs/machine-types) used for cluster instances,
        @@ -267,6 +304,7 @@ public java.lang.String getLocation() {
            * 
        * * string machine_type = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The machineType. */ @java.lang.Override @@ -275,14 +313,15 @@ public java.lang.String getMachineType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); machineType_ = s; return s; } } /** + * + * *
            * Optional. The Compute Engine
            * [machine type](/compute/docs/machine-types) used for cluster instances,
        @@ -305,16 +344,15 @@ public java.lang.String getMachineType() {
            * 
        * * string machine_type = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for machineType. */ @java.lang.Override - public com.google.protobuf.ByteString - getMachineTypeBytes() { + public com.google.protobuf.ByteString getMachineTypeBytes() { java.lang.Object ref = machineType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); machineType_ = b; return b; } else { @@ -325,6 +363,8 @@ public java.lang.String getMachineType() { public static final int NETWORK_FIELD_NUMBER = 3; private volatile java.lang.Object network_; /** + * + * *
            * Optional. The Compute Engine network to be used for machine
            * communications, specified as a
        @@ -339,6 +379,7 @@ public java.lang.String getMachineType() {
            * 
        * * string network = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The network. */ @java.lang.Override @@ -347,14 +388,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; } } /** + * + * *
            * Optional. The Compute Engine network to be used for machine
            * communications, specified as a
        @@ -369,16 +411,15 @@ public java.lang.String getNetwork() {
            * 
        * * string network = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -389,6 +430,8 @@ public java.lang.String getNetwork() { public static final int SUBNETWORK_FIELD_NUMBER = 4; private volatile java.lang.Object subnetwork_; /** + * + * *
            * Optional. The Compute Engine subnetwork to be used for machine
            * communications, specified as a
        @@ -401,6 +444,7 @@ public java.lang.String getNetwork() {
            * 
        * * string subnetwork = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The subnetwork. */ @java.lang.Override @@ -409,14 +453,15 @@ public java.lang.String getSubnetwork() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subnetwork_ = s; return s; } } /** + * + * *
            * Optional. The Compute Engine subnetwork to be used for machine
            * communications, specified as a
        @@ -429,16 +474,15 @@ public java.lang.String getSubnetwork() {
            * 
        * * string subnetwork = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for subnetwork. */ @java.lang.Override - public com.google.protobuf.ByteString - getSubnetworkBytes() { + public com.google.protobuf.ByteString getSubnetworkBytes() { java.lang.Object ref = subnetwork_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); subnetwork_ = b; return b; } else { @@ -449,12 +493,15 @@ public java.lang.String getSubnetwork() { public static final int DISK_SIZE_GB_FIELD_NUMBER = 5; private int diskSizeGb_; /** + * + * *
            * Optional. The disk size in GB used for node VMs. Minimum size is 20GB.
            * If unspecified, defaults to 100GB. Cannot be updated.
            * 
        * * int32 disk_size_gb = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The diskSizeGb. */ @java.lang.Override @@ -465,6 +512,8 @@ public int getDiskSizeGb() { public static final int OAUTH_SCOPES_FIELD_NUMBER = 6; private com.google.protobuf.LazyStringList oauthScopes_; /** + * + * *
            * Optional. The set of Google API scopes to be made available on all
            * node VMs. If `oauth_scopes` is empty, defaults to
        @@ -472,13 +521,15 @@ public int getDiskSizeGb() {
            * 
        * * repeated string oauth_scopes = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the oauthScopes. */ - public com.google.protobuf.ProtocolStringList - getOauthScopesList() { + public com.google.protobuf.ProtocolStringList getOauthScopesList() { return oauthScopes_; } /** + * + * *
            * Optional. The set of Google API scopes to be made available on all
            * node VMs. If `oauth_scopes` is empty, defaults to
        @@ -486,12 +537,15 @@ public int getDiskSizeGb() {
            * 
        * * repeated string oauth_scopes = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of oauthScopes. */ public int getOauthScopesCount() { return oauthScopes_.size(); } /** + * + * *
            * Optional. The set of Google API scopes to be made available on all
            * node VMs. If `oauth_scopes` is empty, defaults to
        @@ -499,6 +553,7 @@ public int getOauthScopesCount() {
            * 
        * * repeated string oauth_scopes = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The oauthScopes at the given index. */ @@ -506,6 +561,8 @@ public java.lang.String getOauthScopes(int index) { return oauthScopes_.get(index); } /** + * + * *
            * Optional. The set of Google API scopes to be made available on all
            * node VMs. If `oauth_scopes` is empty, defaults to
        @@ -513,17 +570,19 @@ public java.lang.String getOauthScopes(int index) {
            * 
        * * repeated string oauth_scopes = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the oauthScopes at the given index. */ - public com.google.protobuf.ByteString - getOauthScopesBytes(int index) { + public com.google.protobuf.ByteString getOauthScopesBytes(int index) { return oauthScopes_.getByteString(index); } public static final int SERVICE_ACCOUNT_FIELD_NUMBER = 7; private volatile java.lang.Object serviceAccount_; /** + * + * *
            * Optional. The Google Cloud Platform Service Account to be used by the workloads. If a
            * service account is not specified, the "default" Compute Engine service
        @@ -531,6 +590,7 @@ public java.lang.String getOauthScopes(int index) {
            * 
        * * string service_account = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The serviceAccount. */ @java.lang.Override @@ -539,14 +599,15 @@ public java.lang.String getServiceAccount() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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; } } /** + * + * *
            * Optional. The Google Cloud Platform Service Account to be used by the workloads. If a
            * service account is not specified, the "default" Compute Engine service
        @@ -554,16 +615,15 @@ public java.lang.String getServiceAccount() {
            * 
        * * string service_account = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for serviceAccount. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceAccountBytes() { + 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 { @@ -574,6 +634,8 @@ public java.lang.String getServiceAccount() { public static final int TAGS_FIELD_NUMBER = 8; private com.google.protobuf.LazyStringList tags_; /** + * + * *
            * Optional. The list of instance tags applied to all node VMs. Tags are used
            * to identify valid sources or targets for network firewalls. Each tag within
        @@ -582,13 +644,15 @@ public java.lang.String getServiceAccount() {
            * 
        * * repeated string tags = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the tags. */ - public com.google.protobuf.ProtocolStringList - getTagsList() { + public com.google.protobuf.ProtocolStringList getTagsList() { return tags_; } /** + * + * *
            * Optional. The list of instance tags applied to all node VMs. Tags are used
            * to identify valid sources or targets for network firewalls. Each tag within
        @@ -597,12 +661,15 @@ public java.lang.String getServiceAccount() {
            * 
        * * repeated string tags = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** + * + * *
            * Optional. The list of instance tags applied to all node VMs. Tags are used
            * to identify valid sources or targets for network firewalls. Each tag within
        @@ -611,6 +678,7 @@ public int getTagsCount() {
            * 
        * * repeated string tags = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The tags at the given index. */ @@ -618,6 +686,8 @@ public java.lang.String getTags(int index) { return tags_.get(index); } /** + * + * *
            * Optional. The list of instance tags applied to all node VMs. Tags are used
            * to identify valid sources or targets for network firewalls. Each tag within
        @@ -626,22 +696,28 @@ public java.lang.String getTags(int index) {
            * 
        * * repeated string tags = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - public com.google.protobuf.ByteString - getTagsBytes(int index) { + public com.google.protobuf.ByteString getTagsBytes(int index) { return tags_.getByteString(index); } public static final int IP_ALLOCATION_POLICY_FIELD_NUMBER = 9; - private com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy ipAllocationPolicy_; + private com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy + ipAllocationPolicy_; /** + * + * *
            * Optional. The IPAllocationPolicy fields for the GKE cluster.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the ipAllocationPolicy field is set. */ @java.lang.Override @@ -649,32 +725,48 @@ public boolean hasIpAllocationPolicy() { return ipAllocationPolicy_ != null; } /** + * + * *
            * Optional. The IPAllocationPolicy fields for the GKE cluster.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The ipAllocationPolicy. */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy getIpAllocationPolicy() { - return ipAllocationPolicy_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy.getDefaultInstance() : ipAllocationPolicy_; + public com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy + getIpAllocationPolicy() { + return ipAllocationPolicy_ == null + ? com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy + .getDefaultInstance() + : ipAllocationPolicy_; } /** + * + * *
            * Optional. The IPAllocationPolicy fields for the GKE cluster.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicyOrBuilder getIpAllocationPolicyOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicyOrBuilder + getIpAllocationPolicyOrBuilder() { return getIpAllocationPolicy(); } public static final int MAX_PODS_PER_NODE_FIELD_NUMBER = 10; private int maxPodsPerNode_; /** + * + * *
            * Optional. The maximum number of pods per node in the Cloud Composer GKE cluster.
            * The value must be between 8 and 110 and it can be set only if
        @@ -689,6 +781,7 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy
            * 
        * * int32 max_pods_per_node = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The maxPodsPerNode. */ @java.lang.Override @@ -697,6 +790,7 @@ public int getMaxPodsPerNode() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -708,8 +802,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(location_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, location_); } @@ -762,8 +855,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, subnetwork_); } if (diskSizeGb_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(5, diskSizeGb_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, diskSizeGb_); } { int dataSize = 0; @@ -785,12 +877,10 @@ public int getSerializedSize() { size += 1 * getTagsList().size(); } if (ipAllocationPolicy_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getIpAllocationPolicy()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getIpAllocationPolicy()); } if (maxPodsPerNode_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(10, maxPodsPerNode_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(10, maxPodsPerNode_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -800,36 +890,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.orchestration.airflow.service.v1beta1.NodeConfig)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig other = (com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig) obj; - - if (!getLocation() - .equals(other.getLocation())) return false; - if (!getMachineType() - .equals(other.getMachineType())) return false; - if (!getNetwork() - .equals(other.getNetwork())) return false; - if (!getSubnetwork() - .equals(other.getSubnetwork())) return false; - if (getDiskSizeGb() - != other.getDiskSizeGb()) return false; - if (!getOauthScopesList() - .equals(other.getOauthScopesList())) return false; - if (!getServiceAccount() - .equals(other.getServiceAccount())) return false; - if (!getTagsList() - .equals(other.getTagsList())) return false; + com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig other = + (com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig) obj; + + if (!getLocation().equals(other.getLocation())) return false; + if (!getMachineType().equals(other.getMachineType())) return false; + if (!getNetwork().equals(other.getNetwork())) return false; + if (!getSubnetwork().equals(other.getSubnetwork())) return false; + if (getDiskSizeGb() != other.getDiskSizeGb()) return false; + if (!getOauthScopesList().equals(other.getOauthScopesList())) return false; + if (!getServiceAccount().equals(other.getServiceAccount())) return false; + if (!getTagsList().equals(other.getTagsList())) return false; if (hasIpAllocationPolicy() != other.hasIpAllocationPolicy()) return false; if (hasIpAllocationPolicy()) { - if (!getIpAllocationPolicy() - .equals(other.getIpAllocationPolicy())) return false; + if (!getIpAllocationPolicy().equals(other.getIpAllocationPolicy())) return false; } - if (getMaxPodsPerNode() - != other.getMaxPodsPerNode()) return false; + if (getMaxPodsPerNode() != other.getMaxPodsPerNode()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -873,96 +954,105 @@ public int hashCode() { } public static com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig 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.orchestration.airflow.service.v1beta1.NodeConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig 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.orchestration.airflow.service.v1beta1.NodeConfig + 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.orchestration.airflow.service.v1beta1.NodeConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 configuration information for the Kubernetes Engine nodes running
            * the Apache Airflow software.
        @@ -970,38 +1060,40 @@ protected Builder newBuilderForType(
            *
            * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.NodeConfig}
            */
        -  public static final class Builder extends
        -      com.google.protobuf.GeneratedMessageV3.Builder implements
        +  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
        +      implements
               // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1beta1.NodeConfig)
               com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfigOrBuilder {
        -    public static final com.google.protobuf.Descriptors.Descriptor
        -        getDescriptor() {
        -      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_NodeConfig_descriptor;
        +    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        +      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
        +          .internal_static_google_cloud_orchestration_airflow_service_v1beta1_NodeConfig_descriptor;
             }
         
             @java.lang.Override
             protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
                 internalGetFieldAccessorTable() {
        -      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_NodeConfig_fieldAccessorTable
        +      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
        +          .internal_static_google_cloud_orchestration_airflow_service_v1beta1_NodeConfig_fieldAccessorTable
                   .ensureFieldAccessorsInitialized(
        -              com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig.class, com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig.Builder.class);
        +              com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig.class,
        +              com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig.Builder.class);
             }
         
        -    // Construct using com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig.newBuilder()
        +    // Construct using
        +    // com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig.newBuilder()
             private Builder() {
               maybeForceBuilderInitialization();
             }
         
        -    private Builder(
        -        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        +    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
               super(parent);
               maybeForceBuilderInitialization();
             }
        +
             private void maybeForceBuilderInitialization() {
        -      if (com.google.protobuf.GeneratedMessageV3
        -              .alwaysUseFieldBuilders) {
        -      }
        +      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
             }
        +
             @java.lang.Override
             public Builder clear() {
               super.clear();
        @@ -1033,13 +1125,14 @@ public Builder clear() {
             }
         
             @java.lang.Override
        -    public com.google.protobuf.Descriptors.Descriptor
        -        getDescriptorForType() {
        -      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_NodeConfig_descriptor;
        +    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
        +      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
        +          .internal_static_google_cloud_orchestration_airflow_service_v1beta1_NodeConfig_descriptor;
             }
         
             @java.lang.Override
        -    public com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig getDefaultInstanceForType() {
        +    public com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig
        +        getDefaultInstanceForType() {
               return com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig.getDefaultInstance();
             }
         
        @@ -1054,7 +1147,8 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig build()
         
             @java.lang.Override
             public com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig buildPartial() {
        -      com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig result = new com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig(this);
        +      com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig result =
        +          new com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig(this);
               int from_bitField0_ = bitField0_;
               result.location_ = location_;
               result.machineType_ = machineType_;
        @@ -1086,46 +1180,50 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig 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.orchestration.airflow.service.v1beta1.NodeConfig) {
        -        return mergeFrom((com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig)other);
        +        return mergeFrom((com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig) other);
               } else {
                 super.mergeFrom(other);
                 return this;
               }
             }
         
        -    public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig other) {
        -      if (other == com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig.getDefaultInstance()) return this;
        +    public Builder mergeFrom(
        +        com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig other) {
        +      if (other
        +          == com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig.getDefaultInstance())
        +        return this;
               if (!other.getLocation().isEmpty()) {
                 location_ = other.location_;
                 onChanged();
        @@ -1194,7 +1292,9 @@ public Builder mergeFrom(
               try {
                 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
               } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        -        parsedMessage = (com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig) e.getUnfinishedMessage();
        +        parsedMessage =
        +            (com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig)
        +                e.getUnfinishedMessage();
                 throw e.unwrapIOException();
               } finally {
                 if (parsedMessage != null) {
        @@ -1203,10 +1303,13 @@ public Builder mergeFrom(
               }
               return this;
             }
        +
             private int bitField0_;
         
             private java.lang.Object location_ = "";
             /**
        +     *
        +     *
              * 
              * Optional. The Compute Engine [zone](/compute/docs/regions-zones) in which
              * to deploy the VMs used to run the Apache Airflow software, specified as a
        @@ -1224,13 +1327,13 @@ public Builder mergeFrom(
              * 
        * * string location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The location. */ public java.lang.String getLocation() { java.lang.Object ref = location_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; @@ -1239,6 +1342,8 @@ public java.lang.String getLocation() { } } /** + * + * *
              * Optional. The Compute Engine [zone](/compute/docs/regions-zones) in which
              * to deploy the VMs used to run the Apache Airflow software, specified as a
        @@ -1256,15 +1361,14 @@ public java.lang.String getLocation() {
              * 
        * * string location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for location. */ - public com.google.protobuf.ByteString - getLocationBytes() { + public com.google.protobuf.ByteString getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); location_ = b; return b; } else { @@ -1272,6 +1376,8 @@ public java.lang.String getLocation() { } } /** + * + * *
              * Optional. The Compute Engine [zone](/compute/docs/regions-zones) in which
              * to deploy the VMs used to run the Apache Airflow software, specified as a
        @@ -1289,20 +1395,22 @@ public java.lang.String getLocation() {
              * 
        * * string location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation( - java.lang.String value) { + public Builder setLocation(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + location_ = value; onChanged(); return this; } /** + * + * *
              * Optional. The Compute Engine [zone](/compute/docs/regions-zones) in which
              * to deploy the VMs used to run the Apache Airflow software, specified as a
        @@ -1320,15 +1428,18 @@ public Builder setLocation(
              * 
        * * string location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearLocation() { - + location_ = getDefaultInstance().getLocation(); onChanged(); return this; } /** + * + * *
              * Optional. The Compute Engine [zone](/compute/docs/regions-zones) in which
              * to deploy the VMs used to run the Apache Airflow software, specified as a
        @@ -1346,16 +1457,16 @@ public Builder clearLocation() {
              * 
        * * string location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes( - com.google.protobuf.ByteString value) { + public Builder setLocationBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + location_ = value; onChanged(); return this; @@ -1363,6 +1474,8 @@ public Builder setLocationBytes( private java.lang.Object machineType_ = ""; /** + * + * *
              * Optional. The Compute Engine
              * [machine type](/compute/docs/machine-types) used for cluster instances,
        @@ -1385,13 +1498,13 @@ public Builder setLocationBytes(
              * 
        * * string machine_type = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The machineType. */ public java.lang.String getMachineType() { java.lang.Object ref = machineType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); machineType_ = s; return s; @@ -1400,6 +1513,8 @@ public java.lang.String getMachineType() { } } /** + * + * *
              * Optional. The Compute Engine
              * [machine type](/compute/docs/machine-types) used for cluster instances,
        @@ -1422,15 +1537,14 @@ public java.lang.String getMachineType() {
              * 
        * * string machine_type = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for machineType. */ - public com.google.protobuf.ByteString - getMachineTypeBytes() { + public com.google.protobuf.ByteString getMachineTypeBytes() { java.lang.Object ref = machineType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); machineType_ = b; return b; } else { @@ -1438,6 +1552,8 @@ public java.lang.String getMachineType() { } } /** + * + * *
              * Optional. The Compute Engine
              * [machine type](/compute/docs/machine-types) used for cluster instances,
        @@ -1460,20 +1576,22 @@ public java.lang.String getMachineType() {
              * 
        * * string machine_type = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The machineType to set. * @return This builder for chaining. */ - public Builder setMachineType( - java.lang.String value) { + public Builder setMachineType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + machineType_ = value; onChanged(); return this; } /** + * + * *
              * Optional. The Compute Engine
              * [machine type](/compute/docs/machine-types) used for cluster instances,
        @@ -1496,15 +1614,18 @@ public Builder setMachineType(
              * 
        * * string machine_type = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearMachineType() { - + machineType_ = getDefaultInstance().getMachineType(); onChanged(); return this; } /** + * + * *
              * Optional. The Compute Engine
              * [machine type](/compute/docs/machine-types) used for cluster instances,
        @@ -1527,16 +1648,16 @@ public Builder clearMachineType() {
              * 
        * * string machine_type = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for machineType to set. * @return This builder for chaining. */ - public Builder setMachineTypeBytes( - com.google.protobuf.ByteString value) { + public Builder setMachineTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + machineType_ = value; onChanged(); return this; @@ -1544,6 +1665,8 @@ public Builder setMachineTypeBytes( private java.lang.Object network_ = ""; /** + * + * *
              * Optional. The Compute Engine network to be used for machine
              * communications, specified as a
        @@ -1558,13 +1681,13 @@ public Builder setMachineTypeBytes(
              * 
        * * string network = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -1573,6 +1696,8 @@ public java.lang.String getNetwork() { } } /** + * + * *
              * Optional. The Compute Engine network to be used for machine
              * communications, specified as a
        @@ -1587,15 +1712,14 @@ public java.lang.String getNetwork() {
              * 
        * * string network = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -1603,6 +1727,8 @@ public java.lang.String getNetwork() { } } /** + * + * *
              * Optional. The Compute Engine network to be used for machine
              * communications, specified as a
        @@ -1617,20 +1743,22 @@ public java.lang.String getNetwork() {
              * 
        * * string network = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; } /** + * + * *
              * Optional. The Compute Engine network to be used for machine
              * communications, specified as a
        @@ -1645,15 +1773,18 @@ public Builder setNetwork(
              * 
        * * string network = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearNetwork() { - + network_ = getDefaultInstance().getNetwork(); onChanged(); return this; } /** + * + * *
              * Optional. The Compute Engine network to be used for machine
              * communications, specified as a
        @@ -1668,16 +1799,16 @@ public Builder clearNetwork() {
              * 
        * * string network = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -1685,6 +1816,8 @@ public Builder setNetworkBytes( private java.lang.Object subnetwork_ = ""; /** + * + * *
              * Optional. The Compute Engine subnetwork to be used for machine
              * communications, specified as a
        @@ -1697,13 +1830,13 @@ public Builder setNetworkBytes(
              * 
        * * string subnetwork = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The subnetwork. */ public java.lang.String getSubnetwork() { java.lang.Object ref = subnetwork_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subnetwork_ = s; return s; @@ -1712,6 +1845,8 @@ public java.lang.String getSubnetwork() { } } /** + * + * *
              * Optional. The Compute Engine subnetwork to be used for machine
              * communications, specified as a
        @@ -1724,15 +1859,14 @@ public java.lang.String getSubnetwork() {
              * 
        * * string subnetwork = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for subnetwork. */ - public com.google.protobuf.ByteString - getSubnetworkBytes() { + public com.google.protobuf.ByteString getSubnetworkBytes() { java.lang.Object ref = subnetwork_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); subnetwork_ = b; return b; } else { @@ -1740,6 +1874,8 @@ public java.lang.String getSubnetwork() { } } /** + * + * *
              * Optional. The Compute Engine subnetwork to be used for machine
              * communications, specified as a
        @@ -1752,20 +1888,22 @@ public java.lang.String getSubnetwork() {
              * 
        * * string subnetwork = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The subnetwork to set. * @return This builder for chaining. */ - public Builder setSubnetwork( - java.lang.String value) { + public Builder setSubnetwork(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + subnetwork_ = value; onChanged(); return this; } /** + * + * *
              * Optional. The Compute Engine subnetwork to be used for machine
              * communications, specified as a
        @@ -1778,15 +1916,18 @@ public Builder setSubnetwork(
              * 
        * * string subnetwork = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearSubnetwork() { - + subnetwork_ = getDefaultInstance().getSubnetwork(); onChanged(); return this; } /** + * + * *
              * Optional. The Compute Engine subnetwork to be used for machine
              * communications, specified as a
        @@ -1799,29 +1940,32 @@ public Builder clearSubnetwork() {
              * 
        * * string subnetwork = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for subnetwork to set. * @return This builder for chaining. */ - public Builder setSubnetworkBytes( - com.google.protobuf.ByteString value) { + public Builder setSubnetworkBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + subnetwork_ = value; onChanged(); return this; } - private int diskSizeGb_ ; + private int diskSizeGb_; /** + * + * *
              * Optional. The disk size in GB used for node VMs. Minimum size is 20GB.
              * If unspecified, defaults to 100GB. Cannot be updated.
              * 
        * * int32 disk_size_gb = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The diskSizeGb. */ @java.lang.Override @@ -1829,45 +1973,55 @@ public int getDiskSizeGb() { return diskSizeGb_; } /** + * + * *
              * Optional. The disk size in GB used for node VMs. Minimum size is 20GB.
              * If unspecified, defaults to 100GB. Cannot be updated.
              * 
        * * int32 disk_size_gb = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The diskSizeGb to set. * @return This builder for chaining. */ public Builder setDiskSizeGb(int value) { - + diskSizeGb_ = value; onChanged(); return this; } /** + * + * *
              * Optional. The disk size in GB used for node VMs. Minimum size is 20GB.
              * If unspecified, defaults to 100GB. Cannot be updated.
              * 
        * * int32 disk_size_gb = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDiskSizeGb() { - + diskSizeGb_ = 0; onChanged(); return this; } - private com.google.protobuf.LazyStringList oauthScopes_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList oauthScopes_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureOauthScopesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { oauthScopes_ = new com.google.protobuf.LazyStringArrayList(oauthScopes_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
              * Optional. The set of Google API scopes to be made available on all
              * node VMs. If `oauth_scopes` is empty, defaults to
        @@ -1875,13 +2029,15 @@ private void ensureOauthScopesIsMutable() {
              * 
        * * repeated string oauth_scopes = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the oauthScopes. */ - public com.google.protobuf.ProtocolStringList - getOauthScopesList() { + public com.google.protobuf.ProtocolStringList getOauthScopesList() { return oauthScopes_.getUnmodifiableView(); } /** + * + * *
              * Optional. The set of Google API scopes to be made available on all
              * node VMs. If `oauth_scopes` is empty, defaults to
        @@ -1889,12 +2045,15 @@ private void ensureOauthScopesIsMutable() {
              * 
        * * repeated string oauth_scopes = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of oauthScopes. */ public int getOauthScopesCount() { return oauthScopes_.size(); } /** + * + * *
              * Optional. The set of Google API scopes to be made available on all
              * node VMs. If `oauth_scopes` is empty, defaults to
        @@ -1902,6 +2061,7 @@ public int getOauthScopesCount() {
              * 
        * * repeated string oauth_scopes = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The oauthScopes at the given index. */ @@ -1909,6 +2069,8 @@ public java.lang.String getOauthScopes(int index) { return oauthScopes_.get(index); } /** + * + * *
              * Optional. The set of Google API scopes to be made available on all
              * node VMs. If `oauth_scopes` is empty, defaults to
        @@ -1916,14 +2078,16 @@ public java.lang.String getOauthScopes(int index) {
              * 
        * * repeated string oauth_scopes = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the oauthScopes at the given index. */ - public com.google.protobuf.ByteString - getOauthScopesBytes(int index) { + public com.google.protobuf.ByteString getOauthScopesBytes(int index) { return oauthScopes_.getByteString(index); } /** + * + * *
              * Optional. The set of Google API scopes to be made available on all
              * node VMs. If `oauth_scopes` is empty, defaults to
        @@ -1931,21 +2095,23 @@ public java.lang.String getOauthScopes(int index) {
              * 
        * * repeated string oauth_scopes = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index to set the value at. * @param value The oauthScopes to set. * @return This builder for chaining. */ - public Builder setOauthScopes( - int index, java.lang.String value) { + public Builder setOauthScopes(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureOauthScopesIsMutable(); + throw new NullPointerException(); + } + ensureOauthScopesIsMutable(); oauthScopes_.set(index, value); onChanged(); return this; } /** + * + * *
              * Optional. The set of Google API scopes to be made available on all
              * node VMs. If `oauth_scopes` is empty, defaults to
        @@ -1953,20 +2119,22 @@ public Builder setOauthScopes(
              * 
        * * repeated string oauth_scopes = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The oauthScopes to add. * @return This builder for chaining. */ - public Builder addOauthScopes( - java.lang.String value) { + public Builder addOauthScopes(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureOauthScopesIsMutable(); + throw new NullPointerException(); + } + ensureOauthScopesIsMutable(); oauthScopes_.add(value); onChanged(); return this; } /** + * + * *
              * Optional. The set of Google API scopes to be made available on all
              * node VMs. If `oauth_scopes` is empty, defaults to
        @@ -1974,18 +2142,19 @@ public Builder addOauthScopes(
              * 
        * * repeated string oauth_scopes = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param values The oauthScopes to add. * @return This builder for chaining. */ - public Builder addAllOauthScopes( - java.lang.Iterable values) { + public Builder addAllOauthScopes(java.lang.Iterable values) { ensureOauthScopesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, oauthScopes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, oauthScopes_); onChanged(); return this; } /** + * + * *
              * Optional. The set of Google API scopes to be made available on all
              * node VMs. If `oauth_scopes` is empty, defaults to
        @@ -1993,6 +2162,7 @@ public Builder addAllOauthScopes(
              * 
        * * repeated string oauth_scopes = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOauthScopes() { @@ -2002,6 +2172,8 @@ public Builder clearOauthScopes() { return this; } /** + * + * *
              * Optional. The set of Google API scopes to be made available on all
              * node VMs. If `oauth_scopes` is empty, defaults to
        @@ -2009,15 +2181,15 @@ public Builder clearOauthScopes() {
              * 
        * * repeated string oauth_scopes = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes of the oauthScopes to add. * @return This builder for chaining. */ - public Builder addOauthScopesBytes( - com.google.protobuf.ByteString value) { + public Builder addOauthScopesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureOauthScopesIsMutable(); oauthScopes_.add(value); onChanged(); @@ -2026,6 +2198,8 @@ public Builder addOauthScopesBytes( private java.lang.Object serviceAccount_ = ""; /** + * + * *
              * Optional. The Google Cloud Platform Service Account to be used by the workloads. If a
              * service account is not specified, the "default" Compute Engine service
        @@ -2033,13 +2207,13 @@ public Builder addOauthScopesBytes(
              * 
        * * string service_account = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The serviceAccount. */ 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; @@ -2048,6 +2222,8 @@ public java.lang.String getServiceAccount() { } } /** + * + * *
              * Optional. The Google Cloud Platform Service Account to be used by the workloads. If a
              * service account is not specified, the "default" Compute Engine service
        @@ -2055,15 +2231,14 @@ public java.lang.String getServiceAccount() {
              * 
        * * string service_account = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for serviceAccount. */ - public com.google.protobuf.ByteString - getServiceAccountBytes() { + 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 { @@ -2071,6 +2246,8 @@ public java.lang.String getServiceAccount() { } } /** + * + * *
              * Optional. The Google Cloud Platform Service Account to be used by the workloads. If a
              * service account is not specified, the "default" Compute Engine service
        @@ -2078,20 +2255,22 @@ public java.lang.String getServiceAccount() {
              * 
        * * string service_account = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccount( - java.lang.String value) { + public Builder setServiceAccount(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceAccount_ = value; onChanged(); return this; } /** + * + * *
              * Optional. The Google Cloud Platform Service Account to be used by the workloads. If a
              * service account is not specified, the "default" Compute Engine service
        @@ -2099,15 +2278,18 @@ public Builder setServiceAccount(
              * 
        * * string service_account = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearServiceAccount() { - + serviceAccount_ = getDefaultInstance().getServiceAccount(); onChanged(); return this; } /** + * + * *
              * Optional. The Google Cloud Platform Service Account to be used by the workloads. If a
              * service account is not specified, the "default" Compute Engine service
        @@ -2115,29 +2297,33 @@ public Builder clearServiceAccount() {
              * 
        * * string service_account = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccountBytes( - com.google.protobuf.ByteString value) { + 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; } - private com.google.protobuf.LazyStringList tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList tags_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureTagsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { tags_ = new com.google.protobuf.LazyStringArrayList(tags_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
              * Optional. The list of instance tags applied to all node VMs. Tags are used
              * to identify valid sources or targets for network firewalls. Each tag within
        @@ -2146,13 +2332,15 @@ private void ensureTagsIsMutable() {
              * 
        * * repeated string tags = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the tags. */ - public com.google.protobuf.ProtocolStringList - getTagsList() { + public com.google.protobuf.ProtocolStringList getTagsList() { return tags_.getUnmodifiableView(); } /** + * + * *
              * Optional. The list of instance tags applied to all node VMs. Tags are used
              * to identify valid sources or targets for network firewalls. Each tag within
        @@ -2161,12 +2349,15 @@ private void ensureTagsIsMutable() {
              * 
        * * repeated string tags = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** + * + * *
              * Optional. The list of instance tags applied to all node VMs. Tags are used
              * to identify valid sources or targets for network firewalls. Each tag within
        @@ -2175,6 +2366,7 @@ public int getTagsCount() {
              * 
        * * repeated string tags = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The tags at the given index. */ @@ -2182,6 +2374,8 @@ public java.lang.String getTags(int index) { return tags_.get(index); } /** + * + * *
              * Optional. The list of instance tags applied to all node VMs. Tags are used
              * to identify valid sources or targets for network firewalls. Each tag within
        @@ -2190,14 +2384,16 @@ public java.lang.String getTags(int index) {
              * 
        * * repeated string tags = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - public com.google.protobuf.ByteString - getTagsBytes(int index) { + public com.google.protobuf.ByteString getTagsBytes(int index) { return tags_.getByteString(index); } /** + * + * *
              * Optional. The list of instance tags applied to all node VMs. Tags are used
              * to identify valid sources or targets for network firewalls. Each tag within
        @@ -2206,21 +2402,23 @@ public java.lang.String getTags(int index) {
              * 
        * * repeated string tags = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index to set the value at. * @param value The tags to set. * @return This builder for chaining. */ - public Builder setTags( - int index, java.lang.String value) { + public Builder setTags(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); + throw new NullPointerException(); + } + ensureTagsIsMutable(); tags_.set(index, value); onChanged(); return this; } /** + * + * *
              * Optional. The list of instance tags applied to all node VMs. Tags are used
              * to identify valid sources or targets for network firewalls. Each tag within
        @@ -2229,20 +2427,22 @@ public Builder setTags(
              * 
        * * repeated string tags = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The tags to add. * @return This builder for chaining. */ - public Builder addTags( - java.lang.String value) { + public Builder addTags(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); + throw new NullPointerException(); + } + ensureTagsIsMutable(); tags_.add(value); onChanged(); return this; } /** + * + * *
              * Optional. The list of instance tags applied to all node VMs. Tags are used
              * to identify valid sources or targets for network firewalls. Each tag within
        @@ -2251,18 +2451,19 @@ public Builder addTags(
              * 
        * * repeated string tags = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @param values The tags to add. * @return This builder for chaining. */ - public Builder addAllTags( - java.lang.Iterable values) { + public Builder addAllTags(java.lang.Iterable values) { ensureTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, tags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tags_); onChanged(); return this; } /** + * + * *
              * Optional. The list of instance tags applied to all node VMs. Tags are used
              * to identify valid sources or targets for network firewalls. Each tag within
        @@ -2271,6 +2472,7 @@ public Builder addAllTags(
              * 
        * * repeated string tags = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearTags() { @@ -2280,6 +2482,8 @@ public Builder clearTags() { return this; } /** + * + * *
              * Optional. The list of instance tags applied to all node VMs. Tags are used
              * to identify valid sources or targets for network firewalls. Each tag within
        @@ -2288,58 +2492,81 @@ public Builder clearTags() {
              * 
        * * repeated string tags = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes of the tags to add. * @return This builder for chaining. */ - public Builder addTagsBytes( - com.google.protobuf.ByteString value) { + public Builder addTagsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureTagsIsMutable(); tags_.add(value); onChanged(); return this; } - private com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy ipAllocationPolicy_; + private com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy + ipAllocationPolicy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy, com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicyOrBuilder> ipAllocationPolicyBuilder_; + com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy, + com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy.Builder, + com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicyOrBuilder> + ipAllocationPolicyBuilder_; /** + * + * *
              * Optional. The IPAllocationPolicy fields for the GKE cluster.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the ipAllocationPolicy field is set. */ public boolean hasIpAllocationPolicy() { return ipAllocationPolicyBuilder_ != null || ipAllocationPolicy_ != null; } /** + * + * *
              * Optional. The IPAllocationPolicy fields for the GKE cluster.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The ipAllocationPolicy. */ - public com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy getIpAllocationPolicy() { + public com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy + getIpAllocationPolicy() { if (ipAllocationPolicyBuilder_ == null) { - return ipAllocationPolicy_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy.getDefaultInstance() : ipAllocationPolicy_; + return ipAllocationPolicy_ == null + ? com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy + .getDefaultInstance() + : ipAllocationPolicy_; } else { return ipAllocationPolicyBuilder_.getMessage(); } } /** + * + * *
              * Optional. The IPAllocationPolicy fields for the GKE cluster.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setIpAllocationPolicy(com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy value) { + public Builder setIpAllocationPolicy( + com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy value) { if (ipAllocationPolicyBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2353,14 +2580,19 @@ public Builder setIpAllocationPolicy(com.google.cloud.orchestration.airflow.serv return this; } /** + * + * *
              * Optional. The IPAllocationPolicy fields for the GKE cluster.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setIpAllocationPolicy( - com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy.Builder builderForValue) { + com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy.Builder + builderForValue) { if (ipAllocationPolicyBuilder_ == null) { ipAllocationPolicy_ = builderForValue.build(); onChanged(); @@ -2371,17 +2603,25 @@ public Builder setIpAllocationPolicy( return this; } /** + * + * *
              * Optional. The IPAllocationPolicy fields for the GKE cluster.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeIpAllocationPolicy(com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy value) { + public Builder mergeIpAllocationPolicy( + com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy value) { if (ipAllocationPolicyBuilder_ == null) { if (ipAllocationPolicy_ != null) { ipAllocationPolicy_ = - com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy.newBuilder(ipAllocationPolicy_).mergeFrom(value).buildPartial(); + com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy.newBuilder( + ipAllocationPolicy_) + .mergeFrom(value) + .buildPartial(); } else { ipAllocationPolicy_ = value; } @@ -2393,11 +2633,15 @@ public Builder mergeIpAllocationPolicy(com.google.cloud.orchestration.airflow.se return this; } /** + * + * *
              * Optional. The IPAllocationPolicy fields for the GKE cluster.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearIpAllocationPolicy() { if (ipAllocationPolicyBuilder_ == null) { @@ -2411,55 +2655,76 @@ public Builder clearIpAllocationPolicy() { return this; } /** + * + * *
              * Optional. The IPAllocationPolicy fields for the GKE cluster.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy.Builder getIpAllocationPolicyBuilder() { - + public com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy.Builder + getIpAllocationPolicyBuilder() { + onChanged(); return getIpAllocationPolicyFieldBuilder().getBuilder(); } /** + * + * *
              * Optional. The IPAllocationPolicy fields for the GKE cluster.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicyOrBuilder getIpAllocationPolicyOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicyOrBuilder + getIpAllocationPolicyOrBuilder() { if (ipAllocationPolicyBuilder_ != null) { return ipAllocationPolicyBuilder_.getMessageOrBuilder(); } else { - return ipAllocationPolicy_ == null ? - com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy.getDefaultInstance() : ipAllocationPolicy_; + return ipAllocationPolicy_ == null + ? com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy + .getDefaultInstance() + : ipAllocationPolicy_; } } /** + * + * *
              * Optional. The IPAllocationPolicy fields for the GKE cluster.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy, com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicyOrBuilder> + com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy, + com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy.Builder, + com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicyOrBuilder> getIpAllocationPolicyFieldBuilder() { if (ipAllocationPolicyBuilder_ == null) { - ipAllocationPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy, com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicyOrBuilder>( - getIpAllocationPolicy(), - getParentForChildren(), - isClean()); + ipAllocationPolicyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy, + com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy.Builder, + com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicyOrBuilder>( + getIpAllocationPolicy(), getParentForChildren(), isClean()); ipAllocationPolicy_ = null; } return ipAllocationPolicyBuilder_; } - private int maxPodsPerNode_ ; + private int maxPodsPerNode_; /** + * + * *
              * Optional. The maximum number of pods per node in the Cloud Composer GKE cluster.
              * The value must be between 8 and 110 and it can be set only if
        @@ -2474,6 +2739,7 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy
              * 
        * * int32 max_pods_per_node = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The maxPodsPerNode. */ @java.lang.Override @@ -2481,6 +2747,8 @@ public int getMaxPodsPerNode() { return maxPodsPerNode_; } /** + * + * *
              * Optional. The maximum number of pods per node in the Cloud Composer GKE cluster.
              * The value must be between 8 and 110 and it can be set only if
        @@ -2495,16 +2763,19 @@ public int getMaxPodsPerNode() {
              * 
        * * int32 max_pods_per_node = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The maxPodsPerNode to set. * @return This builder for chaining. */ public Builder setMaxPodsPerNode(int value) { - + maxPodsPerNode_ = value; onChanged(); return this; } /** + * + * *
              * Optional. The maximum number of pods per node in the Cloud Composer GKE cluster.
              * The value must be between 8 and 110 and it can be set only if
        @@ -2519,17 +2790,18 @@ public Builder setMaxPodsPerNode(int value) {
              * 
        * * int32 max_pods_per_node = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearMaxPodsPerNode() { - + maxPodsPerNode_ = 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); } @@ -2539,30 +2811,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1beta1.NodeConfig) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1beta1.NodeConfig) - private static final com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig DEFAULT_INSTANCE; + private static final com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig(); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodeConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NodeConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NodeConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new NodeConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2574,9 +2848,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/NodeConfigOrBuilder.java b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/NodeConfigOrBuilder.java similarity index 87% rename from owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/NodeConfigOrBuilder.java rename to proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/NodeConfigOrBuilder.java index d80c0619..c1a7368b 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/NodeConfigOrBuilder.java +++ b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/NodeConfigOrBuilder.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/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; -public interface NodeConfigOrBuilder extends +public interface NodeConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1beta1.NodeConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
            * Optional. The Compute Engine [zone](/compute/docs/regions-zones) in which
            * to deploy the VMs used to run the Apache Airflow software, specified as a
        @@ -25,10 +43,13 @@ public interface NodeConfigOrBuilder extends
            * 
        * * string location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The location. */ java.lang.String getLocation(); /** + * + * *
            * Optional. The Compute Engine [zone](/compute/docs/regions-zones) in which
            * to deploy the VMs used to run the Apache Airflow software, specified as a
        @@ -46,12 +67,14 @@ public interface NodeConfigOrBuilder extends
            * 
        * * string location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for location. */ - com.google.protobuf.ByteString - getLocationBytes(); + com.google.protobuf.ByteString getLocationBytes(); /** + * + * *
            * Optional. The Compute Engine
            * [machine type](/compute/docs/machine-types) used for cluster instances,
        @@ -74,10 +97,13 @@ public interface NodeConfigOrBuilder extends
            * 
        * * string machine_type = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The machineType. */ java.lang.String getMachineType(); /** + * + * *
            * Optional. The Compute Engine
            * [machine type](/compute/docs/machine-types) used for cluster instances,
        @@ -100,12 +126,14 @@ public interface NodeConfigOrBuilder extends
            * 
        * * string machine_type = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for machineType. */ - com.google.protobuf.ByteString - getMachineTypeBytes(); + com.google.protobuf.ByteString getMachineTypeBytes(); /** + * + * *
            * Optional. The Compute Engine network to be used for machine
            * communications, specified as a
        @@ -120,10 +148,13 @@ public interface NodeConfigOrBuilder extends
            * 
        * * string network = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The network. */ java.lang.String getNetwork(); /** + * + * *
            * Optional. The Compute Engine network to be used for machine
            * communications, specified as a
        @@ -138,12 +169,14 @@ public interface NodeConfigOrBuilder extends
            * 
        * * string network = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for network. */ - com.google.protobuf.ByteString - getNetworkBytes(); + com.google.protobuf.ByteString getNetworkBytes(); /** + * + * *
            * Optional. The Compute Engine subnetwork to be used for machine
            * communications, specified as a
        @@ -156,10 +189,13 @@ public interface NodeConfigOrBuilder extends
            * 
        * * string subnetwork = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The subnetwork. */ java.lang.String getSubnetwork(); /** + * + * *
            * Optional. The Compute Engine subnetwork to be used for machine
            * communications, specified as a
        @@ -172,23 +208,28 @@ public interface NodeConfigOrBuilder extends
            * 
        * * string subnetwork = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for subnetwork. */ - com.google.protobuf.ByteString - getSubnetworkBytes(); + com.google.protobuf.ByteString getSubnetworkBytes(); /** + * + * *
            * Optional. The disk size in GB used for node VMs. Minimum size is 20GB.
            * If unspecified, defaults to 100GB. Cannot be updated.
            * 
        * * int32 disk_size_gb = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The diskSizeGb. */ int getDiskSizeGb(); /** + * + * *
            * Optional. The set of Google API scopes to be made available on all
            * node VMs. If `oauth_scopes` is empty, defaults to
        @@ -196,11 +237,13 @@ public interface NodeConfigOrBuilder extends
            * 
        * * repeated string oauth_scopes = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the oauthScopes. */ - java.util.List - getOauthScopesList(); + java.util.List getOauthScopesList(); /** + * + * *
            * Optional. The set of Google API scopes to be made available on all
            * node VMs. If `oauth_scopes` is empty, defaults to
        @@ -208,10 +251,13 @@ public interface NodeConfigOrBuilder extends
            * 
        * * repeated string oauth_scopes = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of oauthScopes. */ int getOauthScopesCount(); /** + * + * *
            * Optional. The set of Google API scopes to be made available on all
            * node VMs. If `oauth_scopes` is empty, defaults to
        @@ -219,11 +265,14 @@ public interface NodeConfigOrBuilder extends
            * 
        * * repeated string oauth_scopes = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The oauthScopes at the given index. */ java.lang.String getOauthScopes(int index); /** + * + * *
            * Optional. The set of Google API scopes to be made available on all
            * node VMs. If `oauth_scopes` is empty, defaults to
        @@ -231,13 +280,15 @@ public interface NodeConfigOrBuilder extends
            * 
        * * repeated string oauth_scopes = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the oauthScopes at the given index. */ - com.google.protobuf.ByteString - getOauthScopesBytes(int index); + com.google.protobuf.ByteString getOauthScopesBytes(int index); /** + * + * *
            * Optional. The Google Cloud Platform Service Account to be used by the workloads. If a
            * service account is not specified, the "default" Compute Engine service
        @@ -245,10 +296,13 @@ public interface NodeConfigOrBuilder extends
            * 
        * * string service_account = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The serviceAccount. */ java.lang.String getServiceAccount(); /** + * + * *
            * Optional. The Google Cloud Platform Service Account to be used by the workloads. If a
            * service account is not specified, the "default" Compute Engine service
        @@ -256,12 +310,14 @@ public interface NodeConfigOrBuilder extends
            * 
        * * string service_account = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for serviceAccount. */ - com.google.protobuf.ByteString - getServiceAccountBytes(); + com.google.protobuf.ByteString getServiceAccountBytes(); /** + * + * *
            * Optional. The list of instance tags applied to all node VMs. Tags are used
            * to identify valid sources or targets for network firewalls. Each tag within
        @@ -270,11 +326,13 @@ public interface NodeConfigOrBuilder extends
            * 
        * * repeated string tags = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the tags. */ - java.util.List - getTagsList(); + java.util.List getTagsList(); /** + * + * *
            * Optional. The list of instance tags applied to all node VMs. Tags are used
            * to identify valid sources or targets for network firewalls. Each tag within
        @@ -283,10 +341,13 @@ public interface NodeConfigOrBuilder extends
            * 
        * * repeated string tags = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of tags. */ int getTagsCount(); /** + * + * *
            * Optional. The list of instance tags applied to all node VMs. Tags are used
            * to identify valid sources or targets for network firewalls. Each tag within
        @@ -295,11 +356,14 @@ public interface NodeConfigOrBuilder extends
            * 
        * * repeated string tags = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The tags at the given index. */ java.lang.String getTags(int index); /** + * + * *
            * Optional. The list of instance tags applied to all node VMs. Tags are used
            * to identify valid sources or targets for network firewalls. Each tag within
        @@ -308,40 +372,57 @@ public interface NodeConfigOrBuilder extends
            * 
        * * repeated string tags = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - com.google.protobuf.ByteString - getTagsBytes(int index); + com.google.protobuf.ByteString getTagsBytes(int index); /** + * + * *
            * Optional. The IPAllocationPolicy fields for the GKE cluster.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the ipAllocationPolicy field is set. */ boolean hasIpAllocationPolicy(); /** + * + * *
            * Optional. The IPAllocationPolicy fields for the GKE cluster.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The ipAllocationPolicy. */ com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy getIpAllocationPolicy(); /** + * + * *
            * Optional. The IPAllocationPolicy fields for the GKE cluster.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicyOrBuilder getIpAllocationPolicyOrBuilder(); + com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicyOrBuilder + getIpAllocationPolicyOrBuilder(); /** + * + * *
            * Optional. The maximum number of pods per node in the Cloud Composer GKE cluster.
            * The value must be between 8 and 110 and it can be set only if
        @@ -356,6 +437,7 @@ public interface NodeConfigOrBuilder extends
            * 
        * * int32 max_pods_per_node = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The maxPodsPerNode. */ int getMaxPodsPerNode(); diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/OperationMetadata.java b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/OperationMetadata.java similarity index 68% rename from owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/OperationMetadata.java rename to proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/OperationMetadata.java index dfcd80fb..aa84863a 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/OperationMetadata.java +++ b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/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/orchestration/airflow/service/v1beta1/operations.proto package com.google.cloud.orchestration.airflow.service.v1beta1; /** + * + * *
          * Metadata describing an operation.
          * 
        * * Protobuf type {@code google.cloud.orchestration.airflow.service.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.orchestration.airflow.service.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() { state_ = 0; operationType_ = 0; @@ -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,63 +73,71 @@ private OperationMetadata( case 0: done = true; break; - case 8: { - int rawValue = input.readEnum(); - - state_ = rawValue; - break; - } - case 16: { - int rawValue = input.readEnum(); + case 8: + { + int rawValue = input.readEnum(); - operationType_ = rawValue; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - resource_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + state_ = rawValue; + break; + } + case 16: + { + int rawValue = input.readEnum(); - resourceUuid_ = s; - break; - } - case 42: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); + operationType_ = rawValue; + 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(); + + resource_ = s; + break; } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 50: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); + resourceUuid_ = s; + break; } - endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); + case 42: + { + 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; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 50: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); + } + endTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,36 +145,42 @@ private OperationMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.OperationsProto.internal_static_google_cloud_orchestration_airflow_service_v1beta1_OperationMetadata_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.OperationsProto + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.OperationsProto.internal_static_google_cloud_orchestration_airflow_service_v1beta1_OperationMetadata_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.OperationsProto + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.class, com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.class, + com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Builder.class); } /** + * + * *
            * An enum describing the overall state of an operation.
            * 
        * - * Protobuf enum {@code google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State} + * Protobuf enum {@code + * google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
              * Unused.
              * 
        @@ -158,6 +189,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
              * The operation has been created but is not yet started.
              * 
        @@ -166,6 +199,8 @@ public enum State */ PENDING(1), /** + * + * *
              * The operation is underway.
              * 
        @@ -174,6 +209,8 @@ public enum State */ RUNNING(2), /** + * + * *
              * The operation completed successfully.
              * 
        @@ -182,6 +219,8 @@ public enum State */ SUCCESSFUL(3), /** + * + * *
              * The operation is no longer running but did not succeed.
              * 
        @@ -193,6 +232,8 @@ public enum State ; /** + * + * *
              * Unused.
              * 
        @@ -201,6 +242,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
              * The operation has been created but is not yet started.
              * 
        @@ -209,6 +252,8 @@ public enum State */ public static final int PENDING_VALUE = 1; /** + * + * *
              * The operation is underway.
              * 
        @@ -217,6 +262,8 @@ public enum State */ public static final int RUNNING_VALUE = 2; /** + * + * *
              * The operation completed successfully.
              * 
        @@ -225,6 +272,8 @@ public enum State */ public static final int SUCCESSFUL_VALUE = 3; /** + * + * *
              * The operation is no longer running but did not succeed.
              * 
        @@ -233,7 +282,6 @@ public enum State */ public static final int FAILED_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -258,51 +306,56 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: return STATE_UNSPECIFIED; - case 1: return PENDING; - case 2: return RUNNING; - case 3: return SUCCESSFUL; - case 4: return FAILED; - default: return null; + case 0: + return STATE_UNSPECIFIED; + case 1: + return PENDING; + case 2: + return RUNNING; + case 3: + return SUCCESSFUL; + case 4: + return FAILED; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - State> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public State findValueByNumber(int number) { - return State.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata + .getDescriptor() + .getEnumTypes() + .get(0); } private static final State[] VALUES = values(); - public static State valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -320,15 +373,18 @@ private State(int value) { } /** + * + * *
            * Type of longrunning operation.
            * 
        * * Protobuf enum {@code google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type} */ - public enum Type - implements com.google.protobuf.ProtocolMessageEnum { + public enum Type implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
              * Unused.
              * 
        @@ -337,6 +393,8 @@ public enum Type */ TYPE_UNSPECIFIED(0), /** + * + * *
              * A resource creation operation.
              * 
        @@ -345,6 +403,8 @@ public enum Type */ CREATE(1), /** + * + * *
              * A resource deletion operation.
              * 
        @@ -353,6 +413,8 @@ public enum Type */ DELETE(2), /** + * + * *
              * A resource update operation.
              * 
        @@ -361,6 +423,8 @@ public enum Type */ UPDATE(3), /** + * + * *
              * A resource check operation.
              * 
        @@ -372,6 +436,8 @@ public enum Type ; /** + * + * *
              * Unused.
              * 
        @@ -380,6 +446,8 @@ public enum Type */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
              * A resource creation operation.
              * 
        @@ -388,6 +456,8 @@ public enum Type */ public static final int CREATE_VALUE = 1; /** + * + * *
              * A resource deletion operation.
              * 
        @@ -396,6 +466,8 @@ public enum Type */ public static final int DELETE_VALUE = 2; /** + * + * *
              * A resource update operation.
              * 
        @@ -404,6 +476,8 @@ public enum Type */ public static final int UPDATE_VALUE = 3; /** + * + * *
              * A resource check operation.
              * 
        @@ -412,7 +486,6 @@ public enum Type */ public static final int CHECK_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -437,51 +510,56 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: return TYPE_UNSPECIFIED; - case 1: return CREATE; - case 2: return DELETE; - case 3: return UPDATE; - case 4: return CHECK; - default: return null; + case 0: + return TYPE_UNSPECIFIED; + case 1: + return CREATE; + case 2: + return DELETE; + case 3: + return UPDATE; + case 4: + return CHECK; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Type> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Type findValueByNumber(int number) { - return Type.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Type findValueByNumber(int number) { + return Type.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.getDescriptor().getEnumTypes().get(1); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata + .getDescriptor() + .getEnumTypes() + .get(1); } 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; @@ -501,66 +579,101 @@ private Type(int value) { public static final int STATE_FIELD_NUMBER = 1; private int state_; /** + * + * *
            * Output only. The current operation state.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State state = 1; + * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State state = 1; + * + * * @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 operation state.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State state = 1; + * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State state = 1; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State getState() { + @java.lang.Override + public com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State result = com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State.valueOf(state_); - return result == null ? com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State.UNRECOGNIZED : result; + com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State result = + com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State.valueOf( + state_); + return result == null + ? com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State + .UNRECOGNIZED + : result; } public static final int OPERATION_TYPE_FIELD_NUMBER = 2; private int operationType_; /** + * + * *
            * Output only. The type of operation being performed.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type operation_type = 2; + * + * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type operation_type = 2; + * + * * @return The enum numeric value on the wire for operationType. */ - @java.lang.Override public int getOperationTypeValue() { + @java.lang.Override + public int getOperationTypeValue() { return operationType_; } /** + * + * *
            * Output only. The type of operation being performed.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type operation_type = 2; + * + * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type operation_type = 2; + * + * * @return The operationType. */ - @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type getOperationType() { + @java.lang.Override + public com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type + getOperationType() { @SuppressWarnings("deprecation") - com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type result = com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type.valueOf(operationType_); - return result == null ? com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type.UNRECOGNIZED : result; + com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type result = + com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type.valueOf( + operationType_); + return result == null + ? com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type.UNRECOGNIZED + : result; } public static final int RESOURCE_FIELD_NUMBER = 3; private volatile java.lang.Object resource_; /** + * + * *
            * Output only. The resource being operated on, as a [relative resource name](
            * /apis/design/resource_names#relative_resource_name).
            * 
        * * string resource = 3; + * * @return The resource. */ @java.lang.Override @@ -569,30 +682,30 @@ 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; } } /** + * + * *
            * Output only. The resource being operated on, as a [relative resource name](
            * /apis/design/resource_names#relative_resource_name).
            * 
        * * string resource = 3; + * * @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 { @@ -603,11 +716,14 @@ public java.lang.String getResource() { public static final int RESOURCE_UUID_FIELD_NUMBER = 4; private volatile java.lang.Object resourceUuid_; /** + * + * *
            * Output only. The UUID of the resource being operated on.
            * 
        * * string resource_uuid = 4; + * * @return The resourceUuid. */ @java.lang.Override @@ -616,29 +732,29 @@ public java.lang.String getResourceUuid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceUuid_ = s; return s; } } /** + * + * *
            * Output only. The UUID of the resource being operated on.
            * 
        * * string resource_uuid = 4; + * * @return The bytes for resourceUuid. */ @java.lang.Override - public com.google.protobuf.ByteString - getResourceUuidBytes() { + public com.google.protobuf.ByteString getResourceUuidBytes() { java.lang.Object ref = resourceUuid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resourceUuid_ = b; return b; } else { @@ -649,11 +765,14 @@ public java.lang.String getResourceUuid() { public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** + * + * *
            * Output only. The time the operation was submitted to the server.
            * 
        * * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -661,11 +780,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
            * Output only. The time the operation was submitted to the server.
            * 
        * * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ @java.lang.Override @@ -673,6 +795,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
            * Output only. The time the operation was submitted to the server.
            * 
        @@ -687,12 +811,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp endTime_; /** + * + * *
            * Output only. The time when the operation terminated, regardless of its success.
            * This field is unset if the operation is still ongoing.
            * 
        * * .google.protobuf.Timestamp end_time = 6; + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -700,12 +827,15 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
            * Output only. The time when the operation terminated, regardless of its success.
            * This field is unset if the operation is still ongoing.
            * 
        * * .google.protobuf.Timestamp end_time = 6; + * * @return The endTime. */ @java.lang.Override @@ -713,6 +843,8 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
            * Output only. The time when the operation terminated, regardless of its success.
            * This field is unset if the operation is still ongoing.
        @@ -726,6 +858,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
           }
         
           private byte memoizedIsInitialized = -1;
        +
           @java.lang.Override
           public final boolean isInitialized() {
             byte isInitialized = memoizedIsInitialized;
        @@ -737,12 +870,17 @@ public final boolean isInitialized() {
           }
         
           @java.lang.Override
        -  public void writeTo(com.google.protobuf.CodedOutputStream output)
        -                      throws java.io.IOException {
        -    if (state_ != com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State.STATE_UNSPECIFIED.getNumber()) {
        +  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
        +    if (state_
        +        != com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State
        +            .STATE_UNSPECIFIED
        +            .getNumber()) {
               output.writeEnum(1, state_);
             }
        -    if (operationType_ != com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type.TYPE_UNSPECIFIED.getNumber()) {
        +    if (operationType_
        +        != com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type
        +            .TYPE_UNSPECIFIED
        +            .getNumber()) {
               output.writeEnum(2, operationType_);
             }
             if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resource_)) {
        @@ -766,13 +904,17 @@ public int getSerializedSize() {
             if (size != -1) return size;
         
             size = 0;
        -    if (state_ != com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State.STATE_UNSPECIFIED.getNumber()) {
        -      size += com.google.protobuf.CodedOutputStream
        -        .computeEnumSize(1, state_);
        -    }
        -    if (operationType_ != com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type.TYPE_UNSPECIFIED.getNumber()) {
        -      size += com.google.protobuf.CodedOutputStream
        -        .computeEnumSize(2, operationType_);
        +    if (state_
        +        != com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State
        +            .STATE_UNSPECIFIED
        +            .getNumber()) {
        +      size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, state_);
        +    }
        +    if (operationType_
        +        != com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type
        +            .TYPE_UNSPECIFIED
        +            .getNumber()) {
        +      size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, operationType_);
             }
             if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resource_)) {
               size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, resource_);
        @@ -781,12 +923,10 @@ public int getSerializedSize() {
               size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, resourceUuid_);
             }
             if (createTime_ != null) {
        -      size += com.google.protobuf.CodedOutputStream
        -        .computeMessageSize(5, getCreateTime());
        +      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime());
             }
             if (endTime_ != null) {
        -      size += com.google.protobuf.CodedOutputStream
        -        .computeMessageSize(6, getEndTime());
        +      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getEndTime());
             }
             size += unknownFields.getSerializedSize();
             memoizedSize = size;
        @@ -796,28 +936,26 @@ public int getSerializedSize() {
           @java.lang.Override
           public boolean equals(final java.lang.Object obj) {
             if (obj == this) {
        -     return true;
        +      return true;
             }
        -    if (!(obj instanceof com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata)) {
        +    if (!(obj
        +        instanceof com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata)) {
               return super.equals(obj);
             }
        -    com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata other = (com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata) obj;
        +    com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata other =
        +        (com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata) obj;
         
             if (state_ != other.state_) return false;
             if (operationType_ != other.operationType_) return false;
        -    if (!getResource()
        -        .equals(other.getResource())) return false;
        -    if (!getResourceUuid()
        -        .equals(other.getResourceUuid())) return false;
        +    if (!getResource().equals(other.getResource())) return false;
        +    if (!getResourceUuid().equals(other.getResourceUuid())) 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 (hasEndTime() != other.hasEndTime()) return false;
             if (hasEndTime()) {
        -      if (!getEndTime()
        -          .equals(other.getEndTime())) return false;
        +      if (!getEndTime().equals(other.getEndTime())) return false;
             }
             if (!unknownFields.equals(other.unknownFields)) return false;
             return true;
        @@ -852,134 +990,146 @@ public int hashCode() {
           }
         
           public static com.google.cloud.orchestration.airflow.service.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.orchestration.airflow.service.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.orchestration.airflow.service.v1beta1.OperationMetadata parseFrom(
               com.google.protobuf.ByteString data)
               throws com.google.protobuf.InvalidProtocolBufferException {
             return PARSER.parseFrom(data);
           }
        +
           public static com.google.cloud.orchestration.airflow.service.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.orchestration.airflow.service.v1beta1.OperationMetadata parseFrom(byte[] data)
        -      throws com.google.protobuf.InvalidProtocolBufferException {
        +
        +  public static com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata parseFrom(
        +      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
             return PARSER.parseFrom(data);
           }
        +
           public static com.google.cloud.orchestration.airflow.service.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.orchestration.airflow.service.v1beta1.OperationMetadata parseFrom(java.io.InputStream input)
        -      throws java.io.IOException {
        -    return com.google.protobuf.GeneratedMessageV3
        -        .parseWithIOException(PARSER, input);
        +
        +  public static com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata parseFrom(
        +      java.io.InputStream input) throws java.io.IOException {
        +    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
           }
        +
           public static com.google.cloud.orchestration.airflow.service.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.orchestration.airflow.service.v1beta1.OperationMetadata parseDelimitedFrom(java.io.InputStream input)
        -      throws java.io.IOException {
        -    return com.google.protobuf.GeneratedMessageV3
        -        .parseDelimitedWithIOException(PARSER, input);
        +
        +  public static com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata
        +      parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
        +    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
           }
        -  public static com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata 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.orchestration.airflow.service.v1beta1.OperationMetadata
        +      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.orchestration.airflow.service.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.orchestration.airflow.service.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.orchestration.airflow.service.v1beta1.OperationMetadata prototype) {
        +
        +  public static Builder newBuilder(
        +      com.google.cloud.orchestration.airflow.service.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;
           }
           /**
        +   *
        +   *
            * 
            * Metadata describing an operation.
            * 
        * * Protobuf type {@code google.cloud.orchestration.airflow.service.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.orchestration.airflow.service.v1beta1.OperationMetadata) com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.OperationsProto.internal_static_google_cloud_orchestration_airflow_service_v1beta1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.OperationsProto + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.OperationsProto.internal_static_google_cloud_orchestration_airflow_service_v1beta1_OperationMetadata_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.OperationsProto + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.class, com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.class, + com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Builder + .class); } - // Construct using com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.newBuilder() + // Construct using + // com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1007,19 +1157,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.OperationsProto.internal_static_google_cloud_orchestration_airflow_service_v1beta1_OperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.OperationsProto + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_OperationMetadata_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata + getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata build() { - com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata result = buildPartial(); + com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1028,7 +1181,8 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata buildPartial() { - com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata result = new com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata(this); + com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata result = + new com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata(this); result.state_ = state_; result.operationType_ = operationType_; result.resource_ = resource_; @@ -1051,46 +1205,52 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata) { - return mergeFrom((com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata)other); + if (other + instanceof com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata) { + return mergeFrom( + (com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata other) { - if (other == com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata other) { + if (other + == com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata + .getDefaultInstance()) return this; if (other.state_ != 0) { setStateValue(other.getStateValue()); } @@ -1130,7 +1290,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1142,73 +1304,101 @@ public Builder mergeFrom( private int state_ = 0; /** + * + * *
              * Output only. The current operation state.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State state = 1; + * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State state = 1; + * + * * @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 operation state.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State state = 1; + * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State state = 1; + * + * * @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 operation state.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State state = 1; + * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State state = 1; + * + * * @return The state. */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State getState() { + public com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State + getState() { @SuppressWarnings("deprecation") - com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State result = com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State.valueOf(state_); - return result == null ? com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State.UNRECOGNIZED : result; + com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State result = + com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State.valueOf( + state_); + return result == null + ? com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State + .UNRECOGNIZED + : result; } /** + * + * *
              * Output only. The current operation state.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State state = 1; + * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State state = 1; + * + * * @param value The state to set. * @return This builder for chaining. */ - public Builder setState(com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State value) { + public Builder setState( + com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
              * Output only. The current operation state.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State state = 1; + * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State state = 1; + * + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -1216,73 +1406,106 @@ public Builder clearState() { private int operationType_ = 0; /** + * + * *
              * Output only. The type of operation being performed.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type operation_type = 2; + * + * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type operation_type = 2; + * + * * @return The enum numeric value on the wire for operationType. */ - @java.lang.Override public int getOperationTypeValue() { + @java.lang.Override + public int getOperationTypeValue() { return operationType_; } /** + * + * *
              * Output only. The type of operation being performed.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type operation_type = 2; + * + * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type operation_type = 2; + * + * * @param value The enum numeric value on the wire for operationType to set. * @return This builder for chaining. */ public Builder setOperationTypeValue(int value) { - + operationType_ = value; onChanged(); return this; } /** + * + * *
              * Output only. The type of operation being performed.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type operation_type = 2; + * + * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type operation_type = 2; + * + * * @return The operationType. */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type getOperationType() { + public com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type + getOperationType() { @SuppressWarnings("deprecation") - com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type result = com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type.valueOf(operationType_); - return result == null ? com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type.UNRECOGNIZED : result; + com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type result = + com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type.valueOf( + operationType_); + return result == null + ? com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type + .UNRECOGNIZED + : result; } /** + * + * *
              * Output only. The type of operation being performed.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type operation_type = 2; + * + * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type operation_type = 2; + * + * * @param value The operationType to set. * @return This builder for chaining. */ - public Builder setOperationType(com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type value) { + public Builder setOperationType( + com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type value) { if (value == null) { throw new NullPointerException(); } - + operationType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
              * Output only. The type of operation being performed.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type operation_type = 2; + * + * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type operation_type = 2; + * + * * @return This builder for chaining. */ public Builder clearOperationType() { - + operationType_ = 0; onChanged(); return this; @@ -1290,19 +1513,21 @@ public Builder clearOperationType() { private java.lang.Object resource_ = ""; /** + * + * *
              * Output only. The resource being operated on, as a [relative resource name](
              * /apis/design/resource_names#relative_resource_name).
              * 
        * * string resource = 3; + * * @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; @@ -1311,21 +1536,22 @@ public java.lang.String getResource() { } } /** + * + * *
              * Output only. The resource being operated on, as a [relative resource name](
              * /apis/design/resource_names#relative_resource_name).
              * 
        * * string resource = 3; + * * @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 { @@ -1333,57 +1559,64 @@ public java.lang.String getResource() { } } /** + * + * *
              * Output only. The resource being operated on, as a [relative resource name](
              * /apis/design/resource_names#relative_resource_name).
              * 
        * * string resource = 3; + * * @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; } /** + * + * *
              * Output only. The resource being operated on, as a [relative resource name](
              * /apis/design/resource_names#relative_resource_name).
              * 
        * * string resource = 3; + * * @return This builder for chaining. */ public Builder clearResource() { - + resource_ = getDefaultInstance().getResource(); onChanged(); return this; } /** + * + * *
              * Output only. The resource being operated on, as a [relative resource name](
              * /apis/design/resource_names#relative_resource_name).
              * 
        * * string resource = 3; + * * @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; @@ -1391,18 +1624,20 @@ public Builder setResourceBytes( private java.lang.Object resourceUuid_ = ""; /** + * + * *
              * Output only. The UUID of the resource being operated on.
              * 
        * * string resource_uuid = 4; + * * @return The resourceUuid. */ public java.lang.String getResourceUuid() { java.lang.Object ref = resourceUuid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceUuid_ = s; return s; @@ -1411,20 +1646,21 @@ public java.lang.String getResourceUuid() { } } /** + * + * *
              * Output only. The UUID of the resource being operated on.
              * 
        * * string resource_uuid = 4; + * * @return The bytes for resourceUuid. */ - public com.google.protobuf.ByteString - getResourceUuidBytes() { + public com.google.protobuf.ByteString getResourceUuidBytes() { java.lang.Object ref = resourceUuid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resourceUuid_ = b; return b; } else { @@ -1432,54 +1668,61 @@ public java.lang.String getResourceUuid() { } } /** + * + * *
              * Output only. The UUID of the resource being operated on.
              * 
        * * string resource_uuid = 4; + * * @param value The resourceUuid to set. * @return This builder for chaining. */ - public Builder setResourceUuid( - java.lang.String value) { + public Builder setResourceUuid(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + resourceUuid_ = value; onChanged(); return this; } /** + * + * *
              * Output only. The UUID of the resource being operated on.
              * 
        * * string resource_uuid = 4; + * * @return This builder for chaining. */ public Builder clearResourceUuid() { - + resourceUuid_ = getDefaultInstance().getResourceUuid(); onChanged(); return this; } /** + * + * *
              * Output only. The UUID of the resource being operated on.
              * 
        * * string resource_uuid = 4; + * * @param value The bytes for resourceUuid to set. * @return This builder for chaining. */ - public Builder setResourceUuidBytes( - com.google.protobuf.ByteString value) { + public Builder setResourceUuidBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resourceUuid_ = value; onChanged(); return this; @@ -1487,34 +1730,47 @@ public Builder setResourceUuidBytes( 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 operation was submitted to the server.
              * 
        * * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
              * Output only. The time the operation was submitted to the server.
              * 
        * * .google.protobuf.Timestamp create_time = 5; + * * @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 operation was submitted to the server.
              * 
        @@ -1535,14 +1791,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
              * Output only. The time the operation was submitted to the server.
              * 
        * * .google.protobuf.Timestamp create_time = 5; */ - 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(); @@ -1553,6 +1810,8 @@ public Builder setCreateTime( return this; } /** + * + * *
              * Output only. The time the operation was submitted to the server.
              * 
        @@ -1563,7 +1822,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; } @@ -1575,6 +1834,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
              * Output only. The time the operation was submitted to the server.
              * 
        @@ -1593,6 +1854,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
              * Output only. The time the operation was submitted to the server.
              * 
        @@ -1600,11 +1863,13 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
              * Output only. The time the operation was submitted to the server.
              * 
        @@ -1615,11 +1880,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_; } } /** + * + * *
              * Output only. The time the operation was submitted to the server.
              * 
        @@ -1627,14 +1895,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> 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_; @@ -1642,26 +1913,35 @@ 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_; /** + * + * *
              * Output only. The time when the operation terminated, regardless of its success.
              * This field is unset if the operation is still ongoing.
              * 
        * * .google.protobuf.Timestamp end_time = 6; + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** + * + * *
              * Output only. The time when the operation terminated, regardless of its success.
              * This field is unset if the operation is still ongoing.
              * 
        * * .google.protobuf.Timestamp end_time = 6; + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1672,6 +1952,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
              * Output only. The time when the operation terminated, regardless of its success.
              * This field is unset if the operation is still ongoing.
        @@ -1693,6 +1975,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
               return this;
             }
             /**
        +     *
        +     *
              * 
              * Output only. The time when the operation terminated, regardless of its success.
              * This field is unset if the operation is still ongoing.
        @@ -1700,8 +1984,7 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
              *
              * .google.protobuf.Timestamp end_time = 6;
              */
        -    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();
        @@ -1712,6 +1995,8 @@ public Builder setEndTime(
               return this;
             }
             /**
        +     *
        +     *
              * 
              * Output only. The time when the operation terminated, regardless of its success.
              * This field is unset if the operation is still ongoing.
        @@ -1723,7 +2008,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;
                 }
        @@ -1735,6 +2020,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
               return this;
             }
             /**
        +     *
        +     *
              * 
              * Output only. The time when the operation terminated, regardless of its success.
              * This field is unset if the operation is still ongoing.
        @@ -1754,6 +2041,8 @@ public Builder clearEndTime() {
               return this;
             }
             /**
        +     *
        +     *
              * 
              * Output only. The time when the operation terminated, regardless of its success.
              * This field is unset if the operation is still ongoing.
        @@ -1762,11 +2051,13 @@ public Builder clearEndTime() {
              * .google.protobuf.Timestamp end_time = 6;
              */
             public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
        -      
        +
               onChanged();
               return getEndTimeFieldBuilder().getBuilder();
             }
             /**
        +     *
        +     *
              * 
              * Output only. The time when the operation terminated, regardless of its success.
              * This field is unset if the operation is still ongoing.
        @@ -1778,11 +2069,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_;
               }
             }
             /**
        +     *
        +     *
              * 
              * Output only. The time when the operation terminated, regardless of its success.
              * This field is unset if the operation is still ongoing.
        @@ -1791,21 +2083,24 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
              * .google.protobuf.Timestamp end_time = 6;
              */
             private com.google.protobuf.SingleFieldBuilderV3<
        -        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
        +            com.google.protobuf.Timestamp,
        +            com.google.protobuf.Timestamp.Builder,
        +            com.google.protobuf.TimestampOrBuilder>
                 getEndTimeFieldBuilder() {
               if (endTimeBuilder_ == null) {
        -        endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
        -            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
        -                getEndTime(),
        -                getParentForChildren(),
        -                isClean());
        +        endTimeBuilder_ =
        +            new com.google.protobuf.SingleFieldBuilderV3<
        +                com.google.protobuf.Timestamp,
        +                com.google.protobuf.Timestamp.Builder,
        +                com.google.protobuf.TimestampOrBuilder>(
        +                getEndTime(), getParentForChildren(), isClean());
                 endTime_ = null;
               }
               return endTimeBuilder_;
             }
        +
             @java.lang.Override
        -    public final Builder setUnknownFields(
        -        final com.google.protobuf.UnknownFieldSet unknownFields) {
        +    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
               return super.setUnknownFields(unknownFields);
             }
         
        @@ -1815,30 +2110,33 @@ public final Builder mergeUnknownFields(
               return super.mergeUnknownFields(unknownFields);
             }
         
        -
             // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata)
           }
         
           // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata)
        -  private static final com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata DEFAULT_INSTANCE;
        +  private static final com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata
        +      DEFAULT_INSTANCE;
        +
           static {
        -    DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata();
        +    DEFAULT_INSTANCE =
        +        new com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata();
           }
         
        -  public static com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata getDefaultInstance() {
        +  public static com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata
        +      getDefaultInstance() {
             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;
        @@ -1850,9 +2148,8 @@ public com.google.protobuf.Parser getParserForType() {
           }
         
           @java.lang.Override
        -  public com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata getDefaultInstanceForType() {
        +  public com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata
        +      getDefaultInstanceForType() {
             return DEFAULT_INSTANCE;
           }
        -
         }
        -
        diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/OperationMetadataOrBuilder.java b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/OperationMetadataOrBuilder.java
        similarity index 74%
        rename from owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/OperationMetadataOrBuilder.java
        rename to proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/OperationMetadataOrBuilder.java
        index 6e9b40bf..77b4ad2a 100644
        --- a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/OperationMetadataOrBuilder.java
        +++ b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/OperationMetadataOrBuilder.java
        @@ -1,111 +1,163 @@
        +/*
        + * Copyright 2020 Google LLC
        + *
        + * Licensed under the Apache License, Version 2.0 (the "License");
        + * you may not use this file except in compliance with the License.
        + * You may obtain a copy of the License at
        + *
        + *     https://www.apache.org/licenses/LICENSE-2.0
        + *
        + * Unless required by applicable law or agreed to in writing, software
        + * distributed under the License is distributed on an "AS IS" BASIS,
        + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
        + * See the License for the specific language governing permissions and
        + * limitations under the License.
        + */
         // Generated by the protocol buffer compiler.  DO NOT EDIT!
         // source: google/cloud/orchestration/airflow/service/v1beta1/operations.proto
         
         package com.google.cloud.orchestration.airflow.service.v1beta1;
         
        -public interface OperationMetadataOrBuilder extends
        +public interface OperationMetadataOrBuilder
        +    extends
             // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata)
             com.google.protobuf.MessageOrBuilder {
         
           /**
        +   *
        +   *
            * 
            * Output only. The current operation state.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State state = 1; + * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State state = 1; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
            * Output only. The current operation state.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State state = 1; + * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State state = 1; + * + * * @return The state. */ com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State getState(); /** + * + * *
            * Output only. The type of operation being performed.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type operation_type = 2; + * + * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type operation_type = 2; + * + * * @return The enum numeric value on the wire for operationType. */ int getOperationTypeValue(); /** + * + * *
            * Output only. The type of operation being performed.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type operation_type = 2; + * + * .google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type operation_type = 2; + * + * * @return The operationType. */ com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type getOperationType(); /** + * + * *
            * Output only. The resource being operated on, as a [relative resource name](
            * /apis/design/resource_names#relative_resource_name).
            * 
        * * string resource = 3; + * * @return The resource. */ java.lang.String getResource(); /** + * + * *
            * Output only. The resource being operated on, as a [relative resource name](
            * /apis/design/resource_names#relative_resource_name).
            * 
        * * string resource = 3; + * * @return The bytes for resource. */ - com.google.protobuf.ByteString - getResourceBytes(); + com.google.protobuf.ByteString getResourceBytes(); /** + * + * *
            * Output only. The UUID of the resource being operated on.
            * 
        * * string resource_uuid = 4; + * * @return The resourceUuid. */ java.lang.String getResourceUuid(); /** + * + * *
            * Output only. The UUID of the resource being operated on.
            * 
        * * string resource_uuid = 4; + * * @return The bytes for resourceUuid. */ - com.google.protobuf.ByteString - getResourceUuidBytes(); + com.google.protobuf.ByteString getResourceUuidBytes(); /** + * + * *
            * Output only. The time the operation was submitted to the server.
            * 
        * * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
            * Output only. The time the operation was submitted to the server.
            * 
        * * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
            * Output only. The time the operation was submitted to the server.
            * 
        @@ -115,26 +167,34 @@ public interface OperationMetadataOrBuilder extends com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
            * Output only. The time when the operation terminated, regardless of its success.
            * This field is unset if the operation is still ongoing.
            * 
        * * .google.protobuf.Timestamp end_time = 6; + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
            * Output only. The time when the operation terminated, regardless of its success.
            * This field is unset if the operation is still ongoing.
            * 
        * * .google.protobuf.Timestamp end_time = 6; + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
            * Output only. The time when the operation terminated, regardless of its success.
            * This field is unset if the operation is still ongoing.
        diff --git a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/OperationsProto.java b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/OperationsProto.java
        new file mode 100644
        index 00000000..11883d69
        --- /dev/null
        +++ b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/OperationsProto.java
        @@ -0,0 +1,86 @@
        +/*
        + * Copyright 2020 Google LLC
        + *
        + * Licensed under the Apache License, Version 2.0 (the "License");
        + * you may not use this file except in compliance with the License.
        + * You may obtain a copy of the License at
        + *
        + *     https://www.apache.org/licenses/LICENSE-2.0
        + *
        + * Unless required by applicable law or agreed to in writing, software
        + * distributed under the License is distributed on an "AS IS" BASIS,
        + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
        + * See the License for the specific language governing permissions and
        + * limitations under the License.
        + */
        +// Generated by the protocol buffer compiler.  DO NOT EDIT!
        +// source: google/cloud/orchestration/airflow/service/v1beta1/operations.proto
        +
        +package com.google.cloud.orchestration.airflow.service.v1beta1;
        +
        +public final class OperationsProto {
        +  private OperationsProto() {}
        +
        +  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_orchestration_airflow_service_v1beta1_OperationMetadata_descriptor;
        +  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        +      internal_static_google_cloud_orchestration_airflow_service_v1beta1_OperationMetadata_fieldAccessorTable;
        +
        +  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
        +    return descriptor;
        +  }
        +
        +  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
        +
        +  static {
        +    java.lang.String[] descriptorData = {
        +      "\nCgoogle/cloud/orchestration/airflow/ser"
        +          + "vice/v1beta1/operations.proto\0222google.cl"
        +          + "oud.orchestration.airflow.service.v1beta"
        +          + "1\032\037google/protobuf/timestamp.proto\032\034goog"
        +          + "le/api/annotations.proto\"\376\003\n\021OperationMe"
        +          + "tadata\022Z\n\005state\030\001 \001(\0162K.google.cloud.orc"
        +          + "hestration.airflow.service.v1beta1.Opera"
        +          + "tionMetadata.State\022b\n\016operation_type\030\002 \001"
        +          + "(\0162J.google.cloud.orchestration.airflow."
        +          + "service.v1beta1.OperationMetadata.Type\022\020"
        +          + "\n\010resource\030\003 \001(\t\022\025\n\rresource_uuid\030\004 \001(\t\022"
        +          + "/\n\013create_time\030\005 \001(\0132\032.google.protobuf.T"
        +          + "imestamp\022,\n\010end_time\030\006 \001(\0132\032.google.prot"
        +          + "obuf.Timestamp\"T\n\005State\022\025\n\021STATE_UNSPECI"
        +          + "FIED\020\000\022\013\n\007PENDING\020\001\022\013\n\007RUNNING\020\002\022\016\n\nSUCC"
        +          + "ESSFUL\020\003\022\n\n\006FAILED\020\004\"K\n\004Type\022\024\n\020TYPE_UNS"
        +          + "PECIFIED\020\000\022\n\n\006CREATE\020\001\022\n\n\006DELETE\020\002\022\n\n\006UP"
        +          + "DATE\020\003\022\t\n\005CHECK\020\004B\246\001\n6com.google.cloud.o"
        +          + "rchestration.airflow.service.v1beta1B\017Op"
        +          + "erationsProtoP\001ZYgoogle.golang.org/genpr"
        +          + "oto/googleapis/cloud/orchestration/airfl"
        +          + "ow/service/v1beta1;serviceb\006proto3"
        +    };
        +    descriptor =
        +        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
        +            descriptorData,
        +            new com.google.protobuf.Descriptors.FileDescriptor[] {
        +              com.google.protobuf.TimestampProto.getDescriptor(),
        +              com.google.api.AnnotationsProto.getDescriptor(),
        +            });
        +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_OperationMetadata_descriptor =
        +        getDescriptor().getMessageTypes().get(0);
        +    internal_static_google_cloud_orchestration_airflow_service_v1beta1_OperationMetadata_fieldAccessorTable =
        +        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        +            internal_static_google_cloud_orchestration_airflow_service_v1beta1_OperationMetadata_descriptor,
        +            new java.lang.String[] {
        +              "State", "OperationType", "Resource", "ResourceUuid", "CreateTime", "EndTime",
        +            });
        +    com.google.protobuf.TimestampProto.getDescriptor();
        +    com.google.api.AnnotationsProto.getDescriptor();
        +  }
        +
        +  // @@protoc_insertion_point(outer_class_scope)
        +}
        diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateClusterConfig.java b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateClusterConfig.java
        similarity index 66%
        rename from owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateClusterConfig.java
        rename to proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateClusterConfig.java
        index ada1d014..3c8b2ed8 100644
        --- a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateClusterConfig.java
        +++ b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateClusterConfig.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/orchestration/airflow/service/v1beta1/environments.proto
         
         package com.google.cloud.orchestration.airflow.service.v1beta1;
         
         /**
        + *
        + *
          * 
          * Configuration options for the private GKE cluster in a Cloud Composer
          * environment.
        @@ -11,15 +28,16 @@
          *
          * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig}
          */
        -public final class PrivateClusterConfig extends
        -    com.google.protobuf.GeneratedMessageV3 implements
        +public final class PrivateClusterConfig extends com.google.protobuf.GeneratedMessageV3
        +    implements
             // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig)
             PrivateClusterConfigOrBuilder {
        -private static final long serialVersionUID = 0L;
        +  private static final long serialVersionUID = 0L;
           // Use PrivateClusterConfig.newBuilder() to construct.
           private PrivateClusterConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
             super(builder);
           }
        +
           private PrivateClusterConfig() {
             masterIpv4CidrBlock_ = "";
             masterIpv4ReservedRange_ = "";
        @@ -27,16 +45,15 @@ private PrivateClusterConfig() {
         
           @java.lang.Override
           @SuppressWarnings({"unused"})
        -  protected java.lang.Object newInstance(
        -      UnusedPrivateParameter unused) {
        +  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
             return new PrivateClusterConfig();
           }
         
           @java.lang.Override
        -  public final com.google.protobuf.UnknownFieldSet
        -  getUnknownFields() {
        +  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
             return this.unknownFields;
           }
        +
           private PrivateClusterConfig(
               com.google.protobuf.CodedInputStream input,
               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        @@ -55,30 +72,32 @@ private PrivateClusterConfig(
                   case 0:
                     done = true;
                     break;
        -          case 8: {
        -
        -            enablePrivateEndpoint_ = input.readBool();
        -            break;
        -          }
        -          case 18: {
        -            java.lang.String s = input.readStringRequireUtf8();
        +          case 8:
        +            {
        +              enablePrivateEndpoint_ = input.readBool();
        +              break;
        +            }
        +          case 18:
        +            {
        +              java.lang.String s = input.readStringRequireUtf8();
         
        -            masterIpv4CidrBlock_ = s;
        -            break;
        -          }
        -          case 26: {
        -            java.lang.String s = input.readStringRequireUtf8();
        +              masterIpv4CidrBlock_ = s;
        +              break;
        +            }
        +          case 26:
        +            {
        +              java.lang.String s = input.readStringRequireUtf8();
         
        -            masterIpv4ReservedRange_ = s;
        -            break;
        -          }
        -          default: {
        -            if (!parseUnknownField(
        -                input, unknownFields, extensionRegistry, tag)) {
        -              done = true;
        +              masterIpv4ReservedRange_ = s;
        +              break;
        +            }
        +          default:
        +            {
        +              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
        +                done = true;
        +              }
        +              break;
                     }
        -            break;
        -          }
                 }
               }
             } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        @@ -86,35 +105,41 @@ private PrivateClusterConfig(
             } catch (com.google.protobuf.UninitializedMessageException e) {
               throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
             } catch (java.io.IOException e) {
        -      throw new com.google.protobuf.InvalidProtocolBufferException(
        -          e).setUnfinishedMessage(this);
        +      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
             } finally {
               this.unknownFields = unknownFields.build();
               makeExtensionsImmutable();
             }
           }
        -  public static final com.google.protobuf.Descriptors.Descriptor
        -      getDescriptor() {
        -    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateClusterConfig_descriptor;
        +
        +  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        +    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
        +        .internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateClusterConfig_descriptor;
           }
         
           @java.lang.Override
           protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
               internalGetFieldAccessorTable() {
        -    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateClusterConfig_fieldAccessorTable
        +    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
        +        .internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateClusterConfig_fieldAccessorTable
                 .ensureFieldAccessorsInitialized(
        -            com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig.class, com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig.Builder.class);
        +            com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig.class,
        +            com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig.Builder
        +                .class);
           }
         
           public static final int ENABLE_PRIVATE_ENDPOINT_FIELD_NUMBER = 1;
           private boolean enablePrivateEndpoint_;
           /**
        +   *
        +   *
            * 
            * Optional. If `true`, access to the public endpoint of the GKE cluster is
            * denied.
            * 
        * * bool enable_private_endpoint = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The enablePrivateEndpoint. */ @java.lang.Override @@ -125,12 +150,15 @@ public boolean getEnablePrivateEndpoint() { public static final int MASTER_IPV4_CIDR_BLOCK_FIELD_NUMBER = 2; private volatile java.lang.Object masterIpv4CidrBlock_; /** + * + * *
            * Optional. The CIDR block from which IPv4 range for GKE master will be reserved. If
            * left blank, the default value of '172.16.0.0/23' is used.
            * 
        * * string master_ipv4_cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The masterIpv4CidrBlock. */ @java.lang.Override @@ -139,30 +167,30 @@ public java.lang.String getMasterIpv4CidrBlock() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); masterIpv4CidrBlock_ = s; return s; } } /** + * + * *
            * Optional. The CIDR block from which IPv4 range for GKE master will be reserved. If
            * left blank, the default value of '172.16.0.0/23' is used.
            * 
        * * string master_ipv4_cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for masterIpv4CidrBlock. */ @java.lang.Override - public com.google.protobuf.ByteString - getMasterIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString getMasterIpv4CidrBlockBytes() { java.lang.Object ref = masterIpv4CidrBlock_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); masterIpv4CidrBlock_ = b; return b; } else { @@ -173,6 +201,8 @@ public java.lang.String getMasterIpv4CidrBlock() { public static final int MASTER_IPV4_RESERVED_RANGE_FIELD_NUMBER = 3; private volatile java.lang.Object masterIpv4ReservedRange_; /** + * + * *
            * Output only. The IP range in CIDR notation to use for the hosted master network. This
            * range is used for assigning internal IP addresses to the cluster
        @@ -181,7 +211,9 @@ public java.lang.String getMasterIpv4CidrBlock() {
            * within the cluster's network.
            * 
        * - * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The masterIpv4ReservedRange. */ @java.lang.Override @@ -190,14 +222,15 @@ public java.lang.String getMasterIpv4ReservedRange() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); masterIpv4ReservedRange_ = s; return s; } } /** + * + * *
            * Output only. The IP range in CIDR notation to use for the hosted master network. This
            * range is used for assigning internal IP addresses to the cluster
        @@ -206,17 +239,17 @@ public java.lang.String getMasterIpv4ReservedRange() {
            * within the cluster's network.
            * 
        * - * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bytes for masterIpv4ReservedRange. */ @java.lang.Override - public com.google.protobuf.ByteString - getMasterIpv4ReservedRangeBytes() { + public com.google.protobuf.ByteString getMasterIpv4ReservedRangeBytes() { java.lang.Object ref = masterIpv4ReservedRange_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); masterIpv4ReservedRange_ = b; return b; } else { @@ -225,6 +258,7 @@ public java.lang.String getMasterIpv4ReservedRange() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -236,8 +270,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 (enablePrivateEndpoint_ != false) { output.writeBool(1, enablePrivateEndpoint_); } @@ -257,8 +290,7 @@ public int getSerializedSize() { size = 0; if (enablePrivateEndpoint_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enablePrivateEndpoint_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enablePrivateEndpoint_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(masterIpv4CidrBlock_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, masterIpv4CidrBlock_); @@ -274,19 +306,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.orchestration.airflow.service.v1beta1.PrivateClusterConfig)) { + if (!(obj + instanceof com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig other = (com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig) obj; + com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig other = + (com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig) obj; - if (getEnablePrivateEndpoint() - != other.getEnablePrivateEndpoint()) return false; - if (!getMasterIpv4CidrBlock() - .equals(other.getMasterIpv4CidrBlock())) return false; - if (!getMasterIpv4ReservedRange() - .equals(other.getMasterIpv4ReservedRange())) return false; + if (getEnablePrivateEndpoint() != other.getEnablePrivateEndpoint()) return false; + if (!getMasterIpv4CidrBlock().equals(other.getMasterIpv4CidrBlock())) return false; + if (!getMasterIpv4ReservedRange().equals(other.getMasterIpv4ReservedRange())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -299,8 +330,7 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLE_PRIVATE_ENDPOINT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnablePrivateEndpoint()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnablePrivateEndpoint()); hash = (37 * hash) + MASTER_IPV4_CIDR_BLOCK_FIELD_NUMBER; hash = (53 * hash) + getMasterIpv4CidrBlock().hashCode(); hash = (37 * hash) + MASTER_IPV4_RESERVED_RANGE_FIELD_NUMBER; @@ -310,97 +340,111 @@ public int hashCode() { return hash; } - public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig 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.orchestration.airflow.service.v1beta1.PrivateClusterConfig + 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.orchestration.airflow.service.v1beta1.PrivateClusterConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
            * Configuration options for the private GKE cluster in a Cloud Composer
            * environment.
        @@ -408,38 +452,41 @@ protected Builder newBuilderForType(
            *
            * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig}
            */
        -  public static final class Builder extends
        -      com.google.protobuf.GeneratedMessageV3.Builder implements
        +  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
        +      implements
               // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig)
               com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfigOrBuilder {
        -    public static final com.google.protobuf.Descriptors.Descriptor
        -        getDescriptor() {
        -      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateClusterConfig_descriptor;
        +    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        +      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
        +          .internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateClusterConfig_descriptor;
             }
         
             @java.lang.Override
             protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
                 internalGetFieldAccessorTable() {
        -      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateClusterConfig_fieldAccessorTable
        +      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
        +          .internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateClusterConfig_fieldAccessorTable
                   .ensureFieldAccessorsInitialized(
        -              com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig.class, com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig.Builder.class);
        +              com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig.class,
        +              com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig.Builder
        +                  .class);
             }
         
        -    // Construct using com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig.newBuilder()
        +    // Construct using
        +    // com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig.newBuilder()
             private Builder() {
               maybeForceBuilderInitialization();
             }
         
        -    private Builder(
        -        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        +    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
               super(parent);
               maybeForceBuilderInitialization();
             }
        +
             private void maybeForceBuilderInitialization() {
        -      if (com.google.protobuf.GeneratedMessageV3
        -              .alwaysUseFieldBuilders) {
        -      }
        +      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
             }
        +
             @java.lang.Override
             public Builder clear() {
               super.clear();
        @@ -453,19 +500,22 @@ public Builder clear() {
             }
         
             @java.lang.Override
        -    public com.google.protobuf.Descriptors.Descriptor
        -        getDescriptorForType() {
        -      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateClusterConfig_descriptor;
        +    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
        +      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
        +          .internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateClusterConfig_descriptor;
             }
         
             @java.lang.Override
        -    public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig getDefaultInstanceForType() {
        -      return com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig.getDefaultInstance();
        +    public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig
        +        getDefaultInstanceForType() {
        +      return com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig
        +          .getDefaultInstance();
             }
         
             @java.lang.Override
             public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig build() {
        -      com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig result = buildPartial();
        +      com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig result =
        +          buildPartial();
               if (!result.isInitialized()) {
                 throw newUninitializedMessageException(result);
               }
        @@ -473,8 +523,10 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConf
             }
         
             @java.lang.Override
        -    public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig buildPartial() {
        -      com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig result = new com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig(this);
        +    public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig
        +        buildPartial() {
        +      com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig result =
        +          new com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig(this);
               result.enablePrivateEndpoint_ = enablePrivateEndpoint_;
               result.masterIpv4CidrBlock_ = masterIpv4CidrBlock_;
               result.masterIpv4ReservedRange_ = masterIpv4ReservedRange_;
        @@ -486,46 +538,52 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConf
             public Builder clone() {
               return super.clone();
             }
        +
             @java.lang.Override
             public Builder setField(
        -        com.google.protobuf.Descriptors.FieldDescriptor field,
        -        java.lang.Object value) {
        +        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
               return super.setField(field, value);
             }
        +
             @java.lang.Override
        -    public Builder clearField(
        -        com.google.protobuf.Descriptors.FieldDescriptor field) {
        +    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
               return super.clearField(field);
             }
        +
             @java.lang.Override
        -    public Builder clearOneof(
        -        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        +    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
               return super.clearOneof(oneof);
             }
        +
             @java.lang.Override
             public Builder setRepeatedField(
        -        com.google.protobuf.Descriptors.FieldDescriptor field,
        -        int index, java.lang.Object value) {
        +        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
               return super.setRepeatedField(field, index, value);
             }
        +
             @java.lang.Override
             public Builder addRepeatedField(
        -        com.google.protobuf.Descriptors.FieldDescriptor field,
        -        java.lang.Object value) {
        +        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
               return super.addRepeatedField(field, value);
             }
        +
             @java.lang.Override
             public Builder mergeFrom(com.google.protobuf.Message other) {
        -      if (other instanceof com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig) {
        -        return mergeFrom((com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig)other);
        +      if (other
        +          instanceof com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig) {
        +        return mergeFrom(
        +            (com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig) other);
               } else {
                 super.mergeFrom(other);
                 return this;
               }
             }
         
        -    public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig other) {
        -      if (other == com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig.getDefaultInstance()) return this;
        +    public Builder mergeFrom(
        +        com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig other) {
        +      if (other
        +          == com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig
        +              .getDefaultInstance()) return this;
               if (other.getEnablePrivateEndpoint() != false) {
                 setEnablePrivateEndpoint(other.getEnablePrivateEndpoint());
               }
        @@ -552,11 +610,14 @@ public Builder mergeFrom(
                 com.google.protobuf.CodedInputStream input,
                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                 throws java.io.IOException {
        -      com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig parsedMessage = null;
        +      com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig parsedMessage =
        +          null;
               try {
                 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
               } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        -        parsedMessage = (com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig) e.getUnfinishedMessage();
        +        parsedMessage =
        +            (com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig)
        +                e.getUnfinishedMessage();
                 throw e.unwrapIOException();
               } finally {
                 if (parsedMessage != null) {
        @@ -566,14 +627,17 @@ public Builder mergeFrom(
               return this;
             }
         
        -    private boolean enablePrivateEndpoint_ ;
        +    private boolean enablePrivateEndpoint_;
             /**
        +     *
        +     *
              * 
              * Optional. If `true`, access to the public endpoint of the GKE cluster is
              * denied.
              * 
        * * bool enable_private_endpoint = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The enablePrivateEndpoint. */ @java.lang.Override @@ -581,32 +645,38 @@ public boolean getEnablePrivateEndpoint() { return enablePrivateEndpoint_; } /** + * + * *
              * Optional. If `true`, access to the public endpoint of the GKE cluster is
              * denied.
              * 
        * * bool enable_private_endpoint = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The enablePrivateEndpoint to set. * @return This builder for chaining. */ public Builder setEnablePrivateEndpoint(boolean value) { - + enablePrivateEndpoint_ = value; onChanged(); return this; } /** + * + * *
              * Optional. If `true`, access to the public endpoint of the GKE cluster is
              * denied.
              * 
        * * bool enable_private_endpoint = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearEnablePrivateEndpoint() { - + enablePrivateEndpoint_ = false; onChanged(); return this; @@ -614,19 +684,21 @@ public Builder clearEnablePrivateEndpoint() { private java.lang.Object masterIpv4CidrBlock_ = ""; /** + * + * *
              * Optional. The CIDR block from which IPv4 range for GKE master will be reserved. If
              * left blank, the default value of '172.16.0.0/23' is used.
              * 
        * * string master_ipv4_cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The masterIpv4CidrBlock. */ public java.lang.String getMasterIpv4CidrBlock() { java.lang.Object ref = masterIpv4CidrBlock_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); masterIpv4CidrBlock_ = s; return s; @@ -635,21 +707,22 @@ public java.lang.String getMasterIpv4CidrBlock() { } } /** + * + * *
              * Optional. The CIDR block from which IPv4 range for GKE master will be reserved. If
              * left blank, the default value of '172.16.0.0/23' is used.
              * 
        * * string master_ipv4_cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for masterIpv4CidrBlock. */ - public com.google.protobuf.ByteString - getMasterIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString getMasterIpv4CidrBlockBytes() { java.lang.Object ref = masterIpv4CidrBlock_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); masterIpv4CidrBlock_ = b; return b; } else { @@ -657,57 +730,64 @@ public java.lang.String getMasterIpv4CidrBlock() { } } /** + * + * *
              * Optional. The CIDR block from which IPv4 range for GKE master will be reserved. If
              * left blank, the default value of '172.16.0.0/23' is used.
              * 
        * * string master_ipv4_cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The masterIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setMasterIpv4CidrBlock( - java.lang.String value) { + public Builder setMasterIpv4CidrBlock(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + masterIpv4CidrBlock_ = value; onChanged(); return this; } /** + * + * *
              * Optional. The CIDR block from which IPv4 range for GKE master will be reserved. If
              * left blank, the default value of '172.16.0.0/23' is used.
              * 
        * * string master_ipv4_cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearMasterIpv4CidrBlock() { - + masterIpv4CidrBlock_ = getDefaultInstance().getMasterIpv4CidrBlock(); onChanged(); return this; } /** + * + * *
              * Optional. The CIDR block from which IPv4 range for GKE master will be reserved. If
              * left blank, the default value of '172.16.0.0/23' is used.
              * 
        * * string master_ipv4_cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for masterIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setMasterIpv4CidrBlockBytes( - com.google.protobuf.ByteString value) { + public Builder setMasterIpv4CidrBlockBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + masterIpv4CidrBlock_ = value; onChanged(); return this; @@ -715,6 +795,8 @@ public Builder setMasterIpv4CidrBlockBytes( private java.lang.Object masterIpv4ReservedRange_ = ""; /** + * + * *
              * Output only. The IP range in CIDR notation to use for the hosted master network. This
              * range is used for assigning internal IP addresses to the cluster
        @@ -723,14 +805,15 @@ public Builder setMasterIpv4CidrBlockBytes(
              * within the cluster's network.
              * 
        * - * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The masterIpv4ReservedRange. */ public java.lang.String getMasterIpv4ReservedRange() { java.lang.Object ref = masterIpv4ReservedRange_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); masterIpv4ReservedRange_ = s; return s; @@ -739,6 +822,8 @@ public java.lang.String getMasterIpv4ReservedRange() { } } /** + * + * *
              * Output only. The IP range in CIDR notation to use for the hosted master network. This
              * range is used for assigning internal IP addresses to the cluster
        @@ -747,16 +832,16 @@ public java.lang.String getMasterIpv4ReservedRange() {
              * within the cluster's network.
              * 
        * - * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bytes for masterIpv4ReservedRange. */ - public com.google.protobuf.ByteString - getMasterIpv4ReservedRangeBytes() { + public com.google.protobuf.ByteString getMasterIpv4ReservedRangeBytes() { java.lang.Object ref = masterIpv4ReservedRange_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); masterIpv4ReservedRange_ = b; return b; } else { @@ -764,6 +849,8 @@ public java.lang.String getMasterIpv4ReservedRange() { } } /** + * + * *
              * Output only. The IP range in CIDR notation to use for the hosted master network. This
              * range is used for assigning internal IP addresses to the cluster
        @@ -772,21 +859,24 @@ public java.lang.String getMasterIpv4ReservedRange() {
              * within the cluster's network.
              * 
        * - * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The masterIpv4ReservedRange to set. * @return This builder for chaining. */ - public Builder setMasterIpv4ReservedRange( - java.lang.String value) { + public Builder setMasterIpv4ReservedRange(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + masterIpv4ReservedRange_ = value; onChanged(); return this; } /** + * + * *
              * Output only. The IP range in CIDR notation to use for the hosted master network. This
              * range is used for assigning internal IP addresses to the cluster
        @@ -795,16 +885,20 @@ public Builder setMasterIpv4ReservedRange(
              * within the cluster's network.
              * 
        * - * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearMasterIpv4ReservedRange() { - + masterIpv4ReservedRange_ = getDefaultInstance().getMasterIpv4ReservedRange(); onChanged(); return this; } /** + * + * *
              * Output only. The IP range in CIDR notation to use for the hosted master network. This
              * range is used for assigning internal IP addresses to the cluster
        @@ -813,24 +907,25 @@ public Builder clearMasterIpv4ReservedRange() {
              * within the cluster's network.
              * 
        * - * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The bytes for masterIpv4ReservedRange to set. * @return This builder for chaining. */ - public Builder setMasterIpv4ReservedRangeBytes( - com.google.protobuf.ByteString value) { + public Builder setMasterIpv4ReservedRangeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + masterIpv4ReservedRange_ = 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); } @@ -840,30 +935,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig) - private static final com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig DEFAULT_INSTANCE; + private static final com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig(); + DEFAULT_INSTANCE = + new com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig(); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PrivateClusterConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PrivateClusterConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PrivateClusterConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PrivateClusterConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -875,9 +973,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateClusterConfigOrBuilder.java b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateClusterConfigOrBuilder.java similarity index 71% rename from owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateClusterConfigOrBuilder.java rename to proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateClusterConfigOrBuilder.java index b83ee4f9..a32d2f4f 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateClusterConfigOrBuilder.java +++ b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateClusterConfigOrBuilder.java @@ -1,46 +1,72 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; -public interface PrivateClusterConfigOrBuilder extends +public interface PrivateClusterConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
            * Optional. If `true`, access to the public endpoint of the GKE cluster is
            * denied.
            * 
        * * bool enable_private_endpoint = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The enablePrivateEndpoint. */ boolean getEnablePrivateEndpoint(); /** + * + * *
            * Optional. The CIDR block from which IPv4 range for GKE master will be reserved. If
            * left blank, the default value of '172.16.0.0/23' is used.
            * 
        * * string master_ipv4_cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The masterIpv4CidrBlock. */ java.lang.String getMasterIpv4CidrBlock(); /** + * + * *
            * Optional. The CIDR block from which IPv4 range for GKE master will be reserved. If
            * left blank, the default value of '172.16.0.0/23' is used.
            * 
        * * string master_ipv4_cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for masterIpv4CidrBlock. */ - com.google.protobuf.ByteString - getMasterIpv4CidrBlockBytes(); + com.google.protobuf.ByteString getMasterIpv4CidrBlockBytes(); /** + * + * *
            * Output only. The IP range in CIDR notation to use for the hosted master network. This
            * range is used for assigning internal IP addresses to the cluster
        @@ -49,11 +75,15 @@ public interface PrivateClusterConfigOrBuilder extends
            * within the cluster's network.
            * 
        * - * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The masterIpv4ReservedRange. */ java.lang.String getMasterIpv4ReservedRange(); /** + * + * *
            * Output only. The IP range in CIDR notation to use for the hosted master network. This
            * range is used for assigning internal IP addresses to the cluster
        @@ -62,9 +92,10 @@ public interface PrivateClusterConfigOrBuilder extends
            * within the cluster's network.
            * 
        * - * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bytes for masterIpv4ReservedRange. */ - com.google.protobuf.ByteString - getMasterIpv4ReservedRangeBytes(); + com.google.protobuf.ByteString getMasterIpv4ReservedRangeBytes(); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateEnvironmentConfig.java b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateEnvironmentConfig.java similarity index 64% rename from owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateEnvironmentConfig.java rename to proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateEnvironmentConfig.java index 71f2d850..724a7172 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateEnvironmentConfig.java +++ b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateEnvironmentConfig.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/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; /** + * + * *
          * The configuration information for configuring a Private IP Cloud Composer
          * environment.
        @@ -11,15 +28,16 @@
          *
          * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig}
          */
        -public final class PrivateEnvironmentConfig extends
        -    com.google.protobuf.GeneratedMessageV3 implements
        +public final class PrivateEnvironmentConfig extends com.google.protobuf.GeneratedMessageV3
        +    implements
             // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig)
             PrivateEnvironmentConfigOrBuilder {
        -private static final long serialVersionUID = 0L;
        +  private static final long serialVersionUID = 0L;
           // Use PrivateEnvironmentConfig.newBuilder() to construct.
           private PrivateEnvironmentConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
             super(builder);
           }
        +
           private PrivateEnvironmentConfig() {
             webServerIpv4CidrBlock_ = "";
             cloudSqlIpv4CidrBlock_ = "";
        @@ -30,16 +48,15 @@ private PrivateEnvironmentConfig() {
         
           @java.lang.Override
           @SuppressWarnings({"unused"})
        -  protected java.lang.Object newInstance(
        -      UnusedPrivateParameter unused) {
        +  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
             return new PrivateEnvironmentConfig();
           }
         
           @java.lang.Override
        -  public final com.google.protobuf.UnknownFieldSet
        -  getUnknownFields() {
        +  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
             return this.unknownFields;
           }
        +
           private PrivateEnvironmentConfig(
               com.google.protobuf.CodedInputStream input,
               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        @@ -58,61 +75,72 @@ private PrivateEnvironmentConfig(
                   case 0:
                     done = true;
                     break;
        -          case 8: {
        -
        -            enablePrivateEnvironment_ = input.readBool();
        -            break;
        -          }
        -          case 18: {
        -            com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig.Builder subBuilder = null;
        -            if (privateClusterConfig_ != null) {
        -              subBuilder = privateClusterConfig_.toBuilder();
        +          case 8:
        +            {
        +              enablePrivateEnvironment_ = input.readBool();
        +              break;
                     }
        -            privateClusterConfig_ = input.readMessage(com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig.parser(), extensionRegistry);
        -            if (subBuilder != null) {
        -              subBuilder.mergeFrom(privateClusterConfig_);
        -              privateClusterConfig_ = subBuilder.buildPartial();
        +          case 18:
        +            {
        +              com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig.Builder
        +                  subBuilder = null;
        +              if (privateClusterConfig_ != null) {
        +                subBuilder = privateClusterConfig_.toBuilder();
        +              }
        +              privateClusterConfig_ =
        +                  input.readMessage(
        +                      com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig
        +                          .parser(),
        +                      extensionRegistry);
        +              if (subBuilder != null) {
        +                subBuilder.mergeFrom(privateClusterConfig_);
        +                privateClusterConfig_ = subBuilder.buildPartial();
        +              }
        +
        +              break;
                     }
        +          case 26:
        +            {
        +              java.lang.String s = input.readStringRequireUtf8();
         
        -            break;
        -          }
        -          case 26: {
        -            java.lang.String s = input.readStringRequireUtf8();
        -
        -            webServerIpv4CidrBlock_ = s;
        -            break;
        -          }
        -          case 34: {
        -            java.lang.String s = input.readStringRequireUtf8();
        +              webServerIpv4CidrBlock_ = s;
        +              break;
        +            }
        +          case 34:
        +            {
        +              java.lang.String s = input.readStringRequireUtf8();
         
        -            cloudSqlIpv4CidrBlock_ = s;
        -            break;
        -          }
        -          case 42: {
        -            java.lang.String s = input.readStringRequireUtf8();
        +              cloudSqlIpv4CidrBlock_ = s;
        +              break;
        +            }
        +          case 42:
        +            {
        +              java.lang.String s = input.readStringRequireUtf8();
         
        -            webServerIpv4ReservedRange_ = s;
        -            break;
        -          }
        -          case 58: {
        -            java.lang.String s = input.readStringRequireUtf8();
        +              webServerIpv4ReservedRange_ = s;
        +              break;
        +            }
        +          case 58:
        +            {
        +              java.lang.String s = input.readStringRequireUtf8();
         
        -            cloudComposerNetworkIpv4CidrBlock_ = s;
        -            break;
        -          }
        -          case 66: {
        -            java.lang.String s = input.readStringRequireUtf8();
        +              cloudComposerNetworkIpv4CidrBlock_ = s;
        +              break;
        +            }
        +          case 66:
        +            {
        +              java.lang.String s = input.readStringRequireUtf8();
         
        -            cloudComposerNetworkIpv4ReservedRange_ = s;
        -            break;
        -          }
        -          default: {
        -            if (!parseUnknownField(
        -                input, unknownFields, extensionRegistry, tag)) {
        -              done = true;
        +              cloudComposerNetworkIpv4ReservedRange_ = s;
        +              break;
        +            }
        +          default:
        +            {
        +              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
        +                done = true;
        +              }
        +              break;
                     }
        -            break;
        -          }
                 }
               }
             } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        @@ -120,29 +148,34 @@ private PrivateEnvironmentConfig(
             } catch (com.google.protobuf.UninitializedMessageException e) {
               throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
             } catch (java.io.IOException e) {
        -      throw new com.google.protobuf.InvalidProtocolBufferException(
        -          e).setUnfinishedMessage(this);
        +      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
             } finally {
               this.unknownFields = unknownFields.build();
               makeExtensionsImmutable();
             }
           }
        -  public static final com.google.protobuf.Descriptors.Descriptor
        -      getDescriptor() {
        -    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateEnvironmentConfig_descriptor;
        +
        +  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        +    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
        +        .internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateEnvironmentConfig_descriptor;
           }
         
           @java.lang.Override
           protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
               internalGetFieldAccessorTable() {
        -    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateEnvironmentConfig_fieldAccessorTable
        +    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
        +        .internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateEnvironmentConfig_fieldAccessorTable
                 .ensureFieldAccessorsInitialized(
        -            com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig.class, com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig.Builder.class);
        +            com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig.class,
        +            com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig.Builder
        +                .class);
           }
         
           public static final int ENABLE_PRIVATE_ENVIRONMENT_FIELD_NUMBER = 1;
           private boolean enablePrivateEnvironment_;
           /**
        +   *
        +   *
            * 
            * Optional. If `true`, a Private IP Cloud Composer environment is created.
            * If this field is set to true, `IPAllocationPolicy.use_ip_aliases` must be
        @@ -150,6 +183,7 @@ private PrivateEnvironmentConfig(
            * 
        * * bool enable_private_environment = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The enablePrivateEnvironment. */ @java.lang.Override @@ -158,14 +192,20 @@ public boolean getEnablePrivateEnvironment() { } public static final int PRIVATE_CLUSTER_CONFIG_FIELD_NUMBER = 2; - private com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig privateClusterConfig_; + private com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig + privateClusterConfig_; /** + * + * *
            * Optional. Configuration for the private GKE cluster for a Private IP
            * Cloud Composer environment.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the privateClusterConfig field is set. */ @java.lang.Override @@ -173,34 +213,50 @@ public boolean hasPrivateClusterConfig() { return privateClusterConfig_ != null; } /** + * + * *
            * Optional. Configuration for the private GKE cluster for a Private IP
            * Cloud Composer environment.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The privateClusterConfig. */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig getPrivateClusterConfig() { - return privateClusterConfig_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig.getDefaultInstance() : privateClusterConfig_; + public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig + getPrivateClusterConfig() { + return privateClusterConfig_ == null + ? com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig + .getDefaultInstance() + : privateClusterConfig_; } /** + * + * *
            * Optional. Configuration for the private GKE cluster for a Private IP
            * Cloud Composer environment.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfigOrBuilder getPrivateClusterConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfigOrBuilder + getPrivateClusterConfigOrBuilder() { return getPrivateClusterConfig(); } public static final int WEB_SERVER_IPV4_CIDR_BLOCK_FIELD_NUMBER = 3; private volatile java.lang.Object webServerIpv4CidrBlock_; /** + * + * *
            * Optional. The CIDR block from which IP range for web server will be reserved. Needs
            * to be disjoint from private_cluster_config.master_ipv4_cidr_block and
        @@ -208,6 +264,7 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConf
            * 
        * * string web_server_ipv4_cidr_block = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The webServerIpv4CidrBlock. */ @java.lang.Override @@ -216,14 +273,15 @@ public java.lang.String getWebServerIpv4CidrBlock() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); webServerIpv4CidrBlock_ = s; return s; } } /** + * + * *
            * Optional. The CIDR block from which IP range for web server will be reserved. Needs
            * to be disjoint from private_cluster_config.master_ipv4_cidr_block and
        @@ -231,16 +289,15 @@ public java.lang.String getWebServerIpv4CidrBlock() {
            * 
        * * string web_server_ipv4_cidr_block = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for webServerIpv4CidrBlock. */ @java.lang.Override - public com.google.protobuf.ByteString - getWebServerIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString getWebServerIpv4CidrBlockBytes() { java.lang.Object ref = webServerIpv4CidrBlock_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); webServerIpv4CidrBlock_ = b; return b; } else { @@ -251,12 +308,15 @@ public java.lang.String getWebServerIpv4CidrBlock() { public static final int CLOUD_SQL_IPV4_CIDR_BLOCK_FIELD_NUMBER = 4; private volatile java.lang.Object cloudSqlIpv4CidrBlock_; /** + * + * *
            * Optional. The CIDR block from which IP range in tenant project will be reserved for
            * Cloud SQL. Needs to be disjoint from web_server_ipv4_cidr_block
            * 
        * * string cloud_sql_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The cloudSqlIpv4CidrBlock. */ @java.lang.Override @@ -265,30 +325,30 @@ public java.lang.String getCloudSqlIpv4CidrBlock() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cloudSqlIpv4CidrBlock_ = s; return s; } } /** + * + * *
            * Optional. The CIDR block from which IP range in tenant project will be reserved for
            * Cloud SQL. Needs to be disjoint from web_server_ipv4_cidr_block
            * 
        * * string cloud_sql_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for cloudSqlIpv4CidrBlock. */ @java.lang.Override - public com.google.protobuf.ByteString - getCloudSqlIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString getCloudSqlIpv4CidrBlockBytes() { java.lang.Object ref = cloudSqlIpv4CidrBlock_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); cloudSqlIpv4CidrBlock_ = b; return b; } else { @@ -299,11 +359,15 @@ public java.lang.String getCloudSqlIpv4CidrBlock() { public static final int WEB_SERVER_IPV4_RESERVED_RANGE_FIELD_NUMBER = 5; private volatile java.lang.Object webServerIpv4ReservedRange_; /** + * + * *
            * Output only. The IP range reserved for the tenant project's App Engine VMs.
            * 
        * - * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The webServerIpv4ReservedRange. */ @java.lang.Override @@ -312,29 +376,30 @@ public java.lang.String getWebServerIpv4ReservedRange() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); webServerIpv4ReservedRange_ = s; return s; } } /** + * + * *
            * Output only. The IP range reserved for the tenant project's App Engine VMs.
            * 
        * - * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bytes for webServerIpv4ReservedRange. */ @java.lang.Override - public com.google.protobuf.ByteString - getWebServerIpv4ReservedRangeBytes() { + public com.google.protobuf.ByteString getWebServerIpv4ReservedRangeBytes() { java.lang.Object ref = webServerIpv4ReservedRange_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); webServerIpv4ReservedRange_ = b; return b; } else { @@ -345,6 +410,8 @@ public java.lang.String getWebServerIpv4ReservedRange() { public static final int CLOUD_COMPOSER_NETWORK_IPV4_CIDR_BLOCK_FIELD_NUMBER = 7; private volatile java.lang.Object cloudComposerNetworkIpv4CidrBlock_; /** + * + * *
            * Optional. The CIDR block from which IP range for Cloud Composer Network in tenant
            * project will be reserved. Needs to be disjoint from
        @@ -354,7 +421,10 @@ public java.lang.String getWebServerIpv4ReservedRange() {
            * composer-2.*.*-airflow-*.*.* and newer.
            * 
        * - * string cloud_composer_network_ipv4_cidr_block = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * string cloud_composer_network_ipv4_cidr_block = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The cloudComposerNetworkIpv4CidrBlock. */ @java.lang.Override @@ -363,14 +433,15 @@ public java.lang.String getCloudComposerNetworkIpv4CidrBlock() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cloudComposerNetworkIpv4CidrBlock_ = s; return s; } } /** + * + * *
            * Optional. The CIDR block from which IP range for Cloud Composer Network in tenant
            * project will be reserved. Needs to be disjoint from
        @@ -380,17 +451,18 @@ public java.lang.String getCloudComposerNetworkIpv4CidrBlock() {
            * composer-2.*.*-airflow-*.*.* and newer.
            * 
        * - * string cloud_composer_network_ipv4_cidr_block = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * string cloud_composer_network_ipv4_cidr_block = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The bytes for cloudComposerNetworkIpv4CidrBlock. */ @java.lang.Override - public com.google.protobuf.ByteString - getCloudComposerNetworkIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString getCloudComposerNetworkIpv4CidrBlockBytes() { java.lang.Object ref = cloudComposerNetworkIpv4CidrBlock_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); cloudComposerNetworkIpv4CidrBlock_ = b; return b; } else { @@ -401,13 +473,18 @@ public java.lang.String getCloudComposerNetworkIpv4CidrBlock() { public static final int CLOUD_COMPOSER_NETWORK_IPV4_RESERVED_RANGE_FIELD_NUMBER = 8; private volatile java.lang.Object cloudComposerNetworkIpv4ReservedRange_; /** + * + * *
            * Output only. The IP range reserved for the tenant project's Cloud Composer network.
            * This field is supported for Cloud Composer environments in versions
            * composer-2.*.*-airflow-*.*.* and newer.
            * 
        * - * string cloud_composer_network_ipv4_reserved_range = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string cloud_composer_network_ipv4_reserved_range = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The cloudComposerNetworkIpv4ReservedRange. */ @java.lang.Override @@ -416,31 +493,33 @@ public java.lang.String getCloudComposerNetworkIpv4ReservedRange() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cloudComposerNetworkIpv4ReservedRange_ = s; return s; } } /** + * + * *
            * Output only. The IP range reserved for the tenant project's Cloud Composer network.
            * This field is supported for Cloud Composer environments in versions
            * composer-2.*.*-airflow-*.*.* and newer.
            * 
        * - * string cloud_composer_network_ipv4_reserved_range = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string cloud_composer_network_ipv4_reserved_range = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bytes for cloudComposerNetworkIpv4ReservedRange. */ @java.lang.Override - public com.google.protobuf.ByteString - getCloudComposerNetworkIpv4ReservedRangeBytes() { + public com.google.protobuf.ByteString getCloudComposerNetworkIpv4ReservedRangeBytes() { java.lang.Object ref = cloudComposerNetworkIpv4ReservedRange_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); cloudComposerNetworkIpv4ReservedRange_ = b; return b; } else { @@ -449,6 +528,7 @@ public java.lang.String getCloudComposerNetworkIpv4ReservedRange() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -460,8 +540,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 (enablePrivateEnvironment_ != false) { output.writeBool(1, enablePrivateEnvironment_); } @@ -478,10 +557,13 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) com.google.protobuf.GeneratedMessageV3.writeString(output, 5, webServerIpv4ReservedRange_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cloudComposerNetworkIpv4CidrBlock_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 7, cloudComposerNetworkIpv4CidrBlock_); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 7, cloudComposerNetworkIpv4CidrBlock_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cloudComposerNetworkIpv4ReservedRange_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 8, cloudComposerNetworkIpv4ReservedRange_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty( + cloudComposerNetworkIpv4ReservedRange_)) { + com.google.protobuf.GeneratedMessageV3.writeString( + output, 8, cloudComposerNetworkIpv4ReservedRange_); } unknownFields.writeTo(output); } @@ -493,12 +575,11 @@ public int getSerializedSize() { size = 0; if (enablePrivateEnvironment_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enablePrivateEnvironment_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enablePrivateEnvironment_); } if (privateClusterConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getPrivateClusterConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(2, getPrivateClusterConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(webServerIpv4CidrBlock_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, webServerIpv4CidrBlock_); @@ -507,13 +588,19 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, cloudSqlIpv4CidrBlock_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(webServerIpv4ReservedRange_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, webServerIpv4ReservedRange_); + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize(5, webServerIpv4ReservedRange_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cloudComposerNetworkIpv4CidrBlock_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, cloudComposerNetworkIpv4CidrBlock_); + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize( + 7, cloudComposerNetworkIpv4CidrBlock_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cloudComposerNetworkIpv4ReservedRange_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, cloudComposerNetworkIpv4ReservedRange_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty( + cloudComposerNetworkIpv4ReservedRange_)) { + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize( + 8, cloudComposerNetworkIpv4ReservedRange_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -523,26 +610,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig)) { + if (!(obj + instanceof + com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig other = (com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig) obj; + com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig other = + (com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig) obj; - if (getEnablePrivateEnvironment() - != other.getEnablePrivateEnvironment()) return false; + if (getEnablePrivateEnvironment() != other.getEnablePrivateEnvironment()) return false; if (hasPrivateClusterConfig() != other.hasPrivateClusterConfig()) return false; if (hasPrivateClusterConfig()) { - if (!getPrivateClusterConfig() - .equals(other.getPrivateClusterConfig())) return false; - } - if (!getWebServerIpv4CidrBlock() - .equals(other.getWebServerIpv4CidrBlock())) return false; - if (!getCloudSqlIpv4CidrBlock() - .equals(other.getCloudSqlIpv4CidrBlock())) return false; - if (!getWebServerIpv4ReservedRange() - .equals(other.getWebServerIpv4ReservedRange())) return false; + if (!getPrivateClusterConfig().equals(other.getPrivateClusterConfig())) return false; + } + if (!getWebServerIpv4CidrBlock().equals(other.getWebServerIpv4CidrBlock())) return false; + if (!getCloudSqlIpv4CidrBlock().equals(other.getCloudSqlIpv4CidrBlock())) return false; + if (!getWebServerIpv4ReservedRange().equals(other.getWebServerIpv4ReservedRange())) + return false; if (!getCloudComposerNetworkIpv4CidrBlock() .equals(other.getCloudComposerNetworkIpv4CidrBlock())) return false; if (!getCloudComposerNetworkIpv4ReservedRange() @@ -559,8 +645,7 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLE_PRIVATE_ENVIRONMENT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnablePrivateEnvironment()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnablePrivateEnvironment()); if (hasPrivateClusterConfig()) { hash = (37 * hash) + PRIVATE_CLUSTER_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getPrivateClusterConfig().hashCode(); @@ -580,136 +665,154 @@ public int hashCode() { return hash; } - public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig 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.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig + 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.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 configuration information for configuring a Private IP Cloud Composer
            * environment.
            * 
        * - * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig} + * Protobuf type {@code + * google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig) com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateEnvironmentConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateEnvironmentConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateEnvironmentConfig_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateEnvironmentConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig.class, com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig.Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig.class, + com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig + .Builder.class); } - // Construct using com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig.newBuilder() + // Construct using + // com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -735,19 +838,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateEnvironmentConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_PrivateEnvironmentConfig_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig.getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig + getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig build() { - com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig result = buildPartial(); + com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -755,8 +861,10 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironment } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig buildPartial() { - com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig result = new com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig(this); + public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig + buildPartial() { + com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig result = + new com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig(this); result.enablePrivateEnvironment_ = enablePrivateEnvironment_; if (privateClusterConfigBuilder_ == null) { result.privateClusterConfig_ = privateClusterConfig_; @@ -776,46 +884,54 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironment public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig) { - return mergeFrom((com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig)other); + if (other + instanceof + com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig) { + return mergeFrom( + (com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig other) { - if (other == com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig other) { + if (other + == com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig + .getDefaultInstance()) return this; if (other.getEnablePrivateEnvironment() != false) { setEnablePrivateEnvironment(other.getEnablePrivateEnvironment()); } @@ -857,11 +973,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig parsedMessage = null; + com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -871,8 +990,10 @@ public Builder mergeFrom( return this; } - private boolean enablePrivateEnvironment_ ; + private boolean enablePrivateEnvironment_; /** + * + * *
              * Optional. If `true`, a Private IP Cloud Composer environment is created.
              * If this field is set to true, `IPAllocationPolicy.use_ip_aliases` must be
        @@ -880,6 +1001,7 @@ public Builder mergeFrom(
              * 
        * * bool enable_private_environment = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The enablePrivateEnvironment. */ @java.lang.Override @@ -887,6 +1009,8 @@ public boolean getEnablePrivateEnvironment() { return enablePrivateEnvironment_; } /** + * + * *
              * Optional. If `true`, a Private IP Cloud Composer environment is created.
              * If this field is set to true, `IPAllocationPolicy.use_ip_aliases` must be
        @@ -894,16 +1018,19 @@ public boolean getEnablePrivateEnvironment() {
              * 
        * * bool enable_private_environment = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The enablePrivateEnvironment to set. * @return This builder for chaining. */ public Builder setEnablePrivateEnvironment(boolean value) { - + enablePrivateEnvironment_ = value; onChanged(); return this; } /** + * + * *
              * Optional. If `true`, a Private IP Cloud Composer environment is created.
              * If this field is set to true, `IPAllocationPolicy.use_ip_aliases` must be
        @@ -911,55 +1038,79 @@ public Builder setEnablePrivateEnvironment(boolean value) {
              * 
        * * bool enable_private_environment = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearEnablePrivateEnvironment() { - + enablePrivateEnvironment_ = false; onChanged(); return this; } - private com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig privateClusterConfig_; + private com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig + privateClusterConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig, com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfigOrBuilder> privateClusterConfigBuilder_; + com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig, + com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig.Builder, + com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfigOrBuilder> + privateClusterConfigBuilder_; /** + * + * *
              * Optional. Configuration for the private GKE cluster for a Private IP
              * Cloud Composer environment.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the privateClusterConfig field is set. */ public boolean hasPrivateClusterConfig() { return privateClusterConfigBuilder_ != null || privateClusterConfig_ != null; } /** + * + * *
              * Optional. Configuration for the private GKE cluster for a Private IP
              * Cloud Composer environment.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The privateClusterConfig. */ - public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig getPrivateClusterConfig() { + public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig + getPrivateClusterConfig() { if (privateClusterConfigBuilder_ == null) { - return privateClusterConfig_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig.getDefaultInstance() : privateClusterConfig_; + return privateClusterConfig_ == null + ? com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig + .getDefaultInstance() + : privateClusterConfig_; } else { return privateClusterConfigBuilder_.getMessage(); } } /** + * + * *
              * Optional. Configuration for the private GKE cluster for a Private IP
              * Cloud Composer environment.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setPrivateClusterConfig(com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig value) { + public Builder setPrivateClusterConfig( + com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig value) { if (privateClusterConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -973,15 +1124,20 @@ public Builder setPrivateClusterConfig(com.google.cloud.orchestration.airflow.se return this; } /** + * + * *
              * Optional. Configuration for the private GKE cluster for a Private IP
              * Cloud Composer environment.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setPrivateClusterConfig( - com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig.Builder builderForValue) { + com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig.Builder + builderForValue) { if (privateClusterConfigBuilder_ == null) { privateClusterConfig_ = builderForValue.build(); onChanged(); @@ -992,18 +1148,26 @@ public Builder setPrivateClusterConfig( return this; } /** + * + * *
              * Optional. Configuration for the private GKE cluster for a Private IP
              * Cloud Composer environment.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergePrivateClusterConfig(com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig value) { + public Builder mergePrivateClusterConfig( + com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig value) { if (privateClusterConfigBuilder_ == null) { if (privateClusterConfig_ != null) { privateClusterConfig_ = - com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig.newBuilder(privateClusterConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig + .newBuilder(privateClusterConfig_) + .mergeFrom(value) + .buildPartial(); } else { privateClusterConfig_ = value; } @@ -1015,12 +1179,16 @@ public Builder mergePrivateClusterConfig(com.google.cloud.orchestration.airflow. return this; } /** + * + * *
              * Optional. Configuration for the private GKE cluster for a Private IP
              * Cloud Composer environment.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearPrivateClusterConfig() { if (privateClusterConfigBuilder_ == null) { @@ -1034,51 +1202,71 @@ public Builder clearPrivateClusterConfig() { return this; } /** + * + * *
              * Optional. Configuration for the private GKE cluster for a Private IP
              * Cloud Composer environment.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig.Builder getPrivateClusterConfigBuilder() { - + public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig.Builder + getPrivateClusterConfigBuilder() { + onChanged(); return getPrivateClusterConfigFieldBuilder().getBuilder(); } /** + * + * *
              * Optional. Configuration for the private GKE cluster for a Private IP
              * Cloud Composer environment.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfigOrBuilder getPrivateClusterConfigOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfigOrBuilder + getPrivateClusterConfigOrBuilder() { if (privateClusterConfigBuilder_ != null) { return privateClusterConfigBuilder_.getMessageOrBuilder(); } else { - return privateClusterConfig_ == null ? - com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig.getDefaultInstance() : privateClusterConfig_; + return privateClusterConfig_ == null + ? com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig + .getDefaultInstance() + : privateClusterConfig_; } } /** + * + * *
              * Optional. Configuration for the private GKE cluster for a Private IP
              * Cloud Composer environment.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig, com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfigOrBuilder> + com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig, + com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig.Builder, + com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfigOrBuilder> getPrivateClusterConfigFieldBuilder() { if (privateClusterConfigBuilder_ == null) { - privateClusterConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig, com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfigOrBuilder>( - getPrivateClusterConfig(), - getParentForChildren(), - isClean()); + privateClusterConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig, + com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig.Builder, + com.google.cloud.orchestration.airflow.service.v1beta1 + .PrivateClusterConfigOrBuilder>( + getPrivateClusterConfig(), getParentForChildren(), isClean()); privateClusterConfig_ = null; } return privateClusterConfigBuilder_; @@ -1086,6 +1274,8 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConf private java.lang.Object webServerIpv4CidrBlock_ = ""; /** + * + * *
              * Optional. The CIDR block from which IP range for web server will be reserved. Needs
              * to be disjoint from private_cluster_config.master_ipv4_cidr_block and
        @@ -1093,13 +1283,13 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConf
              * 
        * * string web_server_ipv4_cidr_block = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The webServerIpv4CidrBlock. */ public java.lang.String getWebServerIpv4CidrBlock() { java.lang.Object ref = webServerIpv4CidrBlock_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); webServerIpv4CidrBlock_ = s; return s; @@ -1108,6 +1298,8 @@ public java.lang.String getWebServerIpv4CidrBlock() { } } /** + * + * *
              * Optional. The CIDR block from which IP range for web server will be reserved. Needs
              * to be disjoint from private_cluster_config.master_ipv4_cidr_block and
        @@ -1115,15 +1307,14 @@ public java.lang.String getWebServerIpv4CidrBlock() {
              * 
        * * string web_server_ipv4_cidr_block = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for webServerIpv4CidrBlock. */ - public com.google.protobuf.ByteString - getWebServerIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString getWebServerIpv4CidrBlockBytes() { java.lang.Object ref = webServerIpv4CidrBlock_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); webServerIpv4CidrBlock_ = b; return b; } else { @@ -1131,6 +1322,8 @@ public java.lang.String getWebServerIpv4CidrBlock() { } } /** + * + * *
              * Optional. The CIDR block from which IP range for web server will be reserved. Needs
              * to be disjoint from private_cluster_config.master_ipv4_cidr_block and
        @@ -1138,20 +1331,22 @@ public java.lang.String getWebServerIpv4CidrBlock() {
              * 
        * * string web_server_ipv4_cidr_block = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The webServerIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setWebServerIpv4CidrBlock( - java.lang.String value) { + public Builder setWebServerIpv4CidrBlock(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + webServerIpv4CidrBlock_ = value; onChanged(); return this; } /** + * + * *
              * Optional. The CIDR block from which IP range for web server will be reserved. Needs
              * to be disjoint from private_cluster_config.master_ipv4_cidr_block and
        @@ -1159,15 +1354,18 @@ public Builder setWebServerIpv4CidrBlock(
              * 
        * * string web_server_ipv4_cidr_block = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearWebServerIpv4CidrBlock() { - + webServerIpv4CidrBlock_ = getDefaultInstance().getWebServerIpv4CidrBlock(); onChanged(); return this; } /** + * + * *
              * Optional. The CIDR block from which IP range for web server will be reserved. Needs
              * to be disjoint from private_cluster_config.master_ipv4_cidr_block and
        @@ -1175,16 +1373,16 @@ public Builder clearWebServerIpv4CidrBlock() {
              * 
        * * string web_server_ipv4_cidr_block = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for webServerIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setWebServerIpv4CidrBlockBytes( - com.google.protobuf.ByteString value) { + public Builder setWebServerIpv4CidrBlockBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + webServerIpv4CidrBlock_ = value; onChanged(); return this; @@ -1192,19 +1390,21 @@ public Builder setWebServerIpv4CidrBlockBytes( private java.lang.Object cloudSqlIpv4CidrBlock_ = ""; /** + * + * *
              * Optional. The CIDR block from which IP range in tenant project will be reserved for
              * Cloud SQL. Needs to be disjoint from web_server_ipv4_cidr_block
              * 
        * * string cloud_sql_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The cloudSqlIpv4CidrBlock. */ public java.lang.String getCloudSqlIpv4CidrBlock() { java.lang.Object ref = cloudSqlIpv4CidrBlock_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cloudSqlIpv4CidrBlock_ = s; return s; @@ -1213,21 +1413,22 @@ public java.lang.String getCloudSqlIpv4CidrBlock() { } } /** + * + * *
              * Optional. The CIDR block from which IP range in tenant project will be reserved for
              * Cloud SQL. Needs to be disjoint from web_server_ipv4_cidr_block
              * 
        * * string cloud_sql_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for cloudSqlIpv4CidrBlock. */ - public com.google.protobuf.ByteString - getCloudSqlIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString getCloudSqlIpv4CidrBlockBytes() { java.lang.Object ref = cloudSqlIpv4CidrBlock_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); cloudSqlIpv4CidrBlock_ = b; return b; } else { @@ -1235,57 +1436,64 @@ public java.lang.String getCloudSqlIpv4CidrBlock() { } } /** + * + * *
              * Optional. The CIDR block from which IP range in tenant project will be reserved for
              * Cloud SQL. Needs to be disjoint from web_server_ipv4_cidr_block
              * 
        * * string cloud_sql_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The cloudSqlIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setCloudSqlIpv4CidrBlock( - java.lang.String value) { + public Builder setCloudSqlIpv4CidrBlock(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + cloudSqlIpv4CidrBlock_ = value; onChanged(); return this; } /** + * + * *
              * Optional. The CIDR block from which IP range in tenant project will be reserved for
              * Cloud SQL. Needs to be disjoint from web_server_ipv4_cidr_block
              * 
        * * string cloud_sql_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearCloudSqlIpv4CidrBlock() { - + cloudSqlIpv4CidrBlock_ = getDefaultInstance().getCloudSqlIpv4CidrBlock(); onChanged(); return this; } /** + * + * *
              * Optional. The CIDR block from which IP range in tenant project will be reserved for
              * Cloud SQL. Needs to be disjoint from web_server_ipv4_cidr_block
              * 
        * * string cloud_sql_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for cloudSqlIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setCloudSqlIpv4CidrBlockBytes( - com.google.protobuf.ByteString value) { + public Builder setCloudSqlIpv4CidrBlockBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + cloudSqlIpv4CidrBlock_ = value; onChanged(); return this; @@ -1293,18 +1501,21 @@ public Builder setCloudSqlIpv4CidrBlockBytes( private java.lang.Object webServerIpv4ReservedRange_ = ""; /** + * + * *
              * Output only. The IP range reserved for the tenant project's App Engine VMs.
              * 
        * - * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The webServerIpv4ReservedRange. */ public java.lang.String getWebServerIpv4ReservedRange() { java.lang.Object ref = webServerIpv4ReservedRange_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); webServerIpv4ReservedRange_ = s; return s; @@ -1313,20 +1524,22 @@ public java.lang.String getWebServerIpv4ReservedRange() { } } /** + * + * *
              * Output only. The IP range reserved for the tenant project's App Engine VMs.
              * 
        * - * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bytes for webServerIpv4ReservedRange. */ - public com.google.protobuf.ByteString - getWebServerIpv4ReservedRangeBytes() { + public com.google.protobuf.ByteString getWebServerIpv4ReservedRangeBytes() { java.lang.Object ref = webServerIpv4ReservedRange_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); webServerIpv4ReservedRange_ = b; return b; } else { @@ -1334,54 +1547,64 @@ public java.lang.String getWebServerIpv4ReservedRange() { } } /** + * + * *
              * Output only. The IP range reserved for the tenant project's App Engine VMs.
              * 
        * - * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The webServerIpv4ReservedRange to set. * @return This builder for chaining. */ - public Builder setWebServerIpv4ReservedRange( - java.lang.String value) { + public Builder setWebServerIpv4ReservedRange(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + webServerIpv4ReservedRange_ = value; onChanged(); return this; } /** + * + * *
              * Output only. The IP range reserved for the tenant project's App Engine VMs.
              * 
        * - * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearWebServerIpv4ReservedRange() { - + webServerIpv4ReservedRange_ = getDefaultInstance().getWebServerIpv4ReservedRange(); onChanged(); return this; } /** + * + * *
              * Output only. The IP range reserved for the tenant project's App Engine VMs.
              * 
        * - * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The bytes for webServerIpv4ReservedRange to set. * @return This builder for chaining. */ - public Builder setWebServerIpv4ReservedRangeBytes( - com.google.protobuf.ByteString value) { + public Builder setWebServerIpv4ReservedRangeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + webServerIpv4ReservedRange_ = value; onChanged(); return this; @@ -1389,6 +1612,8 @@ public Builder setWebServerIpv4ReservedRangeBytes( private java.lang.Object cloudComposerNetworkIpv4CidrBlock_ = ""; /** + * + * *
              * Optional. The CIDR block from which IP range for Cloud Composer Network in tenant
              * project will be reserved. Needs to be disjoint from
        @@ -1398,14 +1623,16 @@ public Builder setWebServerIpv4ReservedRangeBytes(
              * composer-2.*.*-airflow-*.*.* and newer.
              * 
        * - * string cloud_composer_network_ipv4_cidr_block = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * string cloud_composer_network_ipv4_cidr_block = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The cloudComposerNetworkIpv4CidrBlock. */ public java.lang.String getCloudComposerNetworkIpv4CidrBlock() { java.lang.Object ref = cloudComposerNetworkIpv4CidrBlock_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cloudComposerNetworkIpv4CidrBlock_ = s; return s; @@ -1414,6 +1641,8 @@ public java.lang.String getCloudComposerNetworkIpv4CidrBlock() { } } /** + * + * *
              * Optional. The CIDR block from which IP range for Cloud Composer Network in tenant
              * project will be reserved. Needs to be disjoint from
        @@ -1423,16 +1652,17 @@ public java.lang.String getCloudComposerNetworkIpv4CidrBlock() {
              * composer-2.*.*-airflow-*.*.* and newer.
              * 
        * - * string cloud_composer_network_ipv4_cidr_block = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * string cloud_composer_network_ipv4_cidr_block = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The bytes for cloudComposerNetworkIpv4CidrBlock. */ - public com.google.protobuf.ByteString - getCloudComposerNetworkIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString getCloudComposerNetworkIpv4CidrBlockBytes() { java.lang.Object ref = cloudComposerNetworkIpv4CidrBlock_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); cloudComposerNetworkIpv4CidrBlock_ = b; return b; } else { @@ -1440,6 +1670,8 @@ public java.lang.String getCloudComposerNetworkIpv4CidrBlock() { } } /** + * + * *
              * Optional. The CIDR block from which IP range for Cloud Composer Network in tenant
              * project will be reserved. Needs to be disjoint from
        @@ -1449,21 +1681,25 @@ public java.lang.String getCloudComposerNetworkIpv4CidrBlock() {
              * composer-2.*.*-airflow-*.*.* and newer.
              * 
        * - * string cloud_composer_network_ipv4_cidr_block = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * string cloud_composer_network_ipv4_cidr_block = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The cloudComposerNetworkIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setCloudComposerNetworkIpv4CidrBlock( - java.lang.String value) { + public Builder setCloudComposerNetworkIpv4CidrBlock(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + cloudComposerNetworkIpv4CidrBlock_ = value; onChanged(); return this; } /** + * + * *
              * Optional. The CIDR block from which IP range for Cloud Composer Network in tenant
              * project will be reserved. Needs to be disjoint from
        @@ -1473,16 +1709,22 @@ public Builder setCloudComposerNetworkIpv4CidrBlock(
              * composer-2.*.*-airflow-*.*.* and newer.
              * 
        * - * string cloud_composer_network_ipv4_cidr_block = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * string cloud_composer_network_ipv4_cidr_block = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearCloudComposerNetworkIpv4CidrBlock() { - - cloudComposerNetworkIpv4CidrBlock_ = getDefaultInstance().getCloudComposerNetworkIpv4CidrBlock(); + + cloudComposerNetworkIpv4CidrBlock_ = + getDefaultInstance().getCloudComposerNetworkIpv4CidrBlock(); onChanged(); return this; } /** + * + * *
              * Optional. The CIDR block from which IP range for Cloud Composer Network in tenant
              * project will be reserved. Needs to be disjoint from
        @@ -1492,17 +1734,19 @@ public Builder clearCloudComposerNetworkIpv4CidrBlock() {
              * composer-2.*.*-airflow-*.*.* and newer.
              * 
        * - * string cloud_composer_network_ipv4_cidr_block = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * string cloud_composer_network_ipv4_cidr_block = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The bytes for cloudComposerNetworkIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setCloudComposerNetworkIpv4CidrBlockBytes( - com.google.protobuf.ByteString value) { + public Builder setCloudComposerNetworkIpv4CidrBlockBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + cloudComposerNetworkIpv4CidrBlock_ = value; onChanged(); return this; @@ -1510,20 +1754,24 @@ public Builder setCloudComposerNetworkIpv4CidrBlockBytes( private java.lang.Object cloudComposerNetworkIpv4ReservedRange_ = ""; /** + * + * *
              * Output only. The IP range reserved for the tenant project's Cloud Composer network.
              * This field is supported for Cloud Composer environments in versions
              * composer-2.*.*-airflow-*.*.* and newer.
              * 
        * - * string cloud_composer_network_ipv4_reserved_range = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string cloud_composer_network_ipv4_reserved_range = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The cloudComposerNetworkIpv4ReservedRange. */ public java.lang.String getCloudComposerNetworkIpv4ReservedRange() { java.lang.Object ref = cloudComposerNetworkIpv4ReservedRange_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cloudComposerNetworkIpv4ReservedRange_ = s; return s; @@ -1532,22 +1780,25 @@ public java.lang.String getCloudComposerNetworkIpv4ReservedRange() { } } /** + * + * *
              * Output only. The IP range reserved for the tenant project's Cloud Composer network.
              * This field is supported for Cloud Composer environments in versions
              * composer-2.*.*-airflow-*.*.* and newer.
              * 
        * - * string cloud_composer_network_ipv4_reserved_range = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string cloud_composer_network_ipv4_reserved_range = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bytes for cloudComposerNetworkIpv4ReservedRange. */ - public com.google.protobuf.ByteString - getCloudComposerNetworkIpv4ReservedRangeBytes() { + public com.google.protobuf.ByteString getCloudComposerNetworkIpv4ReservedRangeBytes() { java.lang.Object ref = cloudComposerNetworkIpv4ReservedRange_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); cloudComposerNetworkIpv4ReservedRange_ = b; return b; } else { @@ -1555,67 +1806,82 @@ public java.lang.String getCloudComposerNetworkIpv4ReservedRange() { } } /** + * + * *
              * Output only. The IP range reserved for the tenant project's Cloud Composer network.
              * This field is supported for Cloud Composer environments in versions
              * composer-2.*.*-airflow-*.*.* and newer.
              * 
        * - * string cloud_composer_network_ipv4_reserved_range = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string cloud_composer_network_ipv4_reserved_range = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The cloudComposerNetworkIpv4ReservedRange to set. * @return This builder for chaining. */ - public Builder setCloudComposerNetworkIpv4ReservedRange( - java.lang.String value) { + public Builder setCloudComposerNetworkIpv4ReservedRange(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + cloudComposerNetworkIpv4ReservedRange_ = value; onChanged(); return this; } /** + * + * *
              * Output only. The IP range reserved for the tenant project's Cloud Composer network.
              * This field is supported for Cloud Composer environments in versions
              * composer-2.*.*-airflow-*.*.* and newer.
              * 
        * - * string cloud_composer_network_ipv4_reserved_range = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string cloud_composer_network_ipv4_reserved_range = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearCloudComposerNetworkIpv4ReservedRange() { - - cloudComposerNetworkIpv4ReservedRange_ = getDefaultInstance().getCloudComposerNetworkIpv4ReservedRange(); + + cloudComposerNetworkIpv4ReservedRange_ = + getDefaultInstance().getCloudComposerNetworkIpv4ReservedRange(); onChanged(); return this; } /** + * + * *
              * Output only. The IP range reserved for the tenant project's Cloud Composer network.
              * This field is supported for Cloud Composer environments in versions
              * composer-2.*.*-airflow-*.*.* and newer.
              * 
        * - * string cloud_composer_network_ipv4_reserved_range = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string cloud_composer_network_ipv4_reserved_range = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The bytes for cloudComposerNetworkIpv4ReservedRange to set. * @return This builder for chaining. */ public Builder setCloudComposerNetworkIpv4ReservedRangeBytes( com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + cloudComposerNetworkIpv4ReservedRange_ = 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); } @@ -1625,30 +1891,34 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig) - private static final com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig DEFAULT_INSTANCE; + private static final com.google.cloud.orchestration.airflow.service.v1beta1 + .PrivateEnvironmentConfig + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig(); + DEFAULT_INSTANCE = + new com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig(); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PrivateEnvironmentConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PrivateEnvironmentConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PrivateEnvironmentConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PrivateEnvironmentConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1660,9 +1930,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateEnvironmentConfigOrBuilder.java b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateEnvironmentConfigOrBuilder.java similarity index 67% rename from owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateEnvironmentConfigOrBuilder.java rename to proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateEnvironmentConfigOrBuilder.java index da12153c..f1c900ca 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateEnvironmentConfigOrBuilder.java +++ b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateEnvironmentConfigOrBuilder.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/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; -public interface PrivateEnvironmentConfigOrBuilder extends +public interface PrivateEnvironmentConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
            * Optional. If `true`, a Private IP Cloud Composer environment is created.
            * If this field is set to true, `IPAllocationPolicy.use_ip_aliases` must be
        @@ -15,41 +33,60 @@ public interface PrivateEnvironmentConfigOrBuilder extends
            * 
        * * bool enable_private_environment = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The enablePrivateEnvironment. */ boolean getEnablePrivateEnvironment(); /** + * + * *
            * Optional. Configuration for the private GKE cluster for a Private IP
            * Cloud Composer environment.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the privateClusterConfig field is set. */ boolean hasPrivateClusterConfig(); /** + * + * *
            * Optional. Configuration for the private GKE cluster for a Private IP
            * Cloud Composer environment.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The privateClusterConfig. */ - com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig getPrivateClusterConfig(); + com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig + getPrivateClusterConfig(); /** + * + * *
            * Optional. Configuration for the private GKE cluster for a Private IP
            * Cloud Composer environment.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfigOrBuilder getPrivateClusterConfigOrBuilder(); + com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfigOrBuilder + getPrivateClusterConfigOrBuilder(); /** + * + * *
            * Optional. The CIDR block from which IP range for web server will be reserved. Needs
            * to be disjoint from private_cluster_config.master_ipv4_cidr_block and
        @@ -57,10 +94,13 @@ public interface PrivateEnvironmentConfigOrBuilder extends
            * 
        * * string web_server_ipv4_cidr_block = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The webServerIpv4CidrBlock. */ java.lang.String getWebServerIpv4CidrBlock(); /** + * + * *
            * Optional. The CIDR block from which IP range for web server will be reserved. Needs
            * to be disjoint from private_cluster_config.master_ipv4_cidr_block and
        @@ -68,54 +108,68 @@ public interface PrivateEnvironmentConfigOrBuilder extends
            * 
        * * string web_server_ipv4_cidr_block = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for webServerIpv4CidrBlock. */ - com.google.protobuf.ByteString - getWebServerIpv4CidrBlockBytes(); + com.google.protobuf.ByteString getWebServerIpv4CidrBlockBytes(); /** + * + * *
            * Optional. The CIDR block from which IP range in tenant project will be reserved for
            * Cloud SQL. Needs to be disjoint from web_server_ipv4_cidr_block
            * 
        * * string cloud_sql_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The cloudSqlIpv4CidrBlock. */ java.lang.String getCloudSqlIpv4CidrBlock(); /** + * + * *
            * Optional. The CIDR block from which IP range in tenant project will be reserved for
            * Cloud SQL. Needs to be disjoint from web_server_ipv4_cidr_block
            * 
        * * string cloud_sql_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for cloudSqlIpv4CidrBlock. */ - com.google.protobuf.ByteString - getCloudSqlIpv4CidrBlockBytes(); + com.google.protobuf.ByteString getCloudSqlIpv4CidrBlockBytes(); /** + * + * *
            * Output only. The IP range reserved for the tenant project's App Engine VMs.
            * 
        * - * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The webServerIpv4ReservedRange. */ java.lang.String getWebServerIpv4ReservedRange(); /** + * + * *
            * Output only. The IP range reserved for the tenant project's App Engine VMs.
            * 
        * - * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bytes for webServerIpv4ReservedRange. */ - com.google.protobuf.ByteString - getWebServerIpv4ReservedRangeBytes(); + com.google.protobuf.ByteString getWebServerIpv4ReservedRangeBytes(); /** + * + * *
            * Optional. The CIDR block from which IP range for Cloud Composer Network in tenant
            * project will be reserved. Needs to be disjoint from
        @@ -125,11 +179,16 @@ public interface PrivateEnvironmentConfigOrBuilder extends
            * composer-2.*.*-airflow-*.*.* and newer.
            * 
        * - * string cloud_composer_network_ipv4_cidr_block = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * string cloud_composer_network_ipv4_cidr_block = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The cloudComposerNetworkIpv4CidrBlock. */ java.lang.String getCloudComposerNetworkIpv4CidrBlock(); /** + * + * *
            * Optional. The CIDR block from which IP range for Cloud Composer Network in tenant
            * project will be reserved. Needs to be disjoint from
        @@ -139,33 +198,44 @@ public interface PrivateEnvironmentConfigOrBuilder extends
            * composer-2.*.*-airflow-*.*.* and newer.
            * 
        * - * string cloud_composer_network_ipv4_cidr_block = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * string cloud_composer_network_ipv4_cidr_block = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The bytes for cloudComposerNetworkIpv4CidrBlock. */ - com.google.protobuf.ByteString - getCloudComposerNetworkIpv4CidrBlockBytes(); + com.google.protobuf.ByteString getCloudComposerNetworkIpv4CidrBlockBytes(); /** + * + * *
            * Output only. The IP range reserved for the tenant project's Cloud Composer network.
            * This field is supported for Cloud Composer environments in versions
            * composer-2.*.*-airflow-*.*.* and newer.
            * 
        * - * string cloud_composer_network_ipv4_reserved_range = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string cloud_composer_network_ipv4_reserved_range = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The cloudComposerNetworkIpv4ReservedRange. */ java.lang.String getCloudComposerNetworkIpv4ReservedRange(); /** + * + * *
            * Output only. The IP range reserved for the tenant project's Cloud Composer network.
            * This field is supported for Cloud Composer environments in versions
            * composer-2.*.*-airflow-*.*.* and newer.
            * 
        * - * string cloud_composer_network_ipv4_reserved_range = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string cloud_composer_network_ipv4_reserved_range = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bytes for cloudComposerNetworkIpv4ReservedRange. */ - com.google.protobuf.ByteString - getCloudComposerNetworkIpv4ReservedRangeBytes(); + com.google.protobuf.ByteString getCloudComposerNetworkIpv4ReservedRangeBytes(); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/RestartWebServerRequest.java b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/RestartWebServerRequest.java similarity index 58% rename from owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/RestartWebServerRequest.java rename to proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/RestartWebServerRequest.java index 9776c088..1cffa837 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/RestartWebServerRequest.java +++ b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/RestartWebServerRequest.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/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; /** + * + * *
          * Restart Airflow web server.
          * 
        * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest} */ -public final class RestartWebServerRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RestartWebServerRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest) RestartWebServerRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RestartWebServerRequest.newBuilder() to construct. private RestartWebServerRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RestartWebServerRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RestartWebServerRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private RestartWebServerRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private RestartWebServerRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,29 +91,34 @@ private RestartWebServerRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_RestartWebServerRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_RestartWebServerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_RestartWebServerRequest_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_RestartWebServerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest.class, com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest.Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest.class, + com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest.Builder + .class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
            * The resource name of the environment to restart the web server for, in the
            * form:
        @@ -103,6 +126,7 @@ private RestartWebServerRequest(
            * 
        * * string name = 1; + * * @return The name. */ @java.lang.Override @@ -111,14 +135,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; } } /** + * + * *
            * The resource name of the environment to restart the web server for, in the
            * form:
        @@ -126,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 { @@ -144,6 +168,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -155,8 +180,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -180,15 +204,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest)) { + if (!(obj + instanceof + com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest other = (com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest) obj; + com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest other = + (com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -207,135 +233,153 @@ public int hashCode() { return hash; } - public static com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest 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.orchestration.airflow.service.v1beta1.RestartWebServerRequest + 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.orchestration.airflow.service.v1beta1.RestartWebServerRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
            * Restart Airflow web server.
            * 
        * - * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest} + * Protobuf type {@code + * google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest) com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_RestartWebServerRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_RestartWebServerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_RestartWebServerRequest_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_RestartWebServerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest.class, com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest.Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest.class, + com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest.Builder + .class); } - // Construct using com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest.newBuilder() + // Construct using + // com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -345,19 +389,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_RestartWebServerRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_RestartWebServerRequest_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest.getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest + getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest build() { - com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest result = buildPartial(); + com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -365,8 +412,10 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRe } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest buildPartial() { - com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest result = new com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest(this); + public com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest + buildPartial() { + com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest result = + new com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest(this); result.name_ = name_; onBuilt(); return result; @@ -376,46 +425,53 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRe public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest) { - return mergeFrom((com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest)other); + if (other + instanceof + com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest) { + return mergeFrom( + (com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest other) { - if (other == com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest other) { + if (other + == com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,11 +491,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest parsedMessage = null; + com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -451,6 +510,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
              * The resource name of the environment to restart the web server for, in the
              * form:
        @@ -458,13 +519,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; @@ -473,6 +534,8 @@ public java.lang.String getName() { } } /** + * + * *
              * The resource name of the environment to restart the web server for, in the
              * form:
        @@ -480,15 +543,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 { @@ -496,6 +558,8 @@ public java.lang.String getName() { } } /** + * + * *
              * The resource name of the environment to restart the web server for, in the
              * form:
        @@ -503,20 +567,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; } /** + * + * *
              * The resource name of the environment to restart the web server for, in the
              * form:
        @@ -524,15 +590,18 @@ public Builder setName(
              * 
        * * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
              * The resource name of the environment to restart the web server for, in the
              * form:
        @@ -540,23 +609,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); } @@ -566,30 +635,34 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest) - private static final com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest DEFAULT_INSTANCE; + private static final com.google.cloud.orchestration.airflow.service.v1beta1 + .RestartWebServerRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest(); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RestartWebServerRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RestartWebServerRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RestartWebServerRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RestartWebServerRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -601,9 +674,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/RestartWebServerRequestOrBuilder.java b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/RestartWebServerRequestOrBuilder.java similarity index 56% rename from owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/RestartWebServerRequestOrBuilder.java rename to proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/RestartWebServerRequestOrBuilder.java index 8182262e..29c80df5 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/RestartWebServerRequestOrBuilder.java +++ b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/RestartWebServerRequestOrBuilder.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/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; -public interface RestartWebServerRequestOrBuilder extends +public interface RestartWebServerRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1beta1.RestartWebServerRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
            * The resource name of the environment to restart the web server for, in the
            * form:
        @@ -15,10 +33,13 @@ public interface RestartWebServerRequestOrBuilder extends
            * 
        * * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
            * The resource name of the environment to restart the web server for, in the
            * form:
        @@ -26,8 +47,8 @@ public interface RestartWebServerRequestOrBuilder extends
            * 
        * * 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-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/SoftwareConfig.java b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/SoftwareConfig.java similarity index 71% rename from owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/SoftwareConfig.java rename to proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/SoftwareConfig.java index c76b1d31..5b292699 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/SoftwareConfig.java +++ b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/SoftwareConfig.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/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; /** + * + * *
          * Specifies the selection and configuration of software inside the environment.
          * 
        * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig} */ -public final class SoftwareConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SoftwareConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig) SoftwareConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SoftwareConfig.newBuilder() to construct. private SoftwareConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SoftwareConfig() { imageVersion_ = ""; pythonVersion_ = ""; @@ -26,16 +44,15 @@ private SoftwareConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SoftwareConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private SoftwareConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,64 +72,75 @@ private SoftwareConfig( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - imageVersion_ = s; - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - airflowConfigOverrides_ = com.google.protobuf.MapField.newMapField( - AirflowConfigOverridesDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; + imageVersion_ = s; + break; } - com.google.protobuf.MapEntry - airflowConfigOverrides__ = input.readMessage( - AirflowConfigOverridesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - airflowConfigOverrides_.getMutableMap().put( - airflowConfigOverrides__.getKey(), airflowConfigOverrides__.getValue()); - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - pypiPackages_ = com.google.protobuf.MapField.newMapField( - PypiPackagesDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000002; + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + airflowConfigOverrides_ = + com.google.protobuf.MapField.newMapField( + AirflowConfigOverridesDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; + } + com.google.protobuf.MapEntry + airflowConfigOverrides__ = + input.readMessage( + AirflowConfigOverridesDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + airflowConfigOverrides_ + .getMutableMap() + .put(airflowConfigOverrides__.getKey(), airflowConfigOverrides__.getValue()); + break; } - com.google.protobuf.MapEntry - pypiPackages__ = input.readMessage( - PypiPackagesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - pypiPackages_.getMutableMap().put( - pypiPackages__.getKey(), pypiPackages__.getValue()); - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - envVariables_ = com.google.protobuf.MapField.newMapField( - EnvVariablesDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000004; + case 26: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + pypiPackages_ = + com.google.protobuf.MapField.newMapField( + PypiPackagesDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000002; + } + com.google.protobuf.MapEntry pypiPackages__ = + input.readMessage( + PypiPackagesDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + pypiPackages_.getMutableMap().put(pypiPackages__.getKey(), pypiPackages__.getValue()); + break; } - com.google.protobuf.MapEntry - envVariables__ = input.readMessage( - EnvVariablesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - envVariables_.getMutableMap().put( - envVariables__.getKey(), envVariables__.getValue()); - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); + case 34: + { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + envVariables_ = + com.google.protobuf.MapField.newMapField( + EnvVariablesDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000004; + } + com.google.protobuf.MapEntry envVariables__ = + input.readMessage( + EnvVariablesDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + envVariables_.getMutableMap().put(envVariables__.getKey(), envVariables__.getValue()); + break; + } + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); - pythonVersion_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pythonVersion_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,22 +148,21 @@ private SoftwareConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 2: return internalGetAirflowConfigOverrides(); @@ -144,21 +171,25 @@ protected com.google.protobuf.MapField internalGetMapField( case 4: return internalGetEnvVariables(); 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.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig.class, com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig.Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig.class, + com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig.Builder.class); } public static final int IMAGE_VERSION_FIELD_NUMBER = 1; private volatile java.lang.Object imageVersion_; /** + * + * *
            * The version of the software running in the environment.
            * This encapsulates both the version of Cloud Composer functionality and the
        @@ -180,6 +211,7 @@ protected com.google.protobuf.MapField internalGetMapField(
            * 
        * * string image_version = 1; + * * @return The imageVersion. */ @java.lang.Override @@ -188,14 +220,15 @@ public java.lang.String getImageVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageVersion_ = s; return s; } } /** + * + * *
            * The version of the software running in the environment.
            * This encapsulates both the version of Cloud Composer functionality and the
        @@ -217,16 +250,15 @@ public java.lang.String getImageVersion() {
            * 
        * * string image_version = 1; + * * @return The bytes for imageVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getImageVersionBytes() { + public com.google.protobuf.ByteString getImageVersionBytes() { java.lang.Object ref = imageVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); imageVersion_ = b; return b; } else { @@ -235,21 +267,22 @@ public java.lang.String getImageVersion() { } public static final int AIRFLOW_CONFIG_OVERRIDES_FIELD_NUMBER = 2; + private static final class AirflowConfigOverridesDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_AirflowConfigOverridesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> airflowConfigOverrides_; + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_AirflowConfigOverridesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + + private com.google.protobuf.MapField airflowConfigOverrides_; + private com.google.protobuf.MapField - internalGetAirflowConfigOverrides() { + internalGetAirflowConfigOverrides() { if (airflowConfigOverrides_ == null) { return com.google.protobuf.MapField.emptyMapField( AirflowConfigOverridesDefaultEntryHolder.defaultEntry); @@ -261,6 +294,8 @@ public int getAirflowConfigOverridesCount() { return internalGetAirflowConfigOverrides().getMap().size(); } /** + * + * *
            * Optional. Apache Airflow configuration properties to override.
            * Property keys contain the section and property names, separated by a
        @@ -277,24 +312,26 @@ public int getAirflowConfigOverridesCount() {
            * and cannot be overridden.
            * 
        * - * map<string, string> airflow_config_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, string> airflow_config_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - @java.lang.Override - public boolean containsAirflowConfigOverrides( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsAirflowConfigOverrides(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetAirflowConfigOverrides().getMap().containsKey(key); } - /** - * Use {@link #getAirflowConfigOverridesMap()} instead. - */ + /** Use {@link #getAirflowConfigOverridesMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAirflowConfigOverrides() { return getAirflowConfigOverridesMap(); } /** + * + * *
            * Optional. Apache Airflow configuration properties to override.
            * Property keys contain the section and property names, separated by a
        @@ -311,14 +348,17 @@ public java.util.Map getAirflowConfigOverrid
            * and cannot be overridden.
            * 
        * - * map<string, string> airflow_config_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, string> airflow_config_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.Map getAirflowConfigOverridesMap() { return internalGetAirflowConfigOverrides().getMap(); } /** + * + * *
            * Optional. Apache Airflow configuration properties to override.
            * Property keys contain the section and property names, separated by a
        @@ -335,19 +375,23 @@ public java.util.Map getAirflowConfigOverrid
            * and cannot be overridden.
            * 
        * - * map<string, string> airflow_config_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, string> airflow_config_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.lang.String getAirflowConfigOverridesOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } + java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetAirflowConfigOverrides().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
            * Optional. Apache Airflow configuration properties to override.
            * Property keys contain the section and property names, separated by a
        @@ -364,13 +408,15 @@ public java.lang.String getAirflowConfigOverridesOrDefault(
            * and cannot be overridden.
            * 
        * - * map<string, string> airflow_config_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, string> airflow_config_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - - public java.lang.String getAirflowConfigOverridesOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public java.lang.String getAirflowConfigOverridesOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetAirflowConfigOverrides().getMap(); if (!map.containsKey(key)) { @@ -380,21 +426,22 @@ public java.lang.String getAirflowConfigOverridesOrThrow( } public static final int PYPI_PACKAGES_FIELD_NUMBER = 3; + private static final class PypiPackagesDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_PypiPackagesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> pypiPackages_; + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_PypiPackagesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + + private com.google.protobuf.MapField pypiPackages_; + private com.google.protobuf.MapField - internalGetPypiPackages() { + internalGetPypiPackages() { if (pypiPackages_ == null) { return com.google.protobuf.MapField.emptyMapField( PypiPackagesDefaultEntryHolder.defaultEntry); @@ -406,6 +453,8 @@ public int getPypiPackagesCount() { return internalGetPypiPackages().getMap().size(); } /** + * + * *
            * Optional. Custom Python Package Index (PyPI) packages to be installed in
            * the environment.
        @@ -416,24 +465,25 @@ public int getPypiPackagesCount() {
            * the value.
            * 
        * - * map<string, string> pypi_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> pypi_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - @java.lang.Override - public boolean containsPypiPackages( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsPypiPackages(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetPypiPackages().getMap().containsKey(key); } - /** - * Use {@link #getPypiPackagesMap()} instead. - */ + /** Use {@link #getPypiPackagesMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getPypiPackages() { return getPypiPackagesMap(); } /** + * + * *
            * Optional. Custom Python Package Index (PyPI) packages to be installed in
            * the environment.
        @@ -444,14 +494,16 @@ public java.util.Map getPypiPackages() {
            * the value.
            * 
        * - * map<string, string> pypi_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> pypi_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.Map getPypiPackagesMap() { return internalGetPypiPackages().getMap(); } /** + * + * *
            * Optional. Custom Python Package Index (PyPI) packages to be installed in
            * the environment.
        @@ -462,19 +514,21 @@ public java.util.Map getPypiPackagesMap() {
            * the value.
            * 
        * - * map<string, string> pypi_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> pypi_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.lang.String getPypiPackagesOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetPypiPackages().getMap(); + java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetPypiPackages().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
            * Optional. Custom Python Package Index (PyPI) packages to be installed in
            * the environment.
        @@ -485,15 +539,15 @@ public java.lang.String getPypiPackagesOrDefault(
            * the value.
            * 
        * - * map<string, string> pypi_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> pypi_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - - public java.lang.String getPypiPackagesOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetPypiPackages().getMap(); + public java.lang.String getPypiPackagesOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetPypiPackages().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -501,21 +555,22 @@ public java.lang.String getPypiPackagesOrThrow( } public static final int ENV_VARIABLES_FIELD_NUMBER = 4; + private static final class EnvVariablesDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_EnvVariablesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> envVariables_; + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_EnvVariablesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + + private com.google.protobuf.MapField envVariables_; + private com.google.protobuf.MapField - internalGetEnvVariables() { + internalGetEnvVariables() { if (envVariables_ == null) { return com.google.protobuf.MapField.emptyMapField( EnvVariablesDefaultEntryHolder.defaultEntry); @@ -527,6 +582,8 @@ public int getEnvVariablesCount() { return internalGetEnvVariables().getMap().size(); } /** + * + * *
            * Optional. Additional environment variables to provide to the Apache Airflow
            * scheduler, worker, and webserver processes.
        @@ -550,24 +607,25 @@ public int getEnvVariablesCount() {
            * * `SQL_USER`
            * 
        * - * map<string, string> env_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> env_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - @java.lang.Override - public boolean containsEnvVariables( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsEnvVariables(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetEnvVariables().getMap().containsKey(key); } - /** - * Use {@link #getEnvVariablesMap()} instead. - */ + /** Use {@link #getEnvVariablesMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getEnvVariables() { return getEnvVariablesMap(); } /** + * + * *
            * Optional. Additional environment variables to provide to the Apache Airflow
            * scheduler, worker, and webserver processes.
        @@ -591,14 +649,16 @@ public java.util.Map getEnvVariables() {
            * * `SQL_USER`
            * 
        * - * map<string, string> env_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> env_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.Map getEnvVariablesMap() { return internalGetEnvVariables().getMap(); } /** + * + * *
            * Optional. Additional environment variables to provide to the Apache Airflow
            * scheduler, worker, and webserver processes.
        @@ -622,19 +682,21 @@ public java.util.Map getEnvVariablesMap() {
            * * `SQL_USER`
            * 
        * - * map<string, string> env_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> env_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.lang.String getEnvVariablesOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetEnvVariables().getMap(); + java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetEnvVariables().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
            * Optional. Additional environment variables to provide to the Apache Airflow
            * scheduler, worker, and webserver processes.
        @@ -658,15 +720,15 @@ public java.lang.String getEnvVariablesOrDefault(
            * * `SQL_USER`
            * 
        * - * map<string, string> env_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> env_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - - public java.lang.String getEnvVariablesOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetEnvVariables().getMap(); + public java.lang.String getEnvVariablesOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetEnvVariables().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -676,6 +738,8 @@ public java.lang.String getEnvVariablesOrThrow( public static final int PYTHON_VERSION_FIELD_NUMBER = 6; private volatile java.lang.Object pythonVersion_; /** + * + * *
            * Optional. The major version of Python used to run the Apache Airflow
            * scheduler, worker, and webserver processes.
        @@ -684,6 +748,7 @@ public java.lang.String getEnvVariablesOrThrow(
            * 
        * * string python_version = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pythonVersion. */ @java.lang.Override @@ -692,14 +757,15 @@ public java.lang.String getPythonVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pythonVersion_ = s; return s; } } /** + * + * *
            * Optional. The major version of Python used to run the Apache Airflow
            * scheduler, worker, and webserver processes.
        @@ -708,16 +774,15 @@ public java.lang.String getPythonVersion() {
            * 
        * * string python_version = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pythonVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getPythonVersionBytes() { + public com.google.protobuf.ByteString getPythonVersionBytes() { java.lang.Object ref = pythonVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pythonVersion_ = b; return b; } else { @@ -726,6 +791,7 @@ public java.lang.String getPythonVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -737,29 +803,19 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageVersion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, imageVersion_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( output, internalGetAirflowConfigOverrides(), AirflowConfigOverridesDefaultEntryHolder.defaultEntry, 2); - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetPypiPackages(), - PypiPackagesDefaultEntryHolder.defaultEntry, - 3); - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetEnvVariables(), - EnvVariablesDefaultEntryHolder.defaultEntry, - 4); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetPypiPackages(), PypiPackagesDefaultEntryHolder.defaultEntry, 3); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetEnvVariables(), EnvVariablesDefaultEntryHolder.defaultEntry, 4); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pythonVersion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, pythonVersion_); } @@ -775,35 +831,35 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, imageVersion_); } - for (java.util.Map.Entry entry - : internalGetAirflowConfigOverrides().getMap().entrySet()) { - com.google.protobuf.MapEntry - airflowConfigOverrides__ = AirflowConfigOverridesDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, airflowConfigOverrides__); - } - for (java.util.Map.Entry entry - : internalGetPypiPackages().getMap().entrySet()) { - com.google.protobuf.MapEntry - pypiPackages__ = PypiPackagesDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, pypiPackages__); - } - for (java.util.Map.Entry entry - : internalGetEnvVariables().getMap().entrySet()) { - com.google.protobuf.MapEntry - envVariables__ = EnvVariablesDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, envVariables__); + for (java.util.Map.Entry entry : + internalGetAirflowConfigOverrides().getMap().entrySet()) { + com.google.protobuf.MapEntry airflowConfigOverrides__ = + AirflowConfigOverridesDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, airflowConfigOverrides__); + } + for (java.util.Map.Entry entry : + internalGetPypiPackages().getMap().entrySet()) { + com.google.protobuf.MapEntry pypiPackages__ = + PypiPackagesDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, pypiPackages__); + } + for (java.util.Map.Entry entry : + internalGetEnvVariables().getMap().entrySet()) { + com.google.protobuf.MapEntry envVariables__ = + EnvVariablesDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, envVariables__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pythonVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, pythonVersion_); @@ -816,23 +872,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig other = (com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig) obj; - - if (!getImageVersion() - .equals(other.getImageVersion())) return false; - if (!internalGetAirflowConfigOverrides().equals( - other.internalGetAirflowConfigOverrides())) return false; - if (!internalGetPypiPackages().equals( - other.internalGetPypiPackages())) return false; - if (!internalGetEnvVariables().equals( - other.internalGetEnvVariables())) return false; - if (!getPythonVersion() - .equals(other.getPythonVersion())) return false; + com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig other = + (com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig) obj; + + if (!getImageVersion().equals(other.getImageVersion())) return false; + if (!internalGetAirflowConfigOverrides().equals(other.internalGetAirflowConfigOverrides())) + return false; + if (!internalGetPypiPackages().equals(other.internalGetPypiPackages())) return false; + if (!internalGetEnvVariables().equals(other.internalGetEnvVariables())) return false; + if (!getPythonVersion().equals(other.getPythonVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -866,114 +919,122 @@ public int hashCode() { } public static com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig 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.orchestration.airflow.service.v1beta1.SoftwareConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig 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.orchestration.airflow.service.v1beta1.SoftwareConfig + 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.orchestration.airflow.service.v1beta1.SoftwareConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
            * Specifies the selection and configuration of software inside the environment.
            * 
        * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig) com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 2: return internalGetAirflowConfigOverrides(); @@ -982,13 +1043,12 @@ protected com.google.protobuf.MapField internalGetMapField( case 4: return internalGetEnvVariables(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { case 2: return internalGetMutableAirflowConfigOverrides(); @@ -997,33 +1057,35 @@ protected com.google.protobuf.MapField internalGetMutableMapField( case 4: return internalGetMutableEnvVariables(); 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.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig.class, com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig.Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig.class, + com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig.Builder.class); } - // Construct using com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig.newBuilder() + // Construct using + // com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1038,14 +1100,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_SoftwareConfig_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig.getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig + getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig + .getDefaultInstance(); } @java.lang.Override @@ -1059,7 +1123,8 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig bui @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig buildPartial() { - com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig result = new com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig(this); + com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig result = + new com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig(this); int from_bitField0_ = bitField0_; result.imageVersion_ = imageVersion_; result.airflowConfigOverrides_ = internalGetAirflowConfigOverrides(); @@ -1077,56 +1142,59 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig bui public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig) { - return mergeFrom((com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig)other); + return mergeFrom( + (com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig other) { - if (other == com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig other) { + if (other + == com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig + .getDefaultInstance()) return this; if (!other.getImageVersion().isEmpty()) { imageVersion_ = other.imageVersion_; onChanged(); } - internalGetMutableAirflowConfigOverrides().mergeFrom( - other.internalGetAirflowConfigOverrides()); - internalGetMutablePypiPackages().mergeFrom( - other.internalGetPypiPackages()); - internalGetMutableEnvVariables().mergeFrom( - other.internalGetEnvVariables()); + internalGetMutableAirflowConfigOverrides() + .mergeFrom(other.internalGetAirflowConfigOverrides()); + internalGetMutablePypiPackages().mergeFrom(other.internalGetPypiPackages()); + internalGetMutableEnvVariables().mergeFrom(other.internalGetEnvVariables()); if (!other.getPythonVersion().isEmpty()) { pythonVersion_ = other.pythonVersion_; onChanged(); @@ -1150,7 +1218,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1159,10 +1229,13 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object imageVersion_ = ""; /** + * + * *
              * The version of the software running in the environment.
              * This encapsulates both the version of Cloud Composer functionality and the
        @@ -1184,13 +1257,13 @@ public Builder mergeFrom(
              * 
        * * string image_version = 1; + * * @return The imageVersion. */ public java.lang.String getImageVersion() { java.lang.Object ref = imageVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageVersion_ = s; return s; @@ -1199,6 +1272,8 @@ public java.lang.String getImageVersion() { } } /** + * + * *
              * The version of the software running in the environment.
              * This encapsulates both the version of Cloud Composer functionality and the
        @@ -1220,15 +1295,14 @@ public java.lang.String getImageVersion() {
              * 
        * * string image_version = 1; + * * @return The bytes for imageVersion. */ - public com.google.protobuf.ByteString - getImageVersionBytes() { + public com.google.protobuf.ByteString getImageVersionBytes() { java.lang.Object ref = imageVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); imageVersion_ = b; return b; } else { @@ -1236,6 +1310,8 @@ public java.lang.String getImageVersion() { } } /** + * + * *
              * The version of the software running in the environment.
              * This encapsulates both the version of Cloud Composer functionality and the
        @@ -1257,20 +1333,22 @@ public java.lang.String getImageVersion() {
              * 
        * * string image_version = 1; + * * @param value The imageVersion to set. * @return This builder for chaining. */ - public Builder setImageVersion( - java.lang.String value) { + public Builder setImageVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + imageVersion_ = value; onChanged(); return this; } /** + * + * *
              * The version of the software running in the environment.
              * This encapsulates both the version of Cloud Composer functionality and the
        @@ -1292,15 +1370,18 @@ public Builder setImageVersion(
              * 
        * * string image_version = 1; + * * @return This builder for chaining. */ public Builder clearImageVersion() { - + imageVersion_ = getDefaultInstance().getImageVersion(); onChanged(); return this; } /** + * + * *
              * The version of the software running in the environment.
              * This encapsulates both the version of Cloud Composer functionality and the
        @@ -1322,37 +1403,41 @@ public Builder clearImageVersion() {
              * 
        * * string image_version = 1; + * * @param value The bytes for imageVersion to set. * @return This builder for chaining. */ - public Builder setImageVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setImageVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + imageVersion_ = value; onChanged(); return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> airflowConfigOverrides_; private com.google.protobuf.MapField - internalGetAirflowConfigOverrides() { + airflowConfigOverrides_; + + private com.google.protobuf.MapField + internalGetAirflowConfigOverrides() { if (airflowConfigOverrides_ == null) { return com.google.protobuf.MapField.emptyMapField( AirflowConfigOverridesDefaultEntryHolder.defaultEntry); } return airflowConfigOverrides_; } + private com.google.protobuf.MapField - internalGetMutableAirflowConfigOverrides() { - onChanged();; + internalGetMutableAirflowConfigOverrides() { + onChanged(); + ; if (airflowConfigOverrides_ == null) { - airflowConfigOverrides_ = com.google.protobuf.MapField.newMapField( - AirflowConfigOverridesDefaultEntryHolder.defaultEntry); + airflowConfigOverrides_ = + com.google.protobuf.MapField.newMapField( + AirflowConfigOverridesDefaultEntryHolder.defaultEntry); } if (!airflowConfigOverrides_.isMutable()) { airflowConfigOverrides_ = airflowConfigOverrides_.copy(); @@ -1364,6 +1449,8 @@ public int getAirflowConfigOverridesCount() { return internalGetAirflowConfigOverrides().getMap().size(); } /** + * + * *
              * Optional. Apache Airflow configuration properties to override.
              * Property keys contain the section and property names, separated by a
        @@ -1380,24 +1467,26 @@ public int getAirflowConfigOverridesCount() {
              * and cannot be overridden.
              * 
        * - * map<string, string> airflow_config_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, string> airflow_config_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - @java.lang.Override - public boolean containsAirflowConfigOverrides( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsAirflowConfigOverrides(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetAirflowConfigOverrides().getMap().containsKey(key); } - /** - * Use {@link #getAirflowConfigOverridesMap()} instead. - */ + /** Use {@link #getAirflowConfigOverridesMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAirflowConfigOverrides() { return getAirflowConfigOverridesMap(); } /** + * + * *
              * Optional. Apache Airflow configuration properties to override.
              * Property keys contain the section and property names, separated by a
        @@ -1414,14 +1503,17 @@ public java.util.Map getAirflowConfigOverrid
              * and cannot be overridden.
              * 
        * - * map<string, string> airflow_config_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, string> airflow_config_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.Map getAirflowConfigOverridesMap() { return internalGetAirflowConfigOverrides().getMap(); } /** + * + * *
              * Optional. Apache Airflow configuration properties to override.
              * Property keys contain the section and property names, separated by a
        @@ -1438,19 +1530,23 @@ public java.util.Map getAirflowConfigOverrid
              * and cannot be overridden.
              * 
        * - * map<string, string> airflow_config_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, string> airflow_config_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.lang.String getAirflowConfigOverridesOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } + java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetAirflowConfigOverrides().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
              * Optional. Apache Airflow configuration properties to override.
              * Property keys contain the section and property names, separated by a
        @@ -1467,13 +1563,15 @@ public java.lang.String getAirflowConfigOverridesOrDefault(
              * and cannot be overridden.
              * 
        * - * map<string, string> airflow_config_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, string> airflow_config_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - - public java.lang.String getAirflowConfigOverridesOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public java.lang.String getAirflowConfigOverridesOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetAirflowConfigOverrides().getMap(); if (!map.containsKey(key)) { @@ -1483,11 +1581,12 @@ public java.lang.String getAirflowConfigOverridesOrThrow( } public Builder clearAirflowConfigOverrides() { - internalGetMutableAirflowConfigOverrides().getMutableMap() - .clear(); + internalGetMutableAirflowConfigOverrides().getMutableMap().clear(); return this; } /** + * + * *
              * Optional. Apache Airflow configuration properties to override.
              * Property keys contain the section and property names, separated by a
        @@ -1504,25 +1603,25 @@ public Builder clearAirflowConfigOverrides() {
              * and cannot be overridden.
              * 
        * - * map<string, string> airflow_config_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, string> airflow_config_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - - public Builder removeAirflowConfigOverrides( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableAirflowConfigOverrides().getMutableMap() - .remove(key); + public Builder removeAirflowConfigOverrides(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableAirflowConfigOverrides().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableAirflowConfigOverrides() { + public java.util.Map getMutableAirflowConfigOverrides() { return internalGetMutableAirflowConfigOverrides().getMutableMap(); } /** + * + * *
              * Optional. Apache Airflow configuration properties to override.
              * Property keys contain the section and property names, separated by a
        @@ -1539,21 +1638,24 @@ public Builder removeAirflowConfigOverrides(
              * and cannot be overridden.
              * 
        * - * map<string, string> airflow_config_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, string> airflow_config_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder putAirflowConfigOverrides( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } + public Builder putAirflowConfigOverrides(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } if (value == null) { - throw new NullPointerException("map value"); -} + throw new NullPointerException("map value"); + } - internalGetMutableAirflowConfigOverrides().getMutableMap() - .put(key, value); + internalGetMutableAirflowConfigOverrides().getMutableMap().put(key, value); return this; } /** + * + * *
              * Optional. Apache Airflow configuration properties to override.
              * Property keys contain the section and property names, separated by a
        @@ -1570,32 +1672,34 @@ public Builder putAirflowConfigOverrides(
              * and cannot be overridden.
              * 
        * - * map<string, string> airflow_config_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, string> airflow_config_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder putAllAirflowConfigOverrides( java.util.Map values) { - internalGetMutableAirflowConfigOverrides().getMutableMap() - .putAll(values); + internalGetMutableAirflowConfigOverrides().getMutableMap().putAll(values); return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> pypiPackages_; + private com.google.protobuf.MapField pypiPackages_; + private com.google.protobuf.MapField - internalGetPypiPackages() { + internalGetPypiPackages() { if (pypiPackages_ == null) { return com.google.protobuf.MapField.emptyMapField( PypiPackagesDefaultEntryHolder.defaultEntry); } return pypiPackages_; } + private com.google.protobuf.MapField - internalGetMutablePypiPackages() { - onChanged();; + internalGetMutablePypiPackages() { + onChanged(); + ; if (pypiPackages_ == null) { - pypiPackages_ = com.google.protobuf.MapField.newMapField( - PypiPackagesDefaultEntryHolder.defaultEntry); + pypiPackages_ = + com.google.protobuf.MapField.newMapField(PypiPackagesDefaultEntryHolder.defaultEntry); } if (!pypiPackages_.isMutable()) { pypiPackages_ = pypiPackages_.copy(); @@ -1607,6 +1711,8 @@ public int getPypiPackagesCount() { return internalGetPypiPackages().getMap().size(); } /** + * + * *
              * Optional. Custom Python Package Index (PyPI) packages to be installed in
              * the environment.
        @@ -1617,24 +1723,25 @@ public int getPypiPackagesCount() {
              * the value.
              * 
        * - * map<string, string> pypi_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> pypi_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - @java.lang.Override - public boolean containsPypiPackages( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsPypiPackages(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetPypiPackages().getMap().containsKey(key); } - /** - * Use {@link #getPypiPackagesMap()} instead. - */ + /** Use {@link #getPypiPackagesMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getPypiPackages() { return getPypiPackagesMap(); } /** + * + * *
              * Optional. Custom Python Package Index (PyPI) packages to be installed in
              * the environment.
        @@ -1645,14 +1752,16 @@ public java.util.Map getPypiPackages() {
              * the value.
              * 
        * - * map<string, string> pypi_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> pypi_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.Map getPypiPackagesMap() { return internalGetPypiPackages().getMap(); } /** + * + * *
              * Optional. Custom Python Package Index (PyPI) packages to be installed in
              * the environment.
        @@ -1663,19 +1772,21 @@ public java.util.Map getPypiPackagesMap() {
              * the value.
              * 
        * - * map<string, string> pypi_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> pypi_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.lang.String getPypiPackagesOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetPypiPackages().getMap(); + java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetPypiPackages().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
              * Optional. Custom Python Package Index (PyPI) packages to be installed in
              * the environment.
        @@ -1686,15 +1797,15 @@ public java.lang.String getPypiPackagesOrDefault(
              * the value.
              * 
        * - * map<string, string> pypi_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> pypi_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - - public java.lang.String getPypiPackagesOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetPypiPackages().getMap(); + public java.lang.String getPypiPackagesOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetPypiPackages().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1702,11 +1813,12 @@ public java.lang.String getPypiPackagesOrThrow( } public Builder clearPypiPackages() { - internalGetMutablePypiPackages().getMutableMap() - .clear(); + internalGetMutablePypiPackages().getMutableMap().clear(); return this; } /** + * + * *
              * Optional. Custom Python Package Index (PyPI) packages to be installed in
              * the environment.
        @@ -1717,25 +1829,24 @@ public Builder clearPypiPackages() {
              * the value.
              * 
        * - * map<string, string> pypi_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> pypi_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - - public Builder removePypiPackages( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutablePypiPackages().getMutableMap() - .remove(key); + public Builder removePypiPackages(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutablePypiPackages().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutablePypiPackages() { + public java.util.Map getMutablePypiPackages() { return internalGetMutablePypiPackages().getMutableMap(); } /** + * + * *
              * Optional. Custom Python Package Index (PyPI) packages to be installed in
              * the environment.
        @@ -1746,21 +1857,23 @@ public Builder removePypiPackages(
              * the value.
              * 
        * - * map<string, string> pypi_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> pypi_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder putPypiPackages( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } + public Builder putPypiPackages(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } if (value == null) { - throw new NullPointerException("map value"); -} + throw new NullPointerException("map value"); + } - internalGetMutablePypiPackages().getMutableMap() - .put(key, value); + internalGetMutablePypiPackages().getMutableMap().put(key, value); return this; } /** + * + * *
              * Optional. Custom Python Package Index (PyPI) packages to be installed in
              * the environment.
        @@ -1771,32 +1884,32 @@ public Builder putPypiPackages(
              * the value.
              * 
        * - * map<string, string> pypi_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> pypi_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - - public Builder putAllPypiPackages( - java.util.Map values) { - internalGetMutablePypiPackages().getMutableMap() - .putAll(values); + public Builder putAllPypiPackages(java.util.Map values) { + internalGetMutablePypiPackages().getMutableMap().putAll(values); return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> envVariables_; + private com.google.protobuf.MapField envVariables_; + private com.google.protobuf.MapField - internalGetEnvVariables() { + internalGetEnvVariables() { if (envVariables_ == null) { return com.google.protobuf.MapField.emptyMapField( EnvVariablesDefaultEntryHolder.defaultEntry); } return envVariables_; } + private com.google.protobuf.MapField - internalGetMutableEnvVariables() { - onChanged();; + internalGetMutableEnvVariables() { + onChanged(); + ; if (envVariables_ == null) { - envVariables_ = com.google.protobuf.MapField.newMapField( - EnvVariablesDefaultEntryHolder.defaultEntry); + envVariables_ = + com.google.protobuf.MapField.newMapField(EnvVariablesDefaultEntryHolder.defaultEntry); } if (!envVariables_.isMutable()) { envVariables_ = envVariables_.copy(); @@ -1808,6 +1921,8 @@ public int getEnvVariablesCount() { return internalGetEnvVariables().getMap().size(); } /** + * + * *
              * Optional. Additional environment variables to provide to the Apache Airflow
              * scheduler, worker, and webserver processes.
        @@ -1831,24 +1946,25 @@ public int getEnvVariablesCount() {
              * * `SQL_USER`
              * 
        * - * map<string, string> env_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> env_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - @java.lang.Override - public boolean containsEnvVariables( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsEnvVariables(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetEnvVariables().getMap().containsKey(key); } - /** - * Use {@link #getEnvVariablesMap()} instead. - */ + /** Use {@link #getEnvVariablesMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getEnvVariables() { return getEnvVariablesMap(); } /** + * + * *
              * Optional. Additional environment variables to provide to the Apache Airflow
              * scheduler, worker, and webserver processes.
        @@ -1872,14 +1988,16 @@ public java.util.Map getEnvVariables() {
              * * `SQL_USER`
              * 
        * - * map<string, string> env_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> env_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.Map getEnvVariablesMap() { return internalGetEnvVariables().getMap(); } /** + * + * *
              * Optional. Additional environment variables to provide to the Apache Airflow
              * scheduler, worker, and webserver processes.
        @@ -1903,19 +2021,21 @@ public java.util.Map getEnvVariablesMap() {
              * * `SQL_USER`
              * 
        * - * map<string, string> env_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> env_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.lang.String getEnvVariablesOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetEnvVariables().getMap(); + java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetEnvVariables().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
              * Optional. Additional environment variables to provide to the Apache Airflow
              * scheduler, worker, and webserver processes.
        @@ -1939,15 +2059,15 @@ public java.lang.String getEnvVariablesOrDefault(
              * * `SQL_USER`
              * 
        * - * map<string, string> env_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> env_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - - public java.lang.String getEnvVariablesOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetEnvVariables().getMap(); + public java.lang.String getEnvVariablesOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetEnvVariables().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1955,11 +2075,12 @@ public java.lang.String getEnvVariablesOrThrow( } public Builder clearEnvVariables() { - internalGetMutableEnvVariables().getMutableMap() - .clear(); + internalGetMutableEnvVariables().getMutableMap().clear(); return this; } /** + * + * *
              * Optional. Additional environment variables to provide to the Apache Airflow
              * scheduler, worker, and webserver processes.
        @@ -1983,25 +2104,24 @@ public Builder clearEnvVariables() {
              * * `SQL_USER`
              * 
        * - * map<string, string> env_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> env_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - - public Builder removeEnvVariables( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableEnvVariables().getMutableMap() - .remove(key); + public Builder removeEnvVariables(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableEnvVariables().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableEnvVariables() { + public java.util.Map getMutableEnvVariables() { return internalGetMutableEnvVariables().getMutableMap(); } /** + * + * *
              * Optional. Additional environment variables to provide to the Apache Airflow
              * scheduler, worker, and webserver processes.
        @@ -2025,21 +2145,23 @@ public Builder removeEnvVariables(
              * * `SQL_USER`
              * 
        * - * map<string, string> env_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> env_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder putEnvVariables( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } + public Builder putEnvVariables(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } if (value == null) { - throw new NullPointerException("map value"); -} + throw new NullPointerException("map value"); + } - internalGetMutableEnvVariables().getMutableMap() - .put(key, value); + internalGetMutableEnvVariables().getMutableMap().put(key, value); return this; } /** + * + * *
              * Optional. Additional environment variables to provide to the Apache Airflow
              * scheduler, worker, and webserver processes.
        @@ -2063,18 +2185,18 @@ public Builder putEnvVariables(
              * * `SQL_USER`
              * 
        * - * map<string, string> env_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> env_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - - public Builder putAllEnvVariables( - java.util.Map values) { - internalGetMutableEnvVariables().getMutableMap() - .putAll(values); + public Builder putAllEnvVariables(java.util.Map values) { + internalGetMutableEnvVariables().getMutableMap().putAll(values); return this; } private java.lang.Object pythonVersion_ = ""; /** + * + * *
              * Optional. The major version of Python used to run the Apache Airflow
              * scheduler, worker, and webserver processes.
        @@ -2083,13 +2205,13 @@ public Builder putAllEnvVariables(
              * 
        * * string python_version = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pythonVersion. */ public java.lang.String getPythonVersion() { java.lang.Object ref = pythonVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pythonVersion_ = s; return s; @@ -2098,6 +2220,8 @@ public java.lang.String getPythonVersion() { } } /** + * + * *
              * Optional. The major version of Python used to run the Apache Airflow
              * scheduler, worker, and webserver processes.
        @@ -2106,15 +2230,14 @@ public java.lang.String getPythonVersion() {
              * 
        * * string python_version = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pythonVersion. */ - public com.google.protobuf.ByteString - getPythonVersionBytes() { + public com.google.protobuf.ByteString getPythonVersionBytes() { java.lang.Object ref = pythonVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pythonVersion_ = b; return b; } else { @@ -2122,6 +2245,8 @@ public java.lang.String getPythonVersion() { } } /** + * + * *
              * Optional. The major version of Python used to run the Apache Airflow
              * scheduler, worker, and webserver processes.
        @@ -2130,20 +2255,22 @@ public java.lang.String getPythonVersion() {
              * 
        * * string python_version = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pythonVersion to set. * @return This builder for chaining. */ - public Builder setPythonVersion( - java.lang.String value) { + public Builder setPythonVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pythonVersion_ = value; onChanged(); return this; } /** + * + * *
              * Optional. The major version of Python used to run the Apache Airflow
              * scheduler, worker, and webserver processes.
        @@ -2152,15 +2279,18 @@ public Builder setPythonVersion(
              * 
        * * string python_version = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPythonVersion() { - + pythonVersion_ = getDefaultInstance().getPythonVersion(); onChanged(); return this; } /** + * + * *
              * Optional. The major version of Python used to run the Apache Airflow
              * scheduler, worker, and webserver processes.
        @@ -2169,23 +2299,23 @@ public Builder clearPythonVersion() {
              * 
        * * string python_version = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for pythonVersion to set. * @return This builder for chaining. */ - public Builder setPythonVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setPythonVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pythonVersion_ = 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); } @@ -2195,30 +2325,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig) - private static final com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig DEFAULT_INSTANCE; + private static final com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig(); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SoftwareConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SoftwareConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SoftwareConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SoftwareConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2230,9 +2362,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/SoftwareConfigOrBuilder.java b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/SoftwareConfigOrBuilder.java similarity index 82% rename from owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/SoftwareConfigOrBuilder.java rename to proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/SoftwareConfigOrBuilder.java index 35ec3453..3434732b 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/SoftwareConfigOrBuilder.java +++ b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/SoftwareConfigOrBuilder.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/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; -public interface SoftwareConfigOrBuilder extends +public interface SoftwareConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
            * The version of the software running in the environment.
            * This encapsulates both the version of Cloud Composer functionality and the
        @@ -29,10 +47,13 @@ public interface SoftwareConfigOrBuilder extends
            * 
        * * string image_version = 1; + * * @return The imageVersion. */ java.lang.String getImageVersion(); /** + * + * *
            * The version of the software running in the environment.
            * This encapsulates both the version of Cloud Composer functionality and the
        @@ -54,12 +75,14 @@ public interface SoftwareConfigOrBuilder extends
            * 
        * * string image_version = 1; + * * @return The bytes for imageVersion. */ - com.google.protobuf.ByteString - getImageVersionBytes(); + com.google.protobuf.ByteString getImageVersionBytes(); /** + * + * *
            * Optional. Apache Airflow configuration properties to override.
            * Property keys contain the section and property names, separated by a
        @@ -76,10 +99,14 @@ public interface SoftwareConfigOrBuilder extends
            * and cannot be overridden.
            * 
        * - * map<string, string> airflow_config_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, string> airflow_config_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getAirflowConfigOverridesCount(); /** + * + * *
            * Optional. Apache Airflow configuration properties to override.
            * Property keys contain the section and property names, separated by a
        @@ -96,17 +123,17 @@ public interface SoftwareConfigOrBuilder extends
            * and cannot be overridden.
            * 
        * - * map<string, string> airflow_config_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; - */ - boolean containsAirflowConfigOverrides( - java.lang.String key); - /** - * Use {@link #getAirflowConfigOverridesMap()} instead. + * + * map<string, string> airflow_config_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ + boolean containsAirflowConfigOverrides(java.lang.String key); + /** Use {@link #getAirflowConfigOverridesMap()} instead. */ @java.lang.Deprecated - java.util.Map - getAirflowConfigOverrides(); + java.util.Map getAirflowConfigOverrides(); /** + * + * *
            * Optional. Apache Airflow configuration properties to override.
            * Property keys contain the section and property names, separated by a
        @@ -123,11 +150,14 @@ boolean containsAirflowConfigOverrides(
            * and cannot be overridden.
            * 
        * - * map<string, string> airflow_config_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, string> airflow_config_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.Map - getAirflowConfigOverridesMap(); + java.util.Map getAirflowConfigOverridesMap(); /** + * + * *
            * Optional. Apache Airflow configuration properties to override.
            * Property keys contain the section and property names, separated by a
        @@ -144,15 +174,19 @@ boolean containsAirflowConfigOverrides(
            * and cannot be overridden.
            * 
        * - * map<string, string> airflow_config_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, string> airflow_config_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ /* nullable */ -java.lang.String getAirflowConfigOverridesOrDefault( + java.lang.String getAirflowConfigOverridesOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
            * Optional. Apache Airflow configuration properties to override.
            * Property keys contain the section and property names, separated by a
        @@ -169,13 +203,15 @@ java.lang.String getAirflowConfigOverridesOrDefault(
            * and cannot be overridden.
            * 
        * - * map<string, string> airflow_config_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, string> airflow_config_overrides = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - - java.lang.String getAirflowConfigOverridesOrThrow( - java.lang.String key); + java.lang.String getAirflowConfigOverridesOrThrow(java.lang.String key); /** + * + * *
            * Optional. Custom Python Package Index (PyPI) packages to be installed in
            * the environment.
        @@ -186,10 +222,13 @@ java.lang.String getAirflowConfigOverridesOrThrow(
            * the value.
            * 
        * - * map<string, string> pypi_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> pypi_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getPypiPackagesCount(); /** + * + * *
            * Optional. Custom Python Package Index (PyPI) packages to be installed in
            * the environment.
        @@ -200,17 +239,16 @@ java.lang.String getAirflowConfigOverridesOrThrow(
            * the value.
            * 
        * - * map<string, string> pypi_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; - */ - boolean containsPypiPackages( - java.lang.String key); - /** - * Use {@link #getPypiPackagesMap()} instead. + * map<string, string> pypi_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ + boolean containsPypiPackages(java.lang.String key); + /** Use {@link #getPypiPackagesMap()} instead. */ @java.lang.Deprecated - java.util.Map - getPypiPackages(); + java.util.Map getPypiPackages(); /** + * + * *
            * Optional. Custom Python Package Index (PyPI) packages to be installed in
            * the environment.
        @@ -221,11 +259,13 @@ boolean containsPypiPackages(
            * the value.
            * 
        * - * map<string, string> pypi_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> pypi_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.Map - getPypiPackagesMap(); + java.util.Map getPypiPackagesMap(); /** + * + * *
            * Optional. Custom Python Package Index (PyPI) packages to be installed in
            * the environment.
        @@ -236,15 +276,18 @@ boolean containsPypiPackages(
            * the value.
            * 
        * - * map<string, string> pypi_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> pypi_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ /* nullable */ -java.lang.String getPypiPackagesOrDefault( + java.lang.String getPypiPackagesOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
            * Optional. Custom Python Package Index (PyPI) packages to be installed in
            * the environment.
        @@ -255,13 +298,14 @@ java.lang.String getPypiPackagesOrDefault(
            * the value.
            * 
        * - * map<string, string> pypi_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> pypi_packages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - - java.lang.String getPypiPackagesOrThrow( - java.lang.String key); + java.lang.String getPypiPackagesOrThrow(java.lang.String key); /** + * + * *
            * Optional. Additional environment variables to provide to the Apache Airflow
            * scheduler, worker, and webserver processes.
        @@ -285,10 +329,13 @@ java.lang.String getPypiPackagesOrThrow(
            * * `SQL_USER`
            * 
        * - * map<string, string> env_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> env_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getEnvVariablesCount(); /** + * + * *
            * Optional. Additional environment variables to provide to the Apache Airflow
            * scheduler, worker, and webserver processes.
        @@ -312,17 +359,16 @@ java.lang.String getPypiPackagesOrThrow(
            * * `SQL_USER`
            * 
        * - * map<string, string> env_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; - */ - boolean containsEnvVariables( - java.lang.String key); - /** - * Use {@link #getEnvVariablesMap()} instead. + * map<string, string> env_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ + boolean containsEnvVariables(java.lang.String key); + /** Use {@link #getEnvVariablesMap()} instead. */ @java.lang.Deprecated - java.util.Map - getEnvVariables(); + java.util.Map getEnvVariables(); /** + * + * *
            * Optional. Additional environment variables to provide to the Apache Airflow
            * scheduler, worker, and webserver processes.
        @@ -346,11 +392,13 @@ boolean containsEnvVariables(
            * * `SQL_USER`
            * 
        * - * map<string, string> env_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> env_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.Map - getEnvVariablesMap(); + java.util.Map getEnvVariablesMap(); /** + * + * *
            * Optional. Additional environment variables to provide to the Apache Airflow
            * scheduler, worker, and webserver processes.
        @@ -374,15 +422,18 @@ boolean containsEnvVariables(
            * * `SQL_USER`
            * 
        * - * map<string, string> env_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> env_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ /* nullable */ -java.lang.String getEnvVariablesOrDefault( + java.lang.String getEnvVariablesOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
            * Optional. Additional environment variables to provide to the Apache Airflow
            * scheduler, worker, and webserver processes.
        @@ -406,13 +457,14 @@ java.lang.String getEnvVariablesOrDefault(
            * * `SQL_USER`
            * 
        * - * map<string, string> env_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> env_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - - java.lang.String getEnvVariablesOrThrow( - java.lang.String key); + java.lang.String getEnvVariablesOrThrow(java.lang.String key); /** + * + * *
            * Optional. The major version of Python used to run the Apache Airflow
            * scheduler, worker, and webserver processes.
        @@ -421,10 +473,13 @@ java.lang.String getEnvVariablesOrThrow(
            * 
        * * string python_version = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pythonVersion. */ java.lang.String getPythonVersion(); /** + * + * *
            * Optional. The major version of Python used to run the Apache Airflow
            * scheduler, worker, and webserver processes.
        @@ -433,8 +488,8 @@ java.lang.String getEnvVariablesOrThrow(
            * 
        * * string python_version = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pythonVersion. */ - com.google.protobuf.ByteString - getPythonVersionBytes(); + com.google.protobuf.ByteString getPythonVersionBytes(); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/UpdateEnvironmentRequest.java b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/UpdateEnvironmentRequest.java similarity index 87% rename from owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/UpdateEnvironmentRequest.java rename to proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/UpdateEnvironmentRequest.java index 09775d2c..2e911512 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/UpdateEnvironmentRequest.java +++ b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/UpdateEnvironmentRequest.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/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; /** + * + * *
          * Update an environment.
          * 
        * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest} */ -public final class UpdateEnvironmentRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateEnvironmentRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest) UpdateEnvironmentRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateEnvironmentRequest.newBuilder() to construct. private UpdateEnvironmentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private UpdateEnvironmentRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateEnvironmentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateEnvironmentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,45 +70,53 @@ private UpdateEnvironmentRequest( case 0: done = true; break; - case 10: { - com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder subBuilder = null; - if (environment_ != null) { - subBuilder = environment_.toBuilder(); - } - environment_ = input.readMessage(com.google.cloud.orchestration.airflow.service.v1beta1.Environment.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(environment_); - environment_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder + subBuilder = null; + if (environment_ != null) { + subBuilder = environment_.toBuilder(); + } + environment_ = + input.readMessage( + com.google.cloud.orchestration.airflow.service.v1beta1.Environment.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(environment_); + environment_ = subBuilder.buildPartial(); + } - name_ = s; - break; - } - case 26: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); + break; } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; } + case 26: + { + 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) { @@ -99,35 +124,41 @@ private UpdateEnvironmentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_UpdateEnvironmentRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_UpdateEnvironmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_UpdateEnvironmentRequest_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_UpdateEnvironmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest.class, com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest.Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest.class, + com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest.Builder + .class); } public static final int NAME_FIELD_NUMBER = 2; private volatile java.lang.Object name_; /** + * + * *
            * The relative resource name of the environment to update, in the form:
            * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
            * 
        * * string name = 2; + * * @return The name. */ @java.lang.Override @@ -136,30 +167,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 relative resource name of the environment to update, in the form:
            * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
            * 
        * * string name = 2; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -170,12 +201,15 @@ public java.lang.String getName() { public static final int ENVIRONMENT_FIELD_NUMBER = 1; private com.google.cloud.orchestration.airflow.service.v1beta1.Environment environment_; /** + * + * *
            * A patch environment. Fields specified by the `updateMask` will be copied
            * from the patch environment into the environment under update.
            * 
        * * .google.cloud.orchestration.airflow.service.v1beta1.Environment environment = 1; + * * @return Whether the environment field is set. */ @java.lang.Override @@ -183,19 +217,26 @@ public boolean hasEnvironment() { return environment_ != null; } /** + * + * *
            * A patch environment. Fields specified by the `updateMask` will be copied
            * from the patch environment into the environment under update.
            * 
        * * .google.cloud.orchestration.airflow.service.v1beta1.Environment environment = 1; + * * @return The environment. */ @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1beta1.Environment getEnvironment() { - return environment_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.Environment.getDefaultInstance() : environment_; + return environment_ == null + ? com.google.cloud.orchestration.airflow.service.v1beta1.Environment.getDefaultInstance() + : environment_; } /** + * + * *
            * A patch environment. Fields specified by the `updateMask` will be copied
            * from the patch environment into the environment under update.
        @@ -204,13 +245,16 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.Environment getEnv
            * .google.cloud.orchestration.airflow.service.v1beta1.Environment environment = 1;
            */
           @java.lang.Override
        -  public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder getEnvironmentOrBuilder() {
        +  public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder
        +      getEnvironmentOrBuilder() {
             return getEnvironment();
           }
         
           public static final int UPDATE_MASK_FIELD_NUMBER = 3;
           private com.google.protobuf.FieldMask updateMask_;
           /**
        +   *
        +   *
            * 
            * Required. A comma-separated list of paths, relative to `Environment`, of
            * fields to update.
        @@ -334,7 +378,9 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuild
            *       under maintenance.
            * 
        * - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -342,6 +388,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
            * Required. A comma-separated list of paths, relative to `Environment`, of
            * fields to update.
        @@ -465,7 +513,9 @@ public boolean hasUpdateMask() {
            *       under maintenance.
            * 
        * - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -473,6 +523,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
            * Required. A comma-separated list of paths, relative to `Environment`, of
            * fields to update.
        @@ -596,7 +648,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
            *       under maintenance.
            * 
        * - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -604,6 +657,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -615,8 +669,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 (environment_ != null) { output.writeMessage(1, getEnvironment()); } @@ -636,15 +689,13 @@ public int getSerializedSize() { size = 0; if (environment_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getEnvironment()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEnvironment()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -654,24 +705,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest)) { + if (!(obj + instanceof + com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest other = (com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest) obj; + com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest other = + (com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasEnvironment() != other.hasEnvironment()) return false; if (hasEnvironment()) { - if (!getEnvironment() - .equals(other.getEnvironment())) return false; + if (!getEnvironment().equals(other.getEnvironment())) 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; @@ -699,135 +750,153 @@ public int hashCode() { return hash; } - public static com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest 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.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest + 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.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
            * Update an environment.
            * 
        * - * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest} + * Protobuf type {@code + * google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest) com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_UpdateEnvironmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_UpdateEnvironmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_UpdateEnvironmentRequest_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_UpdateEnvironmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest.class, com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest.Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest.class, + com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest + .Builder.class); } - // Construct using com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest.newBuilder() + // Construct using + // com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -849,19 +918,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_UpdateEnvironmentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_UpdateEnvironmentRequest_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest.getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest + getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest build() { - com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest result = buildPartial(); + com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -869,8 +941,10 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentR } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest buildPartial() { - com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest result = new com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest(this); + public com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest + buildPartial() { + com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest result = + new com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest(this); result.name_ = name_; if (environmentBuilder_ == null) { result.environment_ = environment_; @@ -890,46 +964,54 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentR public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest) { - return mergeFrom((com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest)other); + if (other + instanceof + com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest) { + return mergeFrom( + (com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest other) { - if (other == com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest other) { + if (other + == com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -955,11 +1037,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest parsedMessage = null; + com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -971,19 +1056,21 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
              * The relative resource name of the environment to update, in the form:
              * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
              * 
        * * string name = 2; + * * @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; @@ -992,21 +1079,22 @@ public java.lang.String getName() { } } /** + * + * *
              * The relative resource name of the environment to update, in the form:
              * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
              * 
        * * string name = 2; + * * @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 { @@ -1014,57 +1102,64 @@ public java.lang.String getName() { } } /** + * + * *
              * The relative resource name of the environment to update, in the form:
              * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
              * 
        * * string name = 2; + * * @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 relative resource name of the environment to update, in the form:
              * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
              * 
        * * string name = 2; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
              * The relative resource name of the environment to update, in the form:
              * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
              * 
        * * string name = 2; + * * @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; @@ -1072,36 +1167,50 @@ public Builder setNameBytes( private com.google.cloud.orchestration.airflow.service.v1beta1.Environment environment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.Environment, com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder> environmentBuilder_; + com.google.cloud.orchestration.airflow.service.v1beta1.Environment, + com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder, + com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder> + environmentBuilder_; /** + * + * *
              * A patch environment. Fields specified by the `updateMask` will be copied
              * from the patch environment into the environment under update.
              * 
        * * .google.cloud.orchestration.airflow.service.v1beta1.Environment environment = 1; + * * @return Whether the environment field is set. */ public boolean hasEnvironment() { return environmentBuilder_ != null || environment_ != null; } /** + * + * *
              * A patch environment. Fields specified by the `updateMask` will be copied
              * from the patch environment into the environment under update.
              * 
        * * .google.cloud.orchestration.airflow.service.v1beta1.Environment environment = 1; + * * @return The environment. */ public com.google.cloud.orchestration.airflow.service.v1beta1.Environment getEnvironment() { if (environmentBuilder_ == null) { - return environment_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.Environment.getDefaultInstance() : environment_; + return environment_ == null + ? com.google.cloud.orchestration.airflow.service.v1beta1.Environment + .getDefaultInstance() + : environment_; } else { return environmentBuilder_.getMessage(); } } /** + * + * *
              * A patch environment. Fields specified by the `updateMask` will be copied
              * from the patch environment into the environment under update.
        @@ -1109,7 +1218,8 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.Environment getEnv
              *
              * .google.cloud.orchestration.airflow.service.v1beta1.Environment environment = 1;
              */
        -    public Builder setEnvironment(com.google.cloud.orchestration.airflow.service.v1beta1.Environment value) {
        +    public Builder setEnvironment(
        +        com.google.cloud.orchestration.airflow.service.v1beta1.Environment value) {
               if (environmentBuilder_ == null) {
                 if (value == null) {
                   throw new NullPointerException();
        @@ -1123,6 +1233,8 @@ public Builder setEnvironment(com.google.cloud.orchestration.airflow.service.v1b
               return this;
             }
             /**
        +     *
        +     *
              * 
              * A patch environment. Fields specified by the `updateMask` will be copied
              * from the patch environment into the environment under update.
        @@ -1131,7 +1243,8 @@ public Builder setEnvironment(com.google.cloud.orchestration.airflow.service.v1b
              * .google.cloud.orchestration.airflow.service.v1beta1.Environment environment = 1;
              */
             public Builder setEnvironment(
        -        com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder builderForValue) {
        +        com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder
        +            builderForValue) {
               if (environmentBuilder_ == null) {
                 environment_ = builderForValue.build();
                 onChanged();
        @@ -1142,6 +1255,8 @@ public Builder setEnvironment(
               return this;
             }
             /**
        +     *
        +     *
              * 
              * A patch environment. Fields specified by the `updateMask` will be copied
              * from the patch environment into the environment under update.
        @@ -1149,11 +1264,15 @@ public Builder setEnvironment(
              *
              * .google.cloud.orchestration.airflow.service.v1beta1.Environment environment = 1;
              */
        -    public Builder mergeEnvironment(com.google.cloud.orchestration.airflow.service.v1beta1.Environment value) {
        +    public Builder mergeEnvironment(
        +        com.google.cloud.orchestration.airflow.service.v1beta1.Environment value) {
               if (environmentBuilder_ == null) {
                 if (environment_ != null) {
                   environment_ =
        -            com.google.cloud.orchestration.airflow.service.v1beta1.Environment.newBuilder(environment_).mergeFrom(value).buildPartial();
        +              com.google.cloud.orchestration.airflow.service.v1beta1.Environment.newBuilder(
        +                      environment_)
        +                  .mergeFrom(value)
        +                  .buildPartial();
                 } else {
                   environment_ = value;
                 }
        @@ -1165,6 +1284,8 @@ public Builder mergeEnvironment(com.google.cloud.orchestration.airflow.service.v
               return this;
             }
             /**
        +     *
        +     *
              * 
              * A patch environment. Fields specified by the `updateMask` will be copied
              * from the patch environment into the environment under update.
        @@ -1184,6 +1305,8 @@ public Builder clearEnvironment() {
               return this;
             }
             /**
        +     *
        +     *
              * 
              * A patch environment. Fields specified by the `updateMask` will be copied
              * from the patch environment into the environment under update.
        @@ -1191,12 +1314,15 @@ public Builder clearEnvironment() {
              *
              * .google.cloud.orchestration.airflow.service.v1beta1.Environment environment = 1;
              */
        -    public com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder getEnvironmentBuilder() {
        -      
        +    public com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder
        +        getEnvironmentBuilder() {
        +
               onChanged();
               return getEnvironmentFieldBuilder().getBuilder();
             }
             /**
        +     *
        +     *
              * 
              * A patch environment. Fields specified by the `updateMask` will be copied
              * from the patch environment into the environment under update.
        @@ -1204,15 +1330,20 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builde
              *
              * .google.cloud.orchestration.airflow.service.v1beta1.Environment environment = 1;
              */
        -    public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder getEnvironmentOrBuilder() {
        +    public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder
        +        getEnvironmentOrBuilder() {
               if (environmentBuilder_ != null) {
                 return environmentBuilder_.getMessageOrBuilder();
               } else {
        -        return environment_ == null ?
        -            com.google.cloud.orchestration.airflow.service.v1beta1.Environment.getDefaultInstance() : environment_;
        +        return environment_ == null
        +            ? com.google.cloud.orchestration.airflow.service.v1beta1.Environment
        +                .getDefaultInstance()
        +            : environment_;
               }
             }
             /**
        +     *
        +     *
              * 
              * A patch environment. Fields specified by the `updateMask` will be copied
              * from the patch environment into the environment under update.
        @@ -1221,14 +1352,17 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuild
              * .google.cloud.orchestration.airflow.service.v1beta1.Environment environment = 1;
              */
             private com.google.protobuf.SingleFieldBuilderV3<
        -        com.google.cloud.orchestration.airflow.service.v1beta1.Environment, com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder> 
        +            com.google.cloud.orchestration.airflow.service.v1beta1.Environment,
        +            com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder,
        +            com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder>
                 getEnvironmentFieldBuilder() {
               if (environmentBuilder_ == null) {
        -        environmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
        -            com.google.cloud.orchestration.airflow.service.v1beta1.Environment, com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder>(
        -                getEnvironment(),
        -                getParentForChildren(),
        -                isClean());
        +        environmentBuilder_ =
        +            new com.google.protobuf.SingleFieldBuilderV3<
        +                com.google.cloud.orchestration.airflow.service.v1beta1.Environment,
        +                com.google.cloud.orchestration.airflow.service.v1beta1.Environment.Builder,
        +                com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder>(
        +                getEnvironment(), getParentForChildren(), isClean());
                 environment_ = null;
               }
               return environmentBuilder_;
        @@ -1236,8 +1370,13 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuild
         
             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_;
             /**
        +     *
        +     *
              * 
              * Required. A comma-separated list of paths, relative to `Environment`, of
              * fields to update.
        @@ -1361,13 +1500,17 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuild
              *       under maintenance.
              * 
        * - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
              * Required. A comma-separated list of paths, relative to `Environment`, of
              * fields to update.
        @@ -1491,17 +1634,23 @@ public boolean hasUpdateMask() {
              *       under maintenance.
              * 
        * - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @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(); } } /** + * + * *
              * Required. A comma-separated list of paths, relative to `Environment`, of
              * fields to update.
        @@ -1625,7 +1774,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
              *       under maintenance.
              * 
        * - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -1641,6 +1791,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
              * Required. A comma-separated list of paths, relative to `Environment`, of
              * fields to update.
        @@ -1764,10 +1916,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
              *       under maintenance.
              * 
        * - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - 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(); @@ -1778,6 +1930,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
              * Required. A comma-separated list of paths, relative to `Environment`, of
              * fields to update.
        @@ -1901,13 +2055,14 @@ public Builder setUpdateMask(
              *       under maintenance.
              * 
        * - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ 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; } @@ -1919,6 +2074,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
              * Required. A comma-separated list of paths, relative to `Environment`, of
              * fields to update.
        @@ -2042,7 +2199,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
              *       under maintenance.
              * 
        * - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -2056,6 +2214,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
              * Required. A comma-separated list of paths, relative to `Environment`, of
              * fields to update.
        @@ -2179,14 +2339,17 @@ public Builder clearUpdateMask() {
              *       under maintenance.
              * 
        * - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
              * Required. A comma-separated list of paths, relative to `Environment`, of
              * fields to update.
        @@ -2310,17 +2473,21 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
              *       under maintenance.
              * 
        * - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ 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_; } } /** + * + * *
              * Required. A comma-separated list of paths, relative to `Environment`, of
              * fields to update.
        @@ -2444,24 +2611,28 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
              *       under maintenance.
              * 
        * - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ 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); } @@ -2471,30 +2642,34 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest) - private static final com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest DEFAULT_INSTANCE; + private static final com.google.cloud.orchestration.airflow.service.v1beta1 + .UpdateEnvironmentRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest(); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateEnvironmentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateEnvironmentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateEnvironmentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateEnvironmentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2506,9 +2681,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/UpdateEnvironmentRequestOrBuilder.java b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/UpdateEnvironmentRequestOrBuilder.java similarity index 95% rename from owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/UpdateEnvironmentRequestOrBuilder.java rename to proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/UpdateEnvironmentRequestOrBuilder.java index e2129033..d9cebf31 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/UpdateEnvironmentRequestOrBuilder.java +++ b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/UpdateEnvironmentRequestOrBuilder.java @@ -1,55 +1,84 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; -public interface UpdateEnvironmentRequestOrBuilder extends +public interface UpdateEnvironmentRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1beta1.UpdateEnvironmentRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
            * The relative resource name of the environment to update, in the form:
            * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
            * 
        * * string name = 2; + * * @return The name. */ java.lang.String getName(); /** + * + * *
            * The relative resource name of the environment to update, in the form:
            * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
            * 
        * * string name = 2; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
            * A patch environment. Fields specified by the `updateMask` will be copied
            * from the patch environment into the environment under update.
            * 
        * * .google.cloud.orchestration.airflow.service.v1beta1.Environment environment = 1; + * * @return Whether the environment field is set. */ boolean hasEnvironment(); /** + * + * *
            * A patch environment. Fields specified by the `updateMask` will be copied
            * from the patch environment into the environment under update.
            * 
        * * .google.cloud.orchestration.airflow.service.v1beta1.Environment environment = 1; + * * @return The environment. */ com.google.cloud.orchestration.airflow.service.v1beta1.Environment getEnvironment(); /** + * + * *
            * A patch environment. Fields specified by the `updateMask` will be copied
            * from the patch environment into the environment under update.
        @@ -57,9 +86,12 @@ public interface UpdateEnvironmentRequestOrBuilder extends
            *
            * .google.cloud.orchestration.airflow.service.v1beta1.Environment environment = 1;
            */
        -  com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder getEnvironmentOrBuilder();
        +  com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentOrBuilder
        +      getEnvironmentOrBuilder();
         
           /**
        +   *
        +   *
            * 
            * Required. A comma-separated list of paths, relative to `Environment`, of
            * fields to update.
        @@ -183,11 +215,15 @@ public interface UpdateEnvironmentRequestOrBuilder extends
            *       under maintenance.
            * 
        * - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
            * Required. A comma-separated list of paths, relative to `Environment`, of
            * fields to update.
        @@ -311,11 +347,15 @@ public interface UpdateEnvironmentRequestOrBuilder extends
            *       under maintenance.
            * 
        * - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
            * Required. A comma-separated list of paths, relative to `Environment`, of
            * fields to update.
        @@ -439,7 +479,8 @@ public interface UpdateEnvironmentRequestOrBuilder extends
            *       under maintenance.
            * 
        * - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WebServerConfig.java b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WebServerConfig.java similarity index 68% rename from owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WebServerConfig.java rename to proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WebServerConfig.java index 31d73781..71054be3 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WebServerConfig.java +++ b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WebServerConfig.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/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; /** + * + * *
          * The configuration settings for the Airflow web server App Engine instance.
          * 
        * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig} */ -public final class WebServerConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class WebServerConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig) WebServerConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use WebServerConfig.newBuilder() to construct. private WebServerConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private WebServerConfig() { machineType_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new WebServerConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private WebServerConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private WebServerConfig( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - machineType_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + machineType_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,29 +91,33 @@ private WebServerConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerConfig_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig.class, com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig.Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig.class, + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig.Builder.class); } public static final int MACHINE_TYPE_FIELD_NUMBER = 1; private volatile java.lang.Object machineType_; /** + * + * *
            * Optional. Machine type on which Airflow web server is running.
            * It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or
        @@ -106,6 +128,7 @@ private WebServerConfig(
            * 
        * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The machineType. */ @java.lang.Override @@ -114,14 +137,15 @@ public java.lang.String getMachineType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); machineType_ = s; return s; } } /** + * + * *
            * Optional. Machine type on which Airflow web server is running.
            * It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or
        @@ -132,16 +156,15 @@ public java.lang.String getMachineType() {
            * 
        * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for machineType. */ @java.lang.Override - public com.google.protobuf.ByteString - getMachineTypeBytes() { + public com.google.protobuf.ByteString getMachineTypeBytes() { java.lang.Object ref = machineType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); machineType_ = b; return b; } else { @@ -150,6 +173,7 @@ public java.lang.String getMachineType() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -161,8 +185,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(machineType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, machineType_); } @@ -186,15 +209,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.orchestration.airflow.service.v1beta1.WebServerConfig)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig other = (com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig) obj; + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig other = + (com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig) obj; - if (!getMachineType() - .equals(other.getMachineType())) return false; + if (!getMachineType().equals(other.getMachineType())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -214,134 +237,145 @@ public int hashCode() { } public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig 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.orchestration.airflow.service.v1beta1.WebServerConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig 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.orchestration.airflow.service.v1beta1.WebServerConfig + 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.orchestration.airflow.service.v1beta1.WebServerConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 configuration settings for the Airflow web server App Engine instance.
            * 
        * * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig) com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerConfig_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig.class, com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig.Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig.class, + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig.Builder.class); } - // Construct using com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig.newBuilder() + // Construct using + // com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -351,19 +385,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerConfig_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig.getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig + getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig build() { - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig result = buildPartial(); + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -372,7 +409,8 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig bu @java.lang.Override public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig buildPartial() { - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig result = new com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig(this); + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig result = + new com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig(this); result.machineType_ = machineType_; onBuilt(); return result; @@ -382,46 +420,51 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig bu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig) { - return mergeFrom((com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig)other); + return mergeFrom( + (com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig other) { - if (other == com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig other) { + if (other + == com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig + .getDefaultInstance()) return this; if (!other.getMachineType().isEmpty()) { machineType_ = other.machineType_; onChanged(); @@ -445,7 +488,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -457,6 +502,8 @@ public Builder mergeFrom( private java.lang.Object machineType_ = ""; /** + * + * *
              * Optional. Machine type on which Airflow web server is running.
              * It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or
        @@ -467,13 +514,13 @@ public Builder mergeFrom(
              * 
        * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The machineType. */ public java.lang.String getMachineType() { java.lang.Object ref = machineType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); machineType_ = s; return s; @@ -482,6 +529,8 @@ public java.lang.String getMachineType() { } } /** + * + * *
              * Optional. Machine type on which Airflow web server is running.
              * It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or
        @@ -492,15 +541,14 @@ public java.lang.String getMachineType() {
              * 
        * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for machineType. */ - public com.google.protobuf.ByteString - getMachineTypeBytes() { + public com.google.protobuf.ByteString getMachineTypeBytes() { java.lang.Object ref = machineType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); machineType_ = b; return b; } else { @@ -508,6 +556,8 @@ public java.lang.String getMachineType() { } } /** + * + * *
              * Optional. Machine type on which Airflow web server is running.
              * It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or
        @@ -518,20 +568,22 @@ public java.lang.String getMachineType() {
              * 
        * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The machineType to set. * @return This builder for chaining. */ - public Builder setMachineType( - java.lang.String value) { + public Builder setMachineType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + machineType_ = value; onChanged(); return this; } /** + * + * *
              * Optional. Machine type on which Airflow web server is running.
              * It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or
        @@ -542,15 +594,18 @@ public Builder setMachineType(
              * 
        * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearMachineType() { - + machineType_ = getDefaultInstance().getMachineType(); onChanged(); return this; } /** + * + * *
              * Optional. Machine type on which Airflow web server is running.
              * It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or
        @@ -561,23 +616,23 @@ public Builder clearMachineType() {
              * 
        * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for machineType to set. * @return This builder for chaining. */ - public Builder setMachineTypeBytes( - com.google.protobuf.ByteString value) { + public Builder setMachineTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + machineType_ = 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); } @@ -587,30 +642,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig) - private static final com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig DEFAULT_INSTANCE; + private static final com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig(); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WebServerConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WebServerConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WebServerConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WebServerConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -622,9 +679,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WebServerConfigOrBuilder.java b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WebServerConfigOrBuilder.java similarity index 66% rename from owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WebServerConfigOrBuilder.java rename to proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WebServerConfigOrBuilder.java index 7f45b29a..35a3328d 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WebServerConfigOrBuilder.java +++ b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WebServerConfigOrBuilder.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/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; -public interface WebServerConfigOrBuilder extends +public interface WebServerConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
            * Optional. Machine type on which Airflow web server is running.
            * It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or
        @@ -18,10 +36,13 @@ public interface WebServerConfigOrBuilder extends
            * 
        * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The machineType. */ java.lang.String getMachineType(); /** + * + * *
            * Optional. Machine type on which Airflow web server is running.
            * It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or
        @@ -32,8 +53,8 @@ public interface WebServerConfigOrBuilder extends
            * 
        * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for machineType. */ - com.google.protobuf.ByteString - getMachineTypeBytes(); + com.google.protobuf.ByteString getMachineTypeBytes(); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WebServerNetworkAccessControl.java b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WebServerNetworkAccessControl.java similarity index 57% rename from owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WebServerNetworkAccessControl.java rename to proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WebServerNetworkAccessControl.java index 41d8dffa..37dd8bdb 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WebServerNetworkAccessControl.java +++ b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WebServerNetworkAccessControl.java @@ -1,40 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; /** + * + * *
          * Network-level access control policy for the Airflow web server.
          * 
        * - * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl} + * Protobuf type {@code + * google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl} */ -public final class WebServerNetworkAccessControl extends - com.google.protobuf.GeneratedMessageV3 implements +public final class WebServerNetworkAccessControl extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl) WebServerNetworkAccessControlOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use WebServerNetworkAccessControl.newBuilder() to construct. private WebServerNetworkAccessControl(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private WebServerNetworkAccessControl() { allowedIpRanges_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new WebServerNetworkAccessControl(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private WebServerNetworkAccessControl( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,22 +72,29 @@ private WebServerNetworkAccessControl( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - allowedIpRanges_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + allowedIpRanges_ = + new java.util.ArrayList< + com.google.cloud.orchestration.airflow.service.v1beta1 + .WebServerNetworkAccessControl.AllowedIpRange>(); + mutable_bitField0_ |= 0x00000001; + } + allowedIpRanges_.add( + input.readMessage( + com.google.cloud.orchestration.airflow.service.v1beta1 + .WebServerNetworkAccessControl.AllowedIpRange.parser(), + extensionRegistry)); + break; } - allowedIpRanges_.add( - input.readMessage(com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -77,8 +102,7 @@ private WebServerNetworkAccessControl( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { allowedIpRanges_ = java.util.Collections.unmodifiableList(allowedIpRanges_); @@ -87,24 +111,32 @@ private WebServerNetworkAccessControl( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.class, com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .class, + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .Builder.class); } - public interface AllowedIpRangeOrBuilder extends + public interface AllowedIpRangeOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange) com.google.protobuf.MessageOrBuilder { /** + * + * *
              * IP address or range, defined using CIDR notation, of requests that this
              * rule applies to.
        @@ -116,10 +148,13 @@ public interface AllowedIpRangeOrBuilder extends
              * 
        * * string value = 1; + * * @return The value. */ java.lang.String getValue(); /** + * + * *
              * IP address or range, defined using CIDR notation, of requests that this
              * rule applies to.
        @@ -131,47 +166,56 @@ public interface AllowedIpRangeOrBuilder extends
              * 
        * * string value = 1; + * * @return The bytes for value. */ - com.google.protobuf.ByteString - getValueBytes(); + com.google.protobuf.ByteString getValueBytes(); /** + * + * *
              * Optional. User-provided description. It must contain at most 300 characters.
              * 
        * * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
              * Optional. User-provided description. It must contain at most 300 characters.
              * 
        * * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); } /** + * + * *
            * Allowed IP range with user-provided description.
            * 
        * - * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange} + * Protobuf type {@code + * google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange} */ - public static final class AllowedIpRange extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class AllowedIpRange extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange) AllowedIpRangeOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AllowedIpRange.newBuilder() to construct. private AllowedIpRange(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AllowedIpRange() { value_ = ""; description_ = ""; @@ -179,16 +223,15 @@ private AllowedIpRange() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AllowedIpRange(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AllowedIpRange( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -207,25 +250,27 @@ private AllowedIpRange( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - value_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + value_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + description_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -233,29 +278,35 @@ private AllowedIpRange( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_AllowedIpRange_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_AllowedIpRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_AllowedIpRange_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_AllowedIpRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange.class, com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange.Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .AllowedIpRange.class, + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .AllowedIpRange.Builder.class); } public static final int VALUE_FIELD_NUMBER = 1; private volatile java.lang.Object value_; /** + * + * *
              * IP address or range, defined using CIDR notation, of requests that this
              * rule applies to.
        @@ -267,6 +318,7 @@ private AllowedIpRange(
              * 
        * * string value = 1; + * * @return The value. */ @java.lang.Override @@ -275,14 +327,15 @@ public java.lang.String getValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); value_ = s; return s; } } /** + * + * *
              * IP address or range, defined using CIDR notation, of requests that this
              * rule applies to.
        @@ -294,16 +347,15 @@ public java.lang.String getValue() {
              * 
        * * string value = 1; + * * @return The bytes for value. */ @java.lang.Override - public com.google.protobuf.ByteString - getValueBytes() { + public com.google.protobuf.ByteString getValueBytes() { java.lang.Object ref = value_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); value_ = b; return b; } else { @@ -314,11 +366,14 @@ public java.lang.String getValue() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** + * + * *
              * Optional. User-provided description. It must contain at most 300 characters.
              * 
        * * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ @java.lang.Override @@ -327,29 +382,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. User-provided description. It must contain at most 300 characters.
              * 
        * * string description = 2 [(.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 { @@ -358,6 +413,7 @@ public java.lang.String getDescription() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -369,8 +425,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, value_); } @@ -400,17 +455,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.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange)) { + if (!(obj + instanceof + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .AllowedIpRange)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange other = (com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange) obj; + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .AllowedIpRange + other = + (com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .AllowedIpRange) + obj; - if (!getValue() - .equals(other.getValue())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; + if (!getValue().equals(other.getValue())) return false; + if (!getDescription().equals(other.getDescription())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -431,88 +492,115 @@ public int hashCode() { return hash; } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1 + .WebServerNetworkAccessControl.AllowedIpRange + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1 + .WebServerNetworkAccessControl.AllowedIpRange + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1 + .WebServerNetworkAccessControl.AllowedIpRange + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1 + .WebServerNetworkAccessControl.AllowedIpRange + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1 + .WebServerNetworkAccessControl.AllowedIpRange + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1 + .WebServerNetworkAccessControl.AllowedIpRange + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1 + .WebServerNetworkAccessControl.AllowedIpRange + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.orchestration.airflow.service.v1beta1 + .WebServerNetworkAccessControl.AllowedIpRange + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1 + .WebServerNetworkAccessControl.AllowedIpRange + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange 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.orchestration.airflow.service.v1beta1 + .WebServerNetworkAccessControl.AllowedIpRange + 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.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1 + .WebServerNetworkAccessControl.AllowedIpRange + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.orchestration.airflow.service.v1beta1 + .WebServerNetworkAccessControl.AllowedIpRange + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange prototype) { + + public static Builder newBuilder( + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .AllowedIpRange + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -522,44 +610,53 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
              * Allowed IP range with user-provided description.
              * 
        * - * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange} + * Protobuf type {@code + * google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange) - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRangeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_AllowedIpRange_descriptor; + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .AllowedIpRangeOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_AllowedIpRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_AllowedIpRange_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_AllowedIpRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange.class, com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange.Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .AllowedIpRange.class, + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .AllowedIpRange.Builder.class); } - // Construct using com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange.newBuilder() + // Construct using + // com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -571,19 +668,26 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_AllowedIpRange_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_AllowedIpRange_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange.getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .AllowedIpRange + getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .AllowedIpRange.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange build() { - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange result = buildPartial(); + public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .AllowedIpRange + build() { + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .AllowedIpRange + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -591,8 +695,14 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAc } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange buildPartial() { - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange result = new com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange(this); + public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .AllowedIpRange + buildPartial() { + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .AllowedIpRange + result = + new com.google.cloud.orchestration.airflow.service.v1beta1 + .WebServerNetworkAccessControl.AllowedIpRange(this); result.value_ = value_; result.description_ = description_; onBuilt(); @@ -603,46 +713,60 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAc public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange) { - return mergeFrom((com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange)other); + if (other + instanceof + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .AllowedIpRange) { + return mergeFrom( + (com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .AllowedIpRange) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange other) { - if (other == com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .AllowedIpRange + other) { + if (other + == com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .AllowedIpRange.getDefaultInstance()) return this; if (!other.getValue().isEmpty()) { value_ = other.value_; onChanged(); @@ -666,11 +790,16 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange parsedMessage = null; + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .AllowedIpRange + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .AllowedIpRange) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -682,6 +811,8 @@ public Builder mergeFrom( private java.lang.Object value_ = ""; /** + * + * *
                * IP address or range, defined using CIDR notation, of requests that this
                * rule applies to.
        @@ -693,13 +824,13 @@ public Builder mergeFrom(
                * 
        * * string value = 1; + * * @return The value. */ public java.lang.String getValue() { java.lang.Object ref = value_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); value_ = s; return s; @@ -708,6 +839,8 @@ public java.lang.String getValue() { } } /** + * + * *
                * IP address or range, defined using CIDR notation, of requests that this
                * rule applies to.
        @@ -719,15 +852,14 @@ public java.lang.String getValue() {
                * 
        * * string value = 1; + * * @return The bytes for value. */ - public com.google.protobuf.ByteString - getValueBytes() { + public com.google.protobuf.ByteString getValueBytes() { java.lang.Object ref = value_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); value_ = b; return b; } else { @@ -735,6 +867,8 @@ public java.lang.String getValue() { } } /** + * + * *
                * IP address or range, defined using CIDR notation, of requests that this
                * rule applies to.
        @@ -746,20 +880,22 @@ public java.lang.String getValue() {
                * 
        * * string value = 1; + * * @param value The value to set. * @return This builder for chaining. */ - public Builder setValue( - java.lang.String value) { + public Builder setValue(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + value_ = value; onChanged(); return this; } /** + * + * *
                * IP address or range, defined using CIDR notation, of requests that this
                * rule applies to.
        @@ -771,15 +907,18 @@ public Builder setValue(
                * 
        * * string value = 1; + * * @return This builder for chaining. */ public Builder clearValue() { - + value_ = getDefaultInstance().getValue(); onChanged(); return this; } /** + * + * *
                * IP address or range, defined using CIDR notation, of requests that this
                * rule applies to.
        @@ -791,16 +930,16 @@ public Builder clearValue() {
                * 
        * * string value = 1; + * * @param value The bytes for value to set. * @return This builder for chaining. */ - public Builder setValueBytes( - com.google.protobuf.ByteString value) { + public Builder setValueBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + value_ = value; onChanged(); return this; @@ -808,18 +947,20 @@ public Builder setValueBytes( private java.lang.Object description_ = ""; /** + * + * *
                * Optional. User-provided description. It must contain at most 300 characters.
                * 
        * * string description = 2 [(.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; @@ -828,20 +969,21 @@ public java.lang.String getDescription() { } } /** + * + * *
                * Optional. User-provided description. It must contain at most 300 characters.
                * 
        * * string description = 2 [(.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 { @@ -849,58 +991,66 @@ public java.lang.String getDescription() { } } /** + * + * *
                * Optional. User-provided description. It must contain at most 300 characters.
                * 
        * * string description = 2 [(.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. User-provided description. It must contain at most 300 characters.
                * 
        * * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
                * Optional. User-provided description. It must contain at most 300 characters.
                * 
        * * string description = 2 [(.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; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -913,30 +1063,36 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange) - private static final com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange DEFAULT_INSTANCE; + private static final com.google.cloud.orchestration.airflow.service.v1beta1 + .WebServerNetworkAccessControl.AllowedIpRange + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange(); + DEFAULT_INSTANCE = + new com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .AllowedIpRange(); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1beta1 + .WebServerNetworkAccessControl.AllowedIpRange + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AllowedIpRange parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AllowedIpRange(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AllowedIpRange parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AllowedIpRange(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -948,73 +1104,107 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .AllowedIpRange + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int ALLOWED_IP_RANGES_FIELD_NUMBER = 1; - private java.util.List allowedIpRanges_; + private java.util.List< + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .AllowedIpRange> + allowedIpRanges_; /** + * + * *
            * A collection of allowed IP ranges with descriptions.
            * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * */ @java.lang.Override - public java.util.List getAllowedIpRangesList() { + public java.util.List< + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .AllowedIpRange> + getAllowedIpRangesList() { return allowedIpRanges_; } /** + * + * *
            * A collection of allowed IP ranges with descriptions.
            * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .AllowedIpRangeOrBuilder> getAllowedIpRangesOrBuilderList() { return allowedIpRanges_; } /** + * + * *
            * A collection of allowed IP ranges with descriptions.
            * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * */ @java.lang.Override public int getAllowedIpRangesCount() { return allowedIpRanges_.size(); } /** + * + * *
            * A collection of allowed IP ranges with descriptions.
            * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange getAllowedIpRanges(int index) { + public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .AllowedIpRange + getAllowedIpRanges(int index) { return allowedIpRanges_.get(index); } /** + * + * *
            * A collection of allowed IP ranges with descriptions.
            * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRangeOrBuilder getAllowedIpRangesOrBuilder( - int index) { + public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .AllowedIpRangeOrBuilder + getAllowedIpRangesOrBuilder(int index) { return allowedIpRanges_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1026,8 +1216,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 < allowedIpRanges_.size(); i++) { output.writeMessage(1, allowedIpRanges_.get(i)); } @@ -1041,8 +1230,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < allowedIpRanges_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, allowedIpRanges_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, allowedIpRanges_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1052,15 +1240,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.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl)) { + if (!(obj + instanceof + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl other = (com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl) obj; + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl other = + (com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl) obj; - if (!getAllowedIpRangesList() - .equals(other.getAllowedIpRangesList())) return false; + if (!getAllowedIpRangesList().equals(other.getAllowedIpRangesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1081,136 +1271,158 @@ public int hashCode() { return hash; } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl 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.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + 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.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl prototype) { + + public static Builder newBuilder( + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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-level access control policy for the Airflow web server.
            * 
        * - * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl} + * Protobuf type {@code + * google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl) - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControlOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_descriptor; + com.google.cloud.orchestration.airflow.service.v1beta1 + .WebServerNetworkAccessControlOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.class, com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .class, + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .Builder.class); } - // Construct using com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.newBuilder() + // Construct using + // com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.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) { getAllowedIpRangesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -1224,19 +1436,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WebServerNetworkAccessControl_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .getDefaultInstance(); } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl build() { - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl result = buildPartial(); + public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + build() { + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1244,8 +1460,11 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAc } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl buildPartial() { - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl result = new com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl(this); + public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + buildPartial() { + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl result = + new com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl( + this); int from_bitField0_ = bitField0_; if (allowedIpRangesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -1264,46 +1483,55 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAc public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl) { - return mergeFrom((com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl)other); + if (other + instanceof + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl) { + return mergeFrom( + (com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl other) { - if (other == com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + other) { + if (other + == com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .getDefaultInstance()) return this; if (allowedIpRangesBuilder_ == null) { if (!other.allowedIpRanges_.isEmpty()) { if (allowedIpRanges_.isEmpty()) { @@ -1322,9 +1550,10 @@ public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1beta1. allowedIpRangesBuilder_ = null; allowedIpRanges_ = other.allowedIpRanges_; bitField0_ = (bitField0_ & ~0x00000001); - allowedIpRangesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAllowedIpRangesFieldBuilder() : null; + allowedIpRangesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAllowedIpRangesFieldBuilder() + : null; } else { allowedIpRangesBuilder_.addAllMessages(other.allowedIpRanges_); } @@ -1345,11 +1574,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl parsedMessage = null; + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1358,28 +1590,48 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private java.util.List allowedIpRanges_ = - java.util.Collections.emptyList(); + private java.util.List< + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .AllowedIpRange> + allowedIpRanges_ = java.util.Collections.emptyList(); + private void ensureAllowedIpRangesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - allowedIpRanges_ = new java.util.ArrayList(allowedIpRanges_); + allowedIpRanges_ = + new java.util.ArrayList< + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .AllowedIpRange>(allowedIpRanges_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange, com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRangeOrBuilder> allowedIpRangesBuilder_; + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .AllowedIpRange, + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .AllowedIpRange.Builder, + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .AllowedIpRangeOrBuilder> + allowedIpRangesBuilder_; /** + * + * *
              * A collection of allowed IP ranges with descriptions.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * */ - public java.util.List getAllowedIpRangesList() { + public java.util.List< + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .AllowedIpRange> + getAllowedIpRangesList() { if (allowedIpRangesBuilder_ == null) { return java.util.Collections.unmodifiableList(allowedIpRanges_); } else { @@ -1387,11 +1639,15 @@ public java.util.List * A collection of allowed IP ranges with descriptions. *
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * */ public int getAllowedIpRangesCount() { if (allowedIpRangesBuilder_ == null) { @@ -1401,13 +1657,19 @@ public int getAllowedIpRangesCount() { } } /** + * + * *
              * A collection of allowed IP ranges with descriptions.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * */ - public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange getAllowedIpRanges(int index) { + public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .AllowedIpRange + getAllowedIpRanges(int index) { if (allowedIpRangesBuilder_ == null) { return allowedIpRanges_.get(index); } else { @@ -1415,14 +1677,21 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAc } } /** + * + * *
              * A collection of allowed IP ranges with descriptions.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * */ public Builder setAllowedIpRanges( - int index, com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange value) { + int index, + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .AllowedIpRange + value) { if (allowedIpRangesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1436,14 +1705,21 @@ public Builder setAllowedIpRanges( return this; } /** + * + * *
              * A collection of allowed IP ranges with descriptions.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * */ public Builder setAllowedIpRanges( - int index, com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange.Builder builderForValue) { + int index, + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .AllowedIpRange.Builder + builderForValue) { if (allowedIpRangesBuilder_ == null) { ensureAllowedIpRangesIsMutable(); allowedIpRanges_.set(index, builderForValue.build()); @@ -1454,13 +1730,20 @@ public Builder setAllowedIpRanges( return this; } /** + * + * *
              * A collection of allowed IP ranges with descriptions.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * */ - public Builder addAllowedIpRanges(com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange value) { + public Builder addAllowedIpRanges( + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .AllowedIpRange + value) { if (allowedIpRangesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1474,14 +1757,21 @@ public Builder addAllowedIpRanges(com.google.cloud.orchestration.airflow.service return this; } /** + * + * *
              * A collection of allowed IP ranges with descriptions.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * */ public Builder addAllowedIpRanges( - int index, com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange value) { + int index, + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .AllowedIpRange + value) { if (allowedIpRangesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1495,14 +1785,20 @@ public Builder addAllowedIpRanges( return this; } /** + * + * *
              * A collection of allowed IP ranges with descriptions.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * */ public Builder addAllowedIpRanges( - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange.Builder builderForValue) { + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .AllowedIpRange.Builder + builderForValue) { if (allowedIpRangesBuilder_ == null) { ensureAllowedIpRangesIsMutable(); allowedIpRanges_.add(builderForValue.build()); @@ -1513,14 +1809,21 @@ public Builder addAllowedIpRanges( return this; } /** + * + * *
              * A collection of allowed IP ranges with descriptions.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * */ public Builder addAllowedIpRanges( - int index, com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange.Builder builderForValue) { + int index, + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .AllowedIpRange.Builder + builderForValue) { if (allowedIpRangesBuilder_ == null) { ensureAllowedIpRangesIsMutable(); allowedIpRanges_.add(index, builderForValue.build()); @@ -1531,18 +1834,25 @@ public Builder addAllowedIpRanges( return this; } /** + * + * *
              * A collection of allowed IP ranges with descriptions.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * */ public Builder addAllAllowedIpRanges( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends + com.google.cloud.orchestration.airflow.service.v1beta1 + .WebServerNetworkAccessControl.AllowedIpRange> + values) { if (allowedIpRangesBuilder_ == null) { ensureAllowedIpRangesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, allowedIpRanges_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, allowedIpRanges_); onChanged(); } else { allowedIpRangesBuilder_.addAllMessages(values); @@ -1550,11 +1860,15 @@ public Builder addAllAllowedIpRanges( return this; } /** + * + * *
              * A collection of allowed IP ranges with descriptions.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * */ public Builder clearAllowedIpRanges() { if (allowedIpRangesBuilder_ == null) { @@ -1567,11 +1881,15 @@ public Builder clearAllowedIpRanges() { return this; } /** + * + * *
              * A collection of allowed IP ranges with descriptions.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * */ public Builder removeAllowedIpRanges(int index) { if (allowedIpRangesBuilder_ == null) { @@ -1584,39 +1902,57 @@ public Builder removeAllowedIpRanges(int index) { return this; } /** + * + * *
              * A collection of allowed IP ranges with descriptions.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * */ - public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange.Builder getAllowedIpRangesBuilder( - int index) { + public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .AllowedIpRange.Builder + getAllowedIpRangesBuilder(int index) { return getAllowedIpRangesFieldBuilder().getBuilder(index); } /** + * + * *
              * A collection of allowed IP ranges with descriptions.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * */ - public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRangeOrBuilder getAllowedIpRangesOrBuilder( - int index) { + public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .AllowedIpRangeOrBuilder + getAllowedIpRangesOrBuilder(int index) { if (allowedIpRangesBuilder_ == null) { - return allowedIpRanges_.get(index); } else { + return allowedIpRanges_.get(index); + } else { return allowedIpRangesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
              * A collection of allowed IP ranges with descriptions.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * */ - public java.util.List - getAllowedIpRangesOrBuilderList() { + public java.util.List< + ? extends + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .AllowedIpRangeOrBuilder> + getAllowedIpRangesOrBuilderList() { if (allowedIpRangesBuilder_ != null) { return allowedIpRangesBuilder_.getMessageOrBuilderList(); } else { @@ -1624,45 +1960,79 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAc } } /** + * + * *
              * A collection of allowed IP ranges with descriptions.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * */ - public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange.Builder addAllowedIpRangesBuilder() { - return getAllowedIpRangesFieldBuilder().addBuilder( - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange.getDefaultInstance()); + public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .AllowedIpRange.Builder + addAllowedIpRangesBuilder() { + return getAllowedIpRangesFieldBuilder() + .addBuilder( + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .AllowedIpRange.getDefaultInstance()); } /** + * + * *
              * A collection of allowed IP ranges with descriptions.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * */ - public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange.Builder addAllowedIpRangesBuilder( - int index) { - return getAllowedIpRangesFieldBuilder().addBuilder( - index, com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange.getDefaultInstance()); + public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .AllowedIpRange.Builder + addAllowedIpRangesBuilder(int index) { + return getAllowedIpRangesFieldBuilder() + .addBuilder( + index, + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .AllowedIpRange.getDefaultInstance()); } /** + * + * *
              * A collection of allowed IP ranges with descriptions.
              * 
        * - * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * */ - public java.util.List - getAllowedIpRangesBuilderList() { + public java.util.List< + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .AllowedIpRange.Builder> + getAllowedIpRangesBuilderList() { return getAllowedIpRangesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange, com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRangeOrBuilder> + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .AllowedIpRange, + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .AllowedIpRange.Builder, + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .AllowedIpRangeOrBuilder> getAllowedIpRangesFieldBuilder() { if (allowedIpRangesBuilder_ == null) { - allowedIpRangesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange, com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRangeOrBuilder>( + allowedIpRangesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .AllowedIpRange, + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .AllowedIpRange.Builder, + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .AllowedIpRangeOrBuilder>( allowedIpRanges_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1671,9 +2041,9 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAc } return allowedIpRangesBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1683,30 +2053,34 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl) - private static final com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl DEFAULT_INSTANCE; + private static final com.google.cloud.orchestration.airflow.service.v1beta1 + .WebServerNetworkAccessControl + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl(); + DEFAULT_INSTANCE = + new com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl(); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WebServerNetworkAccessControl parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WebServerNetworkAccessControl(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WebServerNetworkAccessControl parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WebServerNetworkAccessControl(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1718,9 +2092,8 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WebServerNetworkAccessControlOrBuilder.java b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WebServerNetworkAccessControlOrBuilder.java new file mode 100644 index 00000000..3400d7da --- /dev/null +++ b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WebServerNetworkAccessControlOrBuilder.java @@ -0,0 +1,97 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/orchestration/airflow/service/v1beta1/environments.proto + +package com.google.cloud.orchestration.airflow.service.v1beta1; + +public interface WebServerNetworkAccessControlOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
        +   * A collection of allowed IP ranges with descriptions.
        +   * 
        + * + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * + */ + java.util.List< + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .AllowedIpRange> + getAllowedIpRangesList(); + /** + * + * + *
        +   * A collection of allowed IP ranges with descriptions.
        +   * 
        + * + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * + */ + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .AllowedIpRange + getAllowedIpRanges(int index); + /** + * + * + *
        +   * A collection of allowed IP ranges with descriptions.
        +   * 
        + * + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * + */ + int getAllowedIpRangesCount(); + /** + * + * + *
        +   * A collection of allowed IP ranges with descriptions.
        +   * 
        + * + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * + */ + java.util.List< + ? extends + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .AllowedIpRangeOrBuilder> + getAllowedIpRangesOrBuilderList(); + /** + * + * + *
        +   * A collection of allowed IP ranges with descriptions.
        +   * 
        + * + * + * repeated .google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange allowed_ip_ranges = 1; + * + */ + com.google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl + .AllowedIpRangeOrBuilder + getAllowedIpRangesOrBuilder(int index); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WorkloadsConfig.java b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WorkloadsConfig.java similarity index 59% rename from owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WorkloadsConfig.java rename to proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WorkloadsConfig.java index e1f23048..532fccc2 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WorkloadsConfig.java +++ b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WorkloadsConfig.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/orchestration/airflow/service/v1beta1/environments.proto package com.google.cloud.orchestration.airflow.service.v1beta1; /** + * + * *
          * The Kubernetes workloads configuration for GKE cluster associated with the
          * Cloud Composer environment. Supported for Cloud Composer environments in
        @@ -12,30 +29,29 @@
          *
          * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig}
          */
        -public final class WorkloadsConfig extends
        -    com.google.protobuf.GeneratedMessageV3 implements
        +public final class WorkloadsConfig extends com.google.protobuf.GeneratedMessageV3
        +    implements
             // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig)
             WorkloadsConfigOrBuilder {
        -private static final long serialVersionUID = 0L;
        +  private static final long serialVersionUID = 0L;
           // Use WorkloadsConfig.newBuilder() to construct.
           private WorkloadsConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
             super(builder);
           }
        -  private WorkloadsConfig() {
        -  }
        +
        +  private WorkloadsConfig() {}
         
           @java.lang.Override
           @SuppressWarnings({"unused"})
        -  protected java.lang.Object newInstance(
        -      UnusedPrivateParameter unused) {
        +  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
             return new WorkloadsConfig();
           }
         
           @java.lang.Override
        -  public final com.google.protobuf.UnknownFieldSet
        -  getUnknownFields() {
        +  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
             return this.unknownFields;
           }
        +
           private WorkloadsConfig(
               com.google.protobuf.CodedInputStream input,
               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        @@ -54,52 +70,73 @@ private WorkloadsConfig(
                   case 0:
                     done = true;
                     break;
        -          case 10: {
        -            com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource.Builder subBuilder = null;
        -            if (scheduler_ != null) {
        -              subBuilder = scheduler_.toBuilder();
        -            }
        -            scheduler_ = input.readMessage(com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource.parser(), extensionRegistry);
        -            if (subBuilder != null) {
        -              subBuilder.mergeFrom(scheduler_);
        -              scheduler_ = subBuilder.buildPartial();
        -            }
        +          case 10:
        +            {
        +              com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig
        +                      .SchedulerResource.Builder
        +                  subBuilder = null;
        +              if (scheduler_ != null) {
        +                subBuilder = scheduler_.toBuilder();
        +              }
        +              scheduler_ =
        +                  input.readMessage(
        +                      com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig
        +                          .SchedulerResource.parser(),
        +                      extensionRegistry);
        +              if (subBuilder != null) {
        +                subBuilder.mergeFrom(scheduler_);
        +                scheduler_ = subBuilder.buildPartial();
        +              }
         
        -            break;
        -          }
        -          case 18: {
        -            com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource.Builder subBuilder = null;
        -            if (webServer_ != null) {
        -              subBuilder = webServer_.toBuilder();
        -            }
        -            webServer_ = input.readMessage(com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource.parser(), extensionRegistry);
        -            if (subBuilder != null) {
        -              subBuilder.mergeFrom(webServer_);
        -              webServer_ = subBuilder.buildPartial();
        +              break;
                     }
        +          case 18:
        +            {
        +              com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig
        +                      .WebServerResource.Builder
        +                  subBuilder = null;
        +              if (webServer_ != null) {
        +                subBuilder = webServer_.toBuilder();
        +              }
        +              webServer_ =
        +                  input.readMessage(
        +                      com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig
        +                          .WebServerResource.parser(),
        +                      extensionRegistry);
        +              if (subBuilder != null) {
        +                subBuilder.mergeFrom(webServer_);
        +                webServer_ = subBuilder.buildPartial();
        +              }
         
        -            break;
        -          }
        -          case 26: {
        -            com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource.Builder subBuilder = null;
        -            if (worker_ != null) {
        -              subBuilder = worker_.toBuilder();
        -            }
        -            worker_ = input.readMessage(com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource.parser(), extensionRegistry);
        -            if (subBuilder != null) {
        -              subBuilder.mergeFrom(worker_);
        -              worker_ = subBuilder.buildPartial();
        +              break;
                     }
        +          case 26:
        +            {
        +              com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource
        +                      .Builder
        +                  subBuilder = null;
        +              if (worker_ != null) {
        +                subBuilder = worker_.toBuilder();
        +              }
        +              worker_ =
        +                  input.readMessage(
        +                      com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig
        +                          .WorkerResource.parser(),
        +                      extensionRegistry);
        +              if (subBuilder != null) {
        +                subBuilder.mergeFrom(worker_);
        +                worker_ = 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) {
        @@ -107,101 +144,118 @@ private WorkloadsConfig(
             } catch (com.google.protobuf.UninitializedMessageException e) {
               throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
             } catch (java.io.IOException e) {
        -      throw new com.google.protobuf.InvalidProtocolBufferException(
        -          e).setUnfinishedMessage(this);
        +      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
             } finally {
               this.unknownFields = unknownFields.build();
               makeExtensionsImmutable();
             }
           }
        -  public static final com.google.protobuf.Descriptors.Descriptor
        -      getDescriptor() {
        -    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_descriptor;
        +
        +  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        +    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
        +        .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_descriptor;
           }
         
           @java.lang.Override
           protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
               internalGetFieldAccessorTable() {
        -    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_fieldAccessorTable
        +    return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
        +        .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_fieldAccessorTable
                 .ensureFieldAccessorsInitialized(
        -            com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.class, com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.Builder.class);
        +            com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.class,
        +            com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.Builder.class);
           }
         
        -  public interface SchedulerResourceOrBuilder extends
        +  public interface SchedulerResourceOrBuilder
        +      extends
               // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource)
               com.google.protobuf.MessageOrBuilder {
         
             /**
        +     *
        +     *
              * 
              * Optional. CPU request and limit for a single Airflow scheduler replica.
              * 
        * * float cpu = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The cpu. */ float getCpu(); /** + * + * *
              * Optional. Memory (GB) request and limit for a single Airflow scheduler replica.
              * 
        * * float memory_gb = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The memoryGb. */ float getMemoryGb(); /** + * + * *
              * Optional. Storage (GB) request and limit for a single Airflow scheduler replica.
              * 
        * * float storage_gb = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The storageGb. */ float getStorageGb(); /** + * + * *
              * Optional. The number of schedulers.
              * 
        * * int32 count = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count. */ int getCount(); } /** + * + * *
            * Configuration for resources used by Airflow schedulers.
            * 
        * - * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource} + * Protobuf type {@code + * google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource} */ - public static final class SchedulerResource extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class SchedulerResource extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource) SchedulerResourceOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SchedulerResource.newBuilder() to construct. private SchedulerResource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SchedulerResource() { - } + + private SchedulerResource() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SchedulerResource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private SchedulerResource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -220,33 +274,33 @@ private SchedulerResource( case 0: done = true; break; - case 13: { - - cpu_ = input.readFloat(); - break; - } - case 21: { - - memoryGb_ = input.readFloat(); - break; - } - case 29: { - - storageGb_ = input.readFloat(); - break; - } - case 32: { - - count_ = input.readInt32(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 13: + { + cpu_ = input.readFloat(); + break; + } + case 21: + { + memoryGb_ = input.readFloat(); + break; + } + case 29: + { + storageGb_ = input.readFloat(); + break; + } + case 32: + { + count_ = input.readInt32(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -254,34 +308,41 @@ private SchedulerResource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_SchedulerResource_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_SchedulerResource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_SchedulerResource_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_SchedulerResource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource.class, com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource.Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .SchedulerResource.class, + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .SchedulerResource.Builder.class); } public static final int CPU_FIELD_NUMBER = 1; private float cpu_; /** + * + * *
              * Optional. CPU request and limit for a single Airflow scheduler replica.
              * 
        * * float cpu = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The cpu. */ @java.lang.Override @@ -292,11 +353,14 @@ public float getCpu() { public static final int MEMORY_GB_FIELD_NUMBER = 2; private float memoryGb_; /** + * + * *
              * Optional. Memory (GB) request and limit for a single Airflow scheduler replica.
              * 
        * * float memory_gb = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The memoryGb. */ @java.lang.Override @@ -307,11 +371,14 @@ public float getMemoryGb() { public static final int STORAGE_GB_FIELD_NUMBER = 3; private float storageGb_; /** + * + * *
              * Optional. Storage (GB) request and limit for a single Airflow scheduler replica.
              * 
        * * float storage_gb = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The storageGb. */ @java.lang.Override @@ -322,11 +389,14 @@ public float getStorageGb() { public static final int COUNT_FIELD_NUMBER = 4; private int count_; /** + * + * *
              * Optional. The number of schedulers.
              * 
        * * int32 count = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count. */ @java.lang.Override @@ -335,6 +405,7 @@ public int getCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -346,8 +417,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 (java.lang.Float.floatToRawIntBits(cpu_) != 0) { output.writeFloat(1, cpu_); } @@ -370,20 +440,16 @@ public int getSerializedSize() { size = 0; if (java.lang.Float.floatToRawIntBits(cpu_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(1, cpu_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(1, cpu_); } if (java.lang.Float.floatToRawIntBits(memoryGb_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(2, memoryGb_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, memoryGb_); } if (java.lang.Float.floatToRawIntBits(storageGb_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(3, storageGb_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(3, storageGb_); } if (count_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(4, count_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, count_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -393,24 +459,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.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource)) { + if (!(obj + instanceof + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .SchedulerResource)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource other = (com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource) obj; + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource + other = + (com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .SchedulerResource) + obj; if (java.lang.Float.floatToIntBits(getCpu()) - != java.lang.Float.floatToIntBits( - other.getCpu())) return false; + != java.lang.Float.floatToIntBits(other.getCpu())) return false; if (java.lang.Float.floatToIntBits(getMemoryGb()) - != java.lang.Float.floatToIntBits( - other.getMemoryGb())) return false; + != java.lang.Float.floatToIntBits(other.getMemoryGb())) return false; if (java.lang.Float.floatToIntBits(getStorageGb()) - != java.lang.Float.floatToIntBits( - other.getStorageGb())) return false; - if (getCount() - != other.getCount()) return false; + != java.lang.Float.floatToIntBits(other.getStorageGb())) return false; + if (getCount() != other.getCount()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -423,14 +492,11 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + CPU_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getCpu()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getCpu()); hash = (37 * hash) + MEMORY_GB_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getMemoryGb()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getMemoryGb()); hash = (37 * hash) + STORAGE_GB_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getStorageGb()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getStorageGb()); hash = (37 * hash) + COUNT_FIELD_NUMBER; hash = (53 * hash) + getCount(); hash = (29 * hash) + unknownFields.hashCode(); @@ -438,88 +504,114 @@ public int hashCode() { return hash; } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .SchedulerResource + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .SchedulerResource + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .SchedulerResource + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .SchedulerResource + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .SchedulerResource + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .SchedulerResource + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .SchedulerResource + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .SchedulerResource + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .SchedulerResource + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource 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.orchestration.airflow.service.v1beta1.WorkloadsConfig + .SchedulerResource + 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.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .SchedulerResource + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .SchedulerResource + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource prototype) { + + public static Builder newBuilder( + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -529,44 +621,53 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
              * Configuration for resources used by Airflow schedulers.
              * 
        * - * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource} + * Protobuf type {@code + * google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource) - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_SchedulerResource_descriptor; + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .SchedulerResourceOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_SchedulerResource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_SchedulerResource_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_SchedulerResource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource.class, com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource.Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .SchedulerResource.class, + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .SchedulerResource.Builder.class); } - // Construct using com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource.newBuilder() + // Construct using + // com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -582,19 +683,25 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_SchedulerResource_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_SchedulerResource_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource.getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .SchedulerResource + getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .SchedulerResource.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource build() { - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource result = buildPartial(); + public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .SchedulerResource + build() { + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -602,8 +709,13 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.Sc } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource buildPartial() { - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource result = new com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource(this); + public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .SchedulerResource + buildPartial() { + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource + result = + new com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .SchedulerResource(this); result.cpu_ = cpu_; result.memoryGb_ = memoryGb_; result.storageGb_ = storageGb_; @@ -616,46 +728,59 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.Sc public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource) { - return mergeFrom((com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource)other); + if (other + instanceof + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .SchedulerResource) { + return mergeFrom( + (com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .SchedulerResource) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource other) { - if (other == com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource + other) { + if (other + == com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .SchedulerResource.getDefaultInstance()) return this; if (other.getCpu() != 0F) { setCpu(other.getCpu()); } @@ -683,11 +808,15 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource parsedMessage = null; + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .SchedulerResource) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -697,13 +826,16 @@ public Builder mergeFrom( return this; } - private float cpu_ ; + private float cpu_; /** + * + * *
                * Optional. CPU request and limit for a single Airflow scheduler replica.
                * 
        * * float cpu = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The cpu. */ @java.lang.Override @@ -711,42 +843,51 @@ public float getCpu() { return cpu_; } /** + * + * *
                * Optional. CPU request and limit for a single Airflow scheduler replica.
                * 
        * * float cpu = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The cpu to set. * @return This builder for chaining. */ public Builder setCpu(float value) { - + cpu_ = value; onChanged(); return this; } /** + * + * *
                * Optional. CPU request and limit for a single Airflow scheduler replica.
                * 
        * * float cpu = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearCpu() { - + cpu_ = 0F; onChanged(); return this; } - private float memoryGb_ ; + private float memoryGb_; /** + * + * *
                * Optional. Memory (GB) request and limit for a single Airflow scheduler replica.
                * 
        * * float memory_gb = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The memoryGb. */ @java.lang.Override @@ -754,42 +895,51 @@ public float getMemoryGb() { return memoryGb_; } /** + * + * *
                * Optional. Memory (GB) request and limit for a single Airflow scheduler replica.
                * 
        * * float memory_gb = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The memoryGb to set. * @return This builder for chaining. */ public Builder setMemoryGb(float value) { - + memoryGb_ = value; onChanged(); return this; } /** + * + * *
                * Optional. Memory (GB) request and limit for a single Airflow scheduler replica.
                * 
        * * float memory_gb = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearMemoryGb() { - + memoryGb_ = 0F; onChanged(); return this; } - private float storageGb_ ; + private float storageGb_; /** + * + * *
                * Optional. Storage (GB) request and limit for a single Airflow scheduler replica.
                * 
        * * float storage_gb = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The storageGb. */ @java.lang.Override @@ -797,42 +947,51 @@ public float getStorageGb() { return storageGb_; } /** + * + * *
                * Optional. Storage (GB) request and limit for a single Airflow scheduler replica.
                * 
        * * float storage_gb = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The storageGb to set. * @return This builder for chaining. */ public Builder setStorageGb(float value) { - + storageGb_ = value; onChanged(); return this; } /** + * + * *
                * Optional. Storage (GB) request and limit for a single Airflow scheduler replica.
                * 
        * * float storage_gb = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearStorageGb() { - + storageGb_ = 0F; onChanged(); return this; } - private int count_ ; + private int count_; /** + * + * *
                * Optional. The number of schedulers.
                * 
        * * int32 count = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count. */ @java.lang.Override @@ -840,34 +999,41 @@ public int getCount() { return count_; } /** + * + * *
                * Optional. The number of schedulers.
                * 
        * * int32 count = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The count to set. * @return This builder for chaining. */ public Builder setCount(int value) { - + count_ = value; onChanged(); return this; } /** + * + * *
                * Optional. The number of schedulers.
                * 
        * * int32 count = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearCount() { - + count_ = 0; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -880,30 +1046,36 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource) - private static final com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource DEFAULT_INSTANCE; + private static final com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .SchedulerResource + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource(); + DEFAULT_INSTANCE = + new com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .SchedulerResource(); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .SchedulerResource + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SchedulerResource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SchedulerResource(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SchedulerResource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SchedulerResource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -915,77 +1087,89 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface WebServerResourceOrBuilder extends + public interface WebServerResourceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource) com.google.protobuf.MessageOrBuilder { /** + * + * *
              * Optional. CPU request and limit for Airflow web server.
              * 
        * * float cpu = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The cpu. */ float getCpu(); /** + * + * *
              * Optional. Memory (GB) request and limit for Airflow web server.
              * 
        * * float memory_gb = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The memoryGb. */ float getMemoryGb(); /** + * + * *
              * Optional. Storage (GB) request and limit for Airflow web server.
              * 
        * * float storage_gb = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The storageGb. */ float getStorageGb(); } /** + * + * *
            * Configuration for resources used by Airflow web server.
            * 
        * - * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource} + * Protobuf type {@code + * google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource} */ - public static final class WebServerResource extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class WebServerResource extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource) WebServerResourceOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use WebServerResource.newBuilder() to construct. private WebServerResource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private WebServerResource() { - } + + private WebServerResource() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new WebServerResource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private WebServerResource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1004,28 +1188,28 @@ private WebServerResource( case 0: done = true; break; - case 13: { - - cpu_ = input.readFloat(); - break; - } - case 21: { - - memoryGb_ = input.readFloat(); - break; - } - case 29: { - - storageGb_ = input.readFloat(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 13: + { + cpu_ = input.readFloat(); + break; + } + case 21: + { + memoryGb_ = input.readFloat(); + break; + } + case 29: + { + storageGb_ = input.readFloat(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1033,34 +1217,41 @@ private WebServerResource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WebServerResource_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WebServerResource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WebServerResource_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WebServerResource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource.class, com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource.Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WebServerResource.class, + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WebServerResource.Builder.class); } public static final int CPU_FIELD_NUMBER = 1; private float cpu_; /** + * + * *
              * Optional. CPU request and limit for Airflow web server.
              * 
        * * float cpu = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The cpu. */ @java.lang.Override @@ -1071,11 +1262,14 @@ public float getCpu() { public static final int MEMORY_GB_FIELD_NUMBER = 2; private float memoryGb_; /** + * + * *
              * Optional. Memory (GB) request and limit for Airflow web server.
              * 
        * * float memory_gb = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The memoryGb. */ @java.lang.Override @@ -1086,11 +1280,14 @@ public float getMemoryGb() { public static final int STORAGE_GB_FIELD_NUMBER = 3; private float storageGb_; /** + * + * *
              * Optional. Storage (GB) request and limit for Airflow web server.
              * 
        * * float storage_gb = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The storageGb. */ @java.lang.Override @@ -1099,6 +1296,7 @@ public float getStorageGb() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1110,8 +1308,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 (java.lang.Float.floatToRawIntBits(cpu_) != 0) { output.writeFloat(1, cpu_); } @@ -1131,16 +1328,13 @@ public int getSerializedSize() { size = 0; if (java.lang.Float.floatToRawIntBits(cpu_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(1, cpu_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(1, cpu_); } if (java.lang.Float.floatToRawIntBits(memoryGb_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(2, memoryGb_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, memoryGb_); } if (java.lang.Float.floatToRawIntBits(storageGb_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(3, storageGb_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(3, storageGb_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1150,22 +1344,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource)) { + if (!(obj + instanceof + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WebServerResource)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource other = (com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource) obj; + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource + other = + (com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WebServerResource) + obj; if (java.lang.Float.floatToIntBits(getCpu()) - != java.lang.Float.floatToIntBits( - other.getCpu())) return false; + != java.lang.Float.floatToIntBits(other.getCpu())) return false; if (java.lang.Float.floatToIntBits(getMemoryGb()) - != java.lang.Float.floatToIntBits( - other.getMemoryGb())) return false; + != java.lang.Float.floatToIntBits(other.getMemoryGb())) return false; if (java.lang.Float.floatToIntBits(getStorageGb()) - != java.lang.Float.floatToIntBits( - other.getStorageGb())) return false; + != java.lang.Float.floatToIntBits(other.getStorageGb())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1178,101 +1376,124 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + CPU_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getCpu()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getCpu()); hash = (37 * hash) + MEMORY_GB_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getMemoryGb()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getMemoryGb()); hash = (37 * hash) + STORAGE_GB_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getStorageGb()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getStorageGb()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WebServerResource + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WebServerResource + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WebServerResource + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WebServerResource + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WebServerResource + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WebServerResource + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WebServerResource + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WebServerResource + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WebServerResource + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource 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.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WebServerResource + 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.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WebServerResource + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WebServerResource + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource prototype) { + + public static Builder newBuilder( + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1282,44 +1503,53 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
              * Configuration for resources used by Airflow web server.
              * 
        * - * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource} + * Protobuf type {@code + * google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource) - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WebServerResource_descriptor; + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WebServerResourceOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WebServerResource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WebServerResource_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WebServerResource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource.class, com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource.Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WebServerResource.class, + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WebServerResource.Builder.class); } - // Construct using com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource.newBuilder() + // Construct using + // com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1333,19 +1563,25 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WebServerResource_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WebServerResource_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource.getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WebServerResource + getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WebServerResource.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource build() { - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource result = buildPartial(); + public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WebServerResource + build() { + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1353,8 +1589,13 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.We } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource buildPartial() { - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource result = new com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource(this); + public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WebServerResource + buildPartial() { + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource + result = + new com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WebServerResource(this); result.cpu_ = cpu_; result.memoryGb_ = memoryGb_; result.storageGb_ = storageGb_; @@ -1366,46 +1607,59 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.We public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource) { - return mergeFrom((com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource)other); + if (other + instanceof + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WebServerResource) { + return mergeFrom( + (com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WebServerResource) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource other) { - if (other == com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource + other) { + if (other + == com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WebServerResource.getDefaultInstance()) return this; if (other.getCpu() != 0F) { setCpu(other.getCpu()); } @@ -1430,11 +1684,15 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource parsedMessage = null; + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WebServerResource) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1444,13 +1702,16 @@ public Builder mergeFrom( return this; } - private float cpu_ ; + private float cpu_; /** + * + * *
                * Optional. CPU request and limit for Airflow web server.
                * 
        * * float cpu = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The cpu. */ @java.lang.Override @@ -1458,42 +1719,51 @@ public float getCpu() { return cpu_; } /** + * + * *
                * Optional. CPU request and limit for Airflow web server.
                * 
        * * float cpu = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The cpu to set. * @return This builder for chaining. */ public Builder setCpu(float value) { - + cpu_ = value; onChanged(); return this; } /** + * + * *
                * Optional. CPU request and limit for Airflow web server.
                * 
        * * float cpu = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearCpu() { - + cpu_ = 0F; onChanged(); return this; } - private float memoryGb_ ; + private float memoryGb_; /** + * + * *
                * Optional. Memory (GB) request and limit for Airflow web server.
                * 
        * * float memory_gb = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The memoryGb. */ @java.lang.Override @@ -1501,42 +1771,51 @@ public float getMemoryGb() { return memoryGb_; } /** + * + * *
                * Optional. Memory (GB) request and limit for Airflow web server.
                * 
        * * float memory_gb = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The memoryGb to set. * @return This builder for chaining. */ public Builder setMemoryGb(float value) { - + memoryGb_ = value; onChanged(); return this; } /** + * + * *
                * Optional. Memory (GB) request and limit for Airflow web server.
                * 
        * * float memory_gb = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearMemoryGb() { - + memoryGb_ = 0F; onChanged(); return this; } - private float storageGb_ ; + private float storageGb_; /** + * + * *
                * Optional. Storage (GB) request and limit for Airflow web server.
                * 
        * * float storage_gb = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The storageGb. */ @java.lang.Override @@ -1544,34 +1823,41 @@ public float getStorageGb() { return storageGb_; } /** + * + * *
                * Optional. Storage (GB) request and limit for Airflow web server.
                * 
        * * float storage_gb = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The storageGb to set. * @return This builder for chaining. */ public Builder setStorageGb(float value) { - + storageGb_ = value; onChanged(); return this; } /** + * + * *
                * Optional. Storage (GB) request and limit for Airflow web server.
                * 
        * * float storage_gb = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearStorageGb() { - + storageGb_ = 0F; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1584,30 +1870,36 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource) - private static final com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource DEFAULT_INSTANCE; + private static final com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WebServerResource + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource(); + DEFAULT_INSTANCE = + new com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WebServerResource(); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WebServerResource + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WebServerResource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WebServerResource(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WebServerResource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WebServerResource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1619,97 +1911,115 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface WorkerResourceOrBuilder extends + public interface WorkerResourceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource) com.google.protobuf.MessageOrBuilder { /** + * + * *
              * Optional. CPU request and limit for a single Airflow worker replica.
              * 
        * * float cpu = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The cpu. */ float getCpu(); /** + * + * *
              * Optional. Memory (GB) request and limit for a single Airflow worker replica.
              * 
        * * float memory_gb = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The memoryGb. */ float getMemoryGb(); /** + * + * *
              * Optional. Storage (GB) request and limit for a single Airflow worker replica.
              * 
        * * float storage_gb = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The storageGb. */ float getStorageGb(); /** + * + * *
              * Optional. Minimum number of workers for autoscaling.
              * 
        * * int32 min_count = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The minCount. */ int getMinCount(); /** + * + * *
              * Optional. Maximum number of workers for autoscaling.
              * 
        * * int32 max_count = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The maxCount. */ int getMaxCount(); } /** + * + * *
            * Configuration for resources used by Airflow workers.
            * 
        * - * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource} + * Protobuf type {@code + * google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource} */ - public static final class WorkerResource extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class WorkerResource extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource) WorkerResourceOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use WorkerResource.newBuilder() to construct. private WorkerResource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private WorkerResource() { - } + + private WorkerResource() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new WorkerResource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private WorkerResource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1728,38 +2038,38 @@ private WorkerResource( case 0: done = true; break; - case 13: { - - cpu_ = input.readFloat(); - break; - } - case 21: { - - memoryGb_ = input.readFloat(); - break; - } - case 29: { - - storageGb_ = input.readFloat(); - break; - } - case 32: { - - minCount_ = input.readInt32(); - break; - } - case 40: { - - maxCount_ = input.readInt32(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 13: + { + cpu_ = input.readFloat(); + break; + } + case 21: + { + memoryGb_ = input.readFloat(); + break; + } + case 29: + { + storageGb_ = input.readFloat(); + break; + } + case 32: + { + minCount_ = input.readInt32(); + break; + } + case 40: + { + maxCount_ = input.readInt32(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1767,34 +2077,41 @@ private WorkerResource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WorkerResource_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WorkerResource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WorkerResource_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WorkerResource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource.class, com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource.Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource + .class, + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource + .Builder.class); } public static final int CPU_FIELD_NUMBER = 1; private float cpu_; /** + * + * *
              * Optional. CPU request and limit for a single Airflow worker replica.
              * 
        * * float cpu = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The cpu. */ @java.lang.Override @@ -1805,11 +2122,14 @@ public float getCpu() { public static final int MEMORY_GB_FIELD_NUMBER = 2; private float memoryGb_; /** + * + * *
              * Optional. Memory (GB) request and limit for a single Airflow worker replica.
              * 
        * * float memory_gb = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The memoryGb. */ @java.lang.Override @@ -1820,11 +2140,14 @@ public float getMemoryGb() { public static final int STORAGE_GB_FIELD_NUMBER = 3; private float storageGb_; /** + * + * *
              * Optional. Storage (GB) request and limit for a single Airflow worker replica.
              * 
        * * float storage_gb = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The storageGb. */ @java.lang.Override @@ -1835,11 +2158,14 @@ public float getStorageGb() { public static final int MIN_COUNT_FIELD_NUMBER = 4; private int minCount_; /** + * + * *
              * Optional. Minimum number of workers for autoscaling.
              * 
        * * int32 min_count = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The minCount. */ @java.lang.Override @@ -1850,11 +2176,14 @@ public int getMinCount() { public static final int MAX_COUNT_FIELD_NUMBER = 5; private int maxCount_; /** + * + * *
              * Optional. Maximum number of workers for autoscaling.
              * 
        * * int32 max_count = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The maxCount. */ @java.lang.Override @@ -1863,6 +2192,7 @@ public int getMaxCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1874,8 +2204,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 (java.lang.Float.floatToRawIntBits(cpu_) != 0) { output.writeFloat(1, cpu_); } @@ -1901,24 +2230,19 @@ public int getSerializedSize() { size = 0; if (java.lang.Float.floatToRawIntBits(cpu_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(1, cpu_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(1, cpu_); } if (java.lang.Float.floatToRawIntBits(memoryGb_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(2, memoryGb_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, memoryGb_); } if (java.lang.Float.floatToRawIntBits(storageGb_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(3, storageGb_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(3, storageGb_); } if (minCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(4, minCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, minCount_); } if (maxCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(5, maxCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, maxCount_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1928,26 +2252,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource)) { + if (!(obj + instanceof + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource other = (com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource) obj; + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource other = + (com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource) + obj; if (java.lang.Float.floatToIntBits(getCpu()) - != java.lang.Float.floatToIntBits( - other.getCpu())) return false; + != java.lang.Float.floatToIntBits(other.getCpu())) return false; if (java.lang.Float.floatToIntBits(getMemoryGb()) - != java.lang.Float.floatToIntBits( - other.getMemoryGb())) return false; + != java.lang.Float.floatToIntBits(other.getMemoryGb())) return false; if (java.lang.Float.floatToIntBits(getStorageGb()) - != java.lang.Float.floatToIntBits( - other.getStorageGb())) return false; - if (getMinCount() - != other.getMinCount()) return false; - if (getMaxCount() - != other.getMaxCount()) return false; + != java.lang.Float.floatToIntBits(other.getStorageGb())) return false; + if (getMinCount() != other.getMinCount()) return false; + if (getMaxCount() != other.getMaxCount()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1960,14 +2283,11 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + CPU_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getCpu()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getCpu()); hash = (37 * hash) + MEMORY_GB_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getMemoryGb()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getMemoryGb()); hash = (37 * hash) + STORAGE_GB_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getStorageGb()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getStorageGb()); hash = (37 * hash) + MIN_COUNT_FIELD_NUMBER; hash = (53 * hash) + getMinCount(); hash = (37 * hash) + MAX_COUNT_FIELD_NUMBER; @@ -1977,88 +2297,114 @@ public int hashCode() { return hash; } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WorkerResource + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WorkerResource + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WorkerResource + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WorkerResource + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WorkerResource + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WorkerResource + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WorkerResource + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WorkerResource + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WorkerResource + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource 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.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WorkerResource + 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.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WorkerResource + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WorkerResource + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource prototype) { + + public static Builder newBuilder( + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2068,44 +2414,53 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
              * Configuration for resources used by Airflow workers.
              * 
        * - * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource} + * Protobuf type {@code + * google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource) - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WorkerResource_descriptor; + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WorkerResourceOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WorkerResource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WorkerResource_fieldAccessorTable + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WorkerResource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource.class, com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource.Builder.class); + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WorkerResource.class, + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WorkerResource.Builder.class); } - // Construct using com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource.newBuilder() + // Construct using + // com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -2123,19 +2478,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WorkerResource_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass + .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_WorkerResource_descriptor; } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource getDefaultInstanceForType() { - return com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource.getDefaultInstance(); + public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource + getDefaultInstanceForType() { + return com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource + .getDefaultInstance(); } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource build() { - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource result = buildPartial(); + public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource + build() { + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -2143,8 +2502,12 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.Wo } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource buildPartial() { - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource result = new com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource(this); + public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource + buildPartial() { + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource + result = + new com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WorkerResource(this); result.cpu_ = cpu_; result.memoryGb_ = memoryGb_; result.storageGb_ = storageGb_; @@ -2158,46 +2521,58 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.Wo public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource) { - return mergeFrom((com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource)other); + if (other + instanceof + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource) { + return mergeFrom( + (com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WorkerResource) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource other) { - if (other == com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource + other) { + if (other + == com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource + .getDefaultInstance()) return this; if (other.getCpu() != 0F) { setCpu(other.getCpu()); } @@ -2228,11 +2603,15 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource parsedMessage = null; + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WorkerResource) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2242,13 +2621,16 @@ public Builder mergeFrom( return this; } - private float cpu_ ; + private float cpu_; /** + * + * *
                * Optional. CPU request and limit for a single Airflow worker replica.
                * 
        * * float cpu = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The cpu. */ @java.lang.Override @@ -2256,42 +2638,51 @@ public float getCpu() { return cpu_; } /** + * + * *
                * Optional. CPU request and limit for a single Airflow worker replica.
                * 
        * * float cpu = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The cpu to set. * @return This builder for chaining. */ public Builder setCpu(float value) { - + cpu_ = value; onChanged(); return this; } /** + * + * *
                * Optional. CPU request and limit for a single Airflow worker replica.
                * 
        * * float cpu = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearCpu() { - + cpu_ = 0F; onChanged(); return this; } - private float memoryGb_ ; + private float memoryGb_; /** + * + * *
                * Optional. Memory (GB) request and limit for a single Airflow worker replica.
                * 
        * * float memory_gb = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The memoryGb. */ @java.lang.Override @@ -2299,42 +2690,51 @@ public float getMemoryGb() { return memoryGb_; } /** + * + * *
                * Optional. Memory (GB) request and limit for a single Airflow worker replica.
                * 
        * * float memory_gb = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The memoryGb to set. * @return This builder for chaining. */ public Builder setMemoryGb(float value) { - + memoryGb_ = value; onChanged(); return this; } /** + * + * *
                * Optional. Memory (GB) request and limit for a single Airflow worker replica.
                * 
        * * float memory_gb = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearMemoryGb() { - + memoryGb_ = 0F; onChanged(); return this; } - private float storageGb_ ; + private float storageGb_; /** + * + * *
                * Optional. Storage (GB) request and limit for a single Airflow worker replica.
                * 
        * * float storage_gb = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The storageGb. */ @java.lang.Override @@ -2342,42 +2742,51 @@ public float getStorageGb() { return storageGb_; } /** + * + * *
                * Optional. Storage (GB) request and limit for a single Airflow worker replica.
                * 
        * * float storage_gb = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The storageGb to set. * @return This builder for chaining. */ public Builder setStorageGb(float value) { - + storageGb_ = value; onChanged(); return this; } /** + * + * *
                * Optional. Storage (GB) request and limit for a single Airflow worker replica.
                * 
        * * float storage_gb = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearStorageGb() { - + storageGb_ = 0F; onChanged(); return this; } - private int minCount_ ; + private int minCount_; /** + * + * *
                * Optional. Minimum number of workers for autoscaling.
                * 
        * * int32 min_count = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The minCount. */ @java.lang.Override @@ -2385,42 +2794,51 @@ public int getMinCount() { return minCount_; } /** + * + * *
                * Optional. Minimum number of workers for autoscaling.
                * 
        * * int32 min_count = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The minCount to set. * @return This builder for chaining. */ public Builder setMinCount(int value) { - + minCount_ = value; onChanged(); return this; } /** + * + * *
                * Optional. Minimum number of workers for autoscaling.
                * 
        * * int32 min_count = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearMinCount() { - + minCount_ = 0; onChanged(); return this; } - private int maxCount_ ; + private int maxCount_; /** + * + * *
                * Optional. Maximum number of workers for autoscaling.
                * 
        * * int32 max_count = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The maxCount. */ @java.lang.Override @@ -2428,34 +2846,41 @@ public int getMaxCount() { return maxCount_; } /** + * + * *
                * Optional. Maximum number of workers for autoscaling.
                * 
        * * int32 max_count = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The maxCount to set. * @return This builder for chaining. */ public Builder setMaxCount(int value) { - + maxCount_ = value; onChanged(); return this; } /** + * + * *
                * Optional. Maximum number of workers for autoscaling.
                * 
        * * int32 max_count = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearMaxCount() { - + maxCount_ = 0; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2468,30 +2893,36 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource) - private static final com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource DEFAULT_INSTANCE; + private static final com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WorkerResource + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource(); + DEFAULT_INSTANCE = + new com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WorkerResource(); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WorkerResource + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WorkerResource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WorkerResource(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WorkerResource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WorkerResource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2503,20 +2934,26 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int SCHEDULER_FIELD_NUMBER = 1; - private com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler_; + private com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource + scheduler_; /** + * + * *
            * Optional. Resources used by Airflow schedulers.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the scheduler field is set. */ @java.lang.Override @@ -2524,37 +2961,58 @@ public boolean hasScheduler() { return scheduler_ != null; } /** + * + * *
            * Optional. Resources used by Airflow schedulers.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The scheduler. */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource getScheduler() { - return scheduler_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource.getDefaultInstance() : scheduler_; + public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource + getScheduler() { + return scheduler_ == null + ? com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource + .getDefaultInstance() + : scheduler_; } /** + * + * *
            * Optional. Resources used by Airflow schedulers.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResourceOrBuilder getSchedulerOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .SchedulerResourceOrBuilder + getSchedulerOrBuilder() { return getScheduler(); } public static final int WEB_SERVER_FIELD_NUMBER = 2; - private com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource webServer_; + private com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource + webServer_; /** + * + * *
            * Optional. Resources used by Airflow web server.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the webServer field is set. */ @java.lang.Override @@ -2562,37 +3020,58 @@ public boolean hasWebServer() { return webServer_ != null; } /** + * + * *
            * Optional. Resources used by Airflow web server.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The webServer. */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource getWebServer() { - return webServer_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource.getDefaultInstance() : webServer_; + public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource + getWebServer() { + return webServer_ == null + ? com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource + .getDefaultInstance() + : webServer_; } /** + * + * *
            * Optional. Resources used by Airflow web server.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResourceOrBuilder getWebServerOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WebServerResourceOrBuilder + getWebServerOrBuilder() { return getWebServer(); } public static final int WORKER_FIELD_NUMBER = 3; - private com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker_; + private com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource + worker_; /** + * + * *
            * Optional. Resources used by Airflow workers.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the worker field is set. */ @java.lang.Override @@ -2600,30 +3079,46 @@ public boolean hasWorker() { return worker_ != null; } /** + * + * *
            * Optional. Resources used by Airflow workers.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The worker. */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource getWorker() { - return worker_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource.getDefaultInstance() : worker_; + public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource + getWorker() { + return worker_ == null + ? com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource + .getDefaultInstance() + : worker_; } /** + * + * *
            * Optional. Resources used by Airflow workers.
            * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResourceOrBuilder getWorkerOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WorkerResourceOrBuilder + getWorkerOrBuilder() { return getWorker(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2635,8 +3130,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 (scheduler_ != null) { output.writeMessage(1, getScheduler()); } @@ -2656,16 +3150,13 @@ public int getSerializedSize() { size = 0; if (scheduler_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getScheduler()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getScheduler()); } if (webServer_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getWebServer()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getWebServer()); } if (worker_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getWorker()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getWorker()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2675,27 +3166,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig)) { return super.equals(obj); } - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig other = (com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig) obj; + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig other = + (com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig) obj; if (hasScheduler() != other.hasScheduler()) return false; if (hasScheduler()) { - if (!getScheduler() - .equals(other.getScheduler())) return false; + if (!getScheduler().equals(other.getScheduler())) return false; } if (hasWebServer() != other.hasWebServer()) return false; if (hasWebServer()) { - if (!getWebServer() - .equals(other.getWebServer())) return false; + if (!getWebServer().equals(other.getWebServer())) return false; } if (hasWorker() != other.hasWorker()) return false; if (hasWorker()) { - if (!getWorker() - .equals(other.getWorker())) return false; + if (!getWorker().equals(other.getWorker())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -2726,96 +3215,105 @@ public int hashCode() { } public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig 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.orchestration.airflow.service.v1beta1.WorkloadsConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig 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.orchestration.airflow.service.v1beta1.WorkloadsConfig + 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.orchestration.airflow.service.v1beta1.WorkloadsConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 Kubernetes workloads configuration for GKE cluster associated with the
            * Cloud Composer environment. Supported for Cloud Composer environments in
        @@ -2824,38 +3322,40 @@ protected Builder newBuilderForType(
            *
            * Protobuf type {@code google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig}
            */
        -  public static final class Builder extends
        -      com.google.protobuf.GeneratedMessageV3.Builder implements
        +  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
        +      implements
               // @@protoc_insertion_point(builder_implements:google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig)
               com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfigOrBuilder {
        -    public static final com.google.protobuf.Descriptors.Descriptor
        -        getDescriptor() {
        -      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_descriptor;
        +    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        +      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
        +          .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_descriptor;
             }
         
             @java.lang.Override
             protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
                 internalGetFieldAccessorTable() {
        -      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_fieldAccessorTable
        +      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
        +          .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_fieldAccessorTable
                   .ensureFieldAccessorsInitialized(
        -              com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.class, com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.Builder.class);
        +              com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.class,
        +              com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.Builder.class);
             }
         
        -    // Construct using com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.newBuilder()
        +    // Construct using
        +    // com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.newBuilder()
             private Builder() {
               maybeForceBuilderInitialization();
             }
         
        -    private Builder(
        -        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        +    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
               super(parent);
               maybeForceBuilderInitialization();
             }
        +
             private void maybeForceBuilderInitialization() {
        -      if (com.google.protobuf.GeneratedMessageV3
        -              .alwaysUseFieldBuilders) {
        -      }
        +      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
             }
        +
             @java.lang.Override
             public Builder clear() {
               super.clear();
        @@ -2881,19 +3381,22 @@ public Builder clear() {
             }
         
             @java.lang.Override
        -    public com.google.protobuf.Descriptors.Descriptor
        -        getDescriptorForType() {
        -      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass.internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_descriptor;
        +    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
        +      return com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsOuterClass
        +          .internal_static_google_cloud_orchestration_airflow_service_v1beta1_WorkloadsConfig_descriptor;
             }
         
             @java.lang.Override
        -    public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig getDefaultInstanceForType() {
        -      return com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.getDefaultInstance();
        +    public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig
        +        getDefaultInstanceForType() {
        +      return com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig
        +          .getDefaultInstance();
             }
         
             @java.lang.Override
             public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig build() {
        -      com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig result = buildPartial();
        +      com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig result =
        +          buildPartial();
               if (!result.isInitialized()) {
                 throw newUninitializedMessageException(result);
               }
        @@ -2902,7 +3405,8 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig bu
         
             @java.lang.Override
             public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig buildPartial() {
        -      com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig result = new com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig(this);
        +      com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig result =
        +          new com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig(this);
               if (schedulerBuilder_ == null) {
                 result.scheduler_ = scheduler_;
               } else {
        @@ -2926,46 +3430,51 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig bu
             public Builder clone() {
               return super.clone();
             }
        +
             @java.lang.Override
             public Builder setField(
        -        com.google.protobuf.Descriptors.FieldDescriptor field,
        -        java.lang.Object value) {
        +        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
               return super.setField(field, value);
             }
        +
             @java.lang.Override
        -    public Builder clearField(
        -        com.google.protobuf.Descriptors.FieldDescriptor field) {
        +    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
               return super.clearField(field);
             }
        +
             @java.lang.Override
        -    public Builder clearOneof(
        -        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        +    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
               return super.clearOneof(oneof);
             }
        +
             @java.lang.Override
             public Builder setRepeatedField(
        -        com.google.protobuf.Descriptors.FieldDescriptor field,
        -        int index, java.lang.Object value) {
        +        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
               return super.setRepeatedField(field, index, value);
             }
        +
             @java.lang.Override
             public Builder addRepeatedField(
        -        com.google.protobuf.Descriptors.FieldDescriptor field,
        -        java.lang.Object value) {
        +        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
               return super.addRepeatedField(field, value);
             }
        +
             @java.lang.Override
             public Builder mergeFrom(com.google.protobuf.Message other) {
               if (other instanceof com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig) {
        -        return mergeFrom((com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig)other);
        +        return mergeFrom(
        +            (com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig) other);
               } else {
                 super.mergeFrom(other);
                 return this;
               }
             }
         
        -    public Builder mergeFrom(com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig other) {
        -      if (other == com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.getDefaultInstance()) return this;
        +    public Builder mergeFrom(
        +        com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig other) {
        +      if (other
        +          == com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig
        +              .getDefaultInstance()) return this;
               if (other.hasScheduler()) {
                 mergeScheduler(other.getScheduler());
               }
        @@ -2994,7 +3503,9 @@ public Builder mergeFrom(
               try {
                 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
               } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        -        parsedMessage = (com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig) e.getUnfinishedMessage();
        +        parsedMessage =
        +            (com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig)
        +                e.getUnfinishedMessage();
                 throw e.unwrapIOException();
               } finally {
                 if (parsedMessage != null) {
        @@ -3004,43 +3515,70 @@ public Builder mergeFrom(
               return this;
             }
         
        -    private com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler_;
        +    private com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource
        +        scheduler_;
             private com.google.protobuf.SingleFieldBuilderV3<
        -        com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource, com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResourceOrBuilder> schedulerBuilder_;
        +            com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig
        +                .SchedulerResource,
        +            com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource
        +                .Builder,
        +            com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig
        +                .SchedulerResourceOrBuilder>
        +        schedulerBuilder_;
             /**
        +     *
        +     *
              * 
              * Optional. Resources used by Airflow schedulers.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the scheduler field is set. */ public boolean hasScheduler() { return schedulerBuilder_ != null || scheduler_ != null; } /** + * + * *
              * Optional. Resources used by Airflow schedulers.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The scheduler. */ - public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource getScheduler() { + public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource + getScheduler() { if (schedulerBuilder_ == null) { - return scheduler_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource.getDefaultInstance() : scheduler_; + return scheduler_ == null + ? com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .SchedulerResource.getDefaultInstance() + : scheduler_; } else { return schedulerBuilder_.getMessage(); } } /** + * + * *
              * Optional. Resources used by Airflow schedulers.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setScheduler(com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource value) { + public Builder setScheduler( + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource + value) { if (schedulerBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3054,14 +3592,20 @@ public Builder setScheduler(com.google.cloud.orchestration.airflow.service.v1bet return this; } /** + * + * *
              * Optional. Resources used by Airflow schedulers.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setScheduler( - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource.Builder builderForValue) { + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource + .Builder + builderForValue) { if (schedulerBuilder_ == null) { scheduler_ = builderForValue.build(); onChanged(); @@ -3072,17 +3616,26 @@ public Builder setScheduler( return this; } /** + * + * *
              * Optional. Resources used by Airflow schedulers.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeScheduler(com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource value) { + public Builder mergeScheduler( + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource + value) { if (schedulerBuilder_ == null) { if (scheduler_ != null) { scheduler_ = - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource.newBuilder(scheduler_).mergeFrom(value).buildPartial(); + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .SchedulerResource.newBuilder(scheduler_) + .mergeFrom(value) + .buildPartial(); } else { scheduler_ = value; } @@ -3094,11 +3647,15 @@ public Builder mergeScheduler(com.google.cloud.orchestration.airflow.service.v1b return this; } /** + * + * *
              * Optional. Resources used by Airflow schedulers.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearScheduler() { if (schedulerBuilder_ == null) { @@ -3112,90 +3669,143 @@ public Builder clearScheduler() { return this; } /** + * + * *
              * Optional. Resources used by Airflow schedulers.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource.Builder getSchedulerBuilder() { - + public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource + .Builder + getSchedulerBuilder() { + onChanged(); return getSchedulerFieldBuilder().getBuilder(); } /** + * + * *
              * Optional. Resources used by Airflow schedulers.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResourceOrBuilder getSchedulerOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .SchedulerResourceOrBuilder + getSchedulerOrBuilder() { if (schedulerBuilder_ != null) { return schedulerBuilder_.getMessageOrBuilder(); } else { - return scheduler_ == null ? - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource.getDefaultInstance() : scheduler_; + return scheduler_ == null + ? com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .SchedulerResource.getDefaultInstance() + : scheduler_; } } /** + * + * *
              * Optional. Resources used by Airflow schedulers.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource, com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResourceOrBuilder> + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .SchedulerResource, + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource + .Builder, + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .SchedulerResourceOrBuilder> getSchedulerFieldBuilder() { if (schedulerBuilder_ == null) { - schedulerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource, com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResourceOrBuilder>( - getScheduler(), - getParentForChildren(), - isClean()); + schedulerBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .SchedulerResource, + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .SchedulerResource.Builder, + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .SchedulerResourceOrBuilder>(getScheduler(), getParentForChildren(), isClean()); scheduler_ = null; } return schedulerBuilder_; } - private com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource webServer_; + private com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource + webServer_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource, com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResourceOrBuilder> webServerBuilder_; + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WebServerResource, + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource + .Builder, + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WebServerResourceOrBuilder> + webServerBuilder_; /** + * + * *
              * Optional. Resources used by Airflow web server.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the webServer field is set. */ public boolean hasWebServer() { return webServerBuilder_ != null || webServer_ != null; } /** + * + * *
              * Optional. Resources used by Airflow web server.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The webServer. */ - public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource getWebServer() { + public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource + getWebServer() { if (webServerBuilder_ == null) { - return webServer_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource.getDefaultInstance() : webServer_; + return webServer_ == null + ? com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WebServerResource.getDefaultInstance() + : webServer_; } else { return webServerBuilder_.getMessage(); } } /** + * + * *
              * Optional. Resources used by Airflow web server.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setWebServer(com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource value) { + public Builder setWebServer( + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource + value) { if (webServerBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3209,14 +3819,20 @@ public Builder setWebServer(com.google.cloud.orchestration.airflow.service.v1bet return this; } /** + * + * *
              * Optional. Resources used by Airflow web server.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setWebServer( - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource.Builder builderForValue) { + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource + .Builder + builderForValue) { if (webServerBuilder_ == null) { webServer_ = builderForValue.build(); onChanged(); @@ -3227,17 +3843,26 @@ public Builder setWebServer( return this; } /** + * + * *
              * Optional. Resources used by Airflow web server.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeWebServer(com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource value) { + public Builder mergeWebServer( + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource + value) { if (webServerBuilder_ == null) { if (webServer_ != null) { webServer_ = - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource.newBuilder(webServer_).mergeFrom(value).buildPartial(); + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WebServerResource.newBuilder(webServer_) + .mergeFrom(value) + .buildPartial(); } else { webServer_ = value; } @@ -3249,11 +3874,15 @@ public Builder mergeWebServer(com.google.cloud.orchestration.airflow.service.v1b return this; } /** + * + * *
              * Optional. Resources used by Airflow web server.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearWebServer() { if (webServerBuilder_ == null) { @@ -3267,90 +3896,142 @@ public Builder clearWebServer() { return this; } /** + * + * *
              * Optional. Resources used by Airflow web server.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource.Builder getWebServerBuilder() { - + public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource + .Builder + getWebServerBuilder() { + onChanged(); return getWebServerFieldBuilder().getBuilder(); } /** + * + * *
              * Optional. Resources used by Airflow web server.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResourceOrBuilder getWebServerOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WebServerResourceOrBuilder + getWebServerOrBuilder() { if (webServerBuilder_ != null) { return webServerBuilder_.getMessageOrBuilder(); } else { - return webServer_ == null ? - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource.getDefaultInstance() : webServer_; + return webServer_ == null + ? com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WebServerResource.getDefaultInstance() + : webServer_; } } /** + * + * *
              * Optional. Resources used by Airflow web server.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource, com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResourceOrBuilder> + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WebServerResource, + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource + .Builder, + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WebServerResourceOrBuilder> getWebServerFieldBuilder() { if (webServerBuilder_ == null) { - webServerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource, com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResourceOrBuilder>( - getWebServer(), - getParentForChildren(), - isClean()); + webServerBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WebServerResource, + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WebServerResource.Builder, + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WebServerResourceOrBuilder>(getWebServer(), getParentForChildren(), isClean()); webServer_ = null; } return webServerBuilder_; } - private com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker_; + private com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource + worker_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource, com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResourceOrBuilder> workerBuilder_; + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource, + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource + .Builder, + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WorkerResourceOrBuilder> + workerBuilder_; /** + * + * *
              * Optional. Resources used by Airflow workers.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the worker field is set. */ public boolean hasWorker() { return workerBuilder_ != null || worker_ != null; } /** + * + * *
              * Optional. Resources used by Airflow workers.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The worker. */ - public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource getWorker() { + public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource + getWorker() { if (workerBuilder_ == null) { - return worker_ == null ? com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource.getDefaultInstance() : worker_; + return worker_ == null + ? com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource + .getDefaultInstance() + : worker_; } else { return workerBuilder_.getMessage(); } } /** + * + * *
              * Optional. Resources used by Airflow workers.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setWorker(com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource value) { + public Builder setWorker( + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource + value) { if (workerBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3364,14 +4045,20 @@ public Builder setWorker(com.google.cloud.orchestration.airflow.service.v1beta1. return this; } /** + * + * *
              * Optional. Resources used by Airflow workers.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setWorker( - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource.Builder builderForValue) { + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource + .Builder + builderForValue) { if (workerBuilder_ == null) { worker_ = builderForValue.build(); onChanged(); @@ -3382,17 +4069,26 @@ public Builder setWorker( return this; } /** + * + * *
              * Optional. Resources used by Airflow workers.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeWorker(com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource value) { + public Builder mergeWorker( + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource + value) { if (workerBuilder_ == null) { if (worker_ != null) { worker_ = - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource.newBuilder(worker_).mergeFrom(value).buildPartial(); + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource + .newBuilder(worker_) + .mergeFrom(value) + .buildPartial(); } else { worker_ = value; } @@ -3404,11 +4100,15 @@ public Builder mergeWorker(com.google.cloud.orchestration.airflow.service.v1beta return this; } /** + * + * *
              * Optional. Resources used by Airflow workers.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearWorker() { if (workerBuilder_ == null) { @@ -3422,55 +4122,80 @@ public Builder clearWorker() { return this; } /** + * + * *
              * Optional. Resources used by Airflow workers.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource.Builder getWorkerBuilder() { - + public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource + .Builder + getWorkerBuilder() { + onChanged(); return getWorkerFieldBuilder().getBuilder(); } /** + * + * *
              * Optional. Resources used by Airflow workers.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResourceOrBuilder getWorkerOrBuilder() { + public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WorkerResourceOrBuilder + getWorkerOrBuilder() { if (workerBuilder_ != null) { return workerBuilder_.getMessageOrBuilder(); } else { - return worker_ == null ? - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource.getDefaultInstance() : worker_; + return worker_ == null + ? com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource + .getDefaultInstance() + : worker_; } } /** + * + * *
              * Optional. Resources used by Airflow workers.
              * 
        * - * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource, com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResourceOrBuilder> + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource, + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource + .Builder, + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WorkerResourceOrBuilder> getWorkerFieldBuilder() { if (workerBuilder_ == null) { - workerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource, com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource.Builder, com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResourceOrBuilder>( - getWorker(), - getParentForChildren(), - isClean()); + workerBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WorkerResource, + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WorkerResource.Builder, + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + .WorkerResourceOrBuilder>(getWorker(), getParentForChildren(), isClean()); worker_ = null; } return workerBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3480,30 +4205,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig) } // @@protoc_insertion_point(class_scope:google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig) - private static final com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig DEFAULT_INSTANCE; + private static final com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig(); } - public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig getDefaultInstance() { + public static com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WorkloadsConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WorkloadsConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WorkloadsConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WorkloadsConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3515,9 +4242,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig getDefaultInstanceForType() { + public com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WorkloadsConfigOrBuilder.java b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WorkloadsConfigOrBuilder.java new file mode 100644 index 00000000..49776c92 --- /dev/null +++ b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WorkloadsConfigOrBuilder.java @@ -0,0 +1,153 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/orchestration/airflow/service/v1beta1/environments.proto + +package com.google.cloud.orchestration.airflow.service.v1beta1; + +public interface WorkloadsConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
        +   * Optional. Resources used by Airflow schedulers.
        +   * 
        + * + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the scheduler field is set. + */ + boolean hasScheduler(); + /** + * + * + *
        +   * Optional. Resources used by Airflow schedulers.
        +   * 
        + * + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The scheduler. + */ + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource + getScheduler(); + /** + * + * + *
        +   * Optional. Resources used by Airflow schedulers.
        +   * 
        + * + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResource scheduler = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.SchedulerResourceOrBuilder + getSchedulerOrBuilder(); + + /** + * + * + *
        +   * Optional. Resources used by Airflow web server.
        +   * 
        + * + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the webServer field is set. + */ + boolean hasWebServer(); + /** + * + * + *
        +   * Optional. Resources used by Airflow web server.
        +   * 
        + * + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The webServer. + */ + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource + getWebServer(); + /** + * + * + *
        +   * Optional. Resources used by Airflow web server.
        +   * 
        + * + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResource web_server = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WebServerResourceOrBuilder + getWebServerOrBuilder(); + + /** + * + * + *
        +   * Optional. Resources used by Airflow workers.
        +   * 
        + * + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the worker field is set. + */ + boolean hasWorker(); + /** + * + * + *
        +   * Optional. Resources used by Airflow workers.
        +   * 
        + * + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The worker. + */ + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource getWorker(); + /** + * + * + *
        +   * Optional. Resources used by Airflow workers.
        +   * 
        + * + * + * .google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResource worker = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig.WorkerResourceOrBuilder + getWorkerOrBuilder(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/proto/google/cloud/orchestration/airflow/service/v1beta1/environments.proto b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/proto/google/cloud/orchestration/airflow/service/v1beta1/environments.proto similarity index 100% rename from owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/proto/google/cloud/orchestration/airflow/service/v1beta1/environments.proto rename to proto-google-cloud-orchestration-airflow-v1beta1/src/main/proto/google/cloud/orchestration/airflow/service/v1beta1/environments.proto diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/proto/google/cloud/orchestration/airflow/service/v1beta1/image_versions.proto b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/proto/google/cloud/orchestration/airflow/service/v1beta1/image_versions.proto similarity index 100% rename from owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/proto/google/cloud/orchestration/airflow/service/v1beta1/image_versions.proto rename to proto-google-cloud-orchestration-airflow-v1beta1/src/main/proto/google/cloud/orchestration/airflow/service/v1beta1/image_versions.proto diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/proto/google/cloud/orchestration/airflow/service/v1beta1/operations.proto b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/proto/google/cloud/orchestration/airflow/service/v1beta1/operations.proto similarity index 100% rename from owl-bot-staging/v1beta1/proto-google-cloud-orchestration-airflow-v1beta1/src/main/proto/google/cloud/orchestration/airflow/service/v1beta1/operations.proto rename to proto-google-cloud-orchestration-airflow-v1beta1/src/main/proto/google/cloud/orchestration/airflow/service/v1beta1/operations.proto diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/create/SyncCreateSetCredentialsProvider.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/create/SyncCreateSetCredentialsProvider.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/create/SyncCreateSetCredentialsProvider1.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/create/SyncCreateSetCredentialsProvider1.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/create/SyncCreateSetEndpoint.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/create/SyncCreateSetEndpoint.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/createenvironment/AsyncCreateEnvironment.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/createenvironment/AsyncCreateEnvironment.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/createenvironment/AsyncCreateEnvironment.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/createenvironment/AsyncCreateEnvironment.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/createenvironment/AsyncCreateEnvironmentLRO.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/createenvironment/AsyncCreateEnvironmentLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/createenvironment/AsyncCreateEnvironmentLRO.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/createenvironment/AsyncCreateEnvironmentLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/createenvironment/SyncCreateEnvironment.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/createenvironment/SyncCreateEnvironment.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/createenvironment/SyncCreateEnvironment.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/createenvironment/SyncCreateEnvironment.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/createenvironment/SyncCreateEnvironmentStringEnvironment.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/createenvironment/SyncCreateEnvironmentStringEnvironment.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/createenvironment/SyncCreateEnvironmentStringEnvironment.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/createenvironment/SyncCreateEnvironmentStringEnvironment.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/deleteenvironment/AsyncDeleteEnvironment.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/deleteenvironment/AsyncDeleteEnvironment.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/deleteenvironment/AsyncDeleteEnvironment.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/deleteenvironment/AsyncDeleteEnvironment.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/deleteenvironment/AsyncDeleteEnvironmentLRO.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/deleteenvironment/AsyncDeleteEnvironmentLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/deleteenvironment/AsyncDeleteEnvironmentLRO.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/deleteenvironment/AsyncDeleteEnvironmentLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/deleteenvironment/SyncDeleteEnvironment.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/deleteenvironment/SyncDeleteEnvironment.java similarity index 97% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/deleteenvironment/SyncDeleteEnvironment.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/deleteenvironment/SyncDeleteEnvironment.java index ea8a6244..12268034 100644 --- a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/deleteenvironment/SyncDeleteEnvironment.java +++ b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/deleteenvironment/SyncDeleteEnvironment.java @@ -19,7 +19,6 @@ // [START service_v1_generated_environmentsclient_deleteenvironment_sync] import com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest; import com.google.cloud.orchestration.airflow.service.v1.EnvironmentsClient; -import com.google.protobuf.Empty; public class SyncDeleteEnvironment { diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/deleteenvironment/SyncDeleteEnvironmentString.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/deleteenvironment/SyncDeleteEnvironmentString.java similarity index 97% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/deleteenvironment/SyncDeleteEnvironmentString.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/deleteenvironment/SyncDeleteEnvironmentString.java index 10156009..cde50771 100644 --- a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/deleteenvironment/SyncDeleteEnvironmentString.java +++ b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/deleteenvironment/SyncDeleteEnvironmentString.java @@ -18,7 +18,6 @@ // [START service_v1_generated_environmentsclient_deleteenvironment_string_sync] import com.google.cloud.orchestration.airflow.service.v1.EnvironmentsClient; -import com.google.protobuf.Empty; public class SyncDeleteEnvironmentString { diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/getenvironment/AsyncGetEnvironment.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/getenvironment/AsyncGetEnvironment.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/getenvironment/AsyncGetEnvironment.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/getenvironment/AsyncGetEnvironment.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/getenvironment/SyncGetEnvironment.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/getenvironment/SyncGetEnvironment.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/getenvironment/SyncGetEnvironment.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/getenvironment/SyncGetEnvironment.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/getenvironment/SyncGetEnvironmentString.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/getenvironment/SyncGetEnvironmentString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/getenvironment/SyncGetEnvironmentString.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/getenvironment/SyncGetEnvironmentString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/listenvironments/AsyncListEnvironments.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/listenvironments/AsyncListEnvironments.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/listenvironments/AsyncListEnvironments.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/listenvironments/AsyncListEnvironments.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/listenvironments/AsyncListEnvironmentsPaged.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/listenvironments/AsyncListEnvironmentsPaged.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/listenvironments/AsyncListEnvironmentsPaged.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/listenvironments/AsyncListEnvironmentsPaged.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/listenvironments/SyncListEnvironments.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/listenvironments/SyncListEnvironments.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/listenvironments/SyncListEnvironments.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/listenvironments/SyncListEnvironments.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/listenvironments/SyncListEnvironmentsString.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/listenvironments/SyncListEnvironmentsString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/listenvironments/SyncListEnvironmentsString.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/listenvironments/SyncListEnvironmentsString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/updateenvironment/AsyncUpdateEnvironment.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/updateenvironment/AsyncUpdateEnvironment.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/updateenvironment/AsyncUpdateEnvironment.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/updateenvironment/AsyncUpdateEnvironment.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/updateenvironment/AsyncUpdateEnvironmentLRO.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/updateenvironment/AsyncUpdateEnvironmentLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/updateenvironment/AsyncUpdateEnvironmentLRO.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/updateenvironment/AsyncUpdateEnvironmentLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/updateenvironment/SyncUpdateEnvironment.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/updateenvironment/SyncUpdateEnvironment.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/updateenvironment/SyncUpdateEnvironment.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/updateenvironment/SyncUpdateEnvironment.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/updateenvironment/SyncUpdateEnvironmentStringEnvironmentFieldmask.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/updateenvironment/SyncUpdateEnvironmentStringEnvironmentFieldmask.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/updateenvironment/SyncUpdateEnvironmentStringEnvironmentFieldmask.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/updateenvironment/SyncUpdateEnvironmentStringEnvironmentFieldmask.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentssettings/getenvironment/SyncGetEnvironment.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentssettings/getenvironment/SyncGetEnvironment.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentssettings/getenvironment/SyncGetEnvironment.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentssettings/getenvironment/SyncGetEnvironment.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/create/SyncCreateSetCredentialsProvider.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/create/SyncCreateSetCredentialsProvider.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/create/SyncCreateSetCredentialsProvider1.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/create/SyncCreateSetCredentialsProvider1.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/create/SyncCreateSetEndpoint.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/create/SyncCreateSetEndpoint.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/listimageversions/AsyncListImageVersions.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/listimageversions/AsyncListImageVersions.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/listimageversions/AsyncListImageVersions.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/listimageversions/AsyncListImageVersions.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/listimageversions/AsyncListImageVersionsPaged.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/listimageversions/AsyncListImageVersionsPaged.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/listimageversions/AsyncListImageVersionsPaged.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/listimageversions/AsyncListImageVersionsPaged.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/listimageversions/SyncListImageVersions.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/listimageversions/SyncListImageVersions.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/listimageversions/SyncListImageVersions.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/listimageversions/SyncListImageVersions.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/listimageversions/SyncListImageVersionsString.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/listimageversions/SyncListImageVersionsString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/listimageversions/SyncListImageVersionsString.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionsclient/listimageversions/SyncListImageVersionsString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionssettings/listimageversions/SyncListImageVersions.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionssettings/listimageversions/SyncListImageVersions.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionssettings/listimageversions/SyncListImageVersions.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/imageversionssettings/listimageversions/SyncListImageVersions.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/stub/environmentsstubsettings/getenvironment/SyncGetEnvironment.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/stub/environmentsstubsettings/getenvironment/SyncGetEnvironment.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/stub/environmentsstubsettings/getenvironment/SyncGetEnvironment.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/stub/environmentsstubsettings/getenvironment/SyncGetEnvironment.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/stub/imageversionsstubsettings/listimageversions/SyncListImageVersions.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/stub/imageversionsstubsettings/listimageversions/SyncListImageVersions.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/stub/imageversionsstubsettings/listimageversions/SyncListImageVersions.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/stub/imageversionsstubsettings/listimageversions/SyncListImageVersions.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/checkupgrade/AsyncCheckUpgrade.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/checkupgrade/AsyncCheckUpgrade.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/checkupgrade/AsyncCheckUpgrade.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/checkupgrade/AsyncCheckUpgrade.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/checkupgrade/AsyncCheckUpgradeLRO.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/checkupgrade/AsyncCheckUpgradeLRO.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/checkupgrade/AsyncCheckUpgradeLRO.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/checkupgrade/AsyncCheckUpgradeLRO.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/checkupgrade/SyncCheckUpgrade.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/checkupgrade/SyncCheckUpgrade.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/checkupgrade/SyncCheckUpgrade.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/checkupgrade/SyncCheckUpgrade.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/create/SyncCreateSetCredentialsProvider.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/create/SyncCreateSetCredentialsProvider.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/create/SyncCreateSetCredentialsProvider1.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/create/SyncCreateSetCredentialsProvider1.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/create/SyncCreateSetEndpoint.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/create/SyncCreateSetEndpoint.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/createenvironment/AsyncCreateEnvironment.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/createenvironment/AsyncCreateEnvironment.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/createenvironment/AsyncCreateEnvironment.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/createenvironment/AsyncCreateEnvironment.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/createenvironment/AsyncCreateEnvironmentLRO.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/createenvironment/AsyncCreateEnvironmentLRO.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/createenvironment/AsyncCreateEnvironmentLRO.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/createenvironment/AsyncCreateEnvironmentLRO.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/createenvironment/SyncCreateEnvironment.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/createenvironment/SyncCreateEnvironment.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/createenvironment/SyncCreateEnvironment.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/createenvironment/SyncCreateEnvironment.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/createenvironment/SyncCreateEnvironmentStringEnvironment.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/createenvironment/SyncCreateEnvironmentStringEnvironment.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/createenvironment/SyncCreateEnvironmentStringEnvironment.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/createenvironment/SyncCreateEnvironmentStringEnvironment.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/deleteenvironment/AsyncDeleteEnvironment.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/deleteenvironment/AsyncDeleteEnvironment.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/deleteenvironment/AsyncDeleteEnvironment.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/deleteenvironment/AsyncDeleteEnvironment.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/deleteenvironment/AsyncDeleteEnvironmentLRO.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/deleteenvironment/AsyncDeleteEnvironmentLRO.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/deleteenvironment/AsyncDeleteEnvironmentLRO.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/deleteenvironment/AsyncDeleteEnvironmentLRO.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/deleteenvironment/SyncDeleteEnvironment.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/deleteenvironment/SyncDeleteEnvironment.java similarity index 97% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/deleteenvironment/SyncDeleteEnvironment.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/deleteenvironment/SyncDeleteEnvironment.java index c9efd7c4..2d1c807e 100644 --- a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/deleteenvironment/SyncDeleteEnvironment.java +++ b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/deleteenvironment/SyncDeleteEnvironment.java @@ -19,7 +19,6 @@ // [START service_v1beta1_generated_environmentsclient_deleteenvironment_sync] import com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest; import com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsClient; -import com.google.protobuf.Empty; public class SyncDeleteEnvironment { diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/deleteenvironment/SyncDeleteEnvironmentString.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/deleteenvironment/SyncDeleteEnvironmentString.java similarity index 97% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/deleteenvironment/SyncDeleteEnvironmentString.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/deleteenvironment/SyncDeleteEnvironmentString.java index 5c1f21fe..c870a938 100644 --- a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/deleteenvironment/SyncDeleteEnvironmentString.java +++ b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/deleteenvironment/SyncDeleteEnvironmentString.java @@ -18,7 +18,6 @@ // [START service_v1beta1_generated_environmentsclient_deleteenvironment_string_sync] import com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsClient; -import com.google.protobuf.Empty; public class SyncDeleteEnvironmentString { diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/getenvironment/AsyncGetEnvironment.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/getenvironment/AsyncGetEnvironment.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/getenvironment/AsyncGetEnvironment.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/getenvironment/AsyncGetEnvironment.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/getenvironment/SyncGetEnvironment.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/getenvironment/SyncGetEnvironment.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/getenvironment/SyncGetEnvironment.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/getenvironment/SyncGetEnvironment.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/getenvironment/SyncGetEnvironmentString.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/getenvironment/SyncGetEnvironmentString.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/getenvironment/SyncGetEnvironmentString.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/getenvironment/SyncGetEnvironmentString.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/listenvironments/AsyncListEnvironments.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/listenvironments/AsyncListEnvironments.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/listenvironments/AsyncListEnvironments.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/listenvironments/AsyncListEnvironments.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/listenvironments/AsyncListEnvironmentsPaged.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/listenvironments/AsyncListEnvironmentsPaged.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/listenvironments/AsyncListEnvironmentsPaged.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/listenvironments/AsyncListEnvironmentsPaged.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/listenvironments/SyncListEnvironments.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/listenvironments/SyncListEnvironments.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/listenvironments/SyncListEnvironments.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/listenvironments/SyncListEnvironments.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/listenvironments/SyncListEnvironmentsString.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/listenvironments/SyncListEnvironmentsString.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/listenvironments/SyncListEnvironmentsString.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/listenvironments/SyncListEnvironmentsString.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/restartwebserver/AsyncRestartWebServer.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/restartwebserver/AsyncRestartWebServer.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/restartwebserver/AsyncRestartWebServer.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/restartwebserver/AsyncRestartWebServer.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/restartwebserver/AsyncRestartWebServerLRO.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/restartwebserver/AsyncRestartWebServerLRO.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/restartwebserver/AsyncRestartWebServerLRO.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/restartwebserver/AsyncRestartWebServerLRO.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/restartwebserver/SyncRestartWebServer.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/restartwebserver/SyncRestartWebServer.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/restartwebserver/SyncRestartWebServer.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/restartwebserver/SyncRestartWebServer.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/updateenvironment/AsyncUpdateEnvironment.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/updateenvironment/AsyncUpdateEnvironment.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/updateenvironment/AsyncUpdateEnvironment.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/updateenvironment/AsyncUpdateEnvironment.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/updateenvironment/AsyncUpdateEnvironmentLRO.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/updateenvironment/AsyncUpdateEnvironmentLRO.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/updateenvironment/AsyncUpdateEnvironmentLRO.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/updateenvironment/AsyncUpdateEnvironmentLRO.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/updateenvironment/SyncUpdateEnvironment.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/updateenvironment/SyncUpdateEnvironment.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/updateenvironment/SyncUpdateEnvironment.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/updateenvironment/SyncUpdateEnvironment.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/updateenvironment/SyncUpdateEnvironmentStringEnvironmentFieldmask.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/updateenvironment/SyncUpdateEnvironmentStringEnvironmentFieldmask.java similarity index 88% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/updateenvironment/SyncUpdateEnvironmentStringEnvironmentFieldmask.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/updateenvironment/SyncUpdateEnvironmentStringEnvironmentFieldmask.java index f20455dd..76827027 100644 --- a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/updateenvironment/SyncUpdateEnvironmentStringEnvironmentFieldmask.java +++ b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/updateenvironment/SyncUpdateEnvironmentStringEnvironmentFieldmask.java @@ -16,7 +16,8 @@ package com.google.cloud.orchestration.airflow.service.v1beta1.samples; -// [START service_v1beta1_generated_environmentsclient_updateenvironment_stringenvironmentfieldmask_sync] +// [START +// service_v1beta1_generated_environmentsclient_updateenvironment_stringenvironmentfieldmask_sync] import com.google.cloud.orchestration.airflow.service.v1beta1.Environment; import com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsClient; import com.google.protobuf.FieldMask; @@ -39,4 +40,5 @@ public static void syncUpdateEnvironmentStringEnvironmentFieldmask() throws Exce } } } -// [END service_v1beta1_generated_environmentsclient_updateenvironment_stringenvironmentfieldmask_sync] +// [END +// service_v1beta1_generated_environmentsclient_updateenvironment_stringenvironmentfieldmask_sync] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentssettings/getenvironment/SyncGetEnvironment.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentssettings/getenvironment/SyncGetEnvironment.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentssettings/getenvironment/SyncGetEnvironment.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentssettings/getenvironment/SyncGetEnvironment.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/create/SyncCreateSetCredentialsProvider.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/create/SyncCreateSetCredentialsProvider.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/create/SyncCreateSetCredentialsProvider1.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/create/SyncCreateSetCredentialsProvider1.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/create/SyncCreateSetEndpoint.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/create/SyncCreateSetEndpoint.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/listimageversions/AsyncListImageVersions.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/listimageversions/AsyncListImageVersions.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/listimageversions/AsyncListImageVersions.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/listimageversions/AsyncListImageVersions.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/listimageversions/AsyncListImageVersionsPaged.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/listimageversions/AsyncListImageVersionsPaged.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/listimageversions/AsyncListImageVersionsPaged.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/listimageversions/AsyncListImageVersionsPaged.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/listimageversions/SyncListImageVersions.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/listimageversions/SyncListImageVersions.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/listimageversions/SyncListImageVersions.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/listimageversions/SyncListImageVersions.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/listimageversions/SyncListImageVersionsString.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/listimageversions/SyncListImageVersionsString.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/listimageversions/SyncListImageVersionsString.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionsclient/listimageversions/SyncListImageVersionsString.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionssettings/listimageversions/SyncListImageVersions.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionssettings/listimageversions/SyncListImageVersions.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionssettings/listimageversions/SyncListImageVersions.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/imageversionssettings/listimageversions/SyncListImageVersions.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/stub/environmentsstubsettings/getenvironment/SyncGetEnvironment.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/stub/environmentsstubsettings/getenvironment/SyncGetEnvironment.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/stub/environmentsstubsettings/getenvironment/SyncGetEnvironment.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/stub/environmentsstubsettings/getenvironment/SyncGetEnvironment.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/stub/imageversionsstubsettings/listimageversions/SyncListImageVersions.java b/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/stub/imageversionsstubsettings/listimageversions/SyncListImageVersions.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/stub/imageversionsstubsettings/listimageversions/SyncListImageVersions.java rename to samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/stub/imageversionsstubsettings/listimageversions/SyncListImageVersions.java From fd8ce14e04c591ab49d2e9508e59c75ef3d322c8 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Thu, 23 Jun 2022 21:01:32 +0000 Subject: [PATCH 3/3] deps: adding gax-httpjson --- google-cloud-orchestration-airflow/pom.xml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/google-cloud-orchestration-airflow/pom.xml b/google-cloud-orchestration-airflow/pom.xml index c0eb474f..94835e2a 100644 --- a/google-cloud-orchestration-airflow/pom.xml +++ b/google-cloud-orchestration-airflow/pom.xml @@ -62,6 +62,10 @@ com.google.api gax-grpc + + com.google.api + gax-httpjson + org.threeten threetenbp @@ -86,12 +90,24 @@ test + + com.google.api + gax + testlib + test + com.google.api gax-grpc testlib test + + com.google.api + gax-httpjson + testlib + test +